EZEZ CGL

Formulas › Quant › Algebra

Algebra

About 1.79 questions a shift · 154 past questions · 18 formulas and methods

a^3+b^3+c^3-3abc

Algebraic identities · seen in 11 past questions
a3+b3+c3−3abc=(a+b+c)(a2+b2+c2−ab−bc−ca); a+b+c=0⇒a3+b3+c3=3abca^3+b^3+c^3-3abc=(a+b+c)(a^2+b^2+c^2-ab-bc-ca);\ a+b+c=0 \Rightarrow a^3+b^3+c^3=3abc
SHORTCUT
With sum SS and sum of squares QQ: ab+bc+ca=S2−Q2ab+bc+ca=\frac{S^2-Q}{2} and a3+b3+c3−3abc=S(Q−S2−Q2)a^3+b^3+c^3-3abc=S\left(Q-\frac{S^2-Q}{2}\right).
Why it works, and common traps
  1. Multiply out (a+b+c)(a2+b2+c2−ab−bc−ca)(a+b+c)(a^2+b^2+c^2-ab-bc-ca); every mixed term like a2ba^2b cancels.
  2. What remains is a3+b3+c3−3abca^3+b^3+c^3-3abc.
  3. If a+b+c=0a+b+c=0 the right side is 00, so a3+b3+c3=3abca^3+b^3+c^3=3abc.
  4. The bracket also equals 12[(a−b)2+(b−c)2+(c−a)2]\frac12[(a-b)^2+(b-c)^2+(c-a)^2].
  • Trap: Using +ab+bc+ca+ab+bc+ca in the bracket: the sign is minus.
  • Trap: Dropping the minus sign of Q−(ab+bc+ca)Q-(ab+bc+ca), giving +1944+1944 instead of −1944-1944.
  • Trap: Applying a3+b3+c3=3abca^3+b^3+c^3=3abc when a+b+c≠0a+b+c\neq0.

Age multiples and linear relations

Age problems · seen in 10 past questions
If A=mB now and A+t=n(B+t), then B=(n−1)tm−n\text{If } A=mB \text{ now and } A+t=n(B+t),\ \text{then } B=\frac{(n-1)t}{m-n}
SHORTCUT
B=(n−1)tm−nB=\frac{(n-1)t}{m-n} at the first time point; for several people, write every age in one unknown and form one equation.
USE WHEN
  • m≠nm \neq n
Why it works, and common traps
  1. Now: A=mBA=mB.
  2. After tt years: mB+t=n(B+t)=nB+ntmB+t=n(B+t)=nB+nt.
  3. Collect BB: (m−n)B=(n−1)t(m-n)B=(n-1)t, so B=(n−1)tm−nB=\frac{(n-1)t}{m-n}; then A=mBA=mB.
  4. If the first statement is about the past, treat that past year as 'now' and tt as the full gap to the second statement.
  • Trap: Taking t=4t=4 (from now) instead of the full gap 7+4=117+4=11 between the two statements.
  • Trap: Forgetting to add 7 back: 11+44=5511+44=55 is the sum seven years ago.
  • Trap: Multiplying only one side by the time shift: A+t=n⋅B+tA+t=n\cdot B+t.

Age ratios at two points in time

Age problems · seen in 7 past questions
a−tb−t=pq with a=kx, b=lx; the age difference never changes\frac{a-t}{b-t}=\frac pq \text{ with } a=kx,\ b=lx;\ \text{the age difference never changes}
SHORTCUT
x=t(q−p)kq−lpx=\frac{t(q-p)}{kq-lp}; or match differences: scale both ratios so l−kl-k equals q−pq-p, then one ratio unit =tunit change=\frac{t}{\text{unit change}}.
USE WHEN
  • kq≠lp (present ratio k:l differs from the earlier ratio p:q)kq \neq lp \text{ (present ratio } k:l \text{ differs from the earlier ratio } p:q)
