Algebraic Identities Solved Questions

A handful of fixed identities let you find a²+b² or ab without ever solving for a and b individually — and the same identities turn an awkward multiplication like 97×103 into subtraction. This page covers the square identities, difference of squares, and the sum/difference of cubes, with several fully worked examples.

Written by Mahesh Srivastava, Founder of Pariksha Saathi. Published: 2026-10-03. Editorial standards & corrections

Jump to practice questions ↓

The concept, quickly

  • The two core identities: (a+b)² = a² + 2ab + b², and (a−b)² = a² − 2ab + b². Rearranged, each one connects a²+b² to (a+b)² or (a−b)² and ab — given any two of the three, find the third.
  • Difference of squares: a² − b² = (a+b)(a−b) — this is the shortcut behind multiplying two numbers that are equally far from a round number, like 97×103 = (100−3)(100+3).
  • When a question gives a+b (or a−b) and ab and asks for a²+b², use a²+b² = (a+b)² − 2ab (or (a−b)² + 2ab) — don’t try to find a and b individually first.
  • These identities work in both directions: use them to expand an expression, or to go from a²+b² and a+b (or a−b) back to find ab.
  • Sum and difference of cubes: a³+b³ = (a+b)(a²−ab+b²), and a³−b³ = (a−b)(a²+ab+b²) — use these to factor a cube expression, such as x³−8 = (x−2)(x²+2x+4).
  • A faster route to a³+b³ or a³−b³ when you already know a+b (or a−b) and ab: a³+b³ = (a+b)³ − 3ab(a+b), and a³−b³ = (a−b)³ + 3ab(a−b) — this avoids separately computing a²∓ab+b².

Worked examples

1. If a+b = 10 and ab = 21, find a² + b².

Solution

  1. a² + b² = (a+b)² − 2ab.
  2. = 10² − 2(21) = 100 − 42 = 58.

Answer: 58

2. If a−b = 4 and ab = 12, find a² + b².

Solution

  1. a² + b² = (a−b)² + 2ab.
  2. = 4² + 2(12) = 16 + 24 = 40.

Answer: 40

3. Simplify using identities: 97 × 103

Solution

  1. 97 × 103 = (100−3)(100+3) = 100² − 3².
  2. = 10,000 − 9 = 9,991.

Answer: 9,991

4. If a+b = 7 and a² + b² = 25, find ab.

Solution

  1. (a+b)² = a² + 2ab + b², so 49 = 25 + 2ab.
  2. 2ab = 24, so ab = 12.

Answer: 12

5. If a+b = 5 and ab = 6, find a³ + b³.

Solution

  1. a³+b³ = (a+b)³ − 3ab(a+b).
  2. = 5³ − 3(6)(5) = 125 − 90
  3. = 35.

Answer: 35

6. Factor completely: x³ − 8

Solution

  1. Write 8 as 2³, then apply the difference of cubes: x³ − 2³ = (x − 2)(x² + 2x + 4).

Answer: (x − 2)(x² + 2x + 4)

7. If a−b = 3 and ab = 10, find a³ − b³.

Solution

  1. a³−b³ = (a−b)³ + 3ab(a−b).
  2. = 3³ + 3(10)(3) = 27 + 90
  3. = 117.

Answer: 117

Common mistakes and more worked examples

This section was added on 15 November 2026. It was drafted with AI assistance and checked by a second, independent pass, with every number recomputed. Published by Mahesh Srivastava, who corrects any error you report.

