Equations of linear graphs
In a minute
Every straight line except a vertical one has an equation . Here is the and is the , where the line crosses the -axis. You'll read and from an equation and find the from its graph.
You'll be able to
- Write down the gradient and of a line from its equation .
- Find where a line crosses the -axis and the -axis.
- Find the equation of a line from its graph, including horizontal and vertical lines.
- Say what and mean on a real-life graph.
- Find the equation of the line through two points.
- Read and give equations in other forms, such as .
Before you start2 quick questions on what this builds on
Revise first: 2.5 Equations and 3.3 Gradient of linear graphs
Gradient and y-intercept from an equation
Look at the line . When , . Each time goes up by , goes up by .
So the line crosses the -axis at , and its is . Both numbers are in the equation.
Here is the gradient and is the . Keep the sign with each number: has .
Try it first, then reveal one step at a time.
- Match with .
- The number in front of is , so .
- The number on its own is , so . Keep the minus sign.
With no number in front of , the gradient is : has , and has . With no number on its own, : passes through the .
Every point on the -axis has . So to find where a line crosses the -axis, put and solve for . (A horizontal line such as never crosses it.)
Try it first, then reveal one step at a time.
- On the -axis, . Substitute: .
- Add to both sides: .
- Divide both sides by : .
- Write the point with first: .
- Check: .
Finding the equation from a graph
To find the drawn on a grid, find and . Then put them into .
1. Read : the -value where the line crosses the -axis, where .
2. Find : draw a triangle under the line and divide the change in by the change in (3.3).
3. Write with your numbers, in its simplest form.
Try it first, then reveal one step at a time.
- Line crosses the -axis at , so .
- From the grid corner to , the line goes across and up . So .
- The equation is .
- Check with : .
A horizontal line has gradient , and every point on it has the same -coordinate. Its equation is for a number , such as .
Every point on a vertical line has the same -coordinate, so its equation is . It has no gradient, so it can't be written as .
On a real-life graph, other letters replace and , and the axes often have different scales. Read and both changes from the axis numbers, not by counting squares.
Then is the value when the quantity across is , usually the starting value, and is the .
Try it first, then reveal one step at a time.
- The line crosses the cost axis at , so .
- Use the marked points and . Across: months. Up: dollars.
- .
- So . Joining costs dollars, and each month adds dollars.
The line through two points Extended only
Often you know two points on a line, but neither is on the -axis. Find from the two points. Then substitute one point into and solve for .
Try it first, then reveal one step at a time.
- Gradient: .
- So . Substitute the point : .
- Subtract from both sides: .
- Check with : .
Try it first, then reveal one step at a time.
- Put negative coordinates in brackets: .
- Substitute into : , so .
- So and the equation is .
- Check with : .
Equations in other forms Extended only
Lines are not always written as . You might see or . Rearrange so the equation starts before you read and (2.5).
Try it first, then reveal one step at a time.
- Make the subject. Subtract from both sides: .
- Divide every term by : .
- Match with : and .
A question may ask for the form , where , and are integers. This is not the -intercept. Clear any fractions, then collect and on one side.
Try it first, then reveal one step at a time.
- Multiply every term by to clear the fraction: .
- Move to the right and to the left: , so .
Common mistakes
- Writing coordinates the wrong way round. The -axis point is ; an -axis point ends in .
- Counting squares when the axes have different scales. Use the axis numbers.
- Dividing across by up. Gradient is up divided by across.
- Dropping a minus sign, in for a downhill line or in for .
- Writing for . Bracket negative coordinates before subtracting.
Exam tips
- “Find the equation of the line”: give a full equation such as , not just and . Give it in its simplest form.
- Write the gradient as a fraction, such as , and write down . Each can earn a mark even if the final equation slips.
Key takeaways
Practise this
34 past-paper questions on 3.5 in the 0580 Extended bank, each with a mark scheme and a worked explanation.