# Algebraic Identities: Formulas, Questions & Solved Examples

> Algebraic identities formula sheet: a² + b² = (a + b)² − 2ab; x + 1/x = k gives x² + 1/x² = k² − 2. Free timed SSC and railway questions with working.

Source: https://computeprep.com/drill-types/algebraic-identities

---

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 →](https://computeprep.com/?drill=algebra_identities&src=seo-algebraic-identities)

### Algebraic identities formulas

| Rule | Formula |
| --- | --- |
| Square of a sum | (a + b)2 = a2 + 2ab + b2 |
| Square of a difference | (a &minus; b)2 = a2 &minus; 2ab + b2 |
| Sum of squares | a2 + b2 = (a + b)2 &minus; 2ab = (a &minus; b)2 + 2ab |
| Sum of cubes | a3 + b3 = (a + b)3 &minus; 3ab(a + b) |
| Square of three terms | (a + b + c)2 = a2 + b2 + c2 + 2(ab + bc + ca) |
| Cubes minus 3abc | a3 + b3 + c3 &minus; 3abc = (a + b + c)(a2 + b2 + c2 &minus; ab &minus; bc &minus; ca) |
| If a + b + c = 0 | a3 + b3 + c3 = 3abc |
| If x + 1/x = k | x2 + 1/x2 = k2 &minus; 2; x3 + 1/x3 = k3 &minus; 3k |
| If x &minus; 1/x = k | x2 + 1/x2 = k2 + 2 |

### How to solve algebraic identities questions without finding x

- 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.
- 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.
- 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.
- 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 asked | Move |
| --- | --- |
| 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³?

- 61
- 64
- 52
- 76
- 60
- Cube both sides: x³ + 1/x³ + 3(x + 1/x) = 64.
- 3(x + 1/x) = 3 × 4 = 12.
- x³ + 1/x³ = 64 − 12 = 52.
- Answer: 52.

#### Question 2

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

What is the value of ab?

- 9
- 18
- 68
- 36
- 27
- Use (a + b)² = a² + b² + 2ab, so 2ab = (a + b)² − (a² + b²).
- 2ab = 81 − 45 = 36.
- ab = 36 ÷ 2 = 18.
- Answer: 18.

#### Question 3

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

What is the value of ab?

- 30
- 7
- 23
- 25
- 15
- Use (a + b)² = a² + b² + 2ab, so 2ab = (a + b)² − (a² + b²).
- 2ab = 64 − 34 = 30.
- ab = 30 ÷ 2 = 15.
- 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

- [All 37 drill types](https://computeprep.com/drill-types) — the full rotation with every published time limit.
- [Quadratic equation questions — compare the roots](https://computeprep.com/drill-types/quadratic-equation) — quadratic equation questions, timed.
- [Square root and cube root questions — read the answer off the last digit](https://computeprep.com/drill-types/square-root-cube-root) — square root and cube root questions, timed.
- [Simplification questions — BODMAS](https://computeprep.com/drill-types/simplification) — simplification questions, timed.
- [Vedic maths shortcuts](https://computeprep.com/vedic-maths) — the seven sutras that make a 15-second answer possible.
- [How to improve calculation speed](https://computeprep.com/calculation-speed) — the six-week arc these drills fit into.

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