Why it works, and common traps
  1. Present ages A=kx, B=lxA=kx,\ B=lx.
  2. tt years ago: kx−tlx−t=pq⇒q(kx−t)=p(lx−t)\frac{kx-t}{lx-t}=\frac pq \Rightarrow q(kx-t)=p(lx-t).
  3. Collect xx: (kq−lp)x=t(q−p)(kq-lp)x=t(q-p), so x=t(q−p)kq−lpx=\frac{t(q-p)}{kq-lp}.
  4. For tt years later use −t-t. Both ages move by the same tt, so A−BA-B never changes.
  • Trap: Subtracting tt from only one age.
  • Trap: Applying the ratio to the age difference: the ratio changes, the difference does not.
  • Trap: Answering the multiplier xx (55) or B's age (2020) instead of A's age.

AM >= GM >= HM

Progressions & means · seen in 2 past questions
a+b2≥ab≥2aba+b; (a1+⋯+an)(1a1+⋯+1an)≥n2\frac{a+b}2\ge\sqrt{ab}\ge\frac{2ab}{a+b};\ (a_1+\dots+a_n)\left(\tfrac1{a_1}+\dots+\tfrac1{a_n}\right)\ge n^2
SHORTCUT
Fixed sum SS of nn positives: Σ1ai≥n2S\Sigma\frac1{a_i}\ge\frac{n^2}{S}, minimum when all equal Sn\frac Sn; fixed product: sum is least when all equal.
USE WHEN
  • a,b>0 (all ai>0)a, b > 0 \ (\text{all } a_i > 0)
  • equality only when all the numbers are equal\text{equality only when all the numbers are equal}
Why it works, and common traps
  1. (a−b)2≥0⇒a+b≥2ab(\sqrt a-\sqrt b)^2\ge0 \Rightarrow a+b\ge2\sqrt{ab}, so a+b2≥ab\frac{a+b}2\ge\sqrt{ab}.
  2. Apply this to 1a,1b\frac1a,\frac1b: 12(1a+1b)≥1ab\frac{1}{2}\left(\frac1a+\frac1b\right)\ge\frac1{\sqrt{ab}}; flip both sides: ab≥2aba+b\sqrt{ab}\ge\frac{2ab}{a+b}.
  3. Also GM2=AM×HM\text{GM}^2=\text{AM}\times\text{HM} for two numbers.
  4. For nn numbers, AM ≥\ge HM reads Σain≥nΣ1/ai\frac{\Sigma a_i}{n}\ge\frac{n}{\Sigma 1/a_i}, i.e. (Σai)(Σ1ai)≥n2(\Sigma a_i)(\Sigma\frac1{a_i})\ge n^2.
  • Trap: Using the inequality with negative numbers: a=−1, b=−4a=-1,\ b=-4 gives AM =−2.5<=-2.5< GM =2=2.
  • Trap: Claiming a minimum that cannot be reached: check that equality (all equal) is allowed by the data.
  • Trap: Answering 33 from nS\frac{n}{S} instead of n2S\frac{n^2}{S}.

Arithmetic progression

Progressions & means · seen in 10 past questions
an=a+(n−1)d; Sn=n2[2a+(n−1)d]=n2(a+l)a_n=a+(n-1)d;\ S_n=\frac n2[2a+(n-1)d]=\frac n2(a+l)
SHORTCUT
Sn=n×S_n=n\times (middle term); a quadratic in nn can give two roots: keep the one where every term stays valid.
Why it works, and common traps
  1. Each step adds dd: term nn has n−1n-1 steps, so an=a+(n−1)da_n=a+(n-1)d.
  2. Write SnS_n forwards and backwards and add: each pair sums to a+la+l.
  3. There are nn pairs, so 2Sn=n(a+l)2S_n=n(a+l), Sn=n2(a+l)S_n=\frac n2(a+l).
  4. Put l=a+(n−1)dl=a+(n-1)d: Sn=n2[2a+(n−1)d]S_n=\frac n2[2a+(n-1)d].
  • Trap: Using a+nda+nd for the nnth term (one step too many).
  • Trap: Keeping both roots of the quadratic: 26 months (option A) needs negative instalments.
  • Trap: Forgetting the n2\frac n2 and answering with nn halved.

Cube of a sum / difference

