Expanding, index laws and algebraic fractions
What this lesson covers
- An expression can be rewritten in many equivalent forms, and each rewrite must keep its value for every value of the variable.
- Index laws follow from what a power means: a product of repeated factors.
What simplifying is allowed to do
- A rewrite must give the same value for every x.
- One value that disagrees proves it wrong.
- One value that agrees proves nothing yet.
| Expression | At x = 2 | At x = 5 |
|---|---|---|
| 2(x + 3) − x | 8 | 11 |
| x + 6 | 8 | 11 |
| x² and 2x | 4 and 4 | 25 and 10 |
| Equivalent? | first pair: yes, by expanding | second pair: no |
A squared bracket
- Squared means the bracket times itself.
- Four products, then the two middle terms join.
- X squared plus six x plus nine.
| Step | Working | Why |
|---|---|---|
| (x + 3)² | (x + 3)(x + 3) | squared means times itself |
| Four products | x² + 3x + 3x + 9 | every term by every term |
| Collect | x² + 6x + 9 | the middle two join |
| Pattern | middle is 2 × 3x | last is 3 squared |
Why (x + 3)² is not x² + 9
- At x = 0 both give nine. That proves nothing.
- At x = 2 one gives 25 and the other 13.
- One mismatch is enough: they are not equivalent.
| Test | (x + 3)² | x² + 9 |
|---|---|---|
| x = 2 | 25 | 13 |
| x = 0 | 9 | 9 |
| Verdict | one mismatch is enough | not equivalent |
| What went missing | the middle term, 6x |
Try it: why (x + 3)² is not x² + 9
A coefficient and a minus inside
- Write it as two brackets first.
- Minus five times minus five is plus twenty-five.
- Check with x = 1: both sides give nine.
| Step | Working | Note |
|---|---|---|
| (2x − 5)² | (2x − 5)(2x − 5) | |
| Four products | 4x² − 10x − 10x + 25 | minus times minus |
| Collect | 4x² − 20x + 25 | |
| Check x = 1 | (−3)² = 9 | 4 − 20 + 25 = 9 |
Expanding, then subtracting
- Expand each product on its own.
- Keep the second in a bracket: the minus is for all of it.
- The x squared terms cancel, leaving 8x − 17.
| Step | Working | Result |
|---|---|---|
| First product | x² + 2x − 8 | |
| Second product | (x² − 6x + 9) | keep the bracket |
| Subtract it | every sign inside flips | −x² + 6x − 9 |
| Collect | the squares cancel | 8x − 17 |
| Check x = 1 | −5 − 4 = −9 | 8 − 17 = −9 |
Three brackets, two at a time
- Multiply the first two brackets.
- Then every term of that by every term of the third.
- Collect, then check with x = 1.
| Step | Working |
|---|---|
| Two at a time: (x + 1)(x − 2) | x² − x − 2 |
| x² times (x + 3) | x³ + 3x² |
| −x − 2 times (x + 3) | −x² − 3x − 2x − 6 |
| Collect like terms | x³ + 2x² − 5x − 6 |
| Check x = 1: 2 × (−1) × 4 = −8 | 1 + 2 − 5 − 6 = −8 |
Where the index laws come from
- A power counts repeated factors.
- Multiplying joins the lists, so the indices add.
- Dividing cancels factors, so the indices subtract.
| Power | Means | Count |
|---|---|---|
| a³ | a × a × a | 3 factors |
| a² | a × a | 2 factors |
| a³ × a² | a × a × a × a × a | a⁵ |
| (a³)² | a³ × a³ | a⁶ |
| a⁵ ÷ a² | two pairs cancel | a³ |
Multiplying with coefficients
- Numbers multiply as numbers.
- Each letter adds its own indices.
- A letter on its own has index one.
| Part | Working | Gives |
|---|---|---|
| Numbers | 3 × 4 | 12 |
| The a terms | a² × a¹ | a³ |
| The b terms | b¹ × b³ | b⁴ |
| Together | multiply, then add powers | 12a³b⁴ |
A power of a bracket
- The square applies to everything inside.
- So the two is squared as well.
- 4x⁶, not 2x⁶.
| Step | Working | Gives |
|---|---|---|
| (2x³)² | bracket times itself | |
| Numbers | 2 × 2 | 4 |
| Powers | x³ × x³ | x⁶ |
| Answer | 4x⁶ | not 2x⁶ |
Dividing with coefficients
- Numbers divide as numbers.
- Each letter subtracts its indices.
- Three x cubed y.
| Part | Working | Gives |
|---|---|---|
| Numbers | 12 ÷ 4 | 3 |
| The x terms | x⁵ ÷ x² | x³ |
| The y terms | y² ÷ y¹ | y |
| Answer | divide, then subtract powers | 3x³y |
Zero and negative indices
- Any non-zero number divided by itself is one, so x⁰ = 1.
- Three factors of x left below: x⁻³ = 1/x³.
- The negative index belongs to x only, not the 3.
| Division | Working | Result |
|---|---|---|
| x⁴ ÷ x⁴ | non-zero ÷ itself is 1 | the rule says x⁰ |
| So | x⁰ = 1 | for any x ≠ 0 |
| x² ÷ x⁵ | three factors of x below | 1/x³ |
| The rule says | x⁻³ | same as 1/x³ |
| 6x² ÷ 2x⁵ | 3x⁻³ | 3/x³: the 3 stays up |
Try it: zero and negative indices
An algebraic fraction
- Factorise first. Only whole factors cancel.
- X + 3 is on top and bottom, so it divides out.
- X − 3, as long as x is not minus three.
| Step | Working | Reason |
|---|---|---|
| Factorise top | (x + 3)(x − 3) | difference of squares |
| Common factor | (x + 3) top and bottom | divide both by it |
| What is left | x − 3 | for x ≠ −3 |
| Wrong move | cancel the x terms first | x² is a term, not a factor |
| Check x = 5 | 16 ÷ 8 = 2 | 5 − 3 = 2 |
Say why each step is allowed
- Factorise the top and the bottom, and say how.
- Name the common factor before you cancel it.
- Finish with a check at a number.
| Step | Working | Reason |
|---|---|---|
| Top | (x + 2)(x + 3) | two numbers: × 6, + 5 |
| Bottom | (x + 2)(x − 2) | difference of squares |
| Cancel (x + 2) | (x + 3)/(x − 2) | x ≠ 2 or −2 |
| Check x = 3 | 30 ÷ 5 = 6 | 6 ÷ 1 = 6 |
What to take away
- Seven lines, and the first is why the checks work.
| Equivalent forms | equal for every value of x |
| (x + a)² | x² + 2ax + a², never x² + a² |
| Minus a bracket | flips every sign inside it |
| Multiply or divide powers | add or subtract the indices |
| Power of a power | multiply the indices |
| x⁰ = 1 and x⁻ⁿ = 1/xⁿ | both come from dividing |
| Algebraic fractions | factorise, then cancel factors |
Common mistakes
- (x + 3)² = x² + 9Squared means (x + 3)(x + 3) = x² + 6x + 9; at x = 2 one gives 25 and the other 13, so they are not equal.
- x² + 2x − 8 − x² − 6x + 9 = −4x + 1Keep the second product in a bracket so every sign flips: −(x² − 6x + 9) = −x² + 6x − 9, giving 8x − 17.
- (2x³)² = 2x⁶The square applies to everything in the bracket, so the 2 is squared too: (2x³)² = 4x⁶.
- 6x² ÷ 2x⁵ = 3x⁻³ = 1/(3x³)The negative index belongs to x only, so 3x⁻³ = 3/x³ and the 3 stays on top.
Your turn: four questions
- Write all four out, with reasons.
- Question 1: keep the second product in a bracket.
- Question 3: factorise the top and the bottom first.
Expand and simplify (x − 4)² − (x + 1)(x − 3).
Simplify 10a³b ÷ 5a⁵b, using positive indices.
Simplify (x² − 16)/(x² + x − 12).
Use x = 1 to show (x − 5)² ≠ x² − 25, then expand it.
Show answer
1. −6x + 19. (x − 4)² is x² − 8x + 16, and (x + 1)(x − 3) is x² − 2x − 3. Subtracting the whole bracket flips its signs, the x² terms cancel, and −8x + 2x = −6x, 16 + 3 = 19. 2. 2/a². Ten divided by five is 2, a³ ÷ a⁵ is a⁻², and b ÷ b is b⁰ = 1. A negative index means one over, so 2a⁻² = 2/a². 3. (x − 4)/(x − 3). The top is (x + 4)(x − 4), the bottom is (x + 4)(x − 3), and the common factor (x + 4) cancels, for x ≠ −4 and x ≠ 3. 4. At x = 1, (x − 5)² = 16 but x² − 25 = −24, so they are not equivalent. Correctly, (x − 5)² = x² − 10x + 25, which is 16 at x = 1.
The answers
- Minus six x plus nineteen.
- Two over a squared.
- X − 4 over x − 3.
- Sixteen against minus 24. It is x² − 10x + 25.
Sample question: Achieved
Expand and simplify (2x − 3)² − (x + 4)(x − 1).
Hint
Write the square as two brackets, expand each product on its own, and keep the second one in a bracket because of the minus in front.
Answer
3x² − 15x + 13
Step by step
- Squared means the bracket times itself: (2x − 3)² = (2x − 3)(2x − 3). It is not 4x² + 9.
- Multiply every term by every term: 4x² − 6x − 6x + 9 = 4x² − 12x + 9.
- Now the second product: (x + 4)(x − 1) = x² − x + 4x − 4 = x² + 3x − 4.
- The minus in front belongs to the whole of that product, so keep it in a bracket: 4x² − 12x + 9 − (x² + 3x − 4).
- Take the bracket away by changing every sign inside: 4x² − 12x + 9 − x² − 3x + 4.
- Collect like terms: 3x² − 15x + 13.
- Check with x = 1. The original gives (−1)² − 5 × 0 = 1. The answer gives 3 − 15 + 13 = 1. They agree.
Full working
- (2x − 3)² = 4x² − 12x + 9bracket times itself
- (x + 4)(x − 1) = x² + 3x − 4expand
- 4x² − 12x + 9 − x² − 3x + 4the minus changes every sign
- 3x² − 15x + 13
Sample questions: Merit
Simplify (2x³y⁻²)³ ÷ (4x⁵y⁻³). Give your answer with positive indices only.
Hint
Raise everything in the first bracket to the power 3, then divide the numbers and subtract the indices for each letter.
Answer
2x⁴y³
Step by step
- Start with the power of a bracket. The power 3 applies to every part inside, including the 2.
- 2³ = 8. For x: (x³)³ = x⁹, because a power of a power multiplies the indices. For y: (y⁻²)³ = y⁻⁶.
- So the top is 8x⁹y⁻⁶. The classic mistake is to leave the 2 as 2 instead of 8.
- Now divide by 4x⁵y⁻³. Numbers divide as numbers: 8 ÷ 4 = 2.
- For each letter, subtract the indices. x: 9 − 5 = 4, so x⁴.
- y: −6 − (−3) = −6 + 3 = −3, so y⁻³. Be careful subtracting a negative.
- That gives 2x⁴y⁻³. A negative index means one over: y⁻³ = 1y³.
- So the answer is 2x⁴y³. The 2 and x⁴ stay on top, because their indices are positive.
- Check with x = 1 and y = 2: (2 × 14)³ ÷ (4 × 18) = (18) ÷ (12) = 14. And 2 × 18 = 14. They agree.
Full working
- (2x³y⁻²)³ = 8x⁹y⁻⁶power of a power: multiply indices
- 8 ÷ 4 = 2, x⁹⁻⁵ = x⁴divide numbers, subtract indices
- y⁻⁶⁻⁽⁻³⁾ = y⁻³−6 + 3 = −3
- 2x⁴y⁻³ = 2x⁴y³y⁻³ = 1y³
- 2x⁴y³
Simplify 2x² − 5x − 3x² − 9, and state the values of x it does not work for.
Hint
Factorise the top (a is 2, so use the ac method) and the bottom (a difference of two squares), then cancel a whole common factor.
Answer
2x + 1x + 3, for x ≠ 3 and x ≠ −3
Step by step
- You can only cancel whole factors, not single terms. So factorise the top and the bottom first.
- Top: 2x² − 5x − 3. Here a = 2 and c = −3, so ac = −6. Find two numbers that multiply to −6 and add to −5: −6 and 1.
- Split the middle: 2x² − 6x + x − 3. Group in pairs: 2x(x − 3) + 1(x − 3) = (2x + 1)(x − 3).
- Bottom: x² − 9 is a difference of two squares, x² − 3², so it is (x − 3)(x + 3).
- Now the fraction is (2x + 1)(x − 3)(x − 3)(x + 3). x − 3 is a factor of the top and the bottom.
- Cancel it: 2x + 1x + 3.
- The original bottom is zero when x = 3 or x = −3, and you cannot divide by zero. So neither value is allowed, even though x − 3 has gone.
- The classic mistake is cancelling the x² terms, or the 3s. Those are terms, not factors.
- Check with x = 2: the original is 8 − 10 − 34 − 9 = −5−5 = 1. The answer is 55 = 1. They agree.
Full working
- 2x² − 5x − 3 = 2x² − 6x + x − 3ac = −6: −6 and 1
- = (2x + 1)(x − 3)group in pairs
- x² − 9 = (x − 3)(x + 3)difference of two squares
- (2x + 1)(x − 3)(x − 3)(x + 3)cancel the factor x − 3
- 2x + 1x + 3, x ≠ ±3
Sample questions: Excellence
Find the numbers a and b so that (x + a)(x − 3) − (x − 2)² = bx + 5 is true for every value of x. Explain why there is no x² term on the right.
Hint
Expand the left side fully. Two expressions are equal for every x only when the matching terms are equal, so match the x terms and the number terms.
Answer
a = −3 and b = −2
Step by step
- True for every value of x means the two sides are the same expression. So the x² terms, the x terms and the numbers must all match.
- Expand the first product: (x + a)(x − 3) = x² − 3x + ax − 3a.
- Expand the square as two brackets: (x − 2)² = x² − 4x + 4.
- Subtract it, keeping it in a bracket: x² − 3x + ax − 3a − x² + 4x − 4.
- The x² terms cancel. That is why the right side has no x² term.
- Collect what is left: x terms give −3x + ax + 4x = (a + 1)x. Numbers give −3a − 4.
- So (a + 1)x − 3a − 4 = bx + 5 for every x.
- Match the numbers: −3a − 4 = 5, so −3a = 9 and a = −3.
- Match the x terms: b = a + 1 = −3 + 1 = −2.
- Check with a = −3: the left side is (x − 3)² − (x − 2)². At x = 0 that is 9 − 4 = 5, and −2 × 0 + 5 = 5. At x = 1 it is 4 − 1 = 3, and −2 + 5 = 3. Both agree.
Full working
- x² − 3x + ax − 3a − (x² − 4x + 4)expand both
- = (a + 1)x − 3a − 4x² terms cancel
- −3a − 4 = 5match the numbers
- a = −3
- b = a + 1 = −2match the x terms
- a = −3, b = −2
Prove that 2ⁿ⁺³ − 2ⁿ = 7 × 2ⁿ for every whole number n. Hence simplify 2ⁿ⁺³ − 2ⁿ7 × 2ⁿ⁻¹.
Hint
Use the index law in reverse: 2ⁿ⁺³ = 2ⁿ × 2³. Then take out 2ⁿ as a common factor.
Answer
2ⁿ⁺³ − 2ⁿ = 7 × 2ⁿ, and the fraction simplifies to 2
Step by step
- A proof must work for every n, so do not just try numbers. Use the index laws.
- When you multiply powers of the same base, the indices add. Read backwards: 2ⁿ⁺³ = 2ⁿ × 2³ = 8 × 2ⁿ.
- So 2ⁿ⁺³ − 2ⁿ = 8 × 2ⁿ − 1 × 2ⁿ.
- Take out the common factor 2ⁿ: 2ⁿ(8 − 1) = 7 × 2ⁿ. That proves it for every n.
- The classic mistake is to write 2ⁿ⁺³ − 2ⁿ = 2³. You cannot subtract indices when the powers are being subtracted. That rule is for dividing.
- Hence: replace the top of the fraction with 7 × 2ⁿ. The fraction is 7 × 2ⁿ7 × 2ⁿ⁻¹.
- The 7s cancel, because 7 is a whole factor of the top and the bottom.
- That leaves 2ⁿ ÷ 2ⁿ⁻¹. Dividing powers of the same base subtracts the indices: n − (n − 1) = 1.
- So the answer is 2¹ = 2, whatever n is.
- Check with n = 2: the top is 2⁵ − 2² = 32 − 4 = 28, and 7 × 2² = 28. The fraction is 28 ÷ (7 × 2) = 2.
Full working
- 2ⁿ⁺³ = 2ⁿ × 2³ = 8 × 2ⁿindices add when multiplying
- 8 × 2ⁿ − 2ⁿ = 2ⁿ(8 − 1) = 7 × 2ⁿcommon factor 2ⁿ
- 7 × 2ⁿ7 × 2ⁿ⁻¹hence
- = 2ⁿ ÷ 2ⁿ⁻¹ = 2¹n − (n − 1) = 1
- 2
Area Model Algebra

