OpenRevise

Maths · Graphs

Viewing as

Teacher view: every answer and mark scheme set out in full.

Straight-Line Graphs

Plotting lines, finding gradients, and reading the gradient and intercept from y = mx + c.

  • 9 key terms
  • All boards

Learning Objectives

  1. 1Plot and read coordinates, and draw straight-line graphs from a table of values.
  2. 2Work out the gradient of a line from two points or from a graph.
  3. 3Use \(y = mx + c\) to find the gradient and the \(y\)-intercept of a line.
  4. 4Recognise horizontal, vertical and parallel lines from their equations.

Pictures of equations

A graph is a picture of an equation. Every point on the line has an \(x\)-coordinate and a \(y\)-coordinate that fit the equation, and every point that fits is on the line. Straight-line graphs are on every Paper 1, usually worth between 3 and 6 marks, and the same few ideas, gradient, intercept and the form \(y = mx + c\), come up each time. The numbers are always whole or simple fractions, so no calculator is needed.

Coordinates and plotting a line

A point is written \((x, y)\), with the horizontal distance first. A table of values is the safest way to draw a line.

  • Make a table

    Choose three or four values of \(x\), including a negative one, and work out \(y\) for each. For \(y = 2x - 1\), the values \(x = -1, 0, 1, 2\) give \(y = -3, -1, 1, 3\).

  • Plot the points

    Mark each pair \((x, y)\). If they are not in a straight line, one of them is wrong, so check it.

  • Draw the line with a ruler

    Make it go across the whole grid, and label it with its equation if asked.

  • Check a point

    To see whether a point is on a line, put its coordinates into the equation. \((4, 10)\) is on \(y = 3x - 2\) because \(3 \times 4 - 2 = 10\).

Horizontal and vertical lines

Some lines have no slope at all, or an infinite one, and they look different from other equations.

  • \(y = a\)

    A horizontal line through \(y = a\), such as \(y = 3\). Every point on it has \(y = 3\).

  • \(x = a\)

    A vertical line through \(x = a\), such as \(x = -2\). Every point on it has \(x = -2\).

  • The axes

    The \(x\)-axis is \(y = 0\) and the \(y\)-axis is \(x = 0\).

  • A common slip

    \(x = 4\) is vertical, not horizontal, because it names where on the \(x\)-axis the line crosses.

Gradient from two points

Work out the gradient of the line through \((1, 7)\) and \((4, 1)\).

Show the solutionHide the solution
  1. 1 Find the change in y \(1 - 7 = -6\).
  2. 2 Find the change in x \(4 - 1 = 3\).
  3. 3 Divide \(\dfrac{-6}{3} = -2\).
  4. 4 Check the sign The line goes down as \(x\) increases, so a negative gradient is right.

Answer\(-2\)

Gradient and intercept

A line has equation \(y = 5 - 3x\). Write down its gradient and the coordinates of the point where it crosses the y-axis.

Show the solutionHide the solution
  1. 1 Rewrite in the form y = mx + c \(y = -3x + 5\).
  2. 2 Read off m The number multiplying \(x\) is \(-3\).
  3. 3 Read off c The number on its own is 5.
  4. 4 Write the point It crosses the y-axis at \((0, 5)\).

AnswerGradient \(-3\), crossing at \((0, 5)\)

Sketching a line quickly

You do not always need a table. The gradient and the intercept are enough.

  • Start at the intercept

    Mark \((0, c)\).

  • Use the gradient

    From there go across 1 and up \(m\) (or down, if \(m\) is negative), and mark another point. A gradient of \(\dfrac{1}{2}\) means across 2 and up 1.

  • Join with a ruler

    Extend the line past both points.

  • Use the axes

    A line crosses the \(x\)-axis where \(y = 0\), which gives a quick check.

Test yourself

  1. 1

    What is the gradient of the line \(y = 4x - 7\)?

    Show answerHide answer

    4.

  2. 2

    Where does the line \(y = 3x + 2\) cross the y-axis?

    Show answerHide answer

    At \((0, 2)\).

  3. 3

    What is the equation of the x-axis?

    Show answerHide answer

    \(y = 0\).

  4. 4

    Which of \(y = 3x\) and \(y = 3x - 5\) is parallel to \(y = 3x + 1\)?

    Show answerHide answer

    Both, because they all have gradient 3.

  5. 5

    Is the point \((2, 5)\) on the line \(y = 2x + 1\)?

    Show answerHide answer

    Yes, because \(2 \times 2 + 1 = 5\).

Exam technique: straight-line graphs

