← Back to the unitTip: in the print dialog choose “Save as PDF”.
Teaching pack · Year 8 Spaceseegongsik /au

Geometric algorithms: a week of ready-to-teach maths

Five lessons for Year 8 Space. Print this pack and the week is prepared: each day has a one-page plan and a student worksheet with practice and a stretch section, plus twelve triangle-pair cards, flowchart pieces to cut out and arrange, a printed flowchart to trace, a mini-check and every answer with its working.

AC9M8SP04
design, create and test algorithms involving a sequence of steps and decisions that identify congruency or similarity of shapes, and describe how the algorithm works

Start here: five minutes to Monday

  1. Skim the week at a glance on the next page.
  2. Print the five days. Each day is two A4 sheets: a plan and a worksheet.
  3. Print the two cut-out sheets, one copy per pair: the pair cards (Days 2 to 4) and the flowchart pieces (Day 3).
  4. Open the free interactive unit on the board. Every plan says which picture to show and which buttons to press.
  5. Teach straight from the plan. Timings, talk prompts, misconceptions and worked answers are all on the one page.

The idea in plain words

An algorithm is a finite list of clear steps and yes-or-no decisions that always ends with an output, so anyone who follows it on the same input gets the same answer. To decide whether two triangles are congruent, an algorithm can match the parts, check for a pair that differs, then try SSS, SAS, ASA (or AAS) and RHS in turn. An algorithm is only trusted once it has been tested: we trace inputs whose answers we already know, including awkward ones, and fix any step that sends an input to the wrong output. Describing how it works means saying what each step does and why the steps come in that order.

One day, one lesson

The five lessons fill a week of maths, one lesson of about 60 minutes a day. Run them in order: each day stands on the one before. Every plan marks a split point for two shorter sessions, and every worksheet ends with a stretch section for students who finish early.

Three outputs, not two

The interactive unit’s flowchart ends in congruent or not congruent. This pack adds a third output, not enough to tell, because a pair can fit no test without being different: two sides and an angle that is not between them can belong to two different triangles. Students meet the two-output version on screen and improve it on paper.

On the board
This pack is the printable half of a free interactive unit. The on-screen half has five interactive pictures (what an algorithm is, the congruence algorithm as numbered steps, the same algorithm as a flowchart, two inputs traced to their outputs, and an algorithm for similarity) plus a self-check quiz you can run as a class game on Day 5.
seegongsik.com/au/y8/space/AC9M8SP04
Aligned to the Australian Curriculum V9 (AC9M8SP04). This pack is original material from seegongsik, independently produced and not endorsed by ACARA. Curriculum content descriptors are (c) ACARA, licensed under CC BY 4.0. Free to print and use in class.
The week at a glance5 lessons

The week at a glance

One lesson a day for a week. Each day stands on the day before, so run them in order.

DayLessonStudents learn and doOn screen
1What an algorithm isFollow an algorithm that sorts triangles by their sides, draw it as a flowchart, and see why the order of the steps mattersWhat an algorithm is
2An algorithm for congruenceWrite the congruence check as numbered steps and run it on twelve pair cards: congruent, not congruent, or not enough to tellAn algorithm for congruence; pair cards
3The flowchartBuild the flowchart from cut-out pieces, trace pairs through it, and decide whether the order of the tests mattersThe same algorithm as a flowchart; flowchart pieces
4Testing and debuggingChoose test cases with known answers, find the bugs in a faulty algorithm, and fix itTesting the algorithm
5An algorithm for similarityWrite and test an algorithm for similar triangles, sorting the sides before dividing, and describe how it worksAn algorithm for similarity

How the week builds

Day 1 sets out what an algorithm is with a simple sorting task; Day 2 writes the congruence check as steps; Day 3 draws it as a flowchart; Day 4 tests and debugs it; and Day 5 writes a new algorithm for similarity. It builds on the congruence and similarity tests from earlier in Year 8 and the sorting algorithms for shapes in Year 7, and prepares the geometric algorithms of Year 9.

Materials for the week (one trip)

Words for the word wall

algorithm, step, decision, input, output, flowchart, terminal, trace, test case, expected output, bug, debug, order, congruent, similar, ratio, SSS, SAS, ASA, AAS, RHS

A note homeHome practice

Dear families

This week in maths, Year 8 is writing and testing algorithms: step-by-step instructions with yes-or-no decisions. Their algorithms decide whether two triangles are exact copies of each other, or enlargements of each other.

Try this at home

My algorithms this week

