Algebraic Identities – Cut and Rearrange

MathematicsAlgebraAges 13–14

Use with my class

Illustrates (a + b)², (a − b)² and a² − b² using the areas of squares and rectangles. Students drag the handles to change a and b, then press Split/Merge to watch the pieces separate or reassemble: a² − b² is cut into two pieces and rearranged into a (a + b)(a − b) rectangle. The formula with the current numbers updates as the shape changes. The Cube identities button opens a 3D screen: a cube of side a + b splits into a³, three a²b blocks, three ab² blocks and b³; a³ − b³ = (a − b)(a² + ab + b²) and a³ + b³ = (a + b)(a² − ab + b²) are shown by cutting and moving blocks, checked symbolically and by graphing both sides; and a Compare coefficients part finds unknown constants in identities such as x³ + px + q ≡ (x − 1)(x² + x + r).

Lesson: Difference of squares. Square of a sum or a difference

What it shows

Algebraic identities can be proved with areas and volumes. A square of side a + b splits into a², two ab rectangles and b², so (a + b)² = a² + 2ab + b², and a² − b² rearranges into an (a + b) × (a − b) rectangle. A cube of side a + b splits into a³, three a²b blocks, three ab² blocks and b³. Blocks of thickness a − b cut from a cube show a³ − b³ = (a − b)(a² + ab + b²); a similar cut gives a³ + b³. Polynomials are identical when every power of x has equal coefficients.

How to use

Choose (a + b)², (a − b)² or a² − b², drag the handles and press Split / Merge. Press Cube identities for the 3D screen: on the (a + b)³ tab set Length a and Length b and split the cube; on the a³ − b³, a³ + b³ tab press Split / Merge to move the blocks and compare the two graphs. Press Record to log the volumes. On Compare coefficients, pick an identity, type p, q and r, and press Check.

Parameters you can change

  • Length a 2–10 units
  • Length b 0.5–9 units
  • Identity (a + b)² = a² + 2ab + b², (a − b)² = a² − 2ab + b², a² − b² = (a + b)(a − b)
  • Show area labels on pieces
  • Screen Squares, Cube identities
  • Cube part (a + b)³, a³ − b³ and a³ + b³, Compare coefficients
  • Factorisation a³ − b³ = (a − b)(a² + ab + b²), a³ + b³ = (a + b)(a² − ab + b²)
  • Identity with unknown constants x³ + px + q ≡ (x − 1)(x² + x + r), x³ − 7x + 6 ≡ (x − 1)(x² + x + r), x³ + px + q ≡ (x − 1)²(x + r), 2x² + 5x − 3 ≡ p(x + 1)² + q(x + 1) + r

Questions to explore

  1. Why is (a + b)² larger than a² + b² when a and b are positive, and by how much?
  2. Set a = 9 and b = 4. What are the sides of the rearranged rectangle, and what is 9² − 4²?
  3. What is the total area of the two ab rectangles, and where does it appear in the formula?
  4. Why do the graphs of a³ − b³ and (a − b)(a² + ab + b²) lie on top of each other for every b?