Resources For Teachers For Tutors For Students & Parents AI New Books Pricing
Year 11 (2026) Maths Standard (2026) Linear Relationships

Direct Variation

20 practice questions 1 video lesson Theory + worked examples
Create a free accountTrack your progress and save your work as you go.
Create free account

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).

Graph of the direct variation y = 1.5xA straight line through the origin. The point (4, 6) lies on it, so k = 6 divided by 4 = 1.5. 1 2 3 4 5 6 1 2 3 4 5 6 7 8 9 0 x y (4, 6) origin (0, 0) y = 1.5x
The graph of \(y=1.5x\) is a straight line through the origin. Any point on it gives \(k\): from \((4,\,6)\), \(k=\dfrac{6}{4}=1.5\).
Direct variation compared with a line that has a flagfallTwo parallel lines. F = 2d passes through the origin and shows direct variation. F = 2d + 3 starts at 3 dollars on the vertical axis, so it is linear but not direct variation. 1 2 3 4 5 6 2 4 6 8 10 12 14 16 0 d (km) F ($) $3 flagfall F = 2d + 3 F = 2d
Both lines are straight, but only \(F=2d\) passes through the origin. \(F=2d+3\) has a \(\$3\) flagfall, so the fare does not vary directly with the distance.

Direct variation:

\[y=kx\]
y=kx

The constant of variation, from any pair of values:

\[k=\dfrac{y}{x}\]
k=yx

Writing the equation from the words:

The question saysEquation
\(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\)
Testing a table. Divide each \(y\) by its \(x\). If \(\dfrac{y}{x}\) is the same for every pair, the table shows direct variation and that value is \(k\). For \(x:\ 2,\ 4,\ 6,\ 8\) and \(y:\ 5,\ 10,\ 15,\ 20\), every ratio is \(2.5\), so \(y=2.5x\). For \(y:\ 7,\ 11,\ 15,\ 19\), \(\dfrac{7}{2}=3.5\) but \(\dfrac{11}{4}=2.75\), so it is not direct variation.
On the calculator. Find \(k\) with \(y\div x\). If \(k\) is a recurring decimal, such as \(7\div 120=0.058\,33\ldots\), keep it as the fraction \(\dfrac{7}{120}\) or use the Ans key. Do not round \(k\) before the last step.
Hours and minutes. To change decimal hours into hours and minutes, multiply the decimal part by \(60\): \(2.4\text{ h}=2\text{ h}+0.4\times 60\text{ min}=2\text{ h }24\text{ min}\).

How to solve a direct variation problem

  1. Write the equation with the letters in the question, such as \(C=km\).
  2. 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.
  3. 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\).
  4. 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

  1. 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}\).
  2. 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.
  3. 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\).
Example 1 — Find k, then y
\(y\) varies directly with \(x\), and \(y=22\) when \(x=8\).
(i) Find the constant of variation \(k\).
(ii) Find \(y\) when \(x=14\).
Solution

(i) Substitute the pair into \(y=kx\) and solve for \(k\).

\(22\)\(=\)\(k\times 8\)
\(k\)\(=\)\(\dfrac{22}{8}\)
\(\)\(=\)\(\mathbf{2.75}\)
22 = k times 8, so k = 22 divided by 8 = 2.75

(ii) Use \(y=2.75x\) with \(x=14\).

\(y\)\(=\)\(2.75\times 14\)
\(\)\(=\)\(\mathbf{38.5}\)
y = 2.75 times 14 = 38.5

\(\therefore\) \(k=2.75\) and \(y=38.5\). Check: \(x\) went up from \(8\) to \(14\), so \(y\) should go up too.

Example 2 — Cost of fabric
The cost of fabric is directly proportional to the length bought. \(3.5\) m of fabric costs \(\$29.75\).
(i) Find the cost of \(6\) m of fabric.
(ii) How many metres can be bought for \(\$68\)?
Solution

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\)
29.75 = k times 3.5, so k = 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\)
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\)
68 = 8.5 L, so L = 68 divided by 8.5 = 8

\(\therefore\) \(\$68\) buys \(\mathbf{8}\) m of fabric.

Example 3 — Reading k from a graph
The graph shows the distance \(d\) km a cyclist travels in \(t\) hours, riding at a steady speed.
Distance travelled by a cyclistA straight line through the origin showing distance d in kilometres against time t in hours. The point (2, 36) is marked on the line. 1 2 3 4 18 36 54 72 0 t (hours) d (km) (2, 36)
(i) Find the value of \(k\) in \(d=kt\).
(ii) How long will the cyclist take to ride \(63\) km? Give your answer in hours and minutes.
Solution

(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}\)
36 = k times 2, so k = 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}\)
63 = 18 t, so t = 63 divided by 18 = 3.5 hours

\(0.5\text{ h}=0.5\times 60=30\) minutes.

\(\therefore\) it takes 3 hours 30 minutes.

Example 4 — Missing values in a table
The table shows some values of \(x\) and \(y\).
\(x\)\(4\)\(10\)\(18\)\(b\)
\(y\)\(3\)\(7.5\)\(a\)\(24\)
(i) Show that \(y\) varies directly with \(x\).
(ii) Find the values of \(a\) and \(b\).
Solution

(i) Divide \(y\) by \(x\) for each complete pair.

\(\dfrac{3}{4}\)\(=\)\(0.75\)
\(\dfrac{7.5}{10}\)\(=\)\(0.75\)
3 divided by 4 = 0.75 and 7.5 divided by 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}\)
a = 0.75 times 18 = 13.5

Substitute \(y=24\) to find \(b\).

\(24\)\(=\)\(0.75b\)
\(b\)\(=\)\(\dfrac{24}{0.75}\)
\(\)\(=\)\(\mathbf{32}\)
24 = 0.75 b, so b = 24 divided by 0.75 = 32

\(\therefore\) \(a=13.5\) and \(b=32\). Check: \(\dfrac{24}{32}=0.75\).

Common pitfalls

A straight line is not enough. Direct variation needs a straight line through the origin. A plumber who charges an \(\$80\) call-out fee plus \(\$90\) per hour has a straight-line graph, but a \(0\)-hour job still costs \(\$80\), so the charge does not vary directly with the time.
Keep \(k\) exact. A car uses \(7\) L of petrol for \(120\) km, so \(k=\dfrac{7}{120}=0.058\,33\ldots\). For \(180\) km, \(\dfrac{7}{120}\times 180=10.5\) L. Rounding \(k\) to \(0.06\) first gives \(10.8\) L, which is wrong.
Divide the right way round. \(k=\dfrac{y}{x}\): the quantity that varies goes on top. "\(P\) varies directly with \(D\)" means \(P=kD\), so \(k=\dfrac{P}{D}\), not \(\dfrac{D}{P}\).
Decimal hours are not minutes. \(3.5\) hours is \(3\) hours \(30\) minutes, not \(3\) hours \(50\) minutes. Multiply the decimal part by \(60\).

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.