mastree

Expanding, factorising and solving

What this lesson covers

  • The properties of operations (commutative, distributive, associative, inverse, and identity) and the order of operations apply to numbers and variables.
  • When operating on or writing equations with fractions, fractions of magnitude greater than 1 are usually written as improper fractions.
Key idea

You already do this with numbers

  • Three times twenty-seven: do three twenties and three sevens.
  • That is the distributive law, and you have used it for years.
  • Algebra is the same law with the number left out.
WorkingSplit upGives
3 × 273 × 20 + 3 × 760 + 21 = 81
3(x + 7)3 × x + 3 × 73x + 21
Same lawone has a numberone has a letter
Algebrais arithmeticwith the number withheld
Worked example

Collecting like terms

  • Only terms with the same letter part can join up.
  • Three x take one x is two x. Five y and two y is seven y.
  • Two x plus seven y is finished. It does not go further.
ExpressionDoingGives
3x + 5y − x + 2ysort them
The x terms3x − x2x
The y terms5y + 2y7y
Answer2x + 7yand it stops there
Worked example

Multiplying out a bracket

  • The thing outside multiplies everything inside.
  • Three lots of two x is six x. Three lots of five is fifteen.
  • Miss one term and the whole answer is wrong.
Worked example

Two brackets

  • Every term in the first meets every term in the second.
  • Four multiplications, then collect what matches.
  • x squared, four x, three x, twelve. The middle two join.
ExpressionWorkingResult
3(2x + 5)both terms6x + 15
(x + 3)(x + 4)all four pairs
x·x, x·4, 3·x, 3·4x² + 4x + 3x + 12
Collect the middle4x + 3xx² + 7x + 12
Key idea

Try it: two brackets as an area

Worked example

Factorising: the same line backwards

  • Six x plus fifteen. What divides into both? Three.
  • Take it outside and see what is left inside.
  • Three, bracket, two x plus five. Expand it to check.
StepQuestionAnswer
6x + 15what divides both?3
Take it out3( ? + ? )
6x ÷ 3, 15 ÷ 32x and 53(2x + 5)
Checkexpand it again6x + 15
Worked example

Factorising a quadratic

  • x squared plus seven x plus twelve. Look for two numbers.
  • They must multiply to twelve and add to seven.
  • Three and four. So it is x plus three, x plus four.
ExpressionThe searchFound
x² + 7x + 12need × 12, + 7
Pairs for 121,12 2,6 3,4
3 and 4add to 7that is it
So(x + 3)(x + 4)
Worked example

When the last number is negative

  • Multiplying to minus eight means one of them is negative.
  • Four and minus two: they multiply to minus eight, add to two.
  • So x plus four, x minus two.
ExpressionThe searchFound
x² + 2x − 8need × −8, + 2
So one is negative4 and −2
4 × −2 = −84 + −2 = 2both fit
So(x + 4)(x − 2)
Worked example

The long way, which keeps working

  • Split the middle term using the same two numbers.
  • Group the four terms in pairs and factorise each pair.
  • The same bracket appears twice. Take it out.
StepWorkingNote
x² + 2x − 8split the middle
Using 4 and −2x² + 4x − 2x − 8
Group in pairsx(x + 4) − 2(x + 4)
Common bracket(x − 2)(x + 4)same answer
Worked example

Solving a linear equation

  • The scales balance. Whatever you do, do to both sides.
  • Take seven off both. Then divide both by five.
  • x is six, and you check it by putting it back in.
StepLeavesNote
5x + 7 = 37start
Take 7 off both sides5x = 30
Divide both by 5x = 6
Check5 × 6 + 737, correct
Worked example

With a fraction in it

  • Two x over three, plus four, equals ten.
  • Take the four off, then multiply both sides by three.
  • Two x is eighteen, so x is nine. Nothing new happened.
StepLeavesNote
2x/3 + 4 = 10start
Take 4 off both2x/3 = 6
Times both by 32x = 18
Divide by 2x = 9check: 6 + 4 = 10
Worked example

An inequality, and its one extra rule

  • Solve it exactly like an equation, until one step.
  • Multiplying or dividing by a negative reverses the sign.
  • So less than or equal becomes greater than or equal.
StepWorkingResult
−2/5 x + 5 ≤ −10start
Take 5 off both−2/5 x ≤ −15
Times by −5/2the sign reversesx ≥ 37.5
Check x = 40−16 + 5 = −11≤ −10, correct
Worked example