Most lost marks are on signs and on reading scales carelessly.

  • Show the rise and the run

    Write "change in \(y\) = 6, change in \(x\) = 3" before dividing.

  • Use a ruler and a sharp pencil

    A wobbly line costs the accuracy mark.

  • Label the points you use

    It shows the method even if you make a slip.

  • Say which form you are using

    Writing \(y = mx + c\) first helps you not to mix up \(m\) and \(c\).

Summary and exam focus

  • A straight-line graph comes from a table of values, with three or more points in a line.
  • The gradient is rise divided by run, and it is negative when the line goes down.
  • In \(y = mx + c\), \(m\) is the gradient and \(c\) is where the line crosses the \(y\)-axis.
  • Parallel lines have the same gradient. \(x = a\) is vertical and \(y = a\) is horizontal.

Exam focus

Work out the gradient of the line that passes through the points \((2, 3)\) and \((6, 11)\). (2 marks) (2 marks)

Write the change in \(y\) as \(11 - 3 = 8\) and the change in \(x\) as \(6 - 2 = 4\), and then divide to get 2. Keep the order the same on the top and on the bottom, or you will get the wrong sign.

Key terms

The words this lesson expects you to use. Each one is linked from the first place it appears above.

Coordinates
A pair of numbers \((x, y)\) that give the position of a point on a grid.
Gradient
A measure of how steep a line is, found by dividing the change in \(y\) by the change in \(x\).
Intercept
The point where a line crosses an axis.
Table of values
A table of \(x\)-values and the matching \(y\)-values, used to plot a graph.
Linear
A graph or equation that gives a straight line.
Parallel lines
Lines with the same gradient, which never meet.
Rise
The vertical distance between two points on a line.
Run
The horizontal distance between two points on a line.
Origin
The point \((0, 0)\), where the axes cross.

Questions and answers

15 questions set on this lesson, with the mark schemes and model answers open.

1. Exam question Write down 2 marks Easier

(a) Write down the gradient of the line with equation \(y = 4x + 7\). (1 mark) (b) Write down the coordinates of the point where this line crosses the \(y\)-axis. (1 mark)

Mark scheme — 2 marks available

  • (a) 4 — B1
  • (b) \((0, 7)\) — B1

Model answer

(a) The gradient is the number multiplying \(x\), which is 4. (b) The line crosses the \(y\)-axis where \(x = 0\), at \((0, 7)\).

2. Exam question Complete 3 marks Easier

(a) Complete the table of values for \(y = 3x - 2\) for \(x = -1, 0, 1, 2, 3\). (2 marks) (b) Does the point \((5, 12)\) lie on the line \(y = 3x - 2\)? You must give a reason for your answer. (1 mark)

Mark scheme — 3 marks available

  • (a) At least three correct values — M1
  • (a) \(-5, -2, 1, 4, 7\) — A1
  • (b) No, with \(3 \times 5 - 2 = 13\) or equivalent — C1

Model answer

(a) The values are \(-5, -2, 1, 4, 7\). (b) When \(x = 5\), \(y = 3 \times 5 - 2 = 13\), not 12, so the point does not lie on the line.

3. Exam question Work out 4 marks Core

The diagram shows a straight line. The points \(P\) and \(Q\) are on the line. (a) Work out the gradient of the line. (2 marks) (b) Write down the equation of the line. (2 marks)

A straight line through the points P (1, 5) and Q (3, 9), crossing the y-axis at 3.

Mark scheme — 4 marks available

  • (a) \(\dfrac{9 - 5}{3 - 1}\) — M1
  • (a) 2 — A1
  • (b) \(y = 2x + c\) or \(y = mx + 3\) — M1
  • (b) \(y = 2x + 3\) — A1

Model answer

(a) The gradient is \(\dfrac{9 - 5}{3 - 1} = \dfrac{4}{2} = 2\). (b) The line crosses the \(y\)-axis at 3, so the equation is \(y = 2x + 3\).

4. Exam question Work out 3 marks Core

A line \(L\) has equation \(y = 5 - 2x\). (a) Write down the gradient of \(L\). (1 mark) (b) Work out the coordinates of the point where \(L\) crosses the \(x\)-axis. (2 marks)

Mark scheme — 3 marks available

  • (a) \(-2\) — B1
  • (b) \(y = 0\) used, or \(5 - 2x = 0\) — M1
  • (b) \((2.5, 0)\) — A1

Model answer