Fill one row a day. Name an algorithm, one input you tested, and the output it gave.

DayThe algorithmAn inputIts output
Monday
Tuesday
Wednesday
Thursday
Friday

Printed from the free seegongsik Geometric algorithms teaching pack · seegongsik.com/au/y8/space/AC9M8SP04/pack

Day 1 · Teacher planDay 1 of 5

What an algorithm is

An algorithm is a list of clear steps and yes-or-no decisions that always ends with an output. Students follow one that sorts triangles by their sides, draw it as a flowchart, and find out why the order of its steps matters.

We are learning to

Success criteria

You need

The worksheet each.

Lesson flow (about 60 minutes)

10 minInput, step, decision, output
Show the board (see the box).

Ask: “The no arrow goes back to the step. What makes sure the loop stops?”

25 minFollow it
Students trace the five inputs in Part A, then draw the algorithm as a flowchart in Part B.

Ask: “Why does the algorithm check for “not a triangle” first?”

25 minOrder matters
Part C; early finishers do Part D.

Ask: “Every equilateral triangle has two equal sides. So which check must come first?”

Two shorter sessions instead? Split after Part A; start the second with the flowchart.

On the board
Show “What an algorithm is” and press “Next” three times: the input, a step, a decision, then the output. The no arrow loops back to the step.
seegongsik.com/au/y8/space/AC9M8SP04

Watch for these ideas

Answers

Day 1 · Worksheet

What an algorithm is

NameClassDate

A. Follow the algorithm

An algorithm that sorts a triangle by its sides:

  1. Read the three side lengths.
  2. If the two shorter sides do not add to more than the longest, output “not a triangle” and stop.
  3. If all three sides are equal, output “equilateral” and stop.
  4. If any two sides are equal, output “isosceles” and stop.
  5. Output “scalene”.
Sides (cm)OutputStep that gave it
5, 5, 5
4, 7, 7
2, 3, 6
3, 5, 6
6, 3, 6

B. Draw it as a flowchart

Use a rounded box for start and for each output, a rectangle for a step, and a diamond for each decision. Label every arrow out of a diamond yes or no.

C. Swap two steps

Kai swaps steps 3 and 4. Which input from Part A now gets the wrong output? What does that tell you about the order of steps?

D. Stretch: sorting by angles

Write an algorithm that takes three angles and outputs acute, right, obtuse, or “not a triangle”. Test it on two inputs.

Day 2 · Teacher planDay 2 of 5

An algorithm for congruence

The congruence tests become an algorithm once they are put in order with a stopping rule. Students write the steps, run them on twelve triangle-pair cards, and meet a third output: not enough to tell.

We are learning to

Success criteria

You need

Cut-out sheet 1 (the pair cards) and scissors, one set per pair; the worksheet each; a protractor and compasses for Part B.

Lesson flow (about 60 minutes)

10 minSteps on screen
Show the board (see the box).

Ask: “The list ends “if any yes: congruent, else not”. Is “else not” always true?”

25 minRun the cards
Pairs run the algorithm on all twelve cards, one step at a time, and sort them into three piles (Part A).

Ask: “Card 3 has two matching sides. Why does one angle decide it?”

25 minNot enough
Parts B and C; early finishers do Part D.

Ask: “If two different triangles fit the facts, can the algorithm say congruent? Not congruent?”

Two shorter sessions instead? Split after Part A; start the second with the construction.

On the board
Show “An algorithm for congruence” and press “Next” five times: match the parts, then SSS, SAS, ASA and RHS in turn, then the output.
seegongsik.com/au/y8/space/AC9M8SP04

Watch for these ideas

Answers

Day 2 · Worksheet

An algorithm for congruence

NameClassDate

A. Run the algorithm

  1. Match the parts: A with P, B with Q, C with R.
  2. If any matched pair is different, output “not congruent” and stop.
  3. If the three sides are given, output “congruent (SSS)” and stop.
  4. If two sides and the angle between them are given, output “congruent (SAS)” and stop.
  5. If two angles and a side are given, output “congruent (ASA or AAS)” and stop.
  6. If a right angle, the side opposite it and one other side are given, output “congruent (RHS)” and stop.
  7. Output “not enough to tell”.

Run the steps on each pair card, in order, and sort the cards into three piles. Record the card numbers.

Congruent (which test?)Not congruentNot enough to tell

B. Two triangles, one set of facts

