Multiplying Binomials as Area (FOIL)

Category: Algebra   Level: 201

(x + 3)(x + 2) = x2 + 5x + 6, (a + b)2 = a2 + 2ab + b2

A product of two sums is the area of a rectangle cut into four boxes. FOIL is a checklist for visiting each box once.

Step through it

Watch it

Animated walkthrough

Step by step

Step 1: Draw a rectangle with sides x + 3 and x + 2

The top edge is x plus 3 and the left edge is x plus 2. Their product is the area of this rectangle.

area = (x + 3)(x + 2)

Step 1: Draw a rectangle with sides x + 3 and x + 2

Step 2: Cut it into four boxes

Slice where x ends on each side. Each box pairs one piece of the top with one piece of the left.

4 boxes = 2 pieces × 2 pieces

Step 2: Cut it into four boxes

Step 3: Name each box with FOIL

First, Outer, Inner, Last: each letter visits one box. Every box gets counted once, and none gets counted twice.

x · x, x · 2, 3 · x, 3 · 2

Step 3: Name each box with FOIL

Step 4: Add the four areas

The two bar-shaped boxes are both x-terms, so they combine: 2x + 3x = 5x.

(x + 3)(x + 2) = x2 + 5x + 6

Step 4: Add the four areas

Step 5: Use the same picture for (a + b)²

A square with side a + b splits the same way: one a² box, one b² box, and two a-by-b boxes.

(a + b)2 = a2 + ab + ab + b2

Step 5: Use the same picture for (a + b)²

Step 6: Do not lose the 2ab

The classic slip writes (a + b)² as a² + b². The picture shows two whole rectangles that this slip throws away.

(a + b)2 ≠ a2 + b2

Step 6: Do not lose the 2ab

All steps at once

Storyboard

Generate it yourself

cd svg-generator
python3 -m svgmath render binomial-area-model --out /tmp/binomial-area-model

Source: svgmath/diagrams/area_models.py