Junior Cycle Maths

Algebra and functions · Chapter 12

Simplifying, expanding and dividing

Clear notes, 9 worked examples and 5 questions to try.

01 · Understand the idea

The essentials

Key terms

Like terms
Terms with the same variable part and powers.
Expand
Remove brackets by distributing multiplication.
Polynomial
A sum of terms with non-negative whole-number powers of the variables.

Key ideas

  • Collect only like terms: their variable parts and powers must match.
  • Distribute a factor to every term in a bracket. A minus sign before a bracket changes every sign inside.
  • For two brackets, multiply every term in the first by every term in the second. Collect like terms afterwards.
  • For a linear bracket times a quadratic, all products must be included, including the cubic term.
  • To divide a polynomial by a linear factor, find terms whose product reconstructs the dividend. Check by multiplying quotient and divisor.

03 · Follow the working

Worked examples

Read the question first. Cover the working and decide what you would do next.

01Collecting like terms

Simplify 9x+12+9x−10\displaystyle 9x + 12 + 9x - 10. What is the constant term?

Why this method? Identify the terms, brackets or divisor first. Each written line should show how the expression changes without changing its value.

Blue follows the x terms. Purple follows the constant terms, including their signs.

  1. 9x\displaystyle 9x+12\displaystyle +12+9x\displaystyle +9x−10\displaystyle -10
    Why?Start with the whole expression, keeping each sign with its term.
  2. 9x+9x\displaystyle 9x+9x+12−10\displaystyle +12-10
    Why?Put the x terms together and the number terms together.
  3. 18x\displaystyle 18x+2\displaystyle +2
    Why?Nine x plus nine x is eighteen x. Twelve minus ten is two.
  4. The constant term is 2\displaystyle 2.
    Why?The question also asks for the term with no x.

Think about it: Before moving on: why can you add the x terms together but not add an x term to a number?

02Expanding one bracket

Expand 4(2x − 3).

4(2x− 3)
Follow each arrow from the outside 4 to one signed term.
  1. 4(2x)=8x4(2x)=8x
    Multiply the first term by 4.
  2. 4(−3)=−124(-3)=-12
    Multiply the second term by 4.
  3. 8x−128x-12
    Final answer
03Expanding two brackets

Expand (x + 4)(x − 3).

Multiply row by column
×x−3
xx²−3x
44x−12
  1. x2−3x+4x−12x^2-3x+4x-12
    Read off all four products from the box.
  2. −3x+4x=x-3x+4x=x
    Collect the middle terms.
  3. x2+x−12x^2+x-12
    Final answer
04Expanding a linear bracket times a quadratic bracket

Expand (3x+2)(2x2+3x+2)\displaystyle \left(3x + 2\right) \left(2x^{2} + 3x + 2\right).

Why this method? Identify the terms, brackets or divisor first. Each written line should show how the expression changes without changing its value.

  1. 3x×(2x2+3x+2)\displaystyle 3x \times \left(2x^{2} + 3x + 2\right) and 2×(2x2+3x+2)\displaystyle 2 \times \left(2x^{2} + 3x + 2\right)
    Why?Multiply each term in the first bracket by each term in the second
  2. 6x3+13x2+12x+4\displaystyle 6x^{3} + 13x^{2} + 12x + 4
    Why?Combine terms with exactly the same variable part and power. Keep unlike terms separate.

Think about it: Before moving on: how many products make up the x2\displaystyle x^{2} term, and what are they?

05Expanding a linear bracket times a quadratic bracket — another example

Expand (3x+1)(3x2+4x+2)\displaystyle \left(3x + 1\right) \left(3x^{2} + 4x + 2\right).

Why this method? Identify the terms, brackets or divisor first. Each written line should show how the expression changes without changing its value.

  1. 3x×(3x2+4x+2)\displaystyle 3x \times \left(3x^{2} + 4x + 2\right) and 1×(3x2+4x+2)\displaystyle 1 \times \left(3x^{2} + 4x + 2\right)
    Why?Multiply each term in the first bracket by each term in the second
  2. 9x3+15x2+10x+2\displaystyle 9x^{3} + 15x^{2} + 10x + 2
    Why?Combine terms with exactly the same variable part and power. Keep unlike terms separate.
06Dividing a quadratic by a linear expression

Divide x2+9x+20\displaystyle x^{2} + 9x + 20 by x+5\displaystyle x + 5.

