Sub topic 3
Using Identities for Fast Arithmetic
Assume you can expand products, combine like terms, and work with integer exponents. This chapter uses those skills to calculate quickly and to check algebra on GRE Quantitative Reasoning questions.
The Three Useful Identities
An algebraic identity is an equation that is true for every value of its variables. These identities replace a product with a simpler sum or difference.
| Product | Identity | Main use |
|---|---|---|
| Square of a sum | \((a+b)^2=a^2+2ab+b^2\) | Squaring a number near a convenient base |
| Square of a difference | \((a-b)^2=a^2-2ab+b^2\) | Squaring a number just below a convenient base |
| Difference of squares | \((a+b)(a-b)=a^2-b^2\) | Multiplying two numbers equally distant from a center |
The middle term in a squared binomial is essential. For example, \((a+b)^2\) is not \(a^2+b^2\). The cross-products combine to make \(2ab\).
Mental-Arithmetic Shortcuts
To calculate \(103^2\), write 103 as \(100+3\):
\[ 103^2=(100+3)^2=100^2+2(100)(3)+3^2 \]
\[ =10{,}000+600+9=10{,}609 \]
For a product around a convenient center, use the difference-of-squares identity:
\[ 99\cdot101=(100-1)(100+1)=100^2-1^2=9{,}999 \]
The two factors must have the same center and opposite offsets. Thus, \(97\cdot103=(100-3)(100+3)=100^2-3^2\).
for a, b in [(3, 4), (-2, 5), (7, 7)]:
assert (a + b) ** 2 == a ** 2 + 2 * a * b + b ** 2
assert (a - b) ** 2 == a ** 2 - 2 * a * b + b ** 2
assert (a + b) * (a - b) == a ** 2 - b ** 2
assert 99 * 101 == 100 ** 2 - 1 ** 2 == 9999
assert 103 ** 2 == 100 ** 2 + 2 * 100 * 3 + 3 ** 2 == 10609
print("identities hold")Choosing the Identity on the GRE
Look for a pair of factors near the same convenient number. The difference-of-squares identity is usually faster than direct multiplication. For a square, choose a nearby base such as 10, 100, or 1,000.
A common error is to use the wrong sign. If \(n=100-4\), then
\[ n^2=100^2-2(100)(4)+4^2, \]
not \(100^2+2(100)(4)+4^2\).
Exercise
Calculate \(1001\cdot999\) without ordinary multiplication.
Show answer
Write the product as \((1000+1)(1000-1)\). Then \(1000^2-1^2=999{,}999\).