Straight-line equations
In a minute
A straight line is fixed by its and one point on it. You'll write lines in three forms, find where they cross the axes, and use gradients to spot parallel and . In a model the gradient is a rate of change; on a road or ramp it measures steepness.
You'll be able to
- Find the of a line from two points, and say what it means in context, with units.
- Write a line in , or form, and convert between them.
- Find where a line crosses the axes, and interpret the gradient and intercepts of a linear model.
- Use for parallel lines and for perpendicular lines.
- Calculate the gradient of a real incline such as a road, ramp or bridge.
Before you start2 quick questions on what this builds on
The gradient of a line
A rainwater tank drains steadily, losing the same volume every minute, so its graph against time is a straight line. That fixed rate of change is the line's , written .
Between any two points on a line, the change in (the rise) divided by the change in (the run) is the same.
This formula is in the formula booklet. Subtract in the same order on the top and the bottom: point 2 minus point 1 both times.
If the line rises from left to right. If it falls. A bigger means a steeper line.
In a model, the gradient is a rate. Its units are the units of per unit of , such as litres per minute or dollars per kilometre.
Try it first, then reveal one step at a time.
- Write each reading as (time, volume): and .
- Rise: litres. Run: minutes.
- (a) litres per minute.
- (b) The tank loses litres of water every minute. The minus sign is the word "loses".
Try it first, then reveal one step at a time.
- Gradient from A and B: .
- C is on the same straight path, so the gradient from B to C is also : .
- Multiply both sides by : , so .
- Check from A to C: . It matches.
A horizontal line has no rise, so and its equation is . A vertical line has no run, so its gradient is undefined. Its equation is , where is the -value every point shares.
Three forms of a line
A line is fixed once you know its and one point on it. Each of the three forms below stores that information in its own way.
All three are in the formula booklet. You need to know what each one shows.
1. , . The gradient is , and the line crosses the -axis at .
2. , . Every term is on one side. Questions often ask for , and to be integers.
3. , . Put in the gradient and any one point on the line. It is the quickest form to write down.
To convert, rearrange. From the general form, make the subject: gives , so .
So for with , the gradient is . If the line is vertical, such as . Of the three forms, only the general form can describe a vertical line.
Try it first, then reveal one step at a time.
- The hourly rate is the gradient, so . The job gives the point on the line.
- (a) .
- (b) Expand the bracket: . Add to both sides: .
- is the cost when : the call-out fee is dollars, paid before any work is done.
Try it first, then reveal one step at a time.
- Gradient first: .
- Use A in point-gradient form: .
- Multiply both sides by to clear the fraction: .
- Move every term to one side: .
- Check with B: . B is on the line too.
Intercepts and linear models
The is where a line meets the -axis, so put . The is where it meets the -axis, so put .
In a model, the is the rate of change. The -intercept is the value when , such as a starting amount or a fixed charge. The -intercept is often when something runs out.
Try it first, then reveal one step at a time.
- (a) -intercept: put . Then , so , the point . The club can hire e-bikes for hours if it hires no standard bikes.
- -intercept: put . Then , so , the point . That is hours of standard bikes and no e-bikes.
- (b) Make the subject: , so and .
- Each extra hour of e-bike hire means fewer hours of standard bike hire.
Try it first, then reveal one step at a time.
- The data give the points and . (a) km per year. Store it; don't round yet.
- The glacier gets about km (about m) shorter each year.
- (b) Substitute : , so The model is .
- (c) 2030 is : km. Use the stored values, not the rounded ones.
- (d) 2150 is , where the model gives km, a negative length. The glacier can't keep shrinking at a steady rate, so the model is not valid that far ahead.
Parallel and perpendicular lines
Parallel lines never meet, so they must climb at the same rate. Two non-vertical lines are parallel when their are equal.
meet at a right angle. Turn a line's rise-and-run triangle through . The rise and the run swap places, and one of them changes sign.
So a perpendicular gradient is the negative reciprocal: flip the fraction and change its sign. becomes , and becomes .
The product rule needs both gradients to exist. A horizontal line () and a vertical line are perpendicular, even though has no reciprocal.
Try it first, then reveal one step at a time.
- Railway gradient: , so and .
- Parallel lines share a gradient, so the road also has .
- Point-gradient form through V: .
- Add : . Check: . The -intercepts differ ( and ), so the road and the railway never meet.
Try it first, then reveal one step at a time.
- Path A has gradient , so path B has gradient . Check: .
- Path B through F: , so .
- Write both lines in the solver's layout: and . Writing these down earns the method marks.
- The calculator gives and Round only at the end.
- Check: , so M is on path B too.
Gradients of real slopes
Engineers describe the steepness of roads, ramps and bridges by their . It is the same idea: vertical rise divided by horizontal distance.
Road signs often give a gradient as a percentage. A gradient rises m for every m across, so .
Ramps are often described as "1 in 12". That means a rise of for every across, so .
Try it first, then reveal one step at a time.
- (a) , which is an gradient.
- (b) 1 in 12 is a gradient of
- , so the ramp is less steep than the limit. It meets the guideline.
Try it first, then reveal one step at a time.
- Rise: m. Use metres throughout: km m.
- The m is along the slope, so it is the hypotenuse, as in the figure. Find the horizontal distance by Pythagoras (prior learning): m.
- Gradient
- So , about a gradient. Dividing by instead would give , which is wrong.
Common mistakes
- Subtracting in a different order on the top and the bottom, such as . That flips the sign of the gradient. Take point 2 minus point 1 in both places.
- Reading the gradient of as . Make the subject first: the gradient is .
- Only flipping, or only changing the sign, for a perpendicular gradient. Do both, then check that the product is .
- Giving an expression such as as the equation, or cutting values short. Write , with values exact or to 3 s.f.
- Interpreting a gradient with no units or context. Say what changes, by how much, per unit: "the tank loses 37.5 litres per minute".
Exam tips
- "Write down the gradient" needs no working when the line is in the form . From the general form, show the rearrangement first.
- If a question asks for the form , point-gradient form alone loses the final mark. Rearrange it.
- When you use your GDC, write down the equations you put into it, then give the coordinates to 3 s.f. Keep stored values; never retype rounded ones.
Key takeaways
Practise this
6 past-paper questions on Linear functions and graphs in the AI HL bank, each with a mark scheme and a worked explanation.