Lesson 102 — Problem Solving and Consolidation: Algorithms for Shapes
Strand: Space | Descriptor: AC9M8SP04 | Duration: 45 minutes
Equipment: ruler, ideally squared or dotted paper for sketching similar shapes.
Learning Intentions
- To design a complete, tested algorithm that decides whether two shapes are similar.
- To consolidate the full algorithm cycle: design, test, fix, describe.
Success Criteria
- Design an algorithm using AA, SSS~ or SAS~ that decides similarity and reports the scale factor.
- Test the algorithm with a deliberate range of cases, including edge cases.
- Describe the finished algorithm clearly in plain language.
- Justify the order of the algorithm’s questions.
Warmup
(5 minutes — congruent or similar? whole class, mini whiteboards)
For each pair, decide: congruent, similar but not congruent, or neither.
- Two triangles with sides
cm and cm. - Two triangles with sides
cm and cm. - Two triangles with sides
cm and cm. - Two triangles with angles
and , one with sides double the other.
Answers: 1. Congruent (SSS, identical sizes); 2. Similar — every side of the second is exactly double the first, so ratios are equal (
The key distinction to restate: similar shapes have the same shape (equal angles, proportional sides); congruent shapes additionally have the same size (scale factor
Activities
Activity 1 — Bridging: the Three Similarity Tests (8 min)
Explicit recap, building directly on Lesson 101’s congruency work.
| Test | Condition | Congruency equivalent |
|---|---|---|
| AA | Two angles of one triangle equal two angles of the other | (no direct equivalent — angles alone never force congruence) |
| SSS~ | All three pairs of corresponding sides are in the same ratio | SSS (ratio |
| SAS~ | Two pairs of corresponding sides are in the same ratio, and the included angle is equal | SAS (ratio |
Worked trace — SSS~: Triangle 1 has sides
All three ratios equal
The trap to name explicitly: ratios must compare corresponding sides — always match sides by size (smallest-to-smallest, largest-to-largest) or by the angles between them, never by position on the page.
Activity 2 — Main Task: Design a Similarity Algorithm (19 min)
Pairs. This is the assessable design task for AC9M8SP04, consolidating the whole algorithms block (Lessons 100–102).
Design brief. A Year 7 class needs an algorithm that takes the side lengths and angles of two triangles and decides:
- Are they similar?
- If yes, by which test (AA, SSS~ or SAS~), and what is the scale factor?
- If not proven similar, say so.
Your algorithm must:
- Be written in numbered steps with testable yes/no decisions.
- Check for AA, SSS~ and SAS~ in a sensible order (justify your choice).
- Correctly reject an SSA-style ambiguous case, echoing Lesson 101.
- End every path with a definite output — including the scale factor when similar.
Socratic scaffolding (Polya cycle) for pairs who are stuck:
| Prompt | Purpose |
|---|---|
| Understand the problem. What exactly must the algorithm output for every possible input? | A yes/no similarity decision, the test used, and a scale factor — or “not proven similar”. |
| What data will it be given? | Three side lengths and/or three angles for each triangle. |
| Devise a plan. Which similarity test needs the least information to check first? | AA — only angles, no ratio arithmetic — so checking it first is efficient. |
| What must you do differently for SSS~ compared with SSS in Lesson 101? | Compute and compare ratios, not raw equality of sides. |
| Carry out the plan. Write step 1 as a full decision, both branches. | E.g. “Do two angles of |
| How do you compute the scale factor once similarity is confirmed? | Divide a side of the larger (or second) triangle by the corresponding side of the first. |
| Look back. Trace your finished algorithm on the warmup’s four pairs. Does it agree with your earlier answers? | If not, find the mismatch and repair it before moving on. |
Reference solution (teacher — one valid design among several):
- Do two angles of
equal two angles of ? Yes → similar (AA). Compute scale factor from any pair of corresponding sides, if given. Stop. - No → For all three corresponding side pairs, is the ratio
the same value ? Yes → similar (SSS~), scale factor . Stop. - No → Do two corresponding side pairs share the same ratio
, and is the angle included between those two sides equal? Yes → similar (SAS~), scale factor . Stop. - No → not proven similar. Stop.
Marking emphases: AA first (least computation, most efficient — the halving/efficiency principle from earlier algorithm lessons); step 3 must say “included” angle, exactly the Lesson 101 fault to avoid repeating; every stop state names the scale factor or explicitly withholds one.
Activity 3 — Test, Audit, Refine (8 min)
Swap algorithms with another pair. Build a test table and audit.
| Test case | Kind | Expected |
|---|---|---|
| Sides | typical | similar, SSS~, |
| Angles | typical | similar, AA, no scale factor computable |
| Sides | edge | not similar |
| Sides | edge | not proven similar (SSA-style trap) |
| One triangle’s data incomplete (only one side given) | invalid | not proven similar |
Run all five through your partner’s algorithm. Record any failures, agree on the smallest fix, and re-test.
Checks for Understanding
(5 minutes — exit ticket, collected)
- Two triangles have sides
cm and cm. Are they similar? State the test and the scale factor. - Two triangles share two equal angles but no side lengths are given. Can your algorithm compute a scale factor? Explain.
- Why must the “included angle” condition appear in an SAS~ step, just as it did for SAS in Lesson 101?
- Reasoning. Explain, in one or two sentences, why AA alone is sufficient to prove similarity, while SS alone (two sides in ratio, no angle) is not.
Answers: 1. Yes — SSS~, since
Common Misconceptions
| Misconception | How to pre-empt it |
|---|---|
| Matching sides by position on the page rather than by size or by the angle between them. | Explicit “smallest-to-smallest” rule in Activity 1’s worked trace. |
| Believing SS (two sides in ratio, no angle condition) proves similarity. | Exit Q4; contrast directly with AA. |
| Forgetting the “included” qualifier in SAS~, repeating Lesson 101’s fault. | Marking emphasis in Activity 2; the SSA-style edge case in the test table. |
| Treating congruence and similarity as unrelated ideas. | Warmup explicitly frames congruence as similarity with scale factor |
| Reporting “similar” without a scale factor when one is computable. | Design brief requirement 4: every similar output must attempt a scale factor. |
| Assuming AA needs a third angle checked. | The angle sum property (Lesson 46/47 knowledge) makes the third angle automatic — worth restating if it comes up. |
Enrichment — Competition-Style Problems
E1 (Kangaroo style). Two similar triangles have scale factor
Answer
Area scales with the square of the scale factor:
E2 (AMC Junior style). A triangle with sides
Answer
Perimeter of the first is
E3 (Challenge). Explain why “AAA” is never listed as a congruence test, but “AA” is a valid similarity test.
Answer
Matching all three angles fixes a triangle’s shape but says nothing about its size — infinitely many similar triangles share the same three angles. Congruence requires size to match too, so angle information alone can never be enough.
E4 (Challenge). Design (in plain language) one additional decision your Activity 2 algorithm would need to also handle quadrilaterals, not just triangles.
Answer
E.g. “Are all corresponding angles equal and all corresponding sides in the same ratio?” — because unlike triangles, equal angles alone (AA-style) do not guarantee similarity for quadrilaterals (a square and a non-square rectangle share four right angles but are not similar), so both conditions must be checked together.
Homework
- Two triangles have sides
cm and cm. Are they similar? State the test and scale factor. - Two triangles share angles
and . Are they similar? Can you find a scale factor? Explain. - Trace your Activity 2 algorithm on the pair: sides
cm with included angle , versus sides cm with included angle . What does it output, and why? - Write, in plain language, the smallest fix needed if a classmate’s algorithm checked “two sides in ratio and any equal angle” for SAS~.
- A triangle with sides
is similar to a second triangle. If the second triangle’s shortest side is , find its other two sides. - Convert your finished Activity 2 algorithm into pseudocode, using
IF … THEN … ELSE IF … ELSEexactly as in Lesson 101. - Reasoning. Explain why every congruency test from Lesson 101 has a similarity counterpart, but similarity has the extra AA test with no congruency equivalent.
- Challenge. Two similar rectangles have areas
and . Find the scale factor between them (careful: use area, not a side length).
Answers: Q1 — Yes, SSS~: