You are packing for a trip to the United States. The weather app says tomorrow will be 77 °F. Shorts, or a jacket?
Most of the world measures temperature in degrees Celsius, but the US uses Fahrenheit. The two scales are linked by a formula:
So 77 °F is… well, what is it? And here is the deeper question: why 1.8, and why 32? Those two numbers are not random. By the end of this lesson you will be able to say exactly what each one means — and you will be able to read any straight-line equation the same way.
In Lessons 2 and 3 you measured the gradient of a line — how steep it is. But a gradient alone doesn’t pin a line down: lots of lines have gradient 2, all parallel, like a stack of identical ramps at different heights. To fix one particular line, we need one more number. Let’s find out which.
Try these first. Nothing is marked: just have a go.
A line has the rule .
Work out when , and again when . By how much does go up?
The line crosses the -axis at one point. What is the -coordinate of that point?
A line has the rule .
Work out when , and again when . By how much does change? (Give a negative number if goes down.)
Now the explorer. The graph below draws the line . You control and with the sliders (or the − / + buttons).
- Set and move only . What happens to the line? What stays fixed?
- Now keep fixed and move only . What changes, and what stays the same?
- Watch the orange slope triangle. Its run is always 1. What is its rise?
- Turn on challenge mode and solve as many as you can. Try to predict and before you touch the sliders.
Start with . If you change from 1 to 4 (and leave ), what happens to the line?
- controls the tilt. Positive : the line goes up from left to right. Negative : it goes down. : flat. The bigger , the steeper the line.
- slides the line up and down without tilting it. Lines with the same and different are parallel.
- The slope triangle with run 1 always has rise : each step of 1 to the right changes by exactly . That is the rate of change from Lesson 1.
- Try-first 1: for , going from to took from to , up : the number multiplying . Try-first 3: for , going from to took from to , down : again the number multiplying , sign included, even though it was written second.
- The line always crosses the -axis at the point . That’s no accident: put into and you get . Try-first 2 did exactly this: on the -axis , so , the number on its own.
- Changing makes the line pivot around the red point — the -intercept stays put.
The gradient–intercept form y = mx + c
Every straight line that is not vertical has an equation that can be written as
- is the gradient: the change in for each increase of 1 in (rise ÷ run). In a real context it is a rate, with units such as “dollars per km”.
- is the -intercept: the value of when . The line crosses the -axis at the point . In a real context it is often a fixed or starting amount.
American books and videos write the same form as and call it slope–intercept form: their is our , and their “slope” is our gradient.
Reading and — the conditions. You can read and straight off the equation only when it says "" with on its own (coefficient 1). The terms can come in either order, and each sign belongs to the number after it:
Why is where the line crosses the -axis? Every point on the -axis has . Put into :
So the line meets the -axis at , whatever is. That was Try-first 2.
Why is the gradient? Compare the -values at any and at the next one, . Multiply out the bracket, , and subtract:
Everything else cancels. So every step of 1 to the right changes by exactly (Try-first 1 and 3), whichever you start from. The same works for any two points with different -values and :
(Multiply out the bracket and you get back , so writing it as is right. Dividing both sides by , which is not , gives .)
Every pair of points gives the same gradient . A constant gradient is exactly what makes the graph a straight line.
The letters are only a name. Calling the gradient and the intercept is a convention (an agreement), which is why American books can use instead. The reasons above work whatever the letters are.
Points on a line, and special lines
Points on a line. A point lies on the line exactly when its coordinates make the equation true: .
Is on ? Substitute : . Since , no — the point is 1 unit below the line.
Finding coordinates. Given , substitute and calculate . Given , substitute and solve for .
Special lines.
| equation | what it looks like | ||
|---|---|---|---|
| , e.g. | horizontal | ||
| , e.g. | through the origin (proportional) | ||
| , e.g. | vertical | undefined | none — it never meets the -axis (unless , when it is the -axis) |
Vertical lines are the only lines that can’t be written as : the run is 0, and you can’t divide by 0.
Why does substituting test a point? The graph of is the picture of every pair that makes the equation true: that is what “the graph of an equation” means. So a point is on the line exactly when its coordinates pass the test. A drawing can only show “close”; the equation is exact.
Why can’t a vertical line be written as ? In each value of gives exactly one value of . The vertical line contains , , and many more: one with many -values. No choice of and can do that.
Get on its own first. In the gradient is not 4. Divide every term by 2:
so and . Two more traps:
- is where the line crosses the -axis, not the -axis. ( crosses the -axis at .)
- Keep the sign with its number: has , not 7.
Plot three points, not two. When you draw a line from its equation, work out three points. Two points always fit some straight line, so a slip in one of them stays hidden. With three, a slip shows up at once: the points don’t line up. Then check your arithmetic. The equation is not to blame: every is a straight line.
The burning candle
A candle is 24 cm tall when it is lit, and it burns down 1.5 cm every hour. (Illustrative numbers — real candles vary.) Let be the height in cm and the time in hours since it was lit.
Step 1 — Identify m and c, with units
The starting height is the value when , so cm. The height falls by 1.5 cm each hour, so the rate of change is cm per hour. Negative, because the candle gets shorter.
Step 2 — Write the equation
Step 3 — Find the output: how tall after 6 hours?
Substitute :
Step 4 — Find the input: when is it 3 cm tall?
The safety label says: do not burn below 3 cm. Substitute and solve:
Step 5 — Is the answer sensible?
Check by substituting back: ✓.
Check against reality: 14 hours is a believable burn time for a tall candle, and 3 cm is less than 15 cm (the height at 6 h), as it should be — the candle keeps shrinking.
Check the limits: the model says at , and at it gives cm — a candle can’t have negative height! So this equation only makes sense for . A good model comes with its “valid from … to …” label.
What is the -intercept of the line ?
Does the point lie on the line ?
Still stuck after the example? Hearing it from another teacher often helps. This video was checked against this lesson. Try the questions again afterwards.
Equation of a line - Corbettmaths · corbettmaths · about 3 min
What the two numbers in y = mx + c tell you: the gradient (how much the line goes up for each 1 across) and where it crosses the y-axis, including negative values and lines through the origin.
A popular shortcut for converting Celsius to Fahrenheit is “double it and add 30”. Write the shortcut as . How do its gradient and its intercept compare with the exact formula ? Is the shortcut ever exactly right? (Hint: try a few temperatures — or think about where the two lines cross. We’ll meet crossing lines properly in Lesson 6.)
Back to the Hook. In :
- The intercept is 32: when it is 0 °C (water freezes), it is 32 °F. The two scales simply put their zero in different places.
- The gradient is 1.8: water boils at 100 °C, which is 212 °F (at sea-level pressure). So 100 Celsius degrees span Fahrenheit degrees, and °F per °C. A Fahrenheit degree is a smaller step.
- And 77 °F? Solve : , so . Shorts weather.
What is the gradient of the line ?
What will the taxi cost?
A ride-hailing app in a city shows this fare rule (illustrative prices):
Base fare $3.50, then $1.80 per km.
You and your friends are planning trips around the city. Let be the distance in km and the fare in dollars. Answer the questions in order — and keep asking whether the answers make sense for a real taxi.
Write an equation for the fare dollars for a trip of km. (Use the letters and .)
How much does a 12.5 km trip from the train station to the stadium cost?
You have exactly $20 for a taxi. What is the furthest whole number of kilometres you can travel?
The model predicts that a 0 km trip costs $3.50 and that a 200 km trip to another city costs $363.50.
Is this straight-line model reasonable for every trip? Describe at least two ways real taxi fares might differ from the model, and say for which trips you would trust it.
📓 Work it out in your notebook first — sketch, calculate, then write your answer here in full sentences. A model answer appears after you submit, so you can compare.
The pattern total = rate × amount + fixed part turns up everywhere:
- Science: a spring stretched by a hanging mass (within its elastic limit) has length , where is its natural length — that’s with .
- Business: total cost = cost per item × number of items + fixed costs (rent, machines).
- Temperature: , as you’ve seen.
Next lesson we’ll look at the same relationship four ways — words, table, graph and equation — and learn to write from any of them.
Explain to a friend who missed today what and tell you about a line. Use one real example with units.
Which mistake are you most likely to make — reading from without dividing, mixing up the signs, or swapping and ? What will you do to catch it?
- Introduction to Algebra (Art of Problem Solving) — Chapter 8, section 8.5 — slope-intercept form (our gradient–intercept form $y = mx + c$)
The book goes deeper and its problems are harder. Read it after this lesson, with a pencil in your hand.