Algebra · Lesson 13 of 16
Linear Equations
A linear equation draws a straight line. Its gradient says how steep; its intercept says where it crosses the y-axis.
- Secondary
- Updated
What you will learn
- Read gradient and intercept from y = mx + c.
- Draw a straight line from an equation.
- Find a line through two points and solve simultaneous equations.
Before you start: you should know coordinates and how to rearrange formulas. See Coordinates in Four Quadrants.
The idea
An equation is linear when the variables appear only to the first power: no , no , no . Plot all the points that satisfy a linear equation in two variables and you always get a straight line, which is where the name comes from.
Gradient and intercept
Every non-vertical straight line can be written as
- is the gradient (slope): how much goes up for each step of to the right. A positive gradient rises, a negative gradient falls, and a gradient of is flat.
- is the y-intercept: where the line crosses the -axis, because when , .
The line starts at on the -axis and climbs units for every unit across.
Gradient as “rise over run”
Between any two points on a line, the gradient is the change in divided by the change in . It doesn’t matter which two points you pick. That constant rate of change is what makes the line straight.
Worked examples
Example 1: Line through two points
Find the equation of the line through and .
- Gradient: .
- So . Substitute the point : .
- Solve: .
- Check with the other point: . ✓
Answer:
Example 2: Simultaneous equations
Solve and together.
- Both equations describe lines. The solution is the point where they cross.
- Substitute the first into the second: .
- Simplify and solve: , so and .
- Find : .
- Check in the second equation: . ✓
Answer: , . The lines meet at .
Example 3: Reading a real graph
A plumber charges a £40 call-out fee plus £30 per hour. Write the cost for hours as a linear equation.
- The fixed amount is the intercept: .
- The rate per hour is the gradient: .
Answer: . A 2.5-hour job costs .
Vertical lines like have an undefined gradient and cannot be written as .
Why it matters
Any situation with a fixed starting amount and a constant rate is linear: taxi fares, mobile tariffs, a car travelling at steady speed, converting Celsius to Fahrenheit (). Businesses use simultaneous linear equations to find break-even points, and scientists draw lines of best fit through data to spot trends.
Linear equations are also the first example of a function, and the gradient is the first step towards the derivative in calculus.
Practice
Your turn. Type or choose an answer, then press Check. Getting one wrong is fine, that is what practice is for. You can try as many times as you like.