logo

Cambridge IGCSE Mathematics revision notes

Gradient of linear graphs Revision Notes

Cambridge IGCSE revision notes for Gradient of linear graphs.

At a glance

revision notes

Resource type

Topic

Gradient of linear graphs

CambridgeIGCSEMathematicsExtended Coordinate geometry

Complete revision guide

Determining and Calculating the Slope of a Straight Line Using Two Points

This note explains how to understand the slope of a straight line as a measure of its steepness and direction, and how to calculate it precisely using the coordinates of any two points on the line. It covers the concept of slope, the step-by-step calculation method, interpretation of slope values, and common pitfalls to avoid.

Syllabus source

Section 3, Topic E3.3, page 43, objective E3.3.1

Open source document ↗

What you should be able to do

  • ✓Understand the meaning of slope as the steepness and direction of a straight line.
  • ✓Identify two points on a line and use their coordinates to calculate the slope.
  • ✓Interpret positive, negative, zero, and undefined slopes in terms of the line's direction.
  • ✓Apply the slope formula correctly and recognise when the slope is undefined.
1

What is the Slope of a Straight Line?

The slope of a straight line quantifies how steep the line is and in which direction it moves across the coordinate plane. It tells us how much the vertical coordinate (y) changes for a given change in the horizontal coordinate (x).

If the slope is positive, the line rises as we move from left to right. If it is negative, the line falls. A slope of zero means the line is perfectly horizontal, and an undefined slope corresponds to a vertical line, where the horizontal change is zero.

  • Slope measures steepness and direction of a line.
  • Positive slope: line rises left to right.
  • Negative slope: line falls left to right.
  • Zero slope: horizontal line.
  • Undefined slope: vertical line.
2

Calculating the Slope Using Two Points

To find the slope of a line, select any two distinct points on the line. Suppose these points have coordinates \((x_1, y_1)\) and \((x_2, y_2)\).

Calculate the vertical change (rise) as \(\Delta y = y_2 - y_1\) and the horizontal change (run) as \(\Delta x = x_2 - x_1\).

The slope \(m\) is the ratio of rise to run: \[ m = \frac{\Delta y}{\Delta x} = \frac{y_2 - y_1}{x_2 - x_1} \] This formula gives the rate of change of \(y\) with respect to \(x\).

  • Choose two points \((x_1, y_1)\) and \((x_2, y_2)\) on the line.
  • Calculate \(\Delta y = y_2 - y_1\).
  • Calculate \(\Delta x = x_2 - x_1\).
  • Compute slope \(m = \frac{\Delta y}{\Delta x}\).
3

Worked Example: Calculating Slope

Find the slope of the line passing through points \((2, 3)\) and \((5, 11)\).

Step 1: Calculate the change in \(y\): \(11 - 3 = 8\).

Step 2: Calculate the change in \(x\): \(5 - 2 = 3\).

  • Slope \(m = \frac{8}{3} \approx 2.67\).
  • The positive slope means the line rises steeply from left to right.
4

Interpreting Different Slope Values

Positive slope: The line goes upwards as \(x\) increases.

Negative slope: The line goes downwards as \(x\) increases.

Zero slope: The line is horizontal, so \(y\) does not change as \(x\) changes (e.g., points \((1,4)\) and \((5,4)\)). Here, \(\Delta y=0\) and slope \(m=0\). Undefined slope: The line is vertical, so \(x\) does not change as \(y\) changes (e.g., points \((3,2)\) and \((3,7)\)). Here, \(\Delta x=0\) and slope is undefined because division by zero is not possible.

  • Positive slope: line rises left to right.
  • Negative slope: line falls left to right.
  • Zero slope: horizontal line, slope = 0.
  • Undefined slope: vertical line, slope undefined.
5

Common Mistakes and How to Avoid Them

Mixing up the order of points: Always subtract coordinates in the same order (\(y_2 - y_1\) and \(x_2 - x_1\)) to get the correct slope sign.

Forgetting that division by zero is undefined: If \(x_2 = x_1\), the slope is undefined, indicating a vertical line.

Confusing slope with intercept: Slope measures steepness, not where the line crosses the axes.

  • Subtract coordinates consistently to maintain correct sign.
  • Recognise vertical lines have undefined slope.
  • Do not confuse slope with y-intercept.

At-a-glance summary

Comparison table

StepDetailExampleExam Use
Identify two pointsChoose any two points on the line with coordinates \((x_1, y_1)\) and \((x_2, y_2)\)Points \((1,2)\) and \((4,8)\)Always label points clearly to avoid confusion
Calculate vertical changeCompute \(\Delta y = y_2 - y_1\)\(8 - 2 = 6\)Show subtraction explicitly for marks
Calculate horizontal changeCompute \(\Delta x = x_2 - x_1\)\(4 - 1 = 3\)Avoid sign errors by consistent order
Calculate slopeDivide vertical change by horizontal change: \(m = \frac{\Delta y}{\Delta x}\)\(m = \frac{6}{3} = 2\)Write formula and substitution clearly
Interpret slopePositive slope means line rises left to rightSlope 2 means steep upward lineExplain slope meaning if asked

Active recall

Quick check

1. What is the slope of the line through points \((3, 5)\) and \((7, 13)\)?

Calculate \(\Delta y = 13 - 5 = 8\) and \(\Delta x = 7 - 3 = 4\). Slope \(m = \frac{8}{4} = 2\). The slope is 2, meaning the line rises 2 units vertically for every 1 unit horizontally.

2. What does a slope of zero indicate about a line?

A slope of zero means the line is horizontal; there is no vertical change as \(x\) changes.

3. If two points on a line have the same x-coordinate, what can you say about the slope?

The slope is undefined because \(\Delta x = 0\), indicating a vertical line.

Related topics

Study nearby topics next

Revision hubs

Keep studying from the right hub