MathematicsCoordinate GeometryGCSE
NESAEdexcelAQAOCRCambridgeCBSEBrevet (DNB)CAPS

Gradient

Calculate the slope between two points.

Understand the formulaSee the free derivationOpen the full walkthrough

This public page keeps the free explanation visible and leaves premium worked solving, advanced walkthroughs, and saved study tools inside the app.

Core idea

Overview

The gradient, often referred to as slope, quantifies the steepness and directional orientation of a straight line connecting two distinct points. It represents the constant rate of change along the line, defined geometrically as the ratio of the vertical displacement to the horizontal displacement.

When to use: Apply this formula whenever you are given the coordinates of two points on a Cartesian plane and need to determine the line's inclination. It is a prerequisite for finding the equation of a line or analyzing the relationship between two linear functions, such as determining if lines are parallel or perpendicular.

Why it matters: This concept is the foundation of differential calculus, where the gradient of a curve at a specific point defines the derivative. In practical applications, it is used by engineers to design safe road inclines and by economists to calculate marginal cost and revenue trends.

Symbols

Variables

= Point 2 Y, = Point 1 Y, = Point 2 X, = Point 1 X, m = Gradient

Point 2 Y
Variable
Point 1 Y
Variable
Point 2 X
Variable
Point 1 X
Variable
Gradient
Variable

Walkthrough

Derivation

Derivation of the Gradient Formula

The gradient (or slope) measures the steepness of a line. It is calculated by dividing the vertical change by the horizontal change between two points.

  • The points lie on a straight Cartesian coordinate plane.
  • The x-coordinates of the two points are not identical (avoiding division by zero).
1

Identify Two Points:

Choose any two distinct points that lie on the straight line.

2

Calculate the Changes:

Find the vertical change (rise) and the horizontal change (run).

3

State the Gradient Formula:

Divide the change in y by the change in x to find the gradient 'm'.

Note: It doesn't matter which point is point 1 and which is point 2, as long as you are consistent.

Result

Source: Edexcel GCSE Maths — Algebra (Graphs and Coordinate Geometry)

Visual intuition

Graph

The graph is a hyperbola because x1 appears in the denominator of the gradient formula. As x1 increases, the gradient approaches a horizontal asymptote at zero, while a vertical asymptote occurs where x1 equals x2. For a student, this means that as the horizontal distance between points grows larger, the slope becomes increasingly shallow, whereas small differences in x1 cause the gradient to change rapidly. The most important feature is that the gradient never reaches zero, meaning the slope is always present unle

Graph type: hyperbolic

One free problem

Practice Problem

A line passes through the points (2, 3) and (6, 11). Calculate the gradient of this line.

Point 1 X2
Point 1 Y3
Point 2 X6
Point 2 Y11

Solve for:

Hint: Subtract the first y-coordinate from the second y-coordinate for the rise, then divide by the run.

The full worked solution stays in the interactive walkthrough.

Where it shows up

Real-World Context

In slope of a hill or ramp, Gradient is used to calculate the m value from Point 2 Y, Point 1 Y, and Point 2 X. The result matters because it helps interpret the local rate of change, direction, or marginal effect in the original situation.

Study smarter

Tips

  • Ensure the order of points is consistent; subtracting in the order (Point 2 - Point 1) for both axes is vital.
  • A gradient of zero indicates a horizontal line, while a vertical line has an undefined gradient.
  • Visually check your result: a positive gradient should move 'up' as you move from left to right.

Avoid these traps

Common Mistakes

  • (x2-x1) on top.
  • Subtracting in wrong order (y2-y1 vs x1-x2).

Common questions

Frequently Asked Questions

The gradient (or slope) measures the steepness of a line. It is calculated by dividing the vertical change by the horizontal change between two points.

Apply this formula whenever you are given the coordinates of two points on a Cartesian plane and need to determine the line's inclination. It is a prerequisite for finding the equation of a line or analyzing the relationship between two linear functions, such as determining if lines are parallel or perpendicular.

This concept is the foundation of differential calculus, where the gradient of a curve at a specific point defines the derivative. In practical applications, it is used by engineers to design safe road inclines and by economists to calculate marginal cost and revenue trends.

(x2-x1) on top. Subtracting in wrong order (y2-y1 vs x1-x2).

In slope of a hill or ramp, Gradient is used to calculate the m value from Point 2 Y, Point 1 Y, and Point 2 X. The result matters because it helps interpret the local rate of change, direction, or marginal effect in the original situation.

Ensure the order of points is consistent; subtracting in the order (Point 2 - Point 1) for both axes is vital. A gradient of zero indicates a horizontal line, while a vertical line has an undefined gradient. Visually check your result: a positive gradient should move 'up' as you move from left to right.

References

Sources

  1. Edexcel GCSE Maths — Algebra (Graphs and Coordinate Geometry)