Lesson Plan: Wobbledog Wobble - A Pythagorean Prime Adventure
Materials Needed:
- Lego Education Spike Prime set (with charged hub)
- A computer or tablet with the Lego Education Spike Prime software installed
- Access to www.wobbledogs.com for inspiration/reference
- Reference materials: AoPS Pre-Algebra (Chapter 10: The Pythagorean Theorem) or Intro to Algebra (Chapter 9: Quadrilaterals and Geometry)
- Open floor space
- Masking tape or painter's tape
- Measuring tape or ruler (metric units preferred)
- Whiteboard or paper for calculations
- Pen or marker
Lesson Overview
This hands-on lesson challenges the student to apply the Pythagorean theorem in a tangible, creative way. The student will build a simple robot inspired by the game "Wobbledogs" using the Lego Spike Prime kit. They will then create a rectangular "pen" on the floor and use their algebra skills and the Pythagorean theorem to calculate the exact distance of the diagonal. Finally, they will program their robot to travel this calculated distance, bridging the gap between abstract mathematical concepts and real-world robotics and programming.
Subjects: Mathematics (Geometry, Algebra), Technology (Robotics, Programming)
Grade Level: 9th-10th Grade (age 15)
Estimated Time: 90 minutes
1. Learning Objectives
By the end of this lesson, the student will be able to:
- Apply the Pythagorean theorem (a² + b² = c²) to solve a real-world distance problem.
- Construct a simple, functional wheeled robot using the Lego Spike Prime set.
- Program a robot to move a precise, calculated distance using the Spike Prime programming interface.
- Analyze and debug their program by observing the robot's movement and making iterative adjustments to improve accuracy.
2. Alignment with Standards
- Common Core Math Standards:
- 8.G.B.7: Apply the Pythagorean Theorem to determine unknown side lengths in right triangles in real-world and mathematical problems in two and three dimensions.
- HSG.MG.A.3: Apply geometric methods to solve design problems (e.g., designing an object or structure to satisfy physical constraints or minimize cost; working with typographic grid systems based on ratios).
- ISTE Standards for Students:
- 1.4 Innovative Designer: Students use a variety of technologies within a design process to identify and solve problems by creating new, useful or imaginative solutions.
- 1.5 Computational Thinker: Students develop and employ strategies for understanding and solving problems in ways that leverage the power of technological methods to develop and test solutions.
3. Instructional Strategies & Activities
Part 1: The Hook - Wobbledog's Dilemma (10 minutes)
- Engage: Begin with a brief discussion about Wobbledogs. "Think about how your Wobbledogs move around their pen. They often take strange, wobbly paths. But what if we wanted to train a 'Smarter Wobbledog' to take the most efficient path possible? What is the shortest distance between two opposite corners of a rectangle?"
- Introduce the Problem: "Today, your challenge is to build a Lego Wobbledog and program it to travel perfectly along the diagonal of its pen. To do that, we first need to figure out exactly how long that diagonal path is."
- Review the Concept: Briefly review the Pythagorean theorem using the AoPS textbook as a reference. Draw a right triangle on the whiteboard and label the legs (a, b) and the hypotenuse (c). Emphasize that the diagonal of a rectangle is the hypotenuse of a right triangle.
- Create the Pen: Using masking tape on the floor, have the student create a rectangular pen. A good size is 30 cm by 40 cm. This creates a simple 3-4-5 right triangle, making the math clean (30² + 40² = 50²). Label the corners.
- Build the Robot: Guide the student to build a simple wheeled robot using the Spike Prime kit. The "Driving Base" model from the app is a perfect starting point. The goal is a functional chassis, not a perfect aesthetic replica of a Wobbledog. Encourage creativity in adding a "head" or "tail."
- Calculate the Hypotenuse: Have the student use the dimensions of the pen (legs a=30, b=40) and the Pythagorean theorem to calculate the length of the diagonal (hypotenuse c).
(a² + b² = c² --> 30² + 40² = c² --> 900 + 1600 = 2500 --> c = √2500 --> c = 50 cm)
- Plan the Program: Open the Spike Prime software. Discuss how to translate "move 50 cm" into code. The software has blocks like "Move [forward] for [10] cm". The student's task is to input the value they just calculated.
- Write the Code: The student will write a simple program: "When Program Starts, Move straight for 50 cm."
- First Test: Place the Wobbledog robot at one corner of the tape pen, pointing directly at the opposite corner. Run the program.
- Observe and Analyze: Did it work perfectly? Did it overshoot or undershoot the corner? Discuss possible reasons for error:
- Wheel slippage on the floor.
- Slight inaccuracies in the robot's motor calibration.
- The robot not being perfectly aligned at the start.
- Refine: Encourage the student to become a problem-solver. They can adjust the distance value in the code (e.g., try 49.5 cm or 50.2 cm) and re-test until they achieve a high degree of accuracy. This iterative process is a core concept in engineering and programming.
- Recap: Discuss the results. "We just used a 2,500-year-old math theorem, discovered by Pythagoras, to control a modern robot. You successfully bridged the gap between a theoretical formula and a physical, working machine."
- Extension Questions:
- "What if the pen was 35 cm by 50 cm? How would you change your calculation and code?"
- "How could you program the robot to travel the full perimeter of the pen and then return to the start via the diagonal?"
- For Support:
- Provide a pre-written code template where the student only needs to fill in the final distance value.
- Work through the Pythagorean calculation together step-by-step.
- Use smaller, whole numbers for the pen (e.g., 6 cm by 8 cm) to simplify the math.
- For Advanced Challenge:
- Challenge the student to use the Spike Prime's Python programming environment instead of the block-based editor.
- Ask the student to create a custom function or "My Block" that takes two inputs (leg 'a' and leg 'b') and automatically calculates and drives the hypotenuse distance. This introduces variables and functions.
- Introduce an "obstacle" in the middle of the pen. The student must program the robot to travel along the two legs (a and b) to get to the corner, and then compare that travel time/distance to the direct hypotenuse route.
- Formative (Observation-based):
- Listen to the student's reasoning as they calculate the distance using the Pythagorean theorem.
- Observe the student's logic and problem-solving process during the building and programming phases.
- Ask targeted questions: "Why is the diagonal the hypotenuse?" or "What do you think is causing the robot to stop short?"
- Summative (Performance-based):
- The primary assessment is the successful completion of the challenge: Did the robot travel from corner to corner with reasonable accuracy?
- The student's ability to explain *why* their calculation was necessary for the program to work and how they debugged any errors in the robot's movement.