THE LITTLE PROOF DETECTIVE AGENCY

The missing two cake strips

Pip bought a bigger square cake. Two whole strips have vanished from his invoice.

The formula in this story
(a + b)² = a² + 2ab + b²

Story 4 of 8

What you will take away

Find both ab strips and explain where 2ab comes from.

Read one piece at a time. There is no timer. “Help” stays beside you throughout.

Before reading, how does it feel? (optional)

Choose a section directly

What do the words mean?

A square a² means a × a. The area of a rectangle is width times height. Expansion rewrites a product as a sum.

What are real numbers?

Real numbers are the numbers on the number line: integers, fractions and numbers such as √2. Our formulas apply to these numbers, even when the cake picture uses only positive lengths.

Want a hand with the prerequisites?The bakery with missing buns

a + b = 5(a + b)²5 × 5 = 25

A suspicious plan

Pip: “Side a plus b, so the cake must be a² plus b².” Mika discovers two long crumbs on his beak.

A square means a side times itself: (a + b)(a + b).

a²abbab²ab9 + 6 + 6 + 4

The clue

A cut at a in each direction makes four pieces: a square, a strip, another strip, and a small square.

Cut at a in both directions. The four areas are a², ab, ba and b².

a²ab = 6ab = 6b²aba² + 2ab + b² = 25ab + ba = 6 + 6 = 12

The twist

Both strips have area ab. They were never optional extras. Pip returns them, very reluctantly.

The two strips have equal area: ab + ba = 2ab. Nothing was added to the cake.

Change the evidence

Try examples to build intuition. Checking numbers is not the proof for every value.

STORY ↔ PROOF

Step 1 of 3

a + b = 5(a + b)²5 × 5 = 25
A square means a side times itself: (a + b)(a + b).
(3 + 2)² = 9 + 12 + 4 = 25
This is the exact proof step

By the definition of a square, (a + b)² = (a + b)(a + b).

The diagram illustrates the displayed argument. Numerical examples do not replace its hypotheses or prove every case.

The proof, with all its steps

Claim and conditions
For all real a, b, (a + b)² = a² + 2ab + b². The area picture uses nonnegative lengths.

  1. By the definition of a square, (a + b)² = (a + b)(a + b).
  2. Distribute twice: a(a + b) + b(a + b) = a² + ab + ba + b².
  3. Real multiplication commutes, so ba = ab. Combining the two strips gives 2ab. This algebra covers negative values too.

Pip has one more idea…

For a = 3 and b = 2, how much area did a² + b² forget?

Read the explanation for 6: one strip

There are two 3 × 2 strips. One strip is 6; together they are 12.

Read the explanation for 12: two strips

Yes: 25 − (9 + 4) = 12 = 2 × 3 × 2. The missing pieces are back.

What makes more sense now?

Two small checks, then your own reflection. You can use the hints and try again. This records these questions, not a score for all of mathematics.

1. For a = 3 and b = 2, how much area did a² + b² forget?

Revisit the reason in the diagram →
2. What is (a + 1)² − a²?

Revisit the reason in the diagram →

How does it feel now? (optional)

Your record for this story

Your first answers and your latest answers will appear here.

Where does your curiosity go next?

No score, no locked doors. You can return to any definition.

These are educational arguments and numeric experiments, not live Lean verification. The linked knowledge pages distinguish formal source excerpts from explanations.

I’m lost · Help

Mika’s help desk

The missing two cake strips

One thing at a time

Follow the numbered reading steps. Read the current piece, then use the single “Next” button at the bottom. You can return to any earlier piece.

In simpler words

  • a² = a × a.
  • ab = a × b: the area of one rectangular strip.
  • 2ab = ab + ab: two strips of the same area.
Return to the definitions →

A small clue

Cut the square once vertically and once horizontally. There are FOUR pieces: a², ab, another ab, and b². The two strips do not disappear.

Try that in the diagram →

Close this panel to return to the exact place you were reading. These are prepared hints for this page.