Card 2 gives AB = 7 cm, BC = 5 cm, ∠A = 40° for both triangles. Construct a triangle with these facts in two different ways: draw AB, the 40° angle at A, then swing an arc of 5 cm from B.

C. Three equal angles

Kai says card 6 is congruent because every given part matches. Run the algorithm and explain what it outputs.

D. Stretch: say which test

How could the algorithm also say which test it used? Could two tests fit the same card? Which would it report?

Day 3 · Teacher planDay 3 of 5

The flowchart

The same steps drawn as a flowchart show every branch at a glance. Students build the flowchart from cut-out pieces, trace pair cards through it, and test whether changing the order of the decisions changes any output.

We are learning to

Success criteria

You need

Cut-out sheet 2, scissors, glue or tape and an A3 sheet per pair; the pair cards from Day 2; the worksheet each.

Lesson flow (about 60 minutes)

10 minSteps into shapes
Show the board (see the box).

Ask: “Where would “not enough to tell” go in this flowchart?”

25 minBuild and trace
Pairs arrange the pieces on A3, draw the arrows and stick them down, then compare with the printed flowchart and trace the cards in Part A.

Ask: “Which arrows did your card travel? Which did it never touch?”

25 minChange the order
Parts B and C; early finishers do Part D.

Ask: “If RHS is checked first, does any card change its output? Why not?”

Two shorter sessions instead? Split after the build; start the second with the tracing.

On the board
Show “The same algorithm as a flowchart” and press “SSS”, “SAS”, “ASA”, “RHS” and “None”: each lights a path down the no arrows and out a yes, or all the way down.
seegongsik.com/au/y8/space/AC9M8SP04

Watch for these ideas

Answers

Day 3 · Worksheet

The flowchart

NameClassDate

A. Trace the cards

The congruence algorithm as a flowchart. Trace each card: write each question it meets, with the answer, and the output.

CardQuestions met, with answersOutput
9
8
11
7

B. A different order

Kai moves “a pair differs?” to the end, after RHS. Trace card 3 through Kai’s flowchart. What goes wrong, and for which other cards?

C. Swap the tests

Put the four tests in the order RHS, ASA or AAS, SAS, SSS. Does any card get a different output? Why or why not?

D. Stretch: rectangles

Draw a flowchart that decides whether two rectangles are congruent from their two side lengths. Test it on 3 by 5 and 5 by 3.

Day 4 · Teacher planDay 4 of 5

Testing and debugging

An algorithm is only trusted once it has been tested. Students write the expected output for five test cases, run a faulty algorithm on them to find its bugs, fix it, and find that even the Day 2 algorithm has a weak spot.

We are learning to

Success criteria

You need

The pair cards from Day 2 and the worksheet each.

Lesson flow (about 60 minutes)

10 minTwo traces
Show the board (see the box).

Ask: “Both traces gave the right output. Are two tests enough to trust the algorithm?”

25 minHunt the bug
Students write the expected outputs first, then run the faulty algorithm (Part A) and name its bugs (Part B).

Ask: “Three matching numbers always give congruent. Which cases break that rule?”

25 minFix and retest
Part C; early finishers do Part D.

Ask: “Case 5 fools the Day 2 algorithm too. Which step lets it down?”

Two shorter sessions instead? Split after Part A; start the second with the bugs.

On the board
Show “Testing the algorithm” and press “Next” twice: input A (5, 6, 7 and 5, 6, 7) reaches congruent, and input B (5, 6, 7 and 5, 6, 8) reaches not congruent.
seegongsik.com/au/y8/space/AC9M8SP04

Watch for these ideas

Answers

Day 4 · Worksheet

Testing and debugging

NameClassDate

A. Run the tests

A faulty algorithm:

  1. Write down the three measurements given for each triangle.
  2. If the three pairs of numbers match, output congruent.
  3. Otherwise, output not congruent.

For each test case, write the output a correct algorithm should give first, then the output the faulty one gives.

Test caseExpectedFaulty output
1AB = 5 cm, BC = 7 cm, CA = 6 cm
PQ = 5 cm, QR = 7 cm, RP = 6 cm
2AB = 7 cm, BC = 5 cm, ∠A = 40°
PQ = 7 cm, QR = 5 cm, ∠P = 40°
3AB = 5 cm, BC = 7 cm, CA = 6 cm
PQ = 5 cm, QR = 7 cm, RP = 6.5 cm
4∠A = 50°, ∠B = 60°, ∠C = 70°
∠P = 50°, ∠Q = 60°, ∠R = 70°
5AB = 5 cm, BC = 7 cm, CA = 6 cm
PQ = 7 cm, QR = 6 cm, RP = 5 cm

