Harmony Virtual Lab

Mathematics · Linear graphs: gradient and intercept

Gradient and intercept of a straight line

Read points from a mystery straight line, plot them, find its gradient and intercept and write its equation in the form y = mx + c.

Start this experimentAll Mathematics experiments

Aim

To find the gradient and y-intercept of a straight-line graph and write its equation.

Apparatus

  • Graph paper
  • Ruler and pencil
  • The mystery line on the screen

Theory

Every straight line can be written as

y = mx + c

where m is the gradient (change in y ÷ change in x) and c is the intercept on the y-axis (the value of y when x = 0).

m = y₂ − y₁÷x₂ − x₁

Procedure

  1. Move the marker along the mystery line and read the coordinates of a point.
  2. Record the point. Read at least five more points, spread out along the line.
  3. Choose two points far apart and use them to calculate the gradient.
  4. Read the value of y where the line crosses the y-axis: that is c.
  5. Write the equation y = mx + c and check it with the checker.

Precautions

Choose points far apart when working out the gradient – it reduces the effect of reading errors.

What you do in the virtual lab

Set up the apparatus on screen, take readings and record them in a table (Point; x; y), then plot y against x and read the result from the graph. Simulated instruments give slightly different readings each time, as real ones do. Finish with a short quiz; every answer is explained.

Teachers can set the experiment for a class, see each student’s results and use it as a WAEC- or NECO-style practical paper in exam practice.

Practice questions

  1. In the equation y = mx + c, m stands for the

    1. gradient
    2. y-intercept
    3. x-intercept
    4. area under the line
    Show the answer

    A. gradient m is the gradient (slope) of the line.

  2. The gradient of the line through (1, 3) and (4, 9) is

    1. 3
    2. 2
    3. 6
    4. 0.5
    Show the answer

    B. 2 m = (9 − 3) ÷ (4 − 1) = 6 ÷ 3 = 2.

  3. The line y = 4x − 5 crosses the y-axis at

    1. (0, 4)
    2. (−5, 0)
    3. (4, 0)
    4. (0, −5)
    Show the answer

    D. (0, −5) At x = 0, y = −5.

Do the experiment and the full quiz

Related Mathematics experiments