Relationship between two variables: tables and graphs
Machine translation
Learn
Many quantities change, and one depends on another. A quantity that changes is called a variable. Ellie sells loaves at £2 each. The number of loaves and the price are two variables.
If you change the loaves, the price changes. The loaves are the independent variable: you choose it. The price is the dependent variable: it depends on the loaves. They are called x and y: the independent variable is x and the dependent variable is y.
Loaves (x) 1 2 3 4 Pounds (y) 2 4 6 8 Table of values: x on top and y underneath Each column in the table is a pair. 3 loaves cost £6, and we write it as (3, 6), with x first. On the graph, x goes on the horizontal axis and y on the vertical axis. The pair (3, 6) is the point that is 3 to the right and 6 up.
Points A, B, C and D are the four columns of the table Loaves are not split, so there is nothing between one point and the next. The points stay separate. Gus walks 2 km every hour and, in half an hour, he has already walked 1 km. Between one point and another there are values, so the points are joined with a line.
Gus's km against hours: the points are joined To read a graph, find the value on one axis, go to the point and look at the other axis. That way you can find the y for an x, and the x for a y. Before you read, look at what each square is worth: it might be worth 1, 2 or 5. Read the numbers on the axis. To find out how much a quantity has changed, read the two y-values and subtract them.
Also look at how the bottom row changes. With loaves, each extra loaf is £2 more. And look at the value it starts at: if Tony has £10 and saves £5 each week, at 0 weeks he already has £10.
Weeks 0 1 2 3 Pounds 10 15 20 25 Tony starts with £10 and adds £5 each week
Worked examples
Example 1
Vera puts the same number of biscuits on each plate for Crumb. Look at the table. Which is the independent variable? Which point is the one for 3 plates?
| Plates | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| Biscuits | 3 | 6 | 9 | 12 |
- Vera chooses how many plates she puts out: the plates are the independent variable, x.
- The biscuits depend on the plates: they are the dependent variable, y.
- In the column for 3 plates there are 9 biscuits: the point is (3, 9).
The independent variable is the plates, and the point for 3 plates is (3, 9).
Watch out! Here many people write (9, 3): they put y first, and the point ends up in a different place.
Example 2
Julie measures her plant every week and draws the graph. How tall is it at 3 weeks? When is it 8 cm tall?
- The weeks go on the horizontal axis. Find 3, go up to the point and look at the vertical axis: 6 cm.
- For 8 cm, start on the vertical axis: find 8, go right to the point and down to the horizontal axis: 4 weeks.
At 3 weeks it is 6 cm tall, and it is 8 cm tall at 4 weeks.
Watch out! Here many people answer 3 to the first one: they give the x instead of the y.
Example 3
Mara sells theatre tickets at £3 each. Can points A, B and C be joined with a line?
- Between 2 and 3 tickets there is no ticket: nobody buys 2.5 tickets.
- There are no values between one point and the next: the points stay separate.
No: the points are not joined.
Watch out! Here many people join the points with a line, and then it looks as if you can pay for 2.5 tickets.
A challenge to think about
Think of two things in your home or your neighbourhood where one depends on the other, for example the litres in a bucket and the minutes the tap has been running. Make a table with four values, plot the points on a grid and decide whether they can be joined with a line. Explain which is the independent variable.
Practise
Rounds of 10 questions. Choose a level:
Your grade in this topic:No grade yetDo a round at the Basic level to get a grade.