Skip to content
Cambridge IGCSE0980

Drawing linear graphs

Mathematics 0980 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Drawing linear graphs notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Drawing linear graphs notes as text: skim, search, and jump between subtopics.

~11 min read

1. Table of values

A straight-line graph can be drawn from its equation. Choose values of x, work out each y, and plot the points (x, y).

Two points fix a straight line. A third point is a check. Join the points with one ruled straight line, across entire width of grid for the range of x the question gives.

Examiner insight

“Most errors were due to an incorrect sign but a few candidates gave entries apart from 7’s and 3’s.” “However, a significant number did not know it had to be a single straight line.”

Worked example 13 marks

Complete the table of values for y = 3x - 2. Then draw the graph for -2 ≤ x ≤ 2.

x-202
y
  1. 1

    x = -2: y = 3 × (-2) - 2 = -8

  2. 2

    x = 0: y = -2. x = 2: y = 3 × 2 - 2 = 4

  3. 3

    table: -8, -2, 4 [1]

  4. 4

    plot (-2, -8), (0, -2) and (2, 4) [1]

  5. 5

    join with one ruled straight line from x = -2 to x = 2 [1]

2. Gradient and y-intercept

When the equation is in the form y = mx + c, no table is needed. m is the gradient and c is the y-intercept: the line crosses the y-axis at (0, c).

Start at (0, c). Find a second point, such as the end of the range. Rule the line through both.

y = mx + c

gradient = (change in y)/(change in x)

Examiner insight

“Many candidates clearly did not know the meanings of ‘m’ and ‘c’ in the equation y = mx + c.” “Other incorrect lines included y = 0.5, y = 3.5 and lines that joined (–4, 0) to (0, 4) for example, making reference to the numbers appearing within the question.”

Worked example 12 marks

On the grid, draw the graph of y = 0.5x + 3 for -4 ≤ x ≤ 4.

  1. 1

    c = 3, so the line passes through (0, 3)

  2. 2

    x = -4: y = 0.5 × (-4) + 3 = 1. x = 4: y = 0.5 × 4 + 3 = 5

  3. 3

    ruled line through (-4, 1), (0, 3) and (4, 5), across the whole width of the grid [2]

3. Lines with gradient 0

A line with gradient 0 has m = 0. Its equation is y = 0x + c, which is y = c. The line is horizontal.

Every point on the line has the same y-coordinate. The number in the equation is the y-intercept, not the gradient.

m = 0 ⇒ y = c

Examiner insight

“Common incorrect answers were y = x + 7 and y = 7x + 0”

Worked example 11 mark

Write down the equation of the line that passes through the point (0, 7) and has gradient 0.

  1. 1

    gradient 0, so m = 0. The line crosses the y-axis at 7, so c = 7: y = 7 (or y = 0x + 7) [1]

4. Sketching a line

A sketch has no scale and needs no table. It shows the straight line with the right direction of slope and the right place where it crosses the y-axis.

A positive m slopes up from left to right. A negative m slopes down. A positive c is above the origin and a negative c is below it.

Worked example 11 mark

On the diagram, sketch the graph of y = 3x - 2.

  1. 1

    m = 3 is positive, so the line slopes up. c = -2, so it crosses the y-axis below the origin: a straight line with positive gradient and negative y-intercept [1]

5. Equations not in the form y = mx + c

Some equations, such as y = 7 - 4x and 3x + 2y = 5, are not written as y = mx + c. Rearrange so that y is on its own. Then read off m and c.

For y = 7 - 4x, write y = -4x + 7. The gradient is -4 and the y-intercept is 7.

An equation such as x = 8 has no y in it. Every point on the line has x-coordinate 8, so the line is vertical. Each line is drawn as a ruled straight line.

3x + 2y = 5 ⇒ y = -3/2x + 5/2

Examiner insight

“The line x = 15 produced the least number of errors followed by y = 50, which was sometimes drawn as x = 50.”

Worked example 12 marks

On the grid, draw the line y - 2x + 3 = 0.

  1. 1

    rearrange: y = 2x - 3, so c = -3 and the line passes through (0, -3)

  2. 2

    x = 3: y = 2 × 3 - 3 = 3, so (3, 3) is on the line

  3. 3

    ruled correct line at least from (0, -3) to (3, 3) [2]