B. Name the bugs

Which test cases does the faulty algorithm get wrong? For each, say which step goes wrong and why.

C. Fix it, then test again

Write a fixed algorithm. Then run the Day 2 algorithm on case 5. What does it output, and what should it? Change one step so it gets case 5 right too.

D. Stretch: a good set of tests

Write the smallest set of test cases you would use to check a congruence algorithm. Why is each one there?

Day 5 · Teacher planDay 5 of 5

An algorithm for similarity

The same design skills give an algorithm for similar triangles. Students trace it on four pairs, find out why the sides are sorted first, describe how it works, and play the quiz as a class game.

We are learning to

Success criteria

You need

The worksheet and a calculator each; the self-check quiz at the bottom of the unit page for the game.

Lesson flow (about 60 minutes)

10 minTwo tests
Show the board (see the box).

Ask: “The angles are checked first. Would checking the sides first ever give a different output?”

30 minTrace, sort, describe
Parts A to C; early finishers do Part D.

Ask: “Pair 4’s sides are not in order. What happens if you divide them as written?”

20 minSelf-check quiz as a class game
Teams of four hold up one, two or three fingers for their option, then reveal and read the explanation aloud. A team that was wrong says what fooled them.

Ask: “Before we reveal it: which answer would someone pick who thinks similar means the same size?”

Two shorter sessions instead? Split after Part B; start the second with the description and the quiz.

On the board
Show “An algorithm for similarity” and press “Angles equal”, “Sides in ratio” and “Neither”: the path ends at similar twice and at not similar once. Then scroll down to the self-check quiz for the game.
seegongsik.com/au/y8/space/AC9M8SP04

Watch for these ideas

Answers

Day 5 · Worksheet

An algorithm for similarity

NameClassDate

A. Trace the algorithm

  1. If two angles of each triangle are given, find each third angle. If the three angles match, in any order, output “similar”; if not, output “not similar”. Stop.
  2. If the three sides of each are given, list each triangle’s sides from shortest to longest and divide matching sides. If the three answers are equal, output “similar”; if not, “not similar”. Stop.
  3. If two sides of each are given with the angle between them, and the sides are in one ratio and the angles are equal, output “similar”. Stop.
  4. Output “not enough to tell”.
PairStepOutput
1sides 4, 6, 7 and 12, 18, 21
2angles 35° and 75°, and 75° and 70°
3sides 5, 8, 9 and 10, 16, 20
4sides 6, 9, 10 and 15, 9, 13.5 (not in order)

B. Why sort first?

Divide pair 4’s sides in the order they are written. What would the algorithm output? Then sort them and divide again.

C. Describe how it works

Write three sentences for a classmate who missed the lesson: what the algorithm does first, next and last, and why.

D. Stretch: as a flowchart

Draw the similarity algorithm as a flowchart, with every arrow out of a diamond labelled yes or no.

Cut-out cards 1 of 2Pair cards

Twelve triangle-pair cards

For Days 2 to 4, one set per pair

Each card gives the same parts of two triangles, ABC and PQR, with A matching P, B matching Q and C matching R. Run the congruence algorithm on each card.

1△ABC: AB = 5 cm, BC = 7 cm, CA = 6 cm△PQR: PQ = 5 cm, QR = 7 cm, RP = 6 cm
2△ABC: AB = 7 cm, BC = 5 cm, ∠A = 40°△PQR: PQ = 7 cm, QR = 5 cm, ∠P = 40°
3△ABC: AB = 6 cm, ∠B = 50°, BC = 8 cm△PQR: PQ = 6 cm, ∠Q = 55°, QR = 8 cm
4△ABC: ∠A = 40°, AB = 7 cm, ∠B = 65°△PQR: ∠P = 40°, PQ = 7 cm, ∠Q = 65°
5△ABC: AB = 5 cm, BC = 7 cm, CA = 6 cm△PQR: PQ = 5 cm, QR = 7 cm, RP = 6.5 cm
6△ABC: ∠A = 50°, ∠B = 60°, ∠C = 70°△PQR: ∠P = 50°, ∠Q = 60°, ∠R = 70°
7△ABC: ∠C = 90°, AB = 10 cm, BC = 6 cm△PQR: ∠R = 90°, PQ = 10 cm, QR = 6 cm
8△ABC: ∠A = 40°, AB = 7 cm, ∠B = 65°△PQR: ∠P = 40°, PQ = 7 cm, ∠Q = 60°
9△ABC: AB = 6 cm, ∠B = 50°, BC = 8 cm△PQR: PQ = 6 cm, ∠Q = 50°, QR = 8 cm
10△ABC: ∠C = 90°, AB = 10 cm, BC = 6 cm△PQR: ∠R = 90°, PQ = 10 cm, QR = 7 cm
11△ABC: AB = 6 cm, BC = 4 cm△PQR: PQ = 6 cm, QR = 4 cm
12△ABC: ∠A = 30°, ∠B = 80°, BC = 5 cm△PQR: ∠P = 30°, ∠Q = 80°, QR = 5 cm

