Topic 07 | Number & Algebra

Linear equations, inequalities & graphs

Year 8 core: solving linear equations and one-variable inequalities, graphing linear relations on the Cartesian plane, and modelling simple linear situations.

70-90 min Printable practice Answer key Challenge included
How to use this page

Read the explanation, work through the examples, then complete the core practice before printing.

Study progress: Not started

Start here: two ideas, one flow

This topic puts three connected ideas on one page:

  1. Solve an equation (find the value of xx that makes it true).
  2. Solve an inequality (same moves, but with one extra rule about flipping).
  3. Graph a linear relation (plot the set of (x,y)(x, y) pairs that satisfy y=mx+cy = mx + c).

Equations give one answer; inequalities give a range; graphs show the whole relationship at once. The algebra is the same in all three — only the output differs.

What you will learn

1. Solving linear equations

Apply inverse operations to both sides to isolate the variable.

Worked example E Very easy: one operation to undo

Solve   x+7=12\;x + 7 = 12.

The left-hand side says ”xx plus 77”. To get xx alone, undo the “plus 77” by subtracting 77 from both sides:

x+77=127,x=5.x + 7 - 7 = 12 - 7, \qquad x = 5.

Check: 5+7=125 + 7 = 12. ✓

Worked example 1 Pronumeral on one side

Solve   4x5=23\;4x - 5 = 23.

  1. Add 55: 4x=284x = 28.
  2. Divide by 44: x=7x = 7.

Check: 4(7)5=285=234(7) - 5 = 28 - 5 = 23. ✓

Worked example 2 Pronumeral on both sides

Solve   5x+4=2x+19\;5x + 4 = 2x + 19.

  1. Subtract 2x2x from both sides: 3x+4=193x + 4 = 19.
  2. Subtract 44: 3x=153x = 15.
  3. Divide by 33: x=5x = 5.

Check: 5(5)+4=295(5) + 4 = 29 and 2(5)+19=292(5) + 19 = 29. ✓

Worked example 3 With brackets and fractions

Solve   2x13=5\;\dfrac{2x - 1}{3} = 5.

Multiply both sides by 33: 2x1=152x - 1 = 15. Then 2x=162x = 16, x=8x = 8.

2. Linear inequalities

An inequality uses <<, \leq, >> or \geq instead of ==. The same algebra works, with one twist.

Worked example E2 Very easy: inequality in one step

Solve   x+3>10\;x + 3 > 10.

Subtract 33 from both sides: x>7x > 7. No flip needed because we did not multiply or divide by a negative.

Worked example 4 Solve an inequality

Solve   3x411\;3x - 4 \leq 11.

  1. Add 44: 3x153x \leq 15.
  2. Divide by 33 (positive, no flip): x5x \leq 5.

On a number line, draw a filled circle at 55 and shade to the left.

3. Linear relations on the Cartesian plane

A relation of the form y=mx+cy = mx + c has a straight-line graph.

Reading a linear graph

Standard form
y=mx+c.y = mx + c.
  • cc is the yy-intercept: where the line crosses the yy-axis (the value of yy when x=0x = 0).
  • mm is the gradient (slope): the change in yy per unit change in xx.
Table of values

Pick a few xx-values, compute yy, plot the points, join them with a straight line.

Worked example E3 Very easy: reading m and c straight from the equation

What are the gradient and yy-intercept of y=3x+5y = 3x + 5?

Compare with y=mx+cy = mx + c: the gradient is m=3m = 3 and the yy-intercept is c=5c = 5 (the line crosses the yy-axis at (0,5)(0, 5)).

Worked example 5 Plotting y = 2x - 1

Table of values:

xx1-100112233
yy3-31-1113355
  • yy-intercept: (0,1)(0, -1) - the line crosses the yy-axis at 1-1.
  • Gradient: 22 - for every 11 unit right, yy rises by 22.
xy3-23-3(0, -1)run 1rise 2y = 2x - 1
Graph of y = 2x - 1. The line crosses the y-axis at -1 (the intercept c); the highlighted triangle shows the gradient m = rise/run = 2/1 = 2.
xyy = x + 1y = 2x - 1y = -x + 4
Three lines with different gradients and intercepts. Steeper gradient = steeper line. The y-intercept is where each line crosses the vertical axis.