Algebraic identities · seen in 6 past questions
(a±b)3=a3±b3±3ab(a±b)(a\pm b)^3=a^3\pm b^3\pm3ab(a\pm b)
SHORTCUT
Given a+b=sa+b=s and a3+b3=Ta^3+b^3=T: ab=s3−T3sab=\frac{s^3-T}{3s}.
Why it works, and common traps
  1. (a+b)3=(a+b)(a2+2ab+b2)(a+b)^3=(a+b)(a^2+2ab+b^2).
  2. Multiply out: a3+3a2b+3ab2+b3a^3+3a^2b+3ab^2+b^3.
  3. Group the middle terms: 3a2b+3ab2=3ab(a+b)3a^2b+3ab^2=3ab(a+b), so (a+b)3=a3+b3+3ab(a+b)(a+b)^3=a^3+b^3+3ab(a+b).
  4. Replace bb by −b-b: (a−b)3=a3−b3−3ab(a−b)(a-b)^3=a^3-b^3-3ab(a-b).
  • Trap: Writing (a+b)3=a3+b3(a+b)^3=a^3+b^3 (drops 3ab(a+b)3ab(a+b)).
  • Trap: Using 3ab3ab instead of 3ab(a+b)3ab(a+b), which here gives 2ab=20252ab=2025 instead of 75.
  • Trap: Forgetting the coefficients: (3a)(2b)=6ab(3a)(2b)=6ab, not abab; answering pqpq or abab instead of 2ab2ab.

Difference of squares

Algebraic identities · seen in 8 past questions
a2−b2=(a+b)(a−b); x4+x2+1=(x2+1)2−x2=(x2+x+1)(x2−x+1)a^2-b^2=(a+b)(a-b);\ x^4+x^2+1=(x^2+1)^2-x^2=(x^2+x+1)(x^2-x+1)
SHORTCUT
x4+x2+1x2+x+1=x2−x+1\frac{x^4+x^2+1}{x^2+x+1}=x^2-x+1; and (p+q)(p−q)(p+q)(p-q) with long pp: square pp as a block, then subtract q2q^2.
Why it works, and common traps
  1. Expand (a+b)(a−b)=a2−ab+ab−b2(a+b)(a-b)=a^2-ab+ab-b^2.
  2. The middle terms cancel: a2−b2a^2-b^2.
  3. For x4+x2+1x^4+x^2+1: add and subtract x2x^2, giving x4+2x2+1−x2=(x2+1)2−x2x^4+2x^2+1-x^2=(x^2+1)^2-x^2.
  4. Apply the first line with a=x2+1, b=xa=x^2+1,\ b=x: (x2+x+1)(x2−x+1)(x^2+x+1)(x^2-x+1).
  • Trap: Writing a2+b2=(a+b)(a−b)a^2+b^2=(a+b)(a-b): a sum of squares does not factor over the reals.
  • Trap: Getting the sign of the middle term wrong in x2−x+1x^2-x+1, giving 651651 instead of 601601.
  • Trap: Factoring a2−b2a^2-b^2 as (a−b)2(a-b)^2.

Simultaneous linear equations

Linear equations · seen in 35 past questions
eliminate or substitute; x=c1b2−c2b1a1b2−a2b1; cyclic 3-variable systems: add all equations first\text{eliminate or substitute; } x=\frac{c_1b_2-c_2b_1}{a_1b_2-a_2b_1};\ \text{cyclic 3-variable systems: add all equations first}
SHORTCUT
Count + value pair (coins, cups, tickets): assume all are the cheaper item, then (actual total − assumed total) ÷ (price difference) = number of dearer items.
USE WHEN
  • a1b2−a2b1≠0 (for the formula; equations written as a1x+b1y=c1, a2x+b2y=c2)a_1b_2-a_2b_1 \neq 0 \text{ (for the formula; equations written as } a_1x+b_1y=c_1,\ a_2x+b_2y=c_2)
