The Square Identities

An identity is true for every value of the letters. An equation such as 2x+1=72x + 1 = 7 is true only for x=3x = 3, but (a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2 works for any aa and bb you choose. That is why you can always test an identity by putting in numbers.

Where it comes from. (a+b)2(a + b)^2 means (a+b)(a+b)(a + b)(a + b). Multiply each term of the first bracket by each term of the second: a×a+a×b+b×a+b×b=a2+2ab+b2a \times a + a \times b + b \times a + b \times b = a^2 + 2ab + b^2. Every identity below is found by the same kind of multiplying.

(a+b)2=a2+2ab+b2(a−b)2=a2−2ab+b2(a + b)^2 = a^2 + 2ab + b^2 \qquad (a - b)^2 = a^2 - 2ab + b^2

a2−b2=(a+b)(a−b)a^2 - b^2 = (a + b)(a - b)

(a+b)2+(a−b)2=2(a2+b2)(a+b)2−(a−b)2=4ab(a + b)^2 + (a - b)^2 = 2(a^2 + b^2) \qquad (a + b)^2 - (a - b)^2 = 4ab

(x+a)(x+b)=x2+(a+b)x+ab(x + a)(x + b) = x^2 + (a + b)x + ab

When the terms carry numbers. In (3x−4y)2(3x - 4y)^2, the first term is 3x3x and the second is 4y4y. Square each one fully and double their product:

(3x−4y)2=9x2−2×3x×4y+16y2=9x2−24xy+16y2(3x - 4y)^2 = 9x^2 - 2 \times 3x \times 4y + 16y^2 = 9x^2 - 24xy + 16y^2

Adding and subtracting the two squares. Adding (a+b)2(a + b)^2 and (a−b)2(a - b)^2 cancels the 2ab2ab terms. Subtracting them cancels the squares. So (2x+5y)2+(2x−5y)2=2(4x2+25y2)=8x2+50y2(2x + 5y)^2 + (2x - 5y)^2 = 2(4x^2 + 25y^2) = 8x^2 + 50y^2, and (2x+5y)2−(2x−5y)2=4×2x×5y=40xy(2x + 5y)^2 - (2x - 5y)^2 = 4 \times 2x \times 5y = 40xy. Two more forms of the same fact link the sum and the difference: (a+b)2=(a−b)2+4ab(a + b)^2 = (a - b)^2 + 4ab and (a−b)2=(a+b)2−4ab(a - b)^2 = (a + b)^2 - 4ab.

(x+a)(x+b)(x + a)(x + b) with signs. Add the two numbers for the middle coefficient and multiply them for the last term. (x+6)(x−2)=x2+4x−12(x + 6)(x - 2) = x^2 + 4x - 12, because 6−2=46 - 2 = 4 and 6×(−2)=−126 \times (-2) = -12. Likewise (x−5)(x−3)=x2−8x+15(x - 5)(x - 3) = x^2 - 8x + 15.

Perfect squares and the missing term. 16x2+kx+2516x^2 + kx + 25 is a perfect square when the middle term is 2×4x×5=40x2 \times 4x \times 5 = 40x, so k=40k = 40 (or −40-40 for (4x−5)2(4x - 5)^2). To complete x2+10xx^2 + 10x, take half of 10, which is 5, and add its square: x2+10x+25=(x+5)2x^2 + 10x + 25 = (x + 5)^2.

The same identities also make number work quick, such as 672−33267^2 - 33^2 or a big (a+b)2−(a−b)2(a + b)^2 - (a - b)^2 over abab (see Chapter 2).

Never write (a+b)2(a + b)^2 as a2+b2a^2 + b^2. To see why, put a=1a = 1 and b=1b = 1: the left side is 4, the right side is 2. Expect an option that drops the 2ab2ab term, or squares xx but not the 3 in 3x3x, among the four choices.

Sum, Product and Difference: Getting One from the Others

A typical two-letter question gives you two of a+ba + b, a−ba - b, abab and a2+b2a^2 + b^2, and asks for something else. You never need aa and bb themselves. Rearrange the square identities:

a2+b2=(a+b)2−2ab=(a−b)2+2aba^2 + b^2 = (a + b)^2 - 2ab = (a - b)^2 + 2ab

(a−b)2=(a+b)2−4ab(a+b)2=(a−b)2+4ab(a - b)^2 = (a + b)^2 - 4ab \qquad (a + b)^2 = (a - b)^2 + 4ab

ab=(a+b)2−(a2+b2)2=(a+b)2−(a−b)24ab = \frac{(a + b)^2 - (a^2 + b^2)}{2} = \frac{(a + b)^2 - (a - b)^2}{4}

One pair, many answers. Say a+b=13a + b = 13 and ab=36ab = 36.

Asked Working Value
a2+b2a^2 + b^2 169−2×36169 - 2 \times 36 97
(a−b)2(a - b)^2 169−4×36169 - 4 \times 36 25
a−ba - b (for a>ba > b) 25\sqrt{25} 5
a2−b2a^2 - b^2 (a+b)(a−b)=13×5(a + b)(a - b) = 13 \times 5 65
ab+ba\frac{a}{b} + \frac{b}{a} a2+b2ab\frac{a^2 + b^2}{ab} 9736\frac{97}{36}
1a+1b\frac{1}{a} + \frac{1}{b} a+bab\frac{a + b}{ab} 1336\frac{13}{36}

The numbers are 9 and 4, and 81+16=9781 + 16 = 97 confirms the first line. In an exam you would not stop to find them.

Starting from a2+b2a^2 + b^2 and abab. If a2+b2=113a^2 + b^2 = 113 and ab=56ab = 56, with both positive, then (a+b)2=113+112=225(a + b)^2 = 113 + 112 = 225, so a+b=15a + b = 15, and (a−b)2=113−112=1(a - b)^2 = 113 - 112 = 1, so a−b=1a - b = 1 when a>ba > b.

Starting from a+ba + b and a2+b2a^2 + b^2. If a+b=12a + b = 12 and a2+b2=90a^2 + b^2 = 90, then 2ab=144−90=542ab = 144 - 90 = 54 and ab=27ab = 27. (The numbers are 9 and 3.)

Do real values exist? For real numbers (a−b)2(a - b)^2 can never be negative, so (a+b)2(a + b)^2 must be at least 4ab4ab. Suppose a question gives a+b=4a + b = 4 and ab=5ab = 5. The working for a2+b2=16−10=6a^2 + b^2 = 16 - 10 = 6 still runs, but (a−b)2=16−20=−4(a - b)^2 = 16 - 20 = -4, so there are no real aa and bb at all. If a question asks for a−ba - b from data like this, you have probably misread a number.

[SSC Tip] The sum of squares needs 2ab2ab, the square of the difference needs 4ab4ab. Most wrong options in these questions are what you get by swapping the two. And a−ba - b comes out of a square root, so it is ±\pm; take the positive value only when the question tells you a>ba > b.

Fourth Powers: a4+b4a^4 + b^4, a4−b4a^4 - b^4 and a4+a2b2+b4a^4 + a^2b^2 + b^4

a4+b4a^4 + b^4. Think of a2a^2 and b2b^2 as the two terms. Then (a2+b2)2=a4+2a2b2+b4(a^2 + b^2)^2 = a^4 + 2a^2b^2 + b^4, so

a4+b4=(a2+b2)2−2a2b2a^4 + b^4 = (a^2 + b^2)^2 - 2a^2b^2

It is a two-step job: find a2+b2a^2 + b^2 first, then square it and take away 2(ab)22(ab)^2. With a−b=3a - b = 3 and ab=2ab = 2: a2+b2=9+4=13a^2 + b^2 = 9 + 4 = 13, and a4+b4=169−2×4=161a^4 + b^4 = 169 - 2 \times 4 = 161. The subtraction is 2a2b2=82a^2b^2 = 8, not 2ab=42ab = 4. If s=a+bs = a + b and p=abp = ab, the whole thing in one line is a4+b4=(s2−2p)2−2p2a^4 + b^4 = (s^2 - 2p)^2 - 2p^2.

a4−b4a^4 - b^4. Use the difference of squares twice:

a4−b4=(a2+b2)(a2−b2)=(a2+b2)(a+b)(a−b)a^4 - b^4 = (a^2 + b^2)(a^2 - b^2) = (a^2 + b^2)(a + b)(a - b)

So x4−81=(x2+9)(x+3)(x−3)x^4 - 81 = (x^2 + 9)(x + 3)(x - 3). The bracket x2+9x^2 + 9 is a sum of squares and does not break further with real numbers.

a4+a2b2+b4a^4 + a^2b^2 + b^4. Add and take away a2b2a^2b^2 so that a full square appears:

a4+a2b2+b4=(a4+2a2b2+b4)−a2b2=(a2+b2)2−(ab)2a^4 + a^2b^2 + b^4 = (a^4 + 2a^2b^2 + b^4) - a^2b^2 = (a^2 + b^2)^2 - (ab)^2

That is a difference of squares, so

a4+a2b2+b4=(a2+ab+b2)(a2−ab+b2)a^4 + a^2b^2 + b^4 = (a^2 + ab + b^2)(a^2 - ab + b^2)

With b=1b = 1 it reads x4+x2+1=(x2+x+1)(x2−x+1)x^4 + x^2 + 1 = (x^2 + x + 1)(x^2 - x + 1), which also turns up on its own.

The usual question. "If a4+a2b2+b4=21a^4 + a^2b^2 + b^4 = 21 and a2+ab+b2=7a^2 + ab + b^2 = 7, find a2−ab+b2a^2 - ab + b^2, a2+b2a^2 + b^2 and abab."

  1. Divide: a2−ab+b2=21÷7=3a^2 - ab + b^2 = 21 \div 7 = 3.
  2. Add the two brackets: 2(a2+b2)=7+3=102(a^2 + b^2) = 7 + 3 = 10, so a2+b2=5a^2 + b^2 = 5.
  3. Take one from the other: 2ab=7−3=42ab = 7 - 3 = 4, so ab=2ab = 2.

From here (a+b)2=5+4=9(a + b)^2 = 5 + 4 = 9, and so on. (The numbers are 2 and 1: 16+4+1=2116 + 4 + 1 = 21.)

The Cube Identities

Multiply (a+b)(a + b) by (a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2 and collect the terms:

(a+b)3=a3+3a2b+3ab2+b3=a3+b3+3ab(a+b)(a + b)^3 = a^3 + 3a^2b + 3ab^2 + b^3 = a^3 + b^3 + 3ab(a + b)

(a−b)3=a3−3a2b+3ab2−b3=a3−b3−3ab(a−b)(a - b)^3 = a^3 - 3a^2b + 3ab^2 - b^3 = a^3 - b^3 - 3ab(a - b)

The sum and difference of two cubes each have two useful forms:

a3+b3=(a+b)(a2−ab+b2)=(a+b)3−3ab(a+b)a^3 + b^3 = (a + b)(a^2 - ab + b^2) = (a + b)^3 - 3ab(a + b)

a3−b3=(a−b)(a2+ab+b2)=(a−b)3+3ab(a−b)a^3 - b^3 = (a - b)(a^2 + ab + b^2) = (a - b)^3 + 3ab(a - b)

Two forms, two jobs. The bracket forms are for factorising and cancelling. The forms with 3ab3ab are for working out a value from a sum, a difference and a product, which is covered next.

Signs in the bracket form. a3±b3=(a±b)(a2∓ab+b2)a^3 \pm b^3 = (a \pm b)(a^2 \mp ab + b^2). The first bracket has the same sign as the question, the middle term of the second bracket has the opposite sign, and the last term is always positive. Some students remember this as SOAP.

Coefficients 1, 3, 3, 1. For (3x−2y)3(3x - 2y)^3 the four terms are (3x)3(3x)^3, 3(3x)2(2y)3(3x)^2(2y), 3(3x)(2y)23(3x)(2y)^2 and (2y)3(2y)^3, with signs plus, minus, plus, minus:

(3x−2y)3=27x3−54x2y+36xy2−8y3(3x - 2y)^3 = 27x^3 - 54x^2y + 36xy^2 - 8y^3

Spotting a full cube. In x3+6x2+12x+8x^3 + 6x^2 + 12x + 8, the first term is x3x^3 and the last is 8=238 = 2^3. Check the middle: 3×x2×2=6x23 \times x^2 \times 2 = 6x^2 and 3×x×4=12x3 \times x \times 4 = 12x. Both match, so it is (x+2)3(x + 2)^3, and its value at x=3x = 3 is 53=1255^3 = 125 without any long working. In the same way 8x3−12x2+6x−1=(2x−1)38x^3 - 12x^2 + 6x - 1 = (2x - 1)^3; the alternating signs tell you it is a minus cube.

The 3ab3ab term when the sum is a number. If x+y=2x + y = 2, then (x+y)3=x3+y3+3xy×2(x + y)^3 = x^3 + y^3 + 3xy \times 2, so x3+y3+6xy=8x^3 + y^3 + 6xy = 8 for every such pair. In general:

a+b=k⇒a3+b3+3kab=k3a−b=k⇒a3−b3−3kab=k3a + b = k \Rightarrow a^3 + b^3 + 3kab = k^3 \qquad a - b = k \Rightarrow a^3 - b^3 - 3kab = k^3

[SSC Tip] The middle part of (a+b)3(a + b)^3 is 3ab(a+b)3ab(a + b), two pieces multiplied. Writing only 3ab3ab is correct only when a+b=1a + b = 1. Quick test of any expansion: put a=b=1a = b = 1. (1+1)3=8(1 + 1)^3 = 8, and 1+3+3+1=81 + 3 + 3 + 1 = 8 too.

Cubes from a Sum, a Difference and a Product

Most two-letter cube questions need only these two lines:

a3+b3=(a+b)3−3ab(a+b)a3−b3=(a−b)3+3ab(a−b)a^3 + b^3 = (a + b)^3 - 3ab(a + b) \qquad a^3 - b^3 = (a - b)^3 + 3ab(a - b)

Straight use.

  • a+b=8a + b = 8 and ab=7ab = 7: a3+b3=512−3×7×8=512−168=344a^3 + b^3 = 512 - 3 \times 7 \times 8 = 512 - 168 = 344. (7 and 1: 343+1=344343 + 1 = 344.)
  • a−b=4a - b = 4 and ab=5ab = 5: a3−b3=64+3×5×4=64+60=124a^3 - b^3 = 64 + 3 \times 5 \times 4 = 64 + 60 = 124. (5 and 1: 125−1=124125 - 1 = 124.)

Notice the sign. For the sum of cubes you take 3ab(a+b)3ab(a + b) away; for the difference of cubes you add 3ab(a−b)3ab(a - b).

When a2+b2a^2 + b^2 is given instead of abab. Find abab first, or use the bracket form, which is often quicker. With a+b=9a + b = 9 and a2+b2=45a^2 + b^2 = 45:

  • Route 1: 2ab=81−45=362ab = 81 - 45 = 36, so ab=18ab = 18 and a3+b3=729−3×18×9=243a^3 + b^3 = 729 - 3 \times 18 \times 9 = 243.
  • Route 2: a3+b3=(a+b)(a2+b2−ab)=9×(45−18)=243a^3 + b^3 = (a + b)(a^2 + b^2 - ab) = 9 \times (45 - 18) = 243.

Finding the product from the cubes. If a+b=5a + b = 5 and a3+b3=65a^3 + b^3 = 65, then 125−3ab×5=65125 - 3ab \times 5 = 65, so 15ab=6015ab = 60 and ab=4ab = 4.

Going backwards to the sum. "If a3+b3=28a^3 + b^3 = 28 and ab=3ab = 3, find a+ba + b." Call the sum ss. Then a3+b3=s3−3absa^3 + b^3 = s^3 - 3abs gives

s3−9s=28s^3 - 9s = 28

Do not try to solve this as a cubic. Put in small whole numbers, or the options: s=4s = 4 gives 64−36=2864 - 36 = 28. So a+b=4a + b = 4, and then (a−b)2=16−12=4(a - b)^2 = 16 - 12 = 4 gives a−b=±2a - b = \pm 2. (The numbers are 3 and 1.) The same trick works for the difference: if a3−b3a^3 - b^3 and abab are given, put d=a−bd = a - b and solve d3+3abd=a3−b3d^3 + 3abd = a^3 - b^3 by trying values.

Real numbers again. After finding the sum, check that s2≥4abs^2 \ge 4ab, otherwise aa and bb cannot both be real. Here 16≥1216 \ge 12, so all is well.

Scaled Forms and Rectangle Questions

SSC often hides the identity by putting numbers in front of the letters: "If 2x+5y=122x + 5y = 12 and xy=2xy = 2, find 8x3+125y38x^3 + 125y^3." The trick is to treat 2x2x as one term and 5y5y as the other.

Call them A=2xA = 2x and B=5yB = 5y. Then:

  • A+B=12A + B = 12
  • AB=2x×5y=10xy=20AB = 2x \times 5y = 10xy = 20
  • 8x3+125y3=A3+B38x^3 + 125y^3 = A^3 + B^3 and 4x2+25y2=A2+B24x^2 + 25y^2 = A^2 + B^2

Now it is the plain two-letter problem:

A2+B2=144−2×20=104A3+B3=123−3×20×12=1728−720=1008A^2 + B^2 = 144 - 2 \times 20 = 104 \qquad A^3 + B^3 = 12^3 - 3 \times 20 \times 12 = 1728 - 720 = 1008

Check: x=5x = 5 and y=25y = \frac{2}{5} fit both conditions, and 1000+8=10081000 + 8 = 1008.

The identity itself also scales. (2x+5y)3=8x3+125y3+30xy(2x+5y)(2x + 5y)^3 = 8x^3 + 125y^3 + 30xy(2x + 5y), because 3AB=3×2x×5y=30xy3AB = 3 \times 2x \times 5y = 30xy.

The difference version. "If 2x−y=52x - y = 5 and 8x3−y3=3358x^3 - y^3 = 335, where xx and yy are positive, find 4x2−y24x^2 - y^2." Take A=2xA = 2x and B=yB = y:

  1. A3−B3=(A−B)(A2+AB+B2)A^3 - B^3 = (A - B)(A^2 + AB + B^2), so A2+AB+B2=335÷5=67A^2 + AB + B^2 = 335 \div 5 = 67.
  2. (A−B)2=A2−2AB+B2=25(A - B)^2 = A^2 - 2AB + B^2 = 25. Take this from step 1: 3AB=423AB = 42, so AB=14AB = 14.
  3. (A+B)2=(A−B)2+4AB=25+56=81(A + B)^2 = (A - B)^2 + 4AB = 25 + 56 = 81, so A+B=9A + B = 9 (positive values).
  4. 4x2−y2=(A−B)(A+B)=5×9=454x^2 - y^2 = (A - B)(A + B) = 5 \times 9 = 45.

The word "positive" matters: A=−2A = -2, B=−7B = -7 also fits the two conditions and would give −45-45.

Rectangles. For a rectangle with length ll and breadth bb, the perimeter gives l+bl + b, the area gives lblb, and the diagonal is l2+b2\sqrt{l^2 + b^2}. So a rectangle question is really a sum-and-product question.

A rectangle has perimeter 46 cm and area 120 sq cm. Then l+b=23l + b = 23 and lb=120lb = 120, so l2+b2=529−240=289l^2 + b^2 = 529 - 240 = 289 and the diagonal is 289=17\sqrt{289} = 17 cm. The sides are 15 cm and 8 cm, and you never had to find them.

[SSC Tip] The product of the scaled terms is the number times xyxy: 2x×5y=10xy2x \times 5y = 10xy. Using plain xyxy as the product is the standard slip, and SSC keeps the answer it produces among the options. In rectangle questions, halve the perimeter before you square it.

Factorisation: Common Factors, Grouping and Special Forms

Factorising means writing an expression as a product. It is expanding in reverse, so every identity above becomes a factorising tool. Work through these checks in order.

1. Take out the common factor first. Take the HCF of the numbers and the lowest power of each letter that appears in every term:

12x3y−18x2y2=6x2y(2x−3y)12x^3y - 18x^2y^2 = 6x^2y(2x - 3y)

2. Grouping (four terms). Pair the terms so that each pair has a common factor and the brackets left over match:

x3−4x2+3x−12=x2(x−4)+3(x−4)=(x−4)(x2+3)x^3 - 4x^2 + 3x - 12 = x^2(x - 4) + 3(x - 4) = (x - 4)(x^2 + 3)

If the brackets do not match, pair the terms differently. ab+cd+ac+bdab + cd + ac + bd does not group as written, but (ab+ac)+(bd+cd)=a(b+c)+d(b+c)=(a+d)(b+c)(ab + ac) + (bd + cd) = a(b + c) + d(b + c) = (a + d)(b + c).

3. Difference of squares. 25x2−49y2=(5x−7y)(5x+7y)25x^2 - 49y^2 = (5x - 7y)(5x + 7y). Often one of the squares is hidden as three terms:

4x2−4x+1−9y2=(2x−1)2−(3y)2=(2x−1−3y)(2x−1+3y)4x^2 - 4x + 1 - 9y^2 = (2x - 1)^2 - (3y)^2 = (2x - 1 - 3y)(2x - 1 + 3y)

Look for a perfect square of three terms sitting next to a lone square with a minus sign.

4. Perfect squares. If the first and last terms are squares and the middle is twice their product, fold it up: 9x2−30xy+25y2=(3x−5y)29x^2 - 30xy + 25y^2 = (3x - 5y)^2.

5. Sum and difference of cubes.

27x3+8=(3x+2)(9x2−6x+4)x3−64y3=(x−4y)(x2+4xy+16y2)27x^3 + 8 = (3x + 2)(9x^2 - 6x + 4) \qquad x^3 - 64y^3 = (x - 4y)(x^2 + 4xy + 16y^2)

The three-term bracket a2±ab+b2a^2 \pm ab + b^2 never factorises further with real numbers, so stop there.

6. [Tier 2] Sixth powers. For x6−y6x^6 - y^6, use squares first and cubes second:

x6−y6=(x3−y3)(x3+y3)=(x−y)(x2+xy+y2)(x+y)(x2−xy+y2)x^6 - y^6 = (x^3 - y^3)(x^3 + y^3) = (x - y)(x^2 + xy + y^2)(x + y)(x^2 - xy + y^2)

Doing cubes first gives (x2−y2)(x4+x2y2+y4)(x^2 - y^2)(x^4 + x^2y^2 + y^4), which is correct but not finished, and the a4+a2b2+b4a^4 + a^2b^2 + b^4 factorisation from the part on fourth powers is needed to finish it.

Before you pick a factorised option, check it with one value. Put x=1x = 1 (and y=1y = 1) in the question and in the option. x3−4x2+3x−12x^3 - 4x^2 + 3x - 12 at x=1x = 1 is −12-12, and (x−4)(x2+3)(x - 4)(x^2 + 3) at x=1x = 1 is (−3)(4)=−12(-3)(4) = -12. A sign slip in an option shows up straight away.

Splitting the Middle Term

A quadratic like x2+7x+12x^2 + 7x + 12 often splits into two brackets. Look for two numbers whose product is the last term and whose sum is the middle coefficient. Here 3 and 4 work, so x2+7x+12=(x+3)(x+4)x^2 + 7x + 12 = (x + 3)(x + 4).

Signs. The signs of the last and middle terms tell you the signs of the two numbers.

Last term Middle term The two numbers
positive positive both positive
positive negative both negative
negative positive the bigger one positive
negative negative the bigger one negative

So x2−2x−15x^2 - 2x - 15 needs product −15-15 and sum −2-2: the numbers are −5-5 and 3, giving (x−5)(x+3)(x - 5)(x + 3).

When x2x^2 has a coefficient. For ax2+bx+cax^2 + bx + c, multiply aa and cc, find two numbers with that product and sum bb, split the middle term with them and group.

Take 6x2+11x−106x^2 + 11x - 10. Here ac=−60ac = -60, and 15 and −4-4 have product −60-60 and sum 11:

6x2+15x−4x−10=3x(2x+5)−2(2x+5)=(3x−2)(2x+5)6x^2 + 15x - 4x - 10 = 3x(2x + 5) - 2(2x + 5) = (3x - 2)(2x + 5)

Two letters. The method does not change. 2x2+5xy−12y22x^2 + 5xy - 12y^2 has ac=−24ac = -24, and 8 and −3-3 work:

2x2+8xy−3xy−12y2=2x(x+4y)−3y(x+4y)=(2x−3y)(x+4y)2x^2 + 8xy - 3xy - 12y^2 = 2x(x + 4y) - 3y(x + 4y) = (2x - 3y)(x + 4y)

A bracket in place of xx. (x+1)2−5(x+1)+6(x + 1)^2 - 5(x + 1) + 6 is a quadratic in t=x+1t = x + 1: t2−5t+6=(t−2)(t−3)t^2 - 5t + 6 = (t - 2)(t - 3). Putting tt back gives (x−1)(x−2)(x - 1)(x - 2).

A square in place of xx. x4−5x2+4=(x2−1)(x2−4)=(x−1)(x+1)(x−2)(x+2)x^4 - 5x^2 + 4 = (x^2 - 1)(x^2 - 4) = (x - 1)(x + 1)(x - 2)(x + 2). Split as if x2x^2 were the letter, then use the difference of squares on each bracket.

"Which of these is a factor?" Factorise and look. If the options are brackets like 3x−43x - 4 and 3x+43x + 4, the sign is what is being tested, so multiply your two brackets back to check the middle term.

If no pair of whole numbers works, the quadratic does not split nicely; solving it by the formula belongs to the Polynomials and Quadratic Equations section.

When acac is large, list its factor pairs starting from the middle. For ac=−120ac = -120 and middle −7-7, the pair must differ by 7: 8 and 15 do, so the numbers are 8 and −15-15. With a negative last term, the middle coefficient is the difference of the pair, so look for that difference straight away.

Simplifying Algebraic Fractions, and Checking with Simple Values

To simplify a fraction, factorise the top and the bottom completely, then cancel the brackets they share. Never cancel single terms across a plus or minus sign: in x+4x+2\frac{x + 4}{x + 2} nothing cancels.

Difference of squares over one of its brackets.

16x2−9y24x+3y=(4x−3y)(4x+3y)4x+3y=4x−3y\frac{16x^2 - 9y^2}{4x + 3y} = \frac{(4x - 3y)(4x + 3y)}{4x + 3y} = 4x - 3y

A full cube over a difference of squares. 8x3−12x2+6x−18x^3 - 12x^2 + 6x - 1 is (2x−1)3(2x - 1)^3 (from the cube identities above), and 4x2−1=(2x−1)(2x+1)4x^2 - 1 = (2x - 1)(2x + 1):

8x3−12x2+6x−14x2−1=(2x−1)3(2x−1)(2x+1)=(2x−1)22x+1\frac{8x^3 - 12x^2 + 6x - 1}{4x^2 - 1} = \frac{(2x - 1)^3}{(2x - 1)(2x + 1)} = \frac{(2x - 1)^2}{2x + 1}

Cubes over the matching bracket. 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. With scaled terms, a3−27b3a2+3ab+9b2=a−3b\frac{a^3 - 27b^3}{a^2 + 3ab + 9b^2} = a - 3b, since 27b3=(3b)327b^3 = (3b)^3.

Products of fractions. Factorise everything first, then cancel across the whole product:

a2−b2a3−b3×a2+ab+b2a+b=(a−b)(a+b)(a−b)(a2+ab+b2)×a2+ab+b2a+b=1\frac{a^2 - b^2}{a^3 - b^3} \times \frac{a^2 + ab + b^2}{a + b} = \frac{(a - b)(a + b)}{(a - b)(a^2 + ab + b^2)} \times \frac{a^2 + ab + b^2}{a + b} = 1

Adding fractions. Use the product of the bottoms when they share nothing: 1x−2−1x+2=(x+2)−(x−2)x2−4=4x2−4\frac{1}{x - 2} - \frac{1}{x + 2} = \frac{(x + 2) - (x - 2)}{x^2 - 4} = \frac{4}{x^2 - 4}.

Checking with simple values. An identity holds for every allowed value, so you can test the question and the options with numbers that make the work tiny. Good choices are a=1,b=0a = 1, b = 0, or a=2,b=1a = 2, b = 1.

"(a+b)2−(a−b)2a2b+ab2\frac{(a + b)^2 - (a - b)^2}{a^2b + ab^2} equals: (a) 4a+b\frac{4}{a + b} (b) 2a+b\frac{2}{a + b} (c) 4ab4ab (d) a+ba + b." Here b=0b = 0 would make the bottom zero, so try a=b=1a = b = 1: the question gives 4−02=2\frac{4 - 0}{2} = 2. Options (a) and (d) both give 2. Break the tie with a=2,b=1a = 2, b = 1: the question gives 9−16=43\frac{9 - 1}{6} = \frac{4}{3}, which matches (a) but not (d), which gives 3. So the answer is (a), and the algebra agrees: the top is 4ab4ab and the bottom is ab(a+b)ab(a + b).

Avoid values that make any bottom zero (x=2x = 2 in 4x2−4\frac{4}{x^2 - 4}) or make two letters equal when the question divides by their difference. If two options survive one test, a second pair of values settles it.

Solved Examples

Question 1

Simplify (5x−2y)2+20xy(5x - 2y)^2 + 20xy. (a) 25x2−4y225x^2 - 4y^2 (b) 25x2+4y2+40xy25x^2 + 4y^2 + 40xy (c) 25x2+4y225x^2 + 4y^2 (d) 5x2+2y25x^2 + 2y^2

Answer. Open the square first: (5x−2y)2=25x2−2×5x×2y+4y2=25x2−20xy+4y2(5x - 2y)^2 = 25x^2 - 2 \times 5x \times 2y + 4y^2 = 25x^2 - 20xy + 4y^2. Adding 20xy20xy wipes out the middle term, so we are left with (c) 25x2+4y225x^2 + 4y^2.

Question 2

What is the value of (4a+3b)2−(4a−3b)2ab\frac{(4a + 3b)^2 - (4a - 3b)^2}{ab}? (a) 2424 (b) 4848 (c) 1212 (d) 44

Answer. This is (A+B)2−(A−B)2=4AB(A + B)^2 - (A - B)^2 = 4AB with A=4aA = 4a and B=3bB = 3b. So the top is 4×4a×3b=48ab4 \times 4a \times 3b = 48ab, and dividing by abab gives (b) 4848. Using 2AB2AB by mistake gives 24.

Question 3

If (x+7)(x−3)=x2+px+q(x + 7)(x - 3) = x^2 + px + q, what is p+qp + q? (a) 1717 (b) −25-25 (c) 2525 (d) −17-17

Answer. For (x+a)(x+b)(x + a)(x + b) the middle coefficient is a+ba + b and the last term is abab. Here the two numbers are 7 and −3-3, so p=7−3=4p = 7 - 3 = 4 and q=7×(−3)=−21q = 7 \times (-3) = -21. Then p+q=4−21p + q = 4 - 21, which is (d) −17-17.

Question 4

For what positive value of kk is 9x2−kx+499x^2 - kx + 49 a perfect square? (a) 42 (b) 21 (c) 84 (d) 14

Answer. 9x2=(3x)29x^2 = (3x)^2 and 49=7249 = 7^2, so the square has to be (3x−7)2=9x2−42x+49(3x - 7)^2 = 9x^2 - 42x + 49. The middle term is 2×3x×7=42x2 \times 3x \times 7 = 42x, so kk is (a) 42.

Question 5

If a+b=16a + b = 16 and ab=55ab = 55, what is a2+b2a^2 + b^2? (a) 201 (b) 146 (c) 366 (d) 36

Answer. a2+b2=(a+b)2−2ab=256−110a^2 + b^2 = (a + b)^2 - 2ab = 256 - 110, which is (b) 146. (11 and 5 fit: 121+25=146121 + 25 = 146.) The option 36 is (a−b)2(a - b)^2, not what was asked.

Question 6

If a−b=4a - b = 4 and ab=21ab = 21, where aa and bb are positive, what is a+ba + b? (a) 58\sqrt{58} (b) 37\sqrt{37} (c) 1010 (d) 100100

Answer. Use (a+b)2=(a−b)2+4ab=16+84=100(a + b)^2 = (a - b)^2 + 4ab = 16 + 84 = 100. Both numbers are positive, so a+ba + b is positive too: (c) 1010. Quick check: 7 and 3 differ by 4 and multiply to 21.

Question 7

If a+b=9a + b = 9 and a2+b2=53a^2 + b^2 = 53, what is ab+ba\frac{a}{b} + \frac{b}{a}? (a) 1453\frac{14}{53} (b) 8114\frac{81}{14} (c) 5328\frac{53}{28} (d) 5314\frac{53}{14}

Answer. First get abab: 2ab=(a+b)2−(a2+b2)=81−53=282ab = (a + b)^2 - (a^2 + b^2) = 81 - 53 = 28, so ab=14ab = 14. Then ab+ba=a2+b2ab\frac{a}{b} + \frac{b}{a} = \frac{a^2 + b^2}{ab}, which is (d) 5314\frac{53}{14}.

Question 8

If a2+b2=130a^2 + b^2 = 130 and ab=63ab = 63, where a>b>0a > b > 0, what is a2−b2a^2 - b^2? (a) 32 (b) 16 (c) 67 (d) 2

Answer. a2−b2=(a+b)(a−b)a^2 - b^2 = (a + b)(a - b), so we need both brackets. (a+b)2=130+126=256(a + b)^2 = 130 + 126 = 256 gives a+b=16a + b = 16, and (a−b)2=130−126=4(a - b)^2 = 130 - 126 = 4 gives a−b=2a - b = 2 (positive, because a>ba > b). Multiply them: (a) 32. The numbers are 9 and 7, and 81−49=3281 - 49 = 32 agrees.

Question 9

A rectangle has a perimeter of 82 cm and an area of 420 sq cm. What is the length of its diagonal? (a) 41 cm (b) 29 cm (c) 21 cm (d) 1 cm

Answer. Half the perimeter is the sum of the sides, so l+b=41l + b = 41, and the area gives lb=420lb = 420. The diagonal is l2+b2\sqrt{l^2 + b^2}, and l2+b2=(l+b)2−2lb=1681−840=841l^2 + b^2 = (l + b)^2 - 2lb = 1681 - 840 = 841. So the diagonal is 841\sqrt{841}, which is (b) 29 cm. (The sides are 21 cm and 20 cm.) Taking away 4lb4lb instead of 2lb2lb gives 1 cm, which is l−bl - b.

Question 10

If a+b=5a + b = 5 and ab=3ab = 3, what is a4+b4a^4 + b^4? (a) 361 (b) 355 (c) 343 (d) 352

Answer. Do it in two steps. a2+b2=25−6=19a^2 + b^2 = 25 - 6 = 19. Then a4+b4=(a2+b2)2−2a2b2=361−2×9a^4 + b^4 = (a^2 + b^2)^2 - 2a^2b^2 = 361 - 2 \times 9, which is (c) 343. The easy slip is taking away 2ab2ab instead of 2a2b22a^2b^2, which gives 355.

Question 11

If a4+a2b2+b4=273a^4 + a^2b^2 + b^4 = 273 and a2+ab+b2=21a^2 + ab + b^2 = 21, what is a2+b2a^2 + b^2? (a) 13 (b) 4 (c) 34 (d) 17

Answer. a4+a2b2+b4=(a2+ab+b2)(a2−ab+b2)a^4 + a^2b^2 + b^4 = (a^2 + ab + b^2)(a^2 - ab + b^2), so a2−ab+b2=273÷21=13a^2 - ab + b^2 = 273 \div 21 = 13. Adding the two brackets gives 2(a2+b2)=21+13=342(a^2 + b^2) = 21 + 13 = 34, so a2+b2a^2 + b^2 is (d) 17. (Taking one bracket from the other gives 2ab=82ab = 8, so ab=4ab = 4.)

Question 12

If a+b=5a + b = 5 and a−b=1a - b = 1, what is a4−b4a^4 - b^4? (a) 65 (b) 5 (c) 13 (d) 130

Answer. a4−b4=(a2+b2)(a2−b2)a^4 - b^4 = (a^2 + b^2)(a^2 - b^2). The second bracket is (a+b)(a−b)=5×1=5(a + b)(a - b) = 5 \times 1 = 5. For the first, (a+b)2+(a−b)2=2(a2+b2)(a + b)^2 + (a - b)^2 = 2(a^2 + b^2), so a2+b2=25+12=13a^2 + b^2 = \frac{25 + 1}{2} = 13. So a4−b4=13×5a^4 - b^4 = 13 \times 5, which is (a) 65. (Here a=3a = 3 and b=2b = 2, and 81−16=6581 - 16 = 65.)

Question 13

What is the coefficient of xy2xy^2 in the expansion of (3x−5y)3(3x - 5y)^3? (a) −225-225 (b) 225225 (c) 7575 (d) −45-45

Answer. The four terms of (A−B)3(A - B)^3 are A3A^3, −3A2B-3A^2B, +3AB2+3AB^2 and −B3-B^3. The xy2xy^2 term is 3AB2=3×3x×(5y)2=225xy23AB^2 = 3 \times 3x \times (5y)^2 = 225xy^2. It is positive because the square of −5y-5y is positive, so the coefficient is (b) 225225.

Question 14

What is the value of x3−9x2+27x−27x^3 - 9x^2 + 27x - 27 when x=13x = 13? (a) 2197 (b) 4096 (c) 1000 (d) 1027

Answer. The numbers 1, 9, 27, 27 follow the (x−3)3(x - 3)^3 pattern: 3×x2×3=9x23 \times x^2 \times 3 = 9x^2, 3×x×9=27x3 \times x \times 9 = 27x and 33=273^3 = 27, with signs going minus, plus, minus. So the expression is (x−3)3(x - 3)^3, and at x=13x = 13 it is 10310^3, which is (c) 1000. Getting the sign wrong and working out (13+3)3(13 + 3)^3 gives 4096.

Question 15

If x−y=5x - y = 5, what is the value of x3−y3−15xyx^3 - y^3 - 15xy? (a) 25 (b) 0 (c) 75 (d) 125

Answer. Cube both sides of x−y=5x - y = 5: x3−y3−3xy(x−y)=125x^3 - y^3 - 3xy(x - y) = 125. Since x−y=5x - y = 5, the middle part is 3xy×5=15xy3xy \times 5 = 15xy, exactly what the question takes away. So the value is (d) 125, whatever xx and yy are. Check with x=5x = 5, y=0y = 0: 125−0−0=125125 - 0 - 0 = 125.

Question 16

If a+b=12a + b = 12 and ab=11ab = 11, what is a3+b3a^3 + b^3? (a) 1332 (b) 1695 (c) 2124 (d) 1728

Answer. a3+b3=(a+b)3−3ab(a+b)=1728−3×11×12=1728−396a^3 + b^3 = (a + b)^3 - 3ab(a + b) = 1728 - 3 \times 11 \times 12 = 1728 - 396, which is (a) 1332. Check with 11 and 1: 1331+1=13321331 + 1 = 1332.

Question 17

If a−b=3a - b = 3 and ab=54ab = 54, what is a3−b3a^3 - b^3? (a) −459-459 (b) 513513 (c) 189189 (d) 2727

Answer. a3−b3=(a−b)3+3ab(a−b)=27+3×54×3=27+486a^3 - b^3 = (a - b)^3 + 3ab(a - b) = 27 + 3 \times 54 \times 3 = 27 + 486, which is (b) 513513. For the difference of cubes the extra part is added, not taken away; −459-459 is that sign slip. (9 and 6 fit: 729−216=513729 - 216 = 513.)

Question 18

If a3+b3=152a^3 + b^3 = 152 and ab=15ab = 15, where aa and bb are real and a>ba > b, what is a−ba - b? (a) 88 (b) 44 (c) 22 (d) 34\sqrt{34}

Answer. Call the sum ss. Then a3+b3=s3−3absa^3 + b^3 = s^3 - 3abs, so s3−45s=152s^3 - 45s = 152. Try small numbers: s=8s = 8 gives 512−360=152512 - 360 = 152, so a+b=8a + b = 8. Now (a−b)2=s2−4ab=64−60=4(a - b)^2 = s^2 - 4ab = 64 - 60 = 4, and since a>ba > b, a−ba - b is (c) 22. The numbers are 5 and 3.

Question 19

If 4x+5y=144x + 5y = 14 and xy=2xy = 2, what is 64x3+125y364x^3 + 125y^3? (a) 2660 (b) 4424 (c) 2744 (d) 1064

Answer. Treat 4x4x and 5y5y as the two terms. Their sum is 14 and their product is 4x×5y=20xy=404x \times 5y = 20xy = 40. So (4x)3+(5y)3=143−3×40×14=2744−1680(4x)^3 + (5y)^3 = 14^3 - 3 \times 40 \times 14 = 2744 - 1680, which is (d) 1064. Using xy=2xy = 2 as the product of 4x4x and 5y5y gives 2660, a slip many students make. Check: x=1x = 1, y=2y = 2 fits both conditions, and 64+1000=106464 + 1000 = 1064.

Question 20

[Tier 2] If 3a−2b=43a - 2b = 4 and 27a3−8b3=20827a^3 - 8b^3 = 208, where aa and bb are positive, what is 9a2−4b29a^2 - 4b^2? (a) 32 (b) 52 (c) 40 (d) 64

Answer. Write A=3aA = 3a and B=2bB = 2b. Then A−B=4A - B = 4, A3−B3=208A^3 - B^3 = 208, and we want A2−B2A^2 - B^2. From A3−B3=(A−B)3+3AB(A−B)A^3 - B^3 = (A - B)^3 + 3AB(A - B) we get 208=64+12AB208 = 64 + 12AB, so AB=12AB = 12. Then (A+B)2=(A−B)2+4AB=16+48=64(A + B)^2 = (A - B)^2 + 4AB = 16 + 48 = 64, and with aa and bb positive, A+B=8A + B = 8. So 9a2−4b2=(A−B)(A+B)=4×89a^2 - 4b^2 = (A - B)(A + B) = 4 \times 8, which is (a) 32. (Here a=2a = 2 and b=1b = 1.)

Question 21

Which of these is a factor of 6x2−7x−206x^2 - 7x - 20? (a) 3x−43x - 4 (b) 3x+43x + 4 (c) 2x+52x + 5 (d) 6x−56x - 5

Answer. Multiply the first and last numbers: 6×(−20)=−1206 \times (-20) = -120. We need two numbers with product −120-120 and sum −7-7, which are −15-15 and 8. Split the middle term: 6x2−15x+8x−20=3x(2x−5)+4(2x−5)=(3x+4)(2x−5)6x^2 - 15x + 8x - 20 = 3x(2x - 5) + 4(2x - 5) = (3x + 4)(2x - 5). So the factor in the list is (b) 3x+43x + 4.

Question 22

Which of these is a factor of x2−y2−6y−9x^2 - y^2 - 6y - 9? (a) x−y+3x - y + 3 (b) x+y−3x + y - 3 (c) x−y−3x - y - 3 (d) x−3x - 3

Answer. Group the last three terms: −y2−6y−9=−(y2+6y+9)=−(y+3)2-y^2 - 6y - 9 = -(y^2 + 6y + 9) = -(y + 3)^2. So the expression is x2−(y+3)2x^2 - (y + 3)^2, a difference of squares, which is (x−y−3)(x+y+3)(x - y - 3)(x + y + 3). The factor in the list is (c) x−y−3x - y - 3.

Question 23

Simplify x3−12x2+48x−64x2−16\frac{x^3 - 12x^2 + 48x - 64}{x^2 - 16}. (a) (x+4)2x−4\frac{(x + 4)^2}{x - 4} (b) x−4x - 4 (c) x−4x+4\frac{x - 4}{x + 4} (d) (x−4)2x+4\frac{(x - 4)^2}{x + 4}

Answer. The top is a full cube: 3×x2×4=12x23 \times x^2 \times 4 = 12x^2, 3×x×16=48x3 \times x \times 16 = 48x and 43=644^3 = 64, so it is (x−4)3(x - 4)^3. The bottom is (x−4)(x+4)(x - 4)(x + 4). Cancel one (x−4)(x - 4) to get (d) (x−4)2x+4\frac{(x - 4)^2}{x + 4}. Check with x=0x = 0: the question gives −64−16=4\frac{-64}{-16} = 4, and option (d) gives 164=4\frac{16}{4} = 4.

Question 24

Simplify a3+8b3a2−2ab+4b2+a3−8b3a2+2ab+4b2\frac{a^3 + 8b^3}{a^2 - 2ab + 4b^2} + \frac{a^3 - 8b^3}{a^2 + 2ab + 4b^2}. (a) 2a2a (b) 4b4b (c) 2a+4b2a + 4b (d) a2+4b2a^2 + 4b^2

Answer. a3+8b3=a3+(2b)3=(a+2b)(a2−2ab+4b2)a^3 + 8b^3 = a^3 + (2b)^3 = (a + 2b)(a^2 - 2ab + 4b^2), so the first fraction is just a+2ba + 2b. In the same way, a3−8b3=(a−2b)(a2+2ab+4b2)a^3 - 8b^3 = (a - 2b)(a^2 + 2ab + 4b^2) and the second fraction is a−2ba - 2b. Adding: (a+2b)+(a−2b)(a + 2b) + (a - 2b) gives (a) 2a2a. To check with numbers, a=1a = 1, b=0b = 0 makes the question 1+1=21 + 1 = 2, but both 2a2a and 2a+4b2a + 4b give 2. Try a=0a = 0, b=1b = 1 as well: the question gives 84−84=0\frac{8}{4} - \frac{8}{4} = 0, which keeps 2a2a and throws out 2a+4b2a + 4b.