(a) Written as \(y = -2x + 5\), the gradient is \(-2\). (b) On the \(x\)-axis \(y = 0\), so \(0 = 5 - 2x\) and \(x = 2.5\). The point is \((2.5, 0)\).

5. Exam question Work out 2 marks Core

Work out the gradient of the straight line that passes through \((-2, 3)\) and \((4, -9)\).

Mark scheme — 2 marks available

  • \(\dfrac{-9 - 3}{4 - (-2)}\) or \(\dfrac{-12}{6}\) — M1
  • \(-2\) — A1

Model answer

\(\dfrac{-9 - 3}{4 - (-2)} = \dfrac{-12}{6} = -2\).

6. Exam question Show that 4 marks Stretch

Line \(L_1\) has equation \(y = 2x + 3\). Line \(L_2\) passes through \((0, -1)\) and \((4, 7)\). (a) Show that \(L_1\) and \(L_2\) are parallel. (3 marks) (b) Does the point \((3, 9)\) lie on \(L_1\)? (1 mark)

Mark scheme — 4 marks available

  • (a) \(\dfrac{7 - (-1)}{4 - 0}\) — M1
  • (a) Gradient of \(L_2\) is 2 — A1
  • (a) States that equal gradients mean the lines are parallel — C1
  • (b) Yes, because \(2 \times 3 + 3 = 9\) — B1

Model answer

(a) The gradient of \(L_2\) is \(\dfrac{7 - (-1)}{4 - 0} = \dfrac{8}{4} = 2\). This is the same as the gradient of \(L_1\), so the lines are parallel. (b) \(2 \times 3 + 3 = 9\), so yes.

7. Multiple choice 1 mark Easier

What is the equation of the \(x\)-axis?

  1. A \(x = 0\)
  2. B \(y = 0\) Correct
  3. C \(y = x\)
  4. D \(x + y = 0\)

Why: Every point on the \(x\)-axis has \(y = 0\).

8. Multiple choice 1 mark Core

Which point is on the line \(y = 3x - 2\)?

  1. A \((4, 10)\) Correct
  2. B \((2, 6)\)
  3. C \((1, 3)\)
  4. D \((0, 2)\)

Why: Put in the coordinates: \(3 \times 4 - 2 = 10\), so \((4, 10)\) fits.

9. Multiple choice 1 mark Core

Work out the gradient of the line through \((1, 7)\) and \((4, 1)\).

  1. A \(2\)
  2. B \(-\dfrac{1}{2}\)
  3. C \(-6\)
  4. D \(-2\) Correct

Why: \(\dfrac{1 - 7}{4 - 1} = \dfrac{-6}{3} = -2\).

10. Multiple choice 1 mark Easier

Which line is parallel to \(y = 3x + 1\)?

  1. A \(y = x + 3\)
  2. B \(y = -3x + 1\)
  3. C \(y = 3x - 5\) Correct
  4. D \(y = \dfrac{1}{3}x + 1\)

Why: Parallel lines have the same gradient, 3.

11. Multiple choice 1 mark Easier

What is the equation of the vertical line through 4 on the \(x\)-axis?

  1. A \(y = 4\)
  2. B \(x = 4\) Correct
  3. C \(x + y = 4\)
  4. D \(y = x\)

Why: Every point on the line has \(x = 4\).

12. Multiple choice 1 mark Core

What is the gradient of the line \(y = 5 - 3x\)?

  1. A \(-3\) Correct
  2. B \(5\)
  3. C \(3\)
  4. D \(-5\)

Why: Written as \(y = -3x + 5\), the number multiplying \(x\) is \(-3\).

13. Multiple choice 1 mark Easier

What is the value of \(y\) on the line \(y = 2x - 1\) when \(x = -1\)?

  1. A \(-1\)
  2. B \(1\)
  3. C \(-2\)
  4. D \(-3\) Correct

Why: \(2 \times (-1) - 1 = -2 - 1 = -3\).

14. Multiple choice 1 mark Easier

Where does the line \(y = 3x + 2\) cross the \(y\)-axis?

  1. A \((2, 0)\)
  2. B \((0, 3)\)
  3. C \((0, 2)\) Correct
  4. D \((0, -2)\)

Why: The number on its own, 2, is the \(y\)-intercept.

15. Multiple choice 1 mark Stretch

Work out the gradient of the line through \((-2, 3)\) and \((4, -9)\).

  1. A \(2\)
  2. B \(-2\) Correct
  3. C \(-\dfrac{1}{2}\)
  4. D \(-6\)

Why: \(\dfrac{-9 - 3}{4 - (-2)} = \dfrac{-12}{6} = -2\).