Recap

  • Straight line from an equation: table of values, plot, join with one ruled line.
  • Draw across the whole range of x given.
  • y = mx + c: m is the gradient, c is where the line crosses the y-axis.
  • Gradient 0 gives a horizontal line y = c.
  • A sketch needs the direction of slope and the sign of the y-intercept.
  • Extended: rearrange to y = mx + c first, for example 3x + 2y = 5. A line x = k is vertical.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. Write down the gradient and the y-intercept of the line y = 2x - 3.2 marks
    Answer
    1. Gradient = 2 and y-intercept = -3, so the line crosses the y-axis at (0, -3).

    Trap: The gradient is 2, not 2x, and the intercept is -3, not 3.

  2. Do not use a calculator. Complete the table of values for y = 4x - 3. | x | -1 | 0 | 3 | | --- | --- | --- | --- | | y | | | |3 marks
    Answer
    1. x = -1: y = -4 - 3 = -7. x = 0: y = -3. x = 3: y = 12 - 3 = 9.

    Trap: 4 × (-1) = -4, so y = -7, not 1.

  3. Do not use a calculator. A line has equation y = -2x + 5. Find the coordinates of the points on the line where x = 0 and where x = 4. Explain how to finish drawing the line.3 marks
    Answer
    1. x = 0: y = 5, so (0, 5). x = 4: y = -8 + 5 = -3, so (4, -3).
    2. Plot both points and join them with a ruled straight line.

    Trap: -2 × 4 = -8, so y = -3, not 13.

  4. A student draws the line y = 0.25x + 2 for -4 ≤ x ≤ 8. Find the y-values at the two ends of the line.2 marks
    Answer
    1. x = -4: y = -1 + 2 = 1. x = 8: y = 2 + 2 = 4.
    2. The line runs from (-4, 1) to (8, 4).

    Trap: 0.25 × (-4) = -1, so the y-value is 1, not -1 or 3.

  5. Do not use a calculator. A line has gradient 0 and passes through the point (3, -2). Write down the equation of the line and the coordinates of the point where it crosses the y-axis.2 marks
    Answer
    1. Gradient 0 means m = 0, so the equation is y = c. The point (3, -2) has y = -2, so the line is y = -2.
    2. Every point on the line has y = -2, so it crosses the y-axis at (0, -2).

    Trap: The equation is y = -2, not y = -2x, y = 3 or x = 3: gradient 0 means there is no x term.

  6. A sketch of y = -3x + 6 is needed. State the direction of slope of the line and where it crosses the y-axis.2 marks
    Answer
    1. The gradient -3 is negative, so the line slopes down from left to right.
    2. It crosses the y-axis at (0, 6), above the origin.

    Trap: A negative gradient slopes down; the intercept 6 is positive.

  7. Write down the gradient and the y-intercept of the line y = 5 - 3x.2 marks
    Answer
    1. y = -3x + 5, so gradient = -3 and y-intercept = 5.

    Trap: The number written first is not the gradient. The gradient is the coefficient of x, with its sign.

  8. Do not use a calculator. Rearrange 2x - 5y = 10 to make y the subject. Write down the gradient and the y-intercept.3 marks
    Answer
    1. -5y = 10 - 2x, so 5y = 2x - 10.
    2. y = 2/5x - 2.
    3. Gradient = 2/5 and y-intercept = -2.

    Trap: Dividing by -5 changes the sign of every term: the gradient is 2/5, not -2/5, and the intercept is -2, not 2.

  9. Do not use a calculator. A grid has x from -2 to 6 and y from -4 to 8. The line 2y - 3x = 4 is ruled across the grid as far as the grid allows. (a) Rearrange the equation to make y the subject. (b) Find the coordinates of the points where the line crosses the y-axis and the x-axis. (c) Find the coordinates of the two points where the line meets the edge of the grid.6 marks
    Answer
    1. (a)
    2. Add 3x to both sides: 2y = 3x + 4.
    3. Divide every term by 2: y = 1.5x + 2 [1].
    4. (b)
    5. x = 0: y = 2, so (0, 2) [1].
    6. y = 0: 3x = -4, so x = -4/3 and the point is (-4/3, 0) [1].
    7. (c)
    8. x = -2: y = -3 + 2 = -1. This is on the grid, so one point is (-2, -1) [1].
    9. x = 6: y = 9 + 2 = 11. This is above the top of the grid, so the line meets the top edge y = 8 first.
    10. y = 8: 1.5x = 6, so x = 4 [1]. The other point is (4, 8) [1].

    Trap: The line does not reach x = 6 on this grid: (6, 11) is off the top, so the line ends at (4, 8).

  10. A taxi fare of F dollars for a journey of d km satisfies 5F - 8d = 18. The graph is drawn with d on the horizontal axis, from 0 to 20, and F on the vertical axis. (a) Rearrange the equation to make F the subject. (b) Find the coordinates of the two ends of the fare line. (c) The lines F = 30 and d = 5 are also drawn. State which of these two lines is horizontal and which is vertical. Find the coordinates of the point where each one meets the fare line.8 marks
    Answer
    1. (a)
    2. 5F = 8d + 18 [1], so F = 1.6d + 3.6 [1].
    3. (b)
    4. d = 0: F = 3.6, so (0, 3.6) [1].
    5. d = 20: F = 1.6 × 20 + 3.6 = 35.6, so (20, 35.6) [1].
    6. (c)
    7. F = 30 is horizontal and d = 5 is vertical [1].
    8. d = 5: F = 1.6 × 5 + 3.6 = 11.6, so the point is (5, 11.6) [1].
    9. F = 30: 1.6d = 30 - 3.6 = 26.4, so d = 16.5 [1]. The point is (16.5, 30) [1].

    Trap: F is on the vertical axis, so F = 30 is a horizontal line through 30 on the F-axis; drawing it as a vertical line at d = 30 is the mistake examiners reported.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
