ComputePrep Timed quant & vedic drills

Exam path · Algebra Identities

Algebraic identities, drilled until the middle term is automatic

Algebraic identities are equations that hold for every value of the letters, such as (a + b)² = a² + 2ab + b². SSC and railway papers use them to hand you a sum and a product, or the value of x + 1/x, and ask for squares or cubes without ever solving for x. Square or cube what you are given, then remove the middle term.

Algebra is a regular part of SSC CGL, CHSL and CPO quant and a smaller part of RRB NTPC, and identity questions are the fastest marks in it: no equation is solved, a known value is squared or cubed and one term is removed. They are almost absent from bank prelims, so a candidate moving from banking to SSC meets them cold.

Try it against the clock. Algebra Identities runs at 45s easy, 60s medium and 70s hard. The clock is stamped and judged on our server, so the limit you see is the deadline that is actually enforced — and it starts when you tap Start, not while the question is loading.

Start a timed Algebra Identities drill →

Algebraic identities formulas

RuleFormula
Square of a sum(a + b)2 = a2 + 2ab + b2
Square of a difference(a − b)2 = a2 − 2ab + b2
Sum of squaresa2 + b2 = (a + b)2 − 2ab = (a − b)2 + 2ab
Sum of cubesa3 + b3 = (a + b)3 − 3ab(a + b)
Square of three terms(a + b + c)2 = a2 + b2 + c2 + 2(ab + bc + ca)
Cubes minus 3abca3 + b3 + c3 − 3abc = (a + b + c)(a2 + b2 + c2 − ab − bc − ca)
If a + b + c = 0a3 + b3 + c3 = 3abc
If x + 1/x = kx2 + 1/x2 = k2 − 2; x3 + 1/x3 = k3 − 3k
If x − 1/x = kx2 + 1/x2 = k2 + 2

How to solve algebraic identities questions without finding x

  1. Name what you are given: a sum, a difference, a product or x + 1/x

    Every question in this family hands you two of a + b, a − b, ab and a² + b², or the single value x + 1/x. Write down which ones you have before touching the numbers. That choice picks the identity for you.

  2. Square the sum, then take the middle term off

    If a + b = 9 and ab = 14, then (a + b)² = 81 = a² + b² + 2ab, so a² + b² = 81 − 28 = 53. For x + 1/x = 5 the middle term is always 2, because x × 1/x = 1: x² + 1/x² = 25 − 2 = 23.

  3. For cubes, the term to remove is 3ab(a + b)

    a³ + b³ = (a + b)³ − 3ab(a + b). With a + b = 9 and ab = 14 that is 729 − 378 = 351. For x + 1/x = 5 it collapses to k³ − 3k = 125 − 15 = 110.

  4. With three letters, check first whether a + b + c is zero

    a³ + b³ + c³ − 3abc = (a + b + c)(a² + b² + c² − ab − bc − ca). If a + b + c = 0 the right side vanishes and a³ + b³ + c³ = 3abc, which turns a long-looking expression into one multiplication.

What you are given, and the move it calls for

Given and askedMove
x + 1/x = k, asked x² + 1/x²k² − 2
x − 1/x = k, asked x² + 1/x²k² + 2
a + b and ab, asked a² + b²(a + b)² − 2ab
a − b and ab, asked a² + b²(a − b)² + 2ab
a + b + c and ab + bc + ca, asked a² + b² + c²(a + b + c)² − 2(ab + bc + ca)
a + b + c = 0, asked a³ + b³ + c³3abc

3 real algebraic identities questions, with worked solutions

Generated by the same engine that mints the ComputePrep daily. Each answer is computed from the numbers printed in the question, and the walkthrough below each one is the engine's own working — not a solution written afterwards. Reload this page's live drill and you get different numbers.

Question 1

It is given that x + 1/x = 4.

What is the value of x³ + 1/x³?

  1. 61
  2. 64
  3. 52
  4. 76
  5. 60
Show the worked solution
  1. Cube both sides: x³ + 1/x³ + 3(x + 1/x) = 64.
  2. 3(x + 1/x) = 3 × 4 = 12.
  3. x³ + 1/x³ = 64 − 12 = 52.
  4. Answer: 52.

Question 2

It is given that a + b = 9 and a² + b² = 45.

What is the value of ab?

  1. 9
  2. 18
  3. 68
  4. 36
  5. 27
Show the worked solution
  1. Use (a + b)² = a² + b² + 2ab, so 2ab = (a + b)² − (a² + b²).
  2. 2ab = 81 − 45 = 36.
  3. ab = 36 ÷ 2 = 18.
  4. Answer: 18.

Question 3

It is given that a + b = 8 and a² + b² = 34.

What is the value of ab?

  1. 30
  2. 7
  3. 23
  4. 25
  5. 15
Show the worked solution
  1. Use (a + b)² = a² + b² + 2ab, so 2ab = (a + b)² − (a² + b²).
  2. 2ab = 64 − 34 = 30.
  3. ab = 30 ÷ 2 = 15.
  4. Answer: 15.

Common mistakes this drill is built from

The wrong options are not random numbers. Each one is the result of a specific careless error for this topic, so picking one tells you which habit is costing you marks.

Leaving the middle term inside

x + 1/x = 5 squared is 25, and 25 is always on the options list. It still contains the 2 from 2 × x × 1/x; the answer is 23.

Subtracting again when the sign is a minus

From x − 1/x = 4, squaring gives x² − 2 + 1/x² = 16, so x² + 1/x² = 18. The 2 is added back. Subtracting it gives 14, on the wrong side of 16.

Stopping at 2ab when the question asks for ab

If a + b = 10 and a² + b² = 58, then 100 − 58 = 42 is 2ab. The product is 21. Halving is the step that gets dropped under the clock.

Why your answer came out wrong

The specific wrong numbers this topic produces, and what each one tells you about the step you took. If you have just got a question wrong and want to know which habit did it, start here.

If x + 1/x = 5, why isn't x² + 1/x² equal to 25?

25 is (x + 1/x)², which expands to x² + 2 + 1/x². The 2 comes from 2 × x × 1/x and is there for every value of x. Remove it and x² + 1/x² = 23.

If a + b = 9 and ab = 14, why isn't a³ + b³ equal to 729?

729 is (a + b)³, which also contains 3ab(a + b) = 3 × 14 × 9 = 378. Take it off: a³ + b³ = 729 − 378 = 351. Check with a = 7 and b = 2: 343 + 8 = 351.

If a + b + c = 0, why isn't a³ + b³ + c³ just abc?

The identity is a³ + b³ + c³ − 3abc = (a + b + c)(a² + b² + c² − ab − bc − ca), and the right side is zero, so the sum of cubes is 3abc — three times the product. With 5, −2 and −3 the cubes are 125 − 8 − 27 = 90, and 3abc = 3 × 30 = 90.

FAQ

Are algebraic identities asked in SSC CGL?

Yes. Identity-based questions — x + 1/x chains, sums of squares and cubes, and a³ + b³ + c³ − 3abc — are a regular part of the algebra block in SSC CGL, CHSL and CPO quantitative aptitude, and a smaller part of RRB NTPC mathematics.

Which algebraic identities should I memorise first?

Three cover most questions: (a + b)² = a² + 2ab + b², a³ + b³ = (a + b)³ − 3ab(a + b), and a³ + b³ + c³ − 3abc = (a + b + c)(a² + b² + c² − ab − bc − ca). The x + 1/x results follow from the first two with ab = 1.

How long should an identity question take?

About 45 to 70 seconds, which is what this drill enforces on the server: 45 seconds on easy, 60 on medium and 70 on hard.

Do bank exams ask algebraic identities?

Rarely. Algebra in bank prelims is mostly quadratic comparison. Identities matter for SSC and railway papers.

Is this practice free?

Yes, free with no account. Every question is generated fresh, so the numbers are never the same twice.

Practise the next topic

Start a timed Algebra Identities drill →

ComputePrep is free, needs no account, and is not affiliated with IBPS, SBI, SSC, RRB or any exam authority.