Notice: a positive gradient (m>0m > 0) tilts upward left-to-right; a negative gradient (m<0m < 0) tilts downward. A larger m|m| makes the line steeper.

4. Modelling with a linear relation

Many everyday situations are linear: a start-up fee plus a rate per unit.

Worked example 6 Taxi fare

A taxi charges a flag-fall of $4 plus $2.50 per kilometre.

  • Fare formula: F=4+2.5kF = 4 + 2.5k where kk is the distance in km.
  • yy-intercept (flag-fall): $4.
  • Gradient: $2.50 per km.
  • A 1212 km trip costs 4+2.5×12=4+30=344 + 2.5 \times 12 = 4 + 30 = 34 dollars.

From a graph of FF against kk, a $20 fare corresponds to where the line hits F=20F = 20, i.e. 4+2.5k=204 + 2.5k = 20, so k=6.4k = 6.4 km.


Practice: Year 8 core

Fluency

Solve linear equations

    1. Solve x+9=15x + 9 = 15.
    2. Solve 3x=183x = 18.
    3. Solve 2x+5=172x + 5 = 17.
    4. Solve 3y8=133y - 8 = 13.
    5. Solve x4+3=9\dfrac{x}{4} + 3 = 9.
    6. Solve 4(a2)=204(a - 2) = 20.
    7. Solve 5x3=2x+125x - 3 = 2x + 12.
    8. Solve 3y+4=7y163y + 4 = 7y - 16.
    9. Solve 3x+12=8\dfrac{3x + 1}{2} = 8.
    10. Solve x3x4=2\dfrac{x}{3} - \dfrac{x}{4} = 2.
Fluency

Solve inequalities

    1. Solve x+4>10x + 4 > 10.
    2. Solve 2y352y - 3 \leq 5.
    3. Solve 3x+1133x + 1 \geq 13.
    4. Solve 4x<20-4x < 20.
    5. Solve 52x>15 - 2x > 1.
    6. Solve y2+13\dfrac{y}{2} + 1 \geq 3.
Fluency

Tables and graphs

    1. Complete the table for y=3x2y = 3x - 2:

      xx1-100112233
      yy?????
    2. Find the yy-intercept of y=2x+7y = -2x + 7.

    3. Find the gradient of y=4x1y = 4x - 1.

    4. Find the xx-intercept of y=2x6y = 2x - 6 (where y=0y = 0).

    5. A line passes through (0,3)(0, 3) and (2,9)(2, 9). Find the gradient.

    6. Does the point (3,5)(3, 5) lie on y=2x1y = 2x - 1? Show by substitution.

Reasoning

Explain and spot the mistake

    1. Kai solves 3x=12-3x = 12 as x=4x = 4. Is Kai correct? Explain.
    2. Mira writes ”2x<6-2x < 6 so x<3x < -3”. What has Mira forgotten?
    3. Explain why the graphs of y=2xy = 2x and y=2x+3y = 2x + 3 are parallel.
    4. Describe what happens to the graph of y=mx+cy = mx + c as you increase cc.
Problem solving

Modelling

    1. A gym charges a $50 joining fee and $15 per week. Write a formula C=50+15wC = 50 + 15w for cost after ww weeks. After how many weeks does the total pass $200?
    2. A water tank starts with 500500 L and leaks at 88 L per hour. Write a formula for the volume VV after tt hours. When is the tank empty?
    3. A taxi has flag-fall $3.80 and charges $2 per km. A trip costs $19.80. How long was it (in km)?
    4. A mobile plan charges $30 per month plus $0.05 per text. Lucy’s monthly bill was $33.50. How many texts did she send?
    5. Two phone plans: Plan A charges $20 + $0.15/min; Plan B charges $35 + $0.05/min. Write formulas. For how many minutes are the two plans equal in cost?

Challenge

Reasoning

Harder reasoning

    1. Solve simultaneously (by substitution): y=2x1y = 2x - 1 and y=x+4y = x + 4.
    2. Solve x+12x13=2\dfrac{x + 1}{2} - \dfrac{x - 1}{3} = 2.
    3. A line has gradient 33 and passes through (2,7)(2, 7). Find the equation of the line.
    4. The sum of three consecutive even numbers is 9090. Write a linear equation and find the numbers.