Teacher note: congruent 1, 4, 7, 9, 12; not congruent 3, 5, 8, 10; not enough to tell 2, 6, 11. No row or column of cards gives an output away.

Cut-out cards 2 of 2Flowchart pieces

Flowchart pieces

For Day 3, one set per pair

Cut out the pieces and arrange them on a large sheet as the congruence algorithm. Draw the arrows, and put a yes or no label on every arrow that leaves a diamond.

There is one yes and one no for each diamond.

Mini-check · End of the weekGeometric algorithms

What we know: Geometric algorithms

NameClassDate

Work on your own. Use the congruence algorithm from Day 2, with its three outputs.

  1. What three things does every algorithm have? ______________________
  2. △ABC: ∠A = 45°, AB = 6 cm, ∠B = 70°. △PQR: ∠P = 45°, PQ = 6 cm, ∠Q = 70°. What does the algorithm output, and which step decides it? ______________________
  3. △ABC: AB = 8 cm, BC = 5 cm, CA = 7 cm. △PQR: PQ = 8 cm, QR = 5 cm, RP = 7.5 cm. What does the algorithm output? ______________________
  4. △ABC: AB = 9 cm, BC = 6 cm, ∠A = 35°. △PQR: PQ = 9 cm, QR = 6 cm, ∠P = 35°. What does the algorithm output, and why? ______________________
  5. In a flowchart, what do a rectangle, a diamond and a rounded box stand for? ______________________
  6. Why must the check for a pair that differs come before the four tests? ______________________
  7. Are triangles with sides 4, 7, 8 and 16, 14, 8 similar? Show how the similarity algorithm decides. ______________________
  8. Write a test case that would catch an algorithm that calls triangles with three equal angles congruent. ______________________

How did this week feel? Circle one:   I can teach it  ·  I am getting there  ·  I need more help

Mini-check · Answers and markingFor the teacher

Answers and marking guide

Answers with working

  1. An input, clear steps and decisions in order, and an output.
  2. congruent (ASA): no pair differs, and two angles with the side between them are given (step 5).
  3. not congruent: CA = 7 cm but RP = 7.5 cm, so a matched pair differs (step 2).
  4. not enough: the 35° angle is not between the two sides, so no test fits; two different triangles have these facts.
  5. A step, a yes-or-no decision, and the start or an output.
  6. Otherwise a pair whose parts differ could still pass a test, as with SAS when the angles differ.
  7. Yes: sorted, 4, 7, 8 and 8, 14, 16 give ratios 2, 2, 2, all equal.
  8. For example, angles 50°, 60°, 70° in both triangles, but sides 3, 3.4, 3.7 and 6, 6.8, 7.4: expected output not enough to tell.

A quick three-level guide

IdeaWorking towardsAt standardBeyond
Algorithms and flowcharts (Q1, Q5)writes vague steps, or decisions with no yes and nonames input, steps, decisions and output, and the flowchart shapesexplains why every input must reach an output
Running the algorithm (Q2, Q3, Q4)calls a pair not congruent when it simply fits no testtraces a pair to congruent, not congruent or not enough to tellnames the test, and explains the SSA case with a sketch
Designing and testing (Q6, Q8)tests only cases that workchooses test cases with known outputs, including awkward onesfinds and fixes a bug in the order of the steps
Similarity (Q7)divides sides in the order writtensorts the sides before dividing, and checks every ratiodescribes the similarity algorithm step by step

Eight questions, four ideas. A student at standard traces each pair to the right output and says which step decided it.

Weekly recordClass checklist

Weekly class record

Jot a tick as you move around the room; the mini-check fills any gaps. A tick a day is plenty.

NameAlgorithmsCongruence stepsFlowchartsTestingSimilarity

The five columns are the five days: what an algorithm is, the congruence steps, the flowchart, testing, and similarity.