Why this method? Identify the terms, brackets or divisor first. Each written line should show how the expression changes without changing its value.

  1. x2+9x+20=(x+5)(x+4)\displaystyle x^{2} + 9x + 20 = \left(x + 5\right) \left(x + 4\right)
    Why?Factorise the quadratic: find two numbers that add to 9\displaystyle 9 and multiply to 20\displaystyle 20
  2. (x+5)(x+4)÷(x+5)=x+4\displaystyle \left(x + 5\right) \left(x + 4\right) \div \left(x + 5\right) = x + 4
    Why?Divide out the common factor representing the divisor. Check by multiplying the quotient by the divisor.

Think about it: Before moving on: why does the divisor cancel, and why is the sum of the constants not the answer?

07Dividing a quadratic by a linear expression — another example

Divide x2+10x+24\displaystyle x^{2} + 10x + 24 by x+6\displaystyle x + 6.

Why this method? Identify the terms, brackets or divisor first. Each written line should show how the expression changes without changing its value.

  1. x2+10x+24=(x+6)(x+4)\displaystyle x^{2} + 10x + 24 = \left(x + 6\right) \left(x + 4\right)
    Why?Factorise the quadratic: find two numbers that add to 10\displaystyle 10 and multiply to 24\displaystyle 24
  2. (x+6)(x+4)÷(x+6)=x+4\displaystyle \left(x + 6\right) \left(x + 4\right) \div \left(x + 6\right) = x + 4
    Why?Divide out the common factor representing the divisor. Check by multiplying the quotient by the divisor.
08Dividing a cubic by a linear expression

Divide x3+13x2+54x+72\displaystyle x^{3} + 13x^{2} + 54x + 72 by x+3\displaystyle x + 3.

Why this method? Build the quotient one term at a time. Each time, divide the leading term, multiply the whole divisor, then subtract the whole product.

  1. x3x=x2\displaystyle \frac{x^3}{x}=x^2
    Why?Divide the leading term of the cubic by x. This gives the first term of the quotient.
  2. (x+3)x2=x3+3x2\displaystyle (x+3)x^2=x^3+3x^2
    Why?Multiply the whole divisor by x2,\displaystyle x^{2} , then subtract that whole product from the dividend.
  3. (13−3)x2+54x+72=10x2+54x+72\displaystyle (13-3)x^2+54x+72=10x^2+54x+72
    Why?The cubic terms cancel. Keep the remaining terms in descending powers.
  4. 10x2x=10x\displaystyle \frac{10x^2}{x}=10x
    Why?Divide the new leading term by x to get the next quotient term.
  5. (x+3)(10x)=10x2+30x\displaystyle (x+3)(10x)=10x^2+30x
    Why?Multiply the whole divisor by this new term.
  6. (54−30)x+72=24x+72\displaystyle (54-30)x+72=24x+72
    Why?Subtract that whole product. The x2\displaystyle x^{2} terms cancel.
  7. 24xx=24\displaystyle \frac{24x}{x}=24; (x+3)(24)=24x+72\displaystyle (x+3)(24)=24x+72
    Why?Divide the leading term by x once more, then multiply the divisor.
  8. x2+10x+24\displaystyle x^2+10x+24
    Why?Subtract. The remainder is zero, so collect the three quotient terms.
  9. (x+3)(x2+10x+24)=x3+13x2+54x+72\displaystyle (x+3)(x^2+10x+24)=x^3+13x^2+54x+72
    Why?Check by multiplying the divisor by the quotient.

Think about it: Before moving on: why is the answer a quadratic, and why is the constant term the product of only two of the factors?

09Dividing a cubic by a linear expression — another example

Divide x3+15x2+66x+80\displaystyle x^{3} + 15x^{2} + 66x + 80 by x+2\displaystyle x + 2.

Why this method? Build the quotient one term at a time. Each time, divide the leading term, multiply the whole divisor, then subtract the whole product.

  1. x3x=x2\displaystyle \frac{x^3}{x}=x^2
    Why?Divide the leading term of the cubic by x. This gives the first term of the quotient.
  2. (x+2)x2=x3+2x2\displaystyle (x+2)x^2=x^3+2x^2
    Why?Multiply the whole divisor by x2,\displaystyle x^{2} , then subtract that whole product from the dividend.
  3. (15−2)x2+66x+80=13x2+66x+80\displaystyle (15-2)x^2+66x+80=13x^2+66x+80
    Why?The cubic terms cancel. Keep the remaining terms in descending powers.
  4. 13x2x=13x\displaystyle \frac{13x^2}{x}=13x
    Why?Divide the new leading term by x to get the next quotient term.
  5. (x+2)(13x)=13x2+26x\displaystyle (x+2)(13x)=13x^2+26x
    Why?Multiply the whole divisor by this new term.
  6. (66−26)x+80=40x+80\displaystyle (66-26)x+80=40x+80
    Why?Subtract that whole product. The x2\displaystyle x^{2} terms cancel.
  7. 40xx=40\displaystyle \frac{40x}{x}=40; (x+2)(40)=40x+80\displaystyle (x+2)(40)=40x+80
    Why?Divide the leading term by x once more, then multiply the divisor.
  8. x2+13x+40\displaystyle x^2+13x+40
    Why?Subtract. The remainder is zero, so collect the three quotient terms.
  9. (x+2)(x2+13x+40)=x3+15x2+66x+80\displaystyle (x+2)(x^2+13x+40)=x^3+15x^2+66x+80
    Why?Check by multiplying the divisor by the quotient.