Answers

Answer key

Attempt the practice first. When you're ready to check, expand the answers below.

Show the full answer key

Year 8 core - answers

Fluency

Solve linear equations

    1. x=6x = 6. Method: subtract 99 from both sides.
    2. x=6x = 6. Method: divide both sides by 33.
    3. x=6x = 6. Method: subtract 55, then divide by 22.
    4. y=7y = 7. Method: add 88, then divide by 33.
    5. x=24x = 24. Method: subtract 33, then multiply by 44.
    6. a=7a = 7. Method: divide both sides by 44 to get a2=5a - 2 = 5, then add 22.
    7. x=5x = 5. Method: subtract 2x2x from both sides, then 3x3=123x - 3 = 12; 3x=153x = 15.
    8. y=5y = 5. Method: subtract 3y3y and add 1616: 20=4y20 = 4y, so y=5y = 5.
    9. x=5x = 5. Method: multiply both sides by 22 to get 3x+1=163x + 1 = 16; 3x=153x = 15.
    10. x=24x = 24. Method: multiply both sides by 1212: 4x3x=244x - 3x = 24.
Fluency

Solve inequalities

    1. x>6x > 6
    2. y4y \leq 4
    3. x4x \geq 4
    4. x>5x > -5 (flip: divide by 4-4).
    5. x<2x < 2. Method: subtract 55, 2x>4-2x > -4; divide by 2-2, flip.
    6. y4y \geq 4
Fluency

Tables and graphs

    1. yy-values: 5,2,1,4,7-5, -2, 1, 4, 7.
    2. yy-intercept (0,7)(0, 7).
    3. Gradient 44.
    4. xx-intercept (3,0)(3, 0).
    5. Gradient 33. Method: 9320\dfrac{9 - 3}{2 - 0}.
    6. Yes: 2(3)1=52(3) - 1 = 5. ✓
Reasoning

Explain and spot the mistake

    1. No. Dividing 1212 by 3-3 gives 4-4, so x=4x = -4. Kai kept the sign wrong.
    2. She forgot to flip the inequality when dividing by a negative. Correct: 2x<6-2x < 6 gives x>3x > -3.
    3. They both have gradient 22 (same slope), but different yy-intercepts (00 and 33), so they rise equally but start at different heights.
    4. The line shifts up by cc units on the yy-axis (parallel to itself). Increasing cc does not change the gradient.
Problem solving

Modelling

    1. After w=11w = 11 weeks (since 50+15×10=20050 + 15 \times 10 = 200 exactly at week 1010; pass $200 at end of week 1111). Strictly 50+15w>20050 + 15w > 200 gives w>10w > 10, so first at w=11w = 11.
    2. V=5008tV = 500 - 8t. Empty when V=0V = 0: t=62.5t = 62.5 hours.
    3. 1616 km. Method: 3.80+2k=19.803.80 + 2k = 19.80, so 2k=162k = 16.
    4. 7070 texts. Method: 30+0.05t=33.5030 + 0.05t = 33.50, 0.05t=3.500.05t = 3.50.
    5. Plan A: C=20+0.15mC = 20 + 0.15m; Plan B: C=35+0.05mC = 35 + 0.05m. Equal when 20+0.15m=35+0.05m20 + 0.15m = 35 + 0.05m, so 0.10m=150.10m = 15, m=150m = 150 minutes.

Challenge - answers

Reasoning

Harder reasoning

    1. (5,9)(5, 9). Method: 2x1=x+42x - 1 = x + 4 gives x=5x = 5, then y=9y = 9.
    2. x=13x = 13. Method: multiply by 66: 3(x+1)2(x1)=123(x + 1) - 2(x - 1) = 12; 3x+32x+2=123x + 3 - 2x + 2 = 12; x+5=12x + 5 = 12.
    3. y=3x+1y = 3x + 1. Method: y7=3(x2)y - 7 = 3(x - 2), so y=3x6+7y = 3x - 6 + 7.
    4. 28,30,3228, 30, 32. Method: n+(n+2)+(n+4)=3n+6=90n + (n+2) + (n+4) = 3n + 6 = 90; n=28n = 28.

Prefer paper? Print the answer key as a separate booklet: open print view ->