Solving a factorised quadratic

  • Two things multiply together and give zero.
  • That can only happen if one of them is zero.
  • So x is two, or x is minus four. Two answers.
StepReasoningResult
(x − 2)(x + 4) = 0two things multiply to 0
So one of them is 0x − 2 = 0or x + 4 = 0
Givingx = 2or x = −4
Two solutionsand that is normal
The parabola y equals (x minus 2)(x plus 4), crossing the x-axis at 2 and minus 4.
Key idea

Try it: right or wrong?

Worked example

And the x squared plus c kind

  • x squared minus nine is zero, so x squared is nine.
  • Three works, and so does minus three. Both are answers.
  • But x squared plus nine has none. Nothing squares to minus nine.
EquationRearrangedSolutions
x² − 9 = 0x² = 9x = 3 or −3
Both work3² = 9(−3)² = 9
x² + 9 = 0x² = −9
No real answernothing squares negative
Summary

What to take away

  • Seven lines, and the first one is the reason for the rest.
Algebra follows the same lawsas arithmetic
Collect only like terms2x and 7y stay apart
Expandingevery term times every term
Factorisingthe same line backwards
For x² + bx + cfind two numbers: × c, + b
Solve by undoingin the reverse order
Times by a negativereverses an inequality

Common mistakes

  • (x + 3)(x + 4) = x² + 12
    Every term meets every term: x × 4 and 3 × x give a middle term of 7x, so it is x² + 7x + 12.
  • −2/5 x ≤ −15, so x ≤ 37.5
    Multiplying both sides by −5/2 reverses the sign, so x ≥ 37.5; checking x = 40 gives −11 ≤ −10, which is true.
  • (x + 6)(x − 1) = 0, so x = 6 or x = −1
    Set each bracket to zero: x + 6 = 0 gives x = −6 and x − 1 = 0 gives x = 1, so the signs flip.
  • x² − 9 = 0, so x² = 9 and x = 3
    (−3)² is also 9, so x = 3 or x = −3; give both solutions.
Your turn

Your turn: eight questions

  • Write all eight out.
  • Question 2 needs two numbers with a negative product.
  • Question 4 wants both answers, and watch the signs.
1

Expand and simplify (x + 5)(x − 2).

2

Factorise x² − x − 12.

3

Solve 3x/4 − 2 = 7.

4

Solve (x + 6)(x − 1) = 0.

5

Simplify 4a + 3b − a + 5b.

6

Factorise 8x − 20 fully.

7

Which of these equations has no real solutions?

8

Solve 7 − 3x > 19.

Show answer

1. x² + 3x − 10. Every term times every term gives x² − 2x + 5x − 10, and the middle two collect to 3x. 2. (x − 4)(x + 3). You need two numbers that multiply to −12 and add to −1. Negative four and positive three do both. 3. x = 12. Add 2 to both sides for 3x/4 = 9, times both sides by 4 for 3x = 36, then divide by 3. 4. x = −6 or x = 1. Two things multiply to zero, so one of them is zero. Note the signs flip: the bracket x + 6 gives the solution negative six. 5. 3a + 8b. The a terms give 4a − a = 3a and the b terms give 3b + 5b = 8b, and unlike terms stay apart. 6. 4(2x − 5). 4 divides into both: 8x ÷ 4 = 2x and 20 ÷ 4 = 5. Check: 4(2x − 5) = 8x − 20. 7. x² + 16 = 0. It needs x² = −16, and nothing squares to a negative number. 8. x < −4. Take 7 off both sides for −3x > 12, then divide by −3, which reverses the sign.

Worked example

The answers

  • x squared plus three x minus ten.
  • x minus four, x plus three.
  • x is twelve.
  • x is minus six, or x is one. The signs flip over.
Try it

Area Model Algebra

Full screen · PhET Interactive Simulations, University of Colorado Boulder, CC BY 4.0

Challenge

1

Find every whole number x (positive, negative or zero) that makes both of these true at the same time: 3 − 2x < 11 and x + 13 ≤ 2. How many whole numbers is that, and what do they add up to?

Hint

Solve each inequality on its own first. Watch the step where you divide by a negative number. Then keep only the numbers that pass both.

Answer

9 whole numbers (−3 up to 5), which add up to 9

