Sub topic 4
Using Identities for Fast Arithmetic
This chapter assumes you can expand products with the distributive property and FOIL, and that you know the three identities from the previous chapter: (a+b)² = a² + 2ab + b², (a−b)² = a² − 2ab + b², and (a+b)(a−b) = a² − b². Here you will use them to do arithmetic quickly and without a calculator. The GRE gives you an on-screen calculator, but it is slow, and many quantitative comparison questions are built so that spotting an identity beats computing.
Why identities speed up arithmetic
Multiplying two awkward numbers directly takes several steps, and each step is a chance for error. If you can rewrite a number as a round base plus or minus a small amount, an identity turns the product into one or two easy pieces.
The core move has three steps:
- Pick a convenient base, usually a power of 10 or a multiple of 10, close to the number.
- Write each number as base ± small offset.
- Apply the matching identity and add the easy pieces.
Difference of squares: numbers symmetric around a base
Use (a+b)(a−b) = a² − b² when two factors sit the same distance on either side of a base.
- 99 × 101 = (100 − 1)(100 + 1) = 100² − 1² = 10,000 − 1 = 9,999.
- 48 × 52 = (50 − 2)(50 + 2) = 2,500 − 4 = 2,496.
- 7.5 × 6.5 = (7 − 0.5)(7 + 0.5)... check the centre first: 7.5 and 6.5 are centred on 7, offset 0.5, so the product is 49 − 0.25 = 48.75.
The check is simple: average the two factors to find the base, then halve their difference to find the offset.
# 99 * 101 = (100 - 1)(100 + 1) = 100**2 - 1**2
assert 99 * 101 == 100 ** 2 - 1 ** 2 == 9999
# 103**2 = (100 + 3)**2 = 100**2 + 2*100*3 + 3**2
assert 103 ** 2 == 100 ** 2 + 2 * 100 * 3 + 3 ** 2 == 10609
print("shortcuts hold")Squares near a round number
Use (a+b)² when the number is slightly above the base, and (a−b)² when it is slightly below.
- 103² = (100 + 3)² = 10,000 + 600 + 9 = 10,609.
- 97² = (100 − 3)² = 10,000 − 600 + 9 = 9,409.
- 52² = (50 + 2)² = 2,500 + 200 + 4 = 2,704.
- 49² = (50 − 1)² = 2,500 − 100 + 1 = 2,401.
Notice that 103² and 97² share the same first and last terms. Only the sign of the middle term changes. That pattern helps you catch sign errors.
The squares-ending-in-5 shortcut
Write n5 as (10n + 5). Then (10n + 5)² = 100n² + 100n + 25 = 100·n(n + 1) + 25. So you multiply n by n + 1 and append 25.
- 35²: n = 3, so 3 × 4 = 12, giving 1,225.
- 85²: n = 8, so 8 × 9 = 72, giving 7,225.
Turning one product into a square difference
Sometimes the factors are not symmetric around a round number, but you can still use an identity by choosing a different base.
- 17 × 23: the average is 20 and the offset is 3, so 400 − 9 = 391.
- 38 × 42: the average is 40 and the offset is 2, so 1,600 − 4 = 1,596.
When the factors differ by an odd number, the base is a half-integer. For 24 × 27 the average is 25.5, which is awkward. In that case it is usually faster to use the distributive property: 24 × 27 = 24 × 25 + 24 × 2 = 600 + 48 = 648. Choose the tool that makes the pieces easy.
Differences of squares of large numbers
The identity also runs in reverse. To compute a² − b², factor it into (a+b)(a−b) and multiply.
- 101² − 99² = (101 + 99)(101 − 99) = 200 × 2 = 400.
- 75² − 25² = (100)(50) = 5,000.
- 1,001² − 999² = 2,000 × 2 = 4,000.
Computing each square separately and subtracting would work, but it is slower and riskier. This reverse use appears often in GRE questions, because it lets a question hide a simple answer behind big numbers.
Algebraic expressions with numbers
The same ideas apply when variables are involved. Suppose x + y = 10 and x − y = 4, and you need x² − y². Do not solve for x and y. Use the identity:
x² − y² = (x + y)(x − y) = 10 × 4 = 40.
Similarly, if x + y = 7 and xy = 12, you can find x² + y² without finding x or y:
x² + y² = (x + y)² − 2xy = 49 − 24 = 25.
This rearrangement of (a+b)² is worth memorizing. A matching form for the difference is x² + y² = (x − y)² + 2xy.
x_plus_y, xy = 7, 12
assert x_plus_y ** 2 - 2 * xy == 25
# Check with real values: x = 3, y = 4
assert 3 + 4 == x_plus_y and 3 * 4 == xy
assert 3 ** 2 + 4 ** 2 == 25
print("x^2 + y^2 =", x_plus_y ** 2 - 2 * xy)Common errors
- Dropping the middle term. (a+b)² is not a² + b². For 103², writing 10,000 + 9 = 10,009 misses the 600.
- Wrong sign on the middle term. In (a−b)², the middle term is subtracted, but b² is still added.
- Using difference of squares on a sum of squares. a² + b² does not factor over the real numbers, so no shortcut exists for 13² + 12² other than computing it.
- Mismatched offsets. 48 × 53 is not (50 − 2)(50 + 2). The offsets must be equal in size and opposite in sign.
- Forgetting to square the offset. In 99 × 101, the answer is 10,000 − 1, not 10,000 − 100.
When not to use a shortcut
Identities save time only when the offset is small and the base is round. For 87 × 93, the base is 90 and the offset is 3, so 8,100 − 9 = 8,091 is quick. For 87 × 96, there is no symmetric base, and the distributive property is simpler. Spend a few seconds choosing a method. If nothing fits within that time, just compute.
Exercise
Compute 998 × 1,002 without a calculator, then compute 61² − 59².
Show answer
The first product is symmetric around 1,000 with offset 2: (1,000 − 2)(1,000 + 2) = 1,000,000 − 4 = 999,996. For the second, factor as a difference of squares: (61 + 59)(61 − 59) = 120 × 2 = 240.
Exercise
If a − b = 5 and a² − b² = 35, what is a + b, and what are a and b?
Show answer
Since a² − b² = (a + b)(a − b), we have 35 = (a + b)(5), so a + b = 7. Adding the two equations a + b = 7 and a − b = 5 gives 2a = 12, so a = 6, and then b = 1. Check: 36 − 1 = 35.
Exercise
If x + y = 9 and xy = 20, find x² + y² and (x − y)².
Show answer
x² + y² = (x + y)² − 2xy = 81 − 40 = 41. Then (x − y)² = x² + y² − 2xy = 41 − 40 = 1. (The numbers are 4 and 5.)