Four friends each describe Linβs savings plan β but one of them has got it wrong. Which one is the impostor? Decide before reading on, and be ready to say how you checked.
A β Words. βLin starts with $20 in her money box and adds $5 every week.β
B β Table.
| weeks | 0 | 2 | 4 | 6 |
|---|---|---|---|---|
| savings ($) | 20 | 30 | 40 | 50 |
C β Graph.
D β Equation. , where is Linβs savings in dollars and is the number of weeks.
Words, table, graph and equation are four different languages for the same idea. Being fluent in all four β and able to translate between them β is what lets you spot the impostor in a second.
Try these first. Nothing is marked: just have a go.
A straight line has gradient and passes through the point .
Where does it cross the -axis? Give the -coordinate.
A kayak-hire shop charges a fixed fee plus a price for each hour. Hiring a kayak for 2 hours costs $34. Hiring one for 5 hours costs $64. (Made-up prices.)
What is the price for each hour, in dollars?
Now the explorer: drag the two points. The line through them is shown four ways at once.
- Start with and . In the table, how much does change for each step of 1 in ? Where do you see that number in the equation and in the graph?
- Drag so the line goes down. What changes in each of the four views?
- Make a fraction gradient, for example and . How do the table and the words show it?
- Make the line vertical. Which views break, and why?
- Switch the context to Savings or Water tank. Can you make a line where the story stops making sense?
The line goes through and . In a table with , how much does go up from one column to the next?
- The same two numbers turn up in every view. The gradient is the rise Γ· run on the graph, the constant step in the table (when goes up in 1s), and the βfor every β¦β in the words. The intercept is where the graph crosses the -axis, the table entry under , and the βstarts at β¦β in the words.
- A fraction gradient such as shows up in the table as fractions β but jump 3 columns and rises by exactly 2.
- A vertical line still has a graph and an equation, , but no table of -values (there isnβt a single for each ), and it canβt be written as .
- In a context, some parts of the line are nonsense β like negative litres in a tank. The equation doesnβt know that; you have to.
- Try-first 1. The line has gradient 2 and passes through . Walk back from to : 3 steps of 1, each taking down 2, so there. The line is . A point and a gradient were enough to fix the whole line.
- Try-first 2. The 5-hour hire costs dollars more than the 2-hour hire, for 3 extra hours: $10 per hour. That is the gradient, found from two points. Then the fixed fee is what is left of the 2-hour price: dollars. You will see the same two moves in the plumber example below.
Four representations β and how to get the equation from each
| representation | shows best | watch out for |
|---|---|---|
| Words | the meaning, with units | vague language (βgoes up a bitβ) |
| Table | exact values; the constant step | steps in that arenβt 1; no column |
| Graph | the overall trend at a glance; comparing lines | reading values only roughly; axis scales |
| Equation | compact; any value exactly, forwards or backwards | needs interpreting to mean anything |
Writing . Every method has the same three moves: find , find , check with a point you didnβt use.
- From a graph: read where the line crosses the -axis. Pick two points where the line passes exactly through grid corners; .
- From the gradient and one point : substitute into and solve for .
- From two points: , then use either point as above.
- From a table: between any two columns; is the value of at (work backwards if that column is missing).
- From words: first define the variables with units (βLet be the cost in dollars and the number of monthsβ). The rate becomes the gradient, and the starting or fixed amount becomes the intercept.
If two points have the same -coordinate, the line is vertical and its equation is .
Why does substituting a point find ? A point lies on a line exactly when its coordinates make the equation true (Lesson 4). So if is on , then must be true. That is an equation with only unknown.
Nothing new to memorise: use the meaning of gradient. A line has gradient and passes through . Pick any other point on the line. The gradient from to must be , as it is between any two points of the line:
Multiply both sides by , then multiply out the bracket:
That is Try-first 1 again. Because stood for any point of the line, the equation holds for all of them at once. (The point fits too: both sides of are 0 there.) Some books stop at and call it pointβgradient form (American English: pointβslope form). It is not a new rule: it is the meaning of gradient, written with a general point.
Why can you work back to in a table? In a linear relationship changes by the same amount for every step of 1 in . So stepping backwards changes by that same amount each step, all the way to .
is the value of when β not simply the first number in a table.
| 1 | 3 | 5 | 7 | |
|---|---|---|---|---|
| 5 | 11 | 17 |
Here rises by 6 for each step of 2 in , so (not 6). The table doesnβt start at , so go back one unit from : . The equation is β not . And gradient is always rise over run: change in on top.
What does the plumber charge?
A plumber charges a fixed call-out fee plus an hourly rate. A 2-hour job costs $155 and a 5-hour job costs $245. (Illustrative prices.) Find an equation for the cost.
Step 1 β Define the variables, with units
Let be the length of the job in hours and the cost in dollars. The two jobs give the points and .
Step 2 β Find the gradient (the hourly rate)
Step 3 β Find the intercept (the call-out fee)
Call the intercept here, because is already the cost. Substitute the point into :
Step 4 β Write the equation and check with the other point
Check with : β
Step 5 β Is the answer sensible? See it in all four views
- Words: β$95 just to turn up, plus $30 for every hour.β A positive rate (longer jobs cost more) and a call-out fee bigger than one hourβs work are both believable for a plumber.
- Table: . It matches the 2-hour price β
- Graph: a line starting at and rising 30 for each hour.
- Limits: canβt be negative, and a β0-hour jobβ just means the call-out fee. Many plumbers also charge in half-hour blocks, so the real graph might be a staircase close to this line.
Back to the Hook. From the words, the rate is $5 per week and the start is $20, so . The table agrees ( every 2 weeks is 5 per week, and 20 at week 0), and so does the graph (rise 20 over run 4 from to gives 5). Equation D, , swaps and : it predicts $45 after 2 weeks, not $30. D is the impostor.
Write the equation of the line shown. The two marked points are and .
| 0 | 1 | 2 | 3 | |
|---|---|---|---|---|
| 7 | 4 | 1 |
Write the equation connecting and .
Still stuck after the example? Hearing it from another teacher often helps. These videos were checked against this lesson. Try the questions again afterwards.
Linear Function As a Table, Graph, and Equation (Cell Phone Plan) Β· Mathispower4u Β· about 10 min
One phone plan told in words is turned step by step into a table, a graph and an equation, and the equation is then checked with a value from the table.
Same idea, different words: The teacher writes , where is the cost in dollars and is the number of minutes. Here is not the gradient: the gradient is .
Finding the equation of a line passing through two coordinates - Corbettmaths Β· corbettmaths Β· about 4 min
How to write the equation of a straight line when you only know two points on it: find the gradient first, then put one point in to find where it crosses the y-axis.
A table shows the points , , and . Can you be completely sure the relationship is linear β even at ? What could the words (the context) tell you that the table canβt? Which representation would you send to a friend to convince them, and which to a computer?
Write the equation of the line shown. The marked points are and .
How cold is it up the mountain?
In the lowest layer of the atmosphere (the troposphere), the air gets colder as you climb. On average the temperature falls by about 6.5 Β°C for every 1 km of height. This average is used in the International Standard Atmosphere β on a real day the rate varies with the weather and the humidity.
It is a hot day at the beach (sea level): 31 Β°C. Let be the height above sea level in km and the air temperature in Β°C. Answer the questions in order, and keep asking whether the model still makes sense.
Write an equation for the temperature (Β°C) at a height of km above sea level. (Use the letters and .)
A mountain village is 2.4 km above sea level. Use your model to predict the temperature there at the same moment.
According to the model, at what height does the air reach the freezing point, 0 Β°C? Give your answer in km to 1 decimal place.
Weather balloons can rise to about 30 km. A classmate uses the model: "At 30 km, Β°C."
Do you trust this prediction? Explain what limits the model, and over what range of heights you would use 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.
- Spreadsheets are tables; a formula like
=95+30*A2is the equation; a chart is the graph. - Coding:
cost = 30 * hours + 95is written for a computer. - Science: when you collect lab data, you start with a table, plot a graph, find a lineβs equation β and finish by explaining it in words in your conclusion.
Next lesson, we will put two linear models side by side β two phone plans, two taxi companies β and use all four representations to decide which is the better deal, and when.
Which of the four representations do you find easiest to understand, and which is hardest to write? Why?
Describe the three moves for writing (find , find , check). Which check would have caught the impostor in the Hook fastest?
- Introduction to Algebra (Art of Problem Solving) β Chapter 8, section 8.4 β finding the equation of a line
The book goes deeper and its problems are harder. Read it after this lesson, with a pencil in your hand.