What if one number goes up by m and the other by n? The product ab becomes (a + m)(b + n):
(a + m)(b + n) = (a + m) b + (a + m) n = ab + mb + an + mn
So the increase is mb + an + mn. Look closely: each term of (a + m) has been multiplied by each term of (b + n), and the four results added.
Identity 1: (a + m)(b + n) = ab + mb + an + mn
In a picture, a rectangle with sides (a + m) and (b + n) splits into four smaller rectangles of areas ab, an, mb and mn.
Decreases are just negative increases. Write (a + 1)(b − 1) as (a + 1)(b + (−1)) and put m = 1, n = −1: ab + b − a − 1, the same as before.
| Change | Product |
|---|---|
| one number down 2, other up 3 | (a − 2)(b + 3) = ab + 3a − 2b − 6 |
| one down 3, other down 4 | (a − 3)(b − 4) = ab − 4a − 3b + 12 |
In general (a + u)(b − v) = (a + u) b − (a + u) v = ab + ub − av − uv. In the same way:
- (a − u)(b + v) = ab − ub + av − uv
- (a − u)(b − v) = ab − ub − av + uv
The sign of each piece follows the usual rules for multiplying integers: minus × minus gives plus. One identity handles every case.
Tap the diagram to enlarge it
- Multiply each term by each term
- (a + m)(b + n) = ab + an + mb + mn
- minus × minus = plus