Why it works, and common traps
  1. Multiply the first equation by b2b_2 and the second by b1b_1: the yy terms become b1b2yb_1b_2y in both.
  2. Subtract: (a1b2−a2b1)x=c1b2−c2b1(a_1b_2-a_2b_1)x = c_1b_2-c_2b_1.
  3. Divide by a1b2−a2b1≠0a_1b_2-a_2b_1\neq0: x=c1b2−c2b1a1b2−a2b1x=\frac{c_1b_2-c_2b_1}{a_1b_2-a_2b_1}; by symmetry y=a1c2−a2c1a1b2−a2b1y=\frac{a_1c_2-a_2c_1}{a_1b_2-a_2b_1}.
  4. Cyclic system x+y=p, y+z=q, z+x=rx+y=p,\ y+z=q,\ z+x=r: add all three, x+y+z=p+q+r2x+y+z=\frac{p+q+r}{2}, then subtract each equation.
  • Trap: Subtracting equations without first matching a coefficient, so neither variable cancels.
  • Trap: Finding c=3c=3 and marking it, when cups of tea (t=4t=4) are asked.
  • Trap: Sign slip in the cross-multiplication formula: the denominator is a1b2−a2b1a_1b_2-a_2b_1, the same for xx and yy.

Linear equation in one variable

Linear equations · seen in 28 past questions
ax+b=c⇒x=c−baax+b=c \Rightarrow x=\frac{c-b}{a}
SHORTCUT
With options given, substitute each option into the equation and keep the one that balances.
USE WHEN
  • a≠0a \neq 0
Why it works, and common traps
  1. Subtract bb from both sides: ax=c−bax = c-b.
  2. Divide both sides by aa (allowed because a≠0a\neq0): x=c−bax=\frac{c-b}{a}.
  3. Word problems: name one unknown xx, write every other quantity in terms of xx, then form one equation.
  • Trap: Moving bb across without changing its sign: x=c+bax=\frac{c+b}{a} (here x=12x=12, option A).
  • Trap: Answering the unknown xx when another quantity is asked, e.g. the largest side 18 instead of the smallest.
  • Trap: Writing '2 less than twice xx' as 2−2x2-2x instead of 2x−22x-2.

Unique / no / infinite solutions

Linear equations · seen in 14 past questions
a1a2≠b1b2:unique; a1a2=b1b2≠c1c2:none; all equal:infinite\frac{a_1}{a_2}\neq\frac{b_1}{b_2}: \text{unique};\ \frac{a_1}{a_2}=\frac{b_1}{b_2}\neq\frac{c_1}{c_2}: \text{none};\ \text{all equal}: \text{infinite}
SHORTCUT
'Parallel' or 'no solution' → set a1a2=b1b2\frac{a_1}{a_2}=\frac{b_1}{b_2}; 'infinite' or 'coincident' → also set it equal to c1c2\frac{c_1}{c_2}.
USE WHEN
  • a2,b2,c2≠0 for the ratio form; otherwise compare cross products a1b2 vs a2b1a_2, b_2, c_2 \neq 0 \text{ for the ratio form; otherwise compare cross products } a_1b_2 \text{ vs } a_2b_1
Why it works, and common traps
  1. Each equation is a straight line; a solution is a point on both lines.
  2. a1a2≠b1b2\frac{a_1}{a_2}\neq\frac{b_1}{b_2}: the slopes −a1b1-\frac{a_1}{b_1} and −a2b2-\frac{a_2}{b_2} differ, so the lines cross once.
  3. a1a2=b1b2\frac{a_1}{a_2}=\frac{b_1}{b_2} makes the slopes equal: the lines are parallel.
  4. Parallel with c1c2\frac{c_1}{c_2} different: separate lines, no common point. All three ratios equal: one equation is a multiple of the other, the same line, infinitely many solutions.
  • Trap: Using a1a2=b1b2\frac{a_1}{a_2}=\frac{b_1}{b_2} alone for 'infinite': that only makes the lines parallel.
  • Trap: Mixing forms: cc ratios need both equations written the same way (=c=c or +c=0+c=0); with one of each the sign of cc flips.
  • Trap: Keeping both roots of (k−2)2=36(k-2)^2=36 when the question restricts k>0k>0.

Factorising a quadratic