Step by step
  1. Take 3 off both sides of the first one: −2x < 8.
  2. Divide by −2. Dividing by a negative reverses the sign, so x > −4.
  3. For the second one, times both sides by 3 to get x + 1 ≤ 6, so x ≤ 5.
  4. So x is bigger than −4 but at most 5: the whole numbers −3, −2, −1, 0, 1, 2, 3, 4, 5.
  5. That is 9 numbers. The −3 to 3 pairs cancel out, leaving 4 + 5 = 9.
Full working
  1. 3 − 2x < 11first inequality
  2. −2x < 8take 3 off both sides
  3. x > −4divide by −2, so the sign reverses
  4. x + 13 ≤ 2, so x + 1 ≤ 6, so x ≤ 5second inequality
  5. −4 < x ≤ 5: x = −3, −2, −1, 0, 1, 2, 3, 4, 5whole numbers that pass both
  6. (−3 + 3) + (−2 + 2) + (−1 + 1) + 0 + 4 + 5 = 9the pairs cancel
  7. 9 whole numbers, sum 9
2

a is a whole number. Expand and simplify (x + a)(x + 5) − (x + 2)(x + 7). Find the one value of a that makes this expression have the same value whatever x is, and find that value. Hence work out 104 × 105 − 102 × 107 without a calculator.

Hint

After expanding, the x² terms cancel. For the answer not to depend on x, what must happen to the x term?

Answer

The expression is (a − 4)x + 5a − 14. It has the same value for every x when a = 4, and that value is 6. With x = 100, 104 × 105 − 102 × 107 = 6.

Step by step
  1. (x + a)(x + 5) = x² + 5x + ax + 5a, and (x + 2)(x + 7) = x² + 9x + 14.
  2. Subtracting, the x² terms cancel, leaving (a − 4)x + 5a − 14.
  3. The value does not change with x only when the x term vanishes, so a − 4 = 0 and a = 4.
  4. Then the expression is 5 × 4 − 14 = 6, for every x.
  5. Putting x = 100 gives 104 × 105 − 102 × 107, so it equals 6.
Full working
  1. (x + a)(x + 5) = x² + (a + 5)x + 5aexpand
  2. (x + 2)(x + 7) = x² + 9x + 14expand
  3. difference = (a + 5 − 9)x + 5a − 14 = (a − 4)x + 5a − 14x² cancels
  4. a − 4 = 0, so a = 4no x term left
  5. 5 × 4 − 14 = 6the constant value
  6. x = 100: 104 × 105 − 102 × 107 = 6check: 10920 − 10914 = 6
  7. a = 4, value 6, and 104 × 105 − 102 × 107 = 6
3

Mere solves (x − 3)(x + 2) = (x − 3)(2x − 5). She divides both sides by (x − 3), gets x + 2 = 2x − 5, and says x = 7 is the only answer. Find all the solutions, and explain what went wrong.

Hint

Move everything to one side so it equals zero. Can you see a bracket that both terms share? What happens if x − 3 is zero?

Answer

x = 3 or x = 7. Dividing by (x − 3) loses x = 3, because you cannot divide by zero.

Step by step
  1. Take the right-hand side away from both sides so the equation equals zero.
  2. Both terms contain (x − 3), so take it out as a common factor.
  3. Inside the second bracket: (x + 2) − (2x − 5) = x + 2 − 2x + 5 = 7 − x.
  4. Now (x − 3)(7 − x) = 0, so x − 3 = 0 or 7 − x = 0. That is x = 3 or x = 7.
  5. Mere divided by (x − 3). When x = 3 that is dividing by zero, so that answer vanished.
  6. Check x = 3: both sides are 0 × 5 = 0 and 0 × 1 = 0, so it works.
Full working
  1. (x − 3)(x + 2) − (x − 3)(2x − 5) = 0make it equal zero
  2. (x − 3)[(x + 2) − (2x − 5)] = 0common factor (x − 3)
  3. (x − 3)(7 − x) = 0x + 2 − 2x + 5 = 7 − x
  4. x − 3 = 0 or 7 − x = 0product is zero, so one factor is zero
  5. x = 3: left 0 × 5 = 0, right 0 × 1 = 0the answer Mere lost
  6. x = 3 or x = 7

More challenge problems

Science

Where science uses this

Practice

Practise this

Worksheet with answersWithout answersDownload PDF
Report a mistake

More in Algebra