Year 9Mathematics 60 minAC9M9SP03: design, test and refine algorithms involving a sequence of steps and decisions based on geometric constructions and theorems; discuss and evaluate refinements
We are learning to
- We are learning to design an algorithm with steps and decisions based on a geometric construction and a theorem.
- We are learning to test, refine and evaluate an algorithm using different cases.
Success criteria: I can…
- I can construct the perpendicular bisector of a segment with a compass and ruler.
- I can explain why the crossing point of two perpendicular bisectors is the same distance from all three points.
- I can follow my algorithm on a test case and check the result with Pythagoras' theorem.
- I can find a case where the algorithm fails or is inaccurate and add a decision step to fix it.
- I can compare two refinements and say which improves the algorithm more, and why.
Key competenciesNumeracyCritical and Creative ThinkingDigital LiteracyLiteracy
Lesson sequence
60 min total- 1
Where is the centre?
Starter 0–8 minTeacher- Show a paper cut-out of part of a circle (an arc about a third of the way round).
- Ask: "This is a piece of a broken plate. How could we find where the centre was, using only a compass and ruler?" Take ideas.
- Recall the construction: Say: "To bisect AB at right angles, open the compass to more than half of AB. Draw arcs above and below AB from A, then from B with the same radius. Join the two points where the arcs cross."
- Model it on the board.
- Ask: Pick any point P on this line. Why is PA = PB? (triangles PMA and PMB are congruent by SAS, where M is the midpoint: MA = MB, the right angles at M are equal and PM is common)
Students- Suggest strategies for finding the centre.
- Construct one perpendicular bisector on plain paper and test that a point on it is equidistant from A and B by measuring.
Paper cut-out of an arc Compasses, rulers, plain paper - 2
Write version 1
Main 8–20 minTeacher- Say: “Use the fact we just proved to design an algorithm for finding the centre from three points on the edge.”
- Give pairs 4 minutes to write numbered steps, then build version 1 with the class (see resources).
- Ask: Why does O, the crossing point, have to be the centre? (O is on the bisector of AB, so OA = OB; O is on the bisector of BC, so OB = OC; so OA = OB = OC, and the centre is the only point that is the same distance from every point on the circle)
- Ask: Why do we need only two bisectors, not three? (two lines that are not parallel meet in exactly one point; the third bisector must pass through it too, because OA = OC)
- Say: “An algorithm is only as good as its testing. Let's try to break it.”
Students- Draft algorithm steps in pairs.
- Explain why the algorithm finds the centre.
Algorithm version 1 (in resources) - 3
Test cases
Main 20–35 minTeacher- Give each pair grid paper with x and y axes from −3 to 10 (1 cm = 1 unit), or GeoGebra (tools such as Point, Perpendicular Bisector, Intersect and Distance or Length; names and menus vary a little between GeoGebra apps and versions, so search the tool name if it is not where you expect).
- All pairs run Test 1, then half the class runs Test 2 and half runs Test 3 (see resources).
- Test 1: A(0, 6), B(7, 5), C(6, −2). Expected O(3, 2).
- Ask pairs to check with Pythagoras' theorem: OA = √(3² + 4²) = 5, OB = √(4² + 3²) = 5, OC = √(3² + 4²) = 5.
- Test 2: A(5, 0), B(4, 3), C(3, 4). Expected O(0, 0), radius 5.
- Ask: Was your O close to (0, 0)? Why might it be off? (the points are close together, so the chords are short and a small error in a bisector's angle moves O a long way)
- Ask: Where is O compared with triangle ABC? (outside it, because the angle at B is obtuse)
- Test 3: A(0, 0), B(2, 2), C(5, 5).
- Ask: What happened? (the two bisectors are parallel and never meet: A, B and C are collinear, so no circle passes through all three)
Students- Run the algorithm on the test cases by hand or in GeoGebra.
- Check the distances with Pythagoras' theorem.
- Record where the algorithm worked, was inaccurate or failed.
Test cases with answers (in resources) 1 cm grid paper with axes, or devices with GeoGebra Compasses and rulers - 4
Refine and evaluate
Main 35–47 minTeacher- Say: “Write version 2. Add decision steps so it never gives a wrong answer and is as accurate as possible.”
- After 6 minutes, collect refinements and build version 2 with the class (see resources).
- Ask pairs to rank the three refinements from most to least important and give a reason.
- Discuss
- Ask: Which refinement stops a wrong answer, rather than improving accuracy? (the collinear check: without it the algorithm cannot finish)
- Ask: Which costs the most time? Is it worth it? (the third bisector check takes another construction, but it catches drawing errors before they matter)
- Ask: In GeoGebra the bisectors are exact. Which refinements are still needed? (the collinear check; spreading the points out matters less, although measuring real points still adds error)
Students- Write version 2 with decision steps.
- Rank and justify the refinements.
Algorithm version 2 (in resources) - 5
Apply it: the garden tap
Main 47–55 minTeacher- Read the garden tap problem (see resources).
- Pairs use version 2 on grid paper or in GeoGebra.
- Ask: "Where should the tap go?" ((5, 4)) "How far is it from each bed?" (5 m)
- Ask: What do you notice about where the tap is? (at the midpoint of QR, because angle P is a right angle; the centre is on the longest side)
- Ask: Is the tap inside, on or outside the triangle for an acute, a right-angled and an obtuse triangle? (inside, on the hypotenuse, outside)
StudentsApply the refined algorithm to place the tap and check the distances.
Garden tap problem (in resources) - 6
Exit ticket
Plenary 55–60 minTeacher- Exit ticket on a slip (see resources).
- Sort the slips: correct decision step with a reason; decision step but no reason; no decision step.
StudentsComplete the exit ticket alone.
Exit ticket slips (in resources)
Key vocabulary
perpendicular bisector
the line that cuts a segment in half at right angles
equidistant
the same distance from two or more points
chord
a segment joining two points on a circle
collinear
lying on one straight line
circumcentre
the point equidistant from the three vertices of a triangle; the centre of the circle through them
refine
change an algorithm to make it work in more cases or more accurately
Differentiation
Support
- Give a step-by-step card for the perpendicular bisector construction with a worked diagram description.
- Use GeoGebra for the test cases so students can focus on the algorithm rather than drawing accuracy.
- Provide version 1 written out, and ask students to add one decision step for Test 3.
Extension
- Check Test 1 with gradients instead of drawing: find the midpoint M of AB and the midpoint N of BC, then the gradients of AB, OM, BC and ON for O(3, 2). Multiply each pair (AB with OM, BC with ON). What do you notice? (M(3.5, 5.5) and N(6.5, 1.5); gradient of AB = −1/7 and of OM = 3.5 ÷ 0.5 = 7; gradient of BC = 7 and of ON = −0.5 ÷ 3.5 = −1/7; each product is −1, the sign that the two lines are perpendicular, so O lies on both perpendicular bisectors)
- Write an algorithm that tells a user whether three points are collinear using gradients, without drawing. (if the gradient of AB equals the gradient of BC, the points are collinear; for Test 3 both are 1)
- Ask: "Can four points always lie on one circle?" Test A(0, 6), B(7, 5), C(6, −2) and D(8, 2). (yes for this D, as its distance from O(3, 2) is 5; but most fourth points will not be 5 from O, so four points usually do not lie on one circle)
Accessibility
- Provide safety compasses or compasses with a pencil holder for students who find standard compasses hard to control.
- Pre-print the test-case points on the grid so students do not need to plot them.
- For EAL/D learners, pair each vocabulary word with a labelled sketch on the board.
Assessment
- Test results: Test 1 centre (3, 2), radius 5; Test 2 centre (0, 0), radius 5, outside the obtuse triangle; Test 3 no centre because the points are collinear.
- Version 2 algorithm: includes a collinear check before constructing and at least one accuracy refinement, with a reason for each.
- Garden tap: (5, 4), 5 m from each bed, explained as the midpoint of the hypotenuse.
- Exit ticket: a decision such as "If AB and BC lie on one straight line, stop: no circle passes through A, B and C", with the reason that both bisectors are perpendicular to the same line, so they are parallel and never meet.
Resources
- Algorithm version 1: 1. Mark three points A, B and C on the edge of the circle. 2. Construct the perpendicular bisector of AB. 3. Construct the perpendicular bisector of BC. 4. Mark O where the two bisectors cross. 5. O is the centre; the radius is OA.
- Test cases with answers. Test 1: A(0, 6), B(7, 5), C(6, −2). The bisectors meet at O(3, 2). Check: OA = √((0 − 3)² + (6 − 2)²) = √(9 + 16) = 5; OB = √((7 − 3)² + (5 − 2)²) = √(16 + 9) = 5; OC = √((6 − 3)² + (−2 − 2)²) = √(9 + 16) = 5. Test 2: A(5, 0), B(4, 3), C(3, 4). The bisector of AB passes through (4.5, 1.5) with gradient 1/3, and the bisector of BC is the line y = x; they meet at O(0, 0). Each point is 5 from O (for example, √(4² + 3²) = 5). Angle ABC is obtuse, so O is outside triangle ABC; the chords are short (AB = √10 ≈ 3.2, BC = √2 ≈ 1.4), so hand constructions are often 1 or 2 units off. Test 3: A(0, 0), B(2, 2), C(5, 5) lie on y = x. Both bisectors are perpendicular to y = x, so they are parallel and never meet: the algorithm cannot reach step 4.
- Algorithm version 2 (a model; accept equivalent versions): 1. Mark three points A, B and C on the edge, spread as far apart as possible around the arc. 2. Decision: are A, B and C on one straight line (check with a ruler, or compare gradients)? If yes, stop and report "no circle passes through these points". If no, go to step 3. 3. Construct the perpendicular bisectors of AB and BC. 4. Mark O where they cross. 5. Decision: construct the perpendicular bisector of AC. Does it pass through O (within 2 mm on paper)? If no, redo steps 3 and 4 more carefully. If yes, go to step 6. 6. Measure OA, OB and OC. Report O as the centre and their average as the radius.
- Garden tap problem (made-up): A community garden plan uses a grid of 1 m squares. Three garden beds are centred at P(1, 1), Q(9, 1) and R(1, 7). The tap must be the same distance from all three beds so one hose length reaches each of them. Where should the tap go, and how long must the hose be? Answer: the bisector of PQ is x = 5 and the bisector of PR is y = 4, so the tap goes at (5, 4). Distance to P: √(4² + 3²) = 5 m; to Q: √(4² + 3²) = 5 m; to R: √(4² + 3²) = 5 m. The hose must reach at least 5 m. Angle P is a right angle, so the tap is at the midpoint of QR (QR = √(8² + 6²) = 10 m).
- Exit ticket: 1. Write a decision step that stops the algorithm from failing when the three points are collinear. 2. Explain why the perpendicular bisectors of AB and BC never meet when A, B and C are collinear. (1. For example: "If A, B and C lie on one straight line, stop: no circle passes through them." 2. AB and BC are on the same line, so both bisectors are perpendicular to that line. Two lines perpendicular to the same line are parallel, so they never meet.)
- Compasses, rulers, sharp pencils, plain paper, 1 cm grid paper with axes from −3 to 10, devices with GeoGebra (optional), a paper cut-out of an arc
Safety notes
- Compass points are sharp: carry compasses closed, pointing down, and keep them on the desk when not in use.