Factorisation & polynomials · seen in 6 past questions
ax2+bx+c=a(x−α)(x−β), α+β=−ba, αβ=caax^2+bx+c=a(x-\alpha)(x-\beta),\ \alpha+\beta=-\tfrac ba,\ \alpha\beta=\tfrac ca
SHORTCUT
Monic x2+bx+cx^2+bx+c: two numbers with product cc and sum bb give (x+p)(x+q)(x+p)(x+q); when options list roots, test sum =−ba=-\frac ba and product =ca=\frac ca.
USE WHEN
  • a≠0a \neq 0
Why it works, and common traps
  1. If α,β\alpha,\beta are the roots, a(x−α)(x−β)=ax2−a(α+β)x+aαβa(x-\alpha)(x-\beta)=ax^2-a(\alpha+\beta)x+a\alpha\beta.
  2. Match with ax2+bx+cax^2+bx+c: −a(α+β)=b-a(\alpha+\beta)=b and aαβ=ca\alpha\beta=c.
  3. So α+β=−ba\alpha+\beta=-\frac ba and αβ=ca\alpha\beta=\frac ca.
  4. Splitting the middle term: find p,qp,q with p+q=bp+q=b, pq=acpq=ac; then ax2+px+qx+cax^2+px+qx+c factors by grouping.
  • Trap: Sign of the sum: roots add to −ba-\frac ba, not ba\frac ba.
  • Trap: Doing 88÷(8×k)88\div(8\times k) instead of left-to-right 88÷8×k88\div8\times k.
  • Trap: Dividing both sides by a variable and losing a root.

x + 1/x cubed

Reciprocal identities · seen in 28 past questions
x3+1x3=k3−3k where k=x+1x; x3−1x3=m3+3m, m=x−1xx^3+\frac1{x^3}=k^3-3k \text{ where } k=x+\frac1x;\ x^3-\frac1{x^3}=m^3+3m,\ m=x-\frac1x
SHORTCUT
x+1x=k⇒x3+1x3=k3−3kx+\frac1x=k \Rightarrow x^3+\frac1{x^3}=k^3-3k; for x6+1x6x^6+\frac1{x^6} use p=x2+1x2p=x^2+\frac1{x^2}: p3−3pp^3-3p.
USE WHEN
  • x≠0x \neq 0
Why it works, and common traps
  1. Apply (a+b)3=a3+b3+3ab(a+b)(a+b)^3=a^3+b^3+3ab(a+b) with a=x, b=1xa=x,\ b=\frac1x; here ab=1ab=1.
  2. k3=x3+1x3+3kk^3=x^3+\frac1{x^3}+3k, so x3+1x3=k3−3kx^3+\frac1{x^3}=k^3-3k.
  3. With b=−1xb=-\frac1x: m3=x3−1x3−3mm^3=x^3-\frac1{x^3}-3m, so x3−1x3=m3+3mx^3-\frac1{x^3}=m^3+3m.
  • Trap: Sign swap: m3−3mm^3-3m for the difference gives 702702; the plus goes with x−1xx-\frac1x.
  • Trap: Using 83+2\sqrt{83+2} for x−1xx-\frac1x; that root belongs to x+1xx+\frac1x.
  • Trap: Cubing x2+1x2=83x^2+\frac1{x^2}=83 directly; the cube identity needs x−1xx-\frac1x (or x+1xx+\frac1x), not the squares.

x + 1/x squared

Reciprocal identities · seen in 37 past questions
x2+1x2=(x+1x)2−2=(x−1x)2+2; x+1x=2⇒x=1x^2+\frac1{x^2}=\left(x+\frac1x\right)^2-2=\left(x-\frac1x\right)^2+2;\ x+\frac1x=2 \Rightarrow x=1
SHORTCUT
k=x+1xk=x+\frac1x: x2+1x2=k2−2x^2+\frac1{x^2}=k^2-2, x4+1x4=(k2−2)2−2x^4+\frac1{x^4}=(k^2-2)^2-2; and (x−1x)2=k2−4\left(x-\frac1x\right)^2=k^2-4.
USE WHEN
  • x≠0x \neq 0
  • x+1x=2⇒x=1 for real xx+\frac1x=2 \Rightarrow x=1 \text{ for real } x