Common mistakes

  • Using −2 when the question gives x − 1/x. Squaring x + 1/x = k gives x² + 1/x² = k² − 2, but squaring x − 1/x = k gives x² + 1/x² = k² + 2: if x − 1/x = 3, then x² + 1/x² = 11, not 7.
  • Treating x⁴ + 1/x⁴ as (x + 1/x)⁴. Square twice and subtract 2 each time: if x + 1/x = 3, then x² + 1/x² = 9 − 2 = 7 and x⁴ + 1/x⁴ = 49 − 2 = 47, not 3⁴ = 81.
  • Copying the wrong sign into the cube factors. In a³ + b³ = (a + b)(a² − ab + b²), the sign before ab is the opposite of the sign between the cubes; with a plus sign the product comes out wrong — for a = 2, b = 1, (2 + 1)(4 + 2 + 1) = 21, but 2³ + 1³ = 9.
  • Using a³ + b³ + c³ = 3abc when a + b + c is not 0. The shortcut needs the sum to be zero: for 1, 2, 3 (sum 6) the cubes add up to 36, while 3abc = 18.
  • Centring the difference of squares on the nearest round number instead of the midpoint. 98 × 104 is not 100² − 2²; the two numbers are equally far from their midpoint 101, so 98 × 104 = (101 − 3)(101 + 3) = 101² − 3² = 10,201 − 9 = 10,192.

More worked examples

8. If x + 1/x = 4, find x³ + 1/x³.

Solution

  1. Take a = x and b = 1/x in a³ + b³ = (a + b)³ − 3ab(a + b). Here ab = x × 1/x = 1.
  2. So x³ + 1/x³ = (x + 1/x)³ − 3(x + 1/x).
  3. = 4³ − 3(4) = 64 − 12 = 52.

Answer: 52

9. Find the value of 13³ − 8³ − 5³ without cubing each number.

Solution

  1. Write it as a³ + b³ + c³ with a = 13, b = −8, c = −5. Then a + b + c = 13 − 8 − 5 = 0.
  2. When a + b + c = 0, a³ + b³ + c³ = 3abc, because a³ + b³ + c³ − 3abc has a + b + c as a factor.
  3. So the value = 3 × 13 × (−8) × (−5) = 3 × 13 × 40 = 1,560. (Check: 2,197 − 512 − 125 = 1,560.)

Answer: 1,560

10. If a + b + c = 12 and ab + bc + ca = 47, find a³ + b³ + c³ − 3abc.

Solution

  1. Use the identity a³ + b³ + c³ − 3abc = (a + b + c)(a² + b² + c² − ab − bc − ca).
  2. First find a² + b² + c² = (a + b + c)² − 2(ab + bc + ca) = 144 − 94 = 50.
  3. Then a² + b² + c² − (ab + bc + ca) = 50 − 47 = 3, so the value = 12 × 3 = 36.
  4. (Check: a = 3, b = 4, c = 5 satisfy both conditions, and 27 + 64 + 125 − 180 = 36.)

Answer: 36

Try these yourself

Identify which identity connects the given values, then check against the answer.

1. If a+b = 12 and ab = 27, find a² + b².

Answer: 90

2. Simplify using identities: 95 × 105

Answer: 9,975

3. If a−b = 6 and a² + b² = 58, find ab.

Answer: 11

4. If a+b = 6 and ab = 8, find a³ + b³.

Answer: 72. 6³ − 3(8)(6) = 216 − 144.

5. Factor completely: x³ − 27

Answer: (x − 3)(x² + 3x + 9). 27 = 3³.

6. If a−b = 2 and ab = 15, find a³ − b³.

Answer: 98. 2³ + 3(15)(2) = 8 + 90.

7. Simplify using identities: 998 × 1002

Answer: 999,996. (1000−2)(1000+2) = 1,000,000 − 4.

All 14 practice questions on Algebraic Identities, with answers →

Where this comes up

Algebra, which includes these identities, is named in the quantitative or mathematics syllabus of SSC CGL, SSC CHSL, RRB NTPC, RRB Group D, RRB ALP and Haryana CET; for the other exams Pariksha Saathi covers, check the quantitative section of your own exam’s official notification. The difference-of-squares shortcut also speeds up Simplification and Approximation questions.

Keep practising

Solve the questions above before opening the answers. Explain each step in your own words, then revisit any mistakes.

Go to practice questions →

Explore the lesson library