When you walk up a steady hill, the steepness remains exactly the same with every step you take. In coordinate geometry, this constant steepness is the defining feature of a linear equation.
The standard way to represent these straight lines in OCR exams is the equation:
In this formula, represents the gradient (how steep the line is), and represents the y-intercept (the exact point where the line crosses the vertical -axis). You can also think of the -intercept as the value of whenever the -coordinate is exactly .
If you already know the gradient and one point on the line, you can find the full equation using substitution. You simply replace with the gradient, and and with the coordinates of your given point, which leaves only to be calculated.
Find the equation of the line with a gradient of that passes through the point .
Step 1: Write the general equation and substitute the known values (, , ).
Step 2: Multiply the gradient by the -coordinate.
Step 3: Rearrange the equation to solve for .
Step 4: Write the final equation by plugging and back into the general formula.
Often, you will only be given two points on a line. Before you can find the -intercept, you must first calculate the gradient using the rise (change in vertical distance) divided by the run (change in horizontal distance).
The formula to find the gradient between two points and is:
Once you have calculated , you can choose either of the two original points and repeat the substitution method from Method 1 to find .
Find the equation of the line passing through the points and .
Step 1: Label your coordinates and calculate the gradient ().
Step 2: Choose one point (e.g., ) and substitute and into .
Step 3: Solve for the -intercept ().
Step 4: State the final equation.
Not all lines fit perfectly into the standard format. A horizontal line has a gradient of , so its equation simplifies down to .
Conversely, a vertical line does not cross the -axis (unless it is the axis itself) and has an undefined gradient. Because its -value never changes, a vertical line cannot be written in form and is simply written as (where is the -intercept).
Students frequently lose the final accuracy mark in OCR exams by simply writing the expression (e.g., ) instead of stating the full equation ().
When using the gradient formula with negative coordinates, always wrap the negative numbers in brackets (e.g., ) to avoid the classic error of dropping a negative sign.
The command word "Calculate" means you must clearly show your substitution into to secure method marks, even if you can spot the y-intercept mentally.
If an OCR question specifically asks for the equation in the form , you must rearrange your final equation to make it equal zero and ensure all numbers are integers (no fractions).
Coordinate geometry
The study of geometry using a coordinate system, allowing shapes and lines to be described algebraically.
Linear equation
An algebraic representation of a straight line where variables ( and ) are raised to a power no higher than 1.
Gradient
A measure of the steepness of a line, calculated as the change in the -coordinate for every unit increase in the -coordinate.
y-intercept
The -coordinate of the exact point where a line intersects the vertical -axis, occurring when .
Rise
The vertical change or difference between two points on a graph.
Run
The horizontal change or difference between two points on a graph.
Put your knowledge into practice — try past paper questions for Mathematics
Coordinate geometry
The study of geometry using a coordinate system, allowing shapes and lines to be described algebraically.
Linear equation
An algebraic representation of a straight line where variables ( and ) are raised to a power no higher than 1.
Gradient
A measure of the steepness of a line, calculated as the change in the -coordinate for every unit increase in the -coordinate.
y-intercept
The -coordinate of the exact point where a line intersects the vertical -axis, occurring when .
Rise
The vertical change or difference between two points on a graph.
Run
The horizontal change or difference between two points on a graph.