Why it works, and common traps
  1. (x+1x)2=x2+2⋅x⋅1x+1x2=x2+2+1x2\left(x+\frac1x\right)^2=x^2+2\cdot x\cdot\frac1x+\frac1{x^2}=x^2+2+\frac1{x^2}.
  2. Subtract 2: x2+1x2=(x+1x)2−2x^2+\frac1{x^2}=\left(x+\frac1x\right)^2-2.
  3. Same with minus: (x−1x)2=x2−2+1x2\left(x-\frac1x\right)^2=x^2-2+\frac1{x^2}, so x2+1x2=(x−1x)2+2x^2+\frac1{x^2}=\left(x-\frac1x\right)^2+2.
  4. x+1x=2⇒x2−2x+1=0⇒(x−1)2=0⇒x=1x+\frac1x=2 \Rightarrow x^2-2x+1=0 \Rightarrow (x-1)^2=0 \Rightarrow x=1.
  • Trap: Adding 2 instead of subtracting: 146146 (option A).
  • Trap: Squaring without the cross term: 144144 (option D).
  • Trap: For x−1xx-\frac1x from x2+1x2=Nx^2+\frac1{x^2}=N: the root is N−2\sqrt{N-2}, and its sign depends on whether x>1x>1.

Remainder theorem

Factorisation & polynomials · seen in 22 past questions
p(x)÷(x−a) leaves remainder p(a)p(x)\div(x-a) \text{ leaves remainder } p(a)
SHORTCUT
Divisor x+2x+2 → substitute x=−2x=-2; to make p(x)p(x) divisible, subtract p(a)p(a) from it.
Why it works, and common traps
  1. Division gives p(x)=(x−a) q(x)+rp(x)=(x-a)\,q(x)+r with rr a constant (the divisor has degree 1).
  2. Put x=ax=a: the first term vanishes, so r=p(a)r=p(a).
  3. Divisor kx−hkx-h: put x=hkx=\frac hk. If p(a)=0p(a)=0, x−ax-a is a factor.
  • Trap: Substituting x=2x=2 for divisor x+2x+2; the root of x+2x+2 is −2-2.
  • Trap: Dropping a term or its power: 5m45m^4 at m=2m=2 is 8080, not 4040.
  • Trap: For kx−hkx-h, substituting x=hx=h instead of hk\frac hk.

Slope from two points

Graphs of linear equations · seen in 12 past questions
m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}
SHORTCUT
Parallel lines: equal slopes. Perpendicular lines: m1m2=−1m_1m_2=-1, slope =−1m=-\frac1m.
USE WHEN
  • x1≠x2 (otherwise the line is vertical and the slope is undefined)x_1\neq x_2 \text{ (otherwise the line is vertical and the slope is undefined)}
Why it works, and common traps
  1. Slope is rise over run between two points of the line.
  2. Rise =y2−y1=y_2-y_1, run =x2−x1=x_2-x_1.
  3. m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}, the same for any two points on the line.
  4. Direction vectors (1,m1)(1,m_1) and (1,m2)(1,m_2) are perpendicular when 1+m1m2=01+m_1m_2=0, so m2=−1m1m_2=-\frac{1}{m_1}.
  • Trap: Taking the negative only: −14-\frac14 (forgets to flip).
  • Trap: Taking the reciprocal only: 44 (forgets the sign).
  • Trap: Subtracting in mixed order, y2−y1y_2-y_1 over x1−x2x_1-x_2, flips the sign.

Square of a sum / difference