a line joining the two numbers in the question, such as (-4, 0) to (0, 4)a line through the y-intercept (0, c) with gradient m
y = 7x + 0 or y = x + 7 for gradient 0 through (0, 7)y = 7 (or y = 0x + 7)
a curve, or two lines joined at a pointone ruled straight line
y = 50 drawn as x = 50y = 50 is horizontal; x = 50 is vertical

Frequently asked questions

How do you draw a straight-line graph from its equation?
Make a table of values: choose values of x, work out each y, and plot the points. Two points fix a straight line and a third is a check. For y = 3x - 2 with x = -2, 0 and 2, the points are (-2, -8), (0, -2) and (2, 4). Join them with one ruled straight line across the whole width of the grid.
What do m and c mean in y = mx + c?
The number m is the gradient and the number c is the y-intercept: the line crosses the y-axis at (0, c). Read m as the number multiplying x, with its sign. In y = 3x + 7 the gradient is 3 and the y-intercept is 7, so the line passes through (0, 7).
How do you draw a line from its gradient and y-intercept without a table?
Start at (0, c) and find a second point, such as the end of the range. Rule the line through both points. For y = 0.5x + 3 with -4 ≤ x ≤ 4, the points are (-4, 1), (0, 3) and (4, 5), and the line runs across the whole width of the grid.
What is the equation of a horizontal line?
A line with gradient 0 has m = 0, so its equation is y = c: every point has the same y-coordinate. For the line through (0, 7) with gradient 0, the equation is y = 7, not y = x + 7 or y = 7x + 0. A vertical line is different: its equation is x = k.
Why do my drawn lines have the wrong gradient or the wrong equation?
A common error was to join the two numbers in the question, such as (-4, 0) to (0, 4). Draw the line through the y-intercept (0, c) with gradient m instead. Some lines had the correct intercept but a positive or negative gradient that was wrong, so check the sign against the graph.
How do you find the gradient of 3x + 2y = 5?
Rearrange so that y is on its own. Subtract 3x from both sides, then divide every term by 2: y = -3/2x + 5/2. The gradient is the number multiplying x, so it is -3/2, and the y-intercept is 5/2.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters