Direct Variation
Every question with a fully worked solution.
- Direct Variation - Video - Direct Variation Watch
Theory
Direct variation means one quantity is always the same multiple of another: \(y=kx\). This Year 11 Standard maths page shows how to find the constant of variation \(k\) from one pair of values, use it to find a missing value, recognise direct variation in an equation, a table or a graph through the origin, and solve everyday problems with costs, rates and speeds.
Two quantities are in direct variation when one is always the same multiple of the other. You will see it written as "\(y\) varies directly with \(x\)" or "\(y\) is directly proportional to \(x\)". If \(x\) doubles, \(y\) doubles. If \(x\) is halved, \(y\) is halved. When \(x=0\), \(y=0\).
The rule is \(y=kx\). The fixed number \(k\) is the constant of variation. In everyday problems \(k\) is a rate: the cost per kilogram, the litres of petrol per kilometre, the pay per hour or the euros you get for each Australian dollar.
Problems use their own letters. "The pay \(P\) varies directly with the hours worked \(h\)" gives \(P=kh\). The quantity that varies goes on the left, and the quantity it varies with is multiplied by \(k\).
The graph of \(y=kx\) is a straight line through the origin \((0,\,0)\), and \(k\) is its gradient. A straight line that does not pass through the origin is linear, but it is not direct variation. A taxi fare with a flagfall is an example: a trip of \(0\) km still costs money.
Other rules are not direct variation either: \(y=kx+5\) misses the origin, \(y=kx^2\) is a parabola, and \(y=\dfrac{k}{x}\) is inverse variation (as \(x\) gets bigger, \(y\) gets smaller).
Direct variation:
The constant of variation, from any pair of values:
Writing the equation from the words:
| The question says | Equation |
|---|---|
| \(y\) varies directly with \(x\) | \(y=kx\) |
| The pay \(P\) varies directly with the hours worked \(h\) | \(P=kh\) |
| The distance \(d\) is directly proportional to the time \(t\) | \(d=kt\) |
| The mass \(M\) of sand is directly proportional to its volume \(V\) | \(M=kV\) |
How to solve a direct variation problem
- Write the equation with the letters in the question, such as \(C=km\).
- Substitute the pair of values you are given and solve for \(k\). This is the same as \(k=\dfrac{y}{x}\). Keep the exact value.
- Use \(k\) to answer the question. If you know \(x\), multiply: \(y=k\times x\). If you know \(y\), substitute it and divide by \(k\) to find \(x\).
- Answer with a \(\therefore\) statement, the units, and the rounding asked for (money to the nearest cent).
Finding \(k\) from a graph or a table
- Graph: check that the line passes through the origin. Pick a point on the line that sits exactly on the grid, or a labelled point \((x,\,y)\), and use \(k=\dfrac{y}{x}\).
- Table: check that \(\dfrac{y}{x}\) is the same for every complete pair. Use one pair to find \(k\), then use \(y=kx\) to fill in the gaps.
- Not direct variation: a straight line that starts above \(0\), such as a fare with a flagfall or a bill with a fixed fee, has the form \(y=mx+c\) with \(c\ne 0\).
(i) Find the constant of variation \(k\).
(ii) Find \(y\) when \(x=14\).
(i) Substitute the pair into \(y=kx\) and solve for \(k\).
| \(22\) | \(=\) | \(k\times 8\) |
| \(k\) | \(=\) | \(\dfrac{22}{8}\) |
| \(\) | \(=\) | \(\mathbf{2.75}\) |
(ii) Use \(y=2.75x\) with \(x=14\).
| \(y\) | \(=\) | \(2.75\times 14\) |
| \(\) | \(=\) | \(\mathbf{38.5}\) |
\(\therefore\) \(k=2.75\) and \(y=38.5\). Check: \(x\) went up from \(8\) to \(14\), so \(y\) should go up too.
(i) Find the cost of \(6\) m of fabric.
(ii) How many metres can be bought for \(\$68\)?
Find \(k\) in \(C=kL\), where \(C\) is the cost in dollars and \(L\) the length in metres.
| \(29.75\) | \(=\) | \(k\times 3.5\) |
| \(k\) | \(=\) | \(\dfrac{29.75}{3.5}\) |
| \(\) | \(=\) | \(8.5\) |
So the fabric costs \(\$8.50\) per metre. On the calculator: \(29.75\div 3.5=8.5\).
(i)
| \(C\) | \(=\) | \(8.5\times 6\) |
| \(\) | \(=\) | \(51\) |
\(\therefore\) \(6\) m costs \(\mathbf{\$51.00}\).
(ii) Substitute \(C=68\) and solve for \(L\).
| \(68\) | \(=\) | \(8.5L\) |
| \(L\) | \(=\) | \(\dfrac{68}{8.5}\) |
| \(\) | \(=\) | \(8\) |
\(\therefore\) \(\$68\) buys \(\mathbf{8}\) m of fabric.
(ii) How long will the cyclist take to ride \(63\) km? Give your answer in hours and minutes.
(i) The line passes through the origin, so this is direct variation. Use the point \((2,\,36)\) in \(d=kt\).
| \(36\) | \(=\) | \(k\times 2\) |
| \(k\) | \(=\) | \(\mathbf{18}\) |
The cyclist rides \(18\) km each hour, so \(k\) is the speed.
(ii) Substitute \(d=63\) and solve for \(t\).
| \(63\) | \(=\) | \(18t\) |
| \(t\) | \(=\) | \(\dfrac{63}{18}\) |
| \(\) | \(=\) | \(3.5\text{ h}\) |
\(0.5\text{ h}=0.5\times 60=30\) minutes.
\(\therefore\) it takes 3 hours 30 minutes.
| \(x\) | \(4\) | \(10\) | \(18\) | \(b\) |
| \(y\) | \(3\) | \(7.5\) | \(a\) | \(24\) |
(ii) Find the values of \(a\) and \(b\).
(i) Divide \(y\) by \(x\) for each complete pair.
| \(\dfrac{3}{4}\) | \(=\) | \(0.75\) |
| \(\dfrac{7.5}{10}\) | \(=\) | \(0.75\) |
The ratio is the same, so \(y\) varies directly with \(x\), with \(k=0.75\), so \(y=0.75x\).
(ii) Substitute \(x=18\) to find \(a\).
| \(a\) | \(=\) | \(0.75\times 18\) |
| \(\) | \(=\) | \(\mathbf{13.5}\) |
Substitute \(y=24\) to find \(b\).
| \(24\) | \(=\) | \(0.75b\) |
| \(b\) | \(=\) | \(\dfrac{24}{0.75}\) |
| \(\) | \(=\) | \(\mathbf{32}\) |
\(\therefore\) \(a=13.5\) and \(b=32\). Check: \(\dfrac{24}{32}=0.75\).
Common pitfalls
Frequently asked questions
What does it mean when y varies directly with x?
It means \(y\) is always the same multiple of \(x\), so \(y=kx\) for a fixed number \(k\). If \(x\) doubles, \(y\) doubles, and when \(x=0\), \(y=0\).
How do you find the constant of variation k?
Substitute a known pair of values into \(y=kx\) and solve for \(k\), which is the same as \(k=y\div x\). If \(y=22\) when \(x=8\), then \(k=22\div 8=2.75\).
Is every straight-line graph direct variation?
No. Only a straight line that passes through the origin \((0,\,0)\) shows direct variation. A line with a starting value, such as a taxi fare with a flagfall, is linear but it is not direct variation.
How can you tell if a table shows direct variation?
Divide each \(y\)-value by its \(x\)-value. If the answer is the same for every pair, the table shows direct variation and that answer is \(k\). If even one pair gives a different answer, it is not direct variation.
What is the difference between direct variation and inverse variation?
In direct variation, \(y=kx\): as \(x\) increases, \(y\) increases at the same rate. In inverse variation, \(y=\dfrac{k}{x}\): as \(x\) increases, \(y\) decreases.