Algebraic identities · seen in 32 past questions
(a±b)2=a2±2ab+b2; (a+b)2−(a−b)2=4ab; (a+b+c)2=Σa2+2Σab(a\pm b)^2=a^2\pm2ab+b^2;\ (a+b)^2-(a-b)^2=4ab;\ (a+b+c)^2=\Sigma a^2+2\Sigma ab
SHORTCUT
Spot the pattern x2+y2+z2+2xy+2yz+2zxx^2+y^2+z^2+2xy+2yz+2zx in a numeric expression and write it as (x+y+z)2(x+y+z)^2.
Why it works, and common traps
  1. (a+b)2=(a+b)(a+b)=a2+ab+ba+b2=a2+2ab+b2(a+b)^2=(a+b)(a+b)=a^2+ab+ba+b^2=a^2+2ab+b^2.
  2. Replace bb by −b-b: (a−b)2=a2−2ab+b2(a-b)^2=a^2-2ab+b^2.
  3. Subtract the two: (a+b)2−(a−b)2=4ab(a+b)^2-(a-b)^2=4ab; add them: (a+b)2+(a−b)2=2(a2+b2)(a+b)^2+(a-b)^2=2(a^2+b^2).
  4. Three terms: (a+b+c)2(a+b+c)^2 has every square once and every product ab,bc,caab, bc, ca twice: a2+b2+c2+2(ab+bc+ca)a^2+b^2+c^2+2(ab+bc+ca).
  • Trap: Writing (a+b)2=a2+b2(a+b)^2=a^2+b^2 (drops 2ab2ab).
  • Trap: Using (a−b)2=a2−b2(a-b)^2=a^2-b^2: that is a different expression, see algebra.difference-of-squares.
  • Trap: Forgetting the 2 on the products: (a+b+c)2(a+b+c)^2 has 2ab+2bc+2ca2ab+2bc+2ca, not ab+bc+caab+bc+ca.

Sum / difference of cubes

Algebraic identities · seen in 12 past questions
a3±b3=(a±b)(a2∓ab+b2)a^3\pm b^3=(a\pm b)(a^2\mp ab+b^2)
SHORTCUT
a3−b3a2+ab+b2=a−b\frac{a^3-b^3}{a^2+ab+b^2}=a-b and a3+b3a2−ab+b2=a+b\frac{a^3+b^3}{a^2-ab+b^2}=a+b: read the answer straight off.
Why it works, and common traps
  1. Expand (a−b)(a2+ab+b2)=a3+a2b+ab2−a2b−ab2−b3(a-b)(a^2+ab+b^2)=a^3+a^2b+ab^2-a^2b-ab^2-b^3.
  2. All middle terms cancel: a3−b3a^3-b^3.
  3. Replace bb by −b-b: a3+b3=(a+b)(a2−ab+b2)a^3+b^3=(a+b)(a^2-ab+b^2).
  • Trap: Using +ab+ab in the bracket for a3+b3a^3+b^3: the bracket sign is opposite to the sign between the cubes.
  • Trap: Answering a+b=12a+b=12 for a difference of cubes.
  • Trap: Expecting the bracket a2±ab+b2a^2\pm ab+b^2 to factor further; over the reals it does not.

Sum of squares equals zero

Algebraic identities · seen in 1 past questions
a2+b2+c2=0⇒a=b=c=0; a2+b2+c2−ab−bc−ca=0⇒a=b=ca^2+b^2+c^2=0 \Rightarrow a=b=c=0;\ a^2+b^2+c^2-ab-bc-ca=0 \Rightarrow a=b=c
SHORTCUT
Move everything to one side and complete squares: (x−p)2+(y−q)2+⋯=0(x-p)^2+(y-q)^2+\dots=0 gives x=p, y=q,…x=p,\ y=q,\dots at once.
USE WHEN
  • a,b,c reala, b, c \text{ real}
Why it works, and common traps
  1. A real square is never negative.
  2. Non-negative terms add to 00 only if each one is 00: a=b=c=0a=b=c=0.
  3. a2+b2+c2−ab−bc−ca=12[(a−b)2+(b−c)2+(c−a)2]a^2+b^2+c^2-ab-bc-ca=\frac12[(a-b)^2+(b-c)^2+(c-a)^2].
  4. So it is 00 only when a−b=b−c=c−a=0a-b=b-c=c-a=0, i.e. a=b=ca=b=c.
  • Trap: Splitting the constant 22 wrongly, so the squares do not close (e.g. (a−1)2+(c−1)2(a-1)^2+(c-1)^2 needs both +1+1s).
  • Trap: Concluding a=b=c=0a=b=c=0 from a2+b2+c2−ab−bc−ca=0a^2+b^2+c^2-ab-bc-ca=0; it only gives a=b=ca=b=c.
  • Trap: Applying the rule to complex numbers: 12+i2=01^2+i^2=0 although neither is 00.