Common mistake

Combining terms with different letter parts. 3x+2x2\displaystyle 3x+2x^2 cannot become 5x3\displaystyle 5x^3. Only like terms combine: 3x+2x=5x\displaystyle 3x+2x=5x.

Exam technique

Set out long division in powers of x and include a zero coefficient for any missing power.

Show your method, use units where appropriate and check whether the question asks for an exact or rounded answer.

04 · Try it yourself

Self-check questions

Work on paper first, then open the answer. These are practice questions, not submitted homework.

Question 1

Simplify 2x+9+4x−3\displaystyle 2x + 9 + 4x - 3. What is the constant term?

Show answer & check
6\displaystyle 6

Compare your result with the answer. If it differs, revisit a worked example and check each step.

Question 2

Expand 9(x+6)\displaystyle 9 \left(x + 6\right). What is the constant term?

Show answer & check
54\displaystyle 54

Compare your result with the answer. If it differs, revisit a worked example and check each step.

Question 3

Expand (2x+3)(4x2+5x+1)\displaystyle \left(2x + 3\right) \left(4x^{2} + 5x + 1\right).

  1. 8x3+22x2+17x+3\displaystyle 8x^{3} + 22x^{2} + 17x + 3
  2. 8x3+22x2+17x−3\displaystyle 8x^{3} + 22x^{2} + 17x - 3
  3. 8x3+12x2+17x+3\displaystyle 8x^{3} + 12x^{2} + 17x + 3
  4. 8x3+22x2+2x+3\displaystyle 8x^{3} + 22x^{2} + 2x + 3
Show answer & check
8x3+22x2+17x+3\displaystyle 8x^{3} + 22x^{2} + 17x + 3

Correct:2x\displaystyle : 2x·4x2=8x3\displaystyle 4x^{2} = 8x^{3}; the x2\displaystyle x^{2} terms are 2x\displaystyle 2x·5x=10x2\displaystyle 5x = 10x^{2} and 3\displaystyle 3·4x2=12x2,\displaystyle 4x^{2} = 12x^{2} , giving 22x2\displaystyle 22x^{2}.

Question 4

Divide x2+15x+56\displaystyle x^{2} + 15x + 56 by x+7\displaystyle x + 7.

  1. x+7\displaystyle x + 7
  2. x+15\displaystyle x + 15
  3. x+8\displaystyle x + 8
  4. x+56\displaystyle x + 56
Show answer & check
x+8\displaystyle x + 8

Correct:x2+15x+56=(x+7)(x+8),\displaystyle : x^{2} + 15x + 56 = \left(x + 7\right) \left(x + 8\right) , so the quotient is x+8\displaystyle x + 8.

Question 5

Divide x3+10x2+31x+30\displaystyle x^{3} + 10x^{2} + 31x + 30 by x+2\displaystyle x + 2.

  1. x2+10x+15\displaystyle x^{2} + 10x + 15
  2. x+8\displaystyle x + 8
  3. x2+8x+30\displaystyle x^{2} + 8x + 30
  4. x2+8x+15\displaystyle x^{2} + 8x + 15
Show answer & check
x2+8x+15\displaystyle x^{2} + 8x + 15

Correct:x3+10x2+31x+30=(x+2)(x+3)(x+5),\displaystyle : x^{3} + 10x^{2} + 31x + 30 = \left(x + 2\right) \left(x + 3\right) \left(x + 5\right) , so the quotient is (x+3)(x+5)=x2+8x+15\displaystyle \left(x + 3\right) \left(x + 5\right) = x^{2} + 8x + 15.

Watch an explanation

Videos for this chapter

Choose one explanation, pause to work an example, then return to the notes. All Maths videos →

Cognito · Teacher choice

Collecting Like Terms

Only terms with the same variable part and power can be combined.

Watch on Cognito ↗

Classroom resources

Open slides & animated PowerPoint →
Open full-size image ↗
Enlarged maths diagram