Full screen · PhET Interactive Simulations, University of Colorado Boulder, CC BY 4.0
Practise this
Report a mistake
More in AS 91947
Expanding, index laws and algebraic fractions8 min
Factorising quadratics, HCF and difference of squares8 min
Algebraic proof: even, odd and consecutive numbers8 min
Solving linear equations and inequations8 min
Solving quadratic equations by factorising8 min
Simultaneous equations: elimination and substitution8 min
Straight-line graphs, gradient and rate of change8 min
Optimal solutions: break-even and maximum area7 min
Pythagoras' theorem in 2D and 3D explained7 min
Trigonometry: SOH CAH TOA, elevation and 3D7 min
Similar shapes: scale factors, area and volume7 min
Surface area of pyramids, cones and spheres7 min
Volume of cones, pyramids, spheres and composite solids7 min
Expressions: 7 exam questions solved step by step11 min
Factorising: 7 exam questions solved step by step10 min
Generalising: 7 exam questions solved step by step10 min
Equations and inequations: 7 exam questions solved11 min
Quadratic equations: 7 exam questions solved step by step11 min
Simultaneous equations: 7 exam questions solved step by step12 min
Straight-line graphs: 7 exam questions solved step by step11 min
Optimal solutions: 7 exam questions solved step by step11 min
Pythagoras: 7 exam questions solved step by step11 min
Trigonometry: 7 exam questions solved step by step10 min
Similar shapes: 7 exam questions solved step by step10 min
Surface area: 7 exam questions solved step by step11 min
Volume: 7 exam questions solved step by step10 minIs your child on track?
Take the free placement test