Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 10 Maths Advanced Non-Linear Relationships, Functions and Graphs

Direct Variation

20 practice questions 1 video lesson Theory + worked examples

Two quantities vary directly when one is a constant multiple of the other, written \(y\propto x\) or \(y=kx\) for a constant \(k\). The graph is a straight line through the origin with gradient \(k\). In NSW Year 10 Advanced maths you find \(k\), use it to solve problems and recognise direct variation from tables and graphs (NESA outcome MA5‑RAT‑P‑01).

You will find the constant of variation from one pair of values and use it to find others, as for a falling object's speed or a file's download time. Problems include an exchange rate, pay, a water bill, two data plans, a map scale, carpet costs and an electric car's energy use. Harder questions use two unknown points. It is part of Year 10 Advanced Non Linear Relationships Functions and Graphs.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

When \(y\) varies directly with \(x\), \(y = kx\) for a fixed number \(k\), the constant of variation. Find \(k\) from one known pair, then use the equation in either direction. This Year 10 Advanced maths page covers testing tables, graphs through the origin, conversion graphs and multi-step problems.

\(y\) varies directly with \(x\) (or \(y\) is directly proportional to \(x\)) if \(y = kx\) for a constant \(k\). It is written \(y \propto x\). The number \(k\) is the constant of variation.

In direct variation the ratio \(\dfrac{y}{x}\) never changes. If \(x\) is doubled, \(y\) is doubled; if \(x\) is multiplied by \(5\), so is \(y\); and \(x = 0\) gives \(y = 0\).

In real problems \(k\) is a rate with units, such as dollars per litre, km per hour or kJ per gram. Say what it means in words.

The graph of \(y = kx\) is a straight line through the origin with gradient \(k\). A straight line that does not pass through the origin shows a linear relationship, but not direct variation.

Direct variation is used in rates, similar figures and physics formulas in Years 11 and 12.

Direct variation graphsThree straight lines through the origin: y = 2x, y = x and y = 0.5x. A red step under y = 2x shows a run of 1 and a rise of 2, so the gradient is 2, the constant of variation. x y 2 4 6 2 4 6 O 1 2 y = 2x y = x y = 0.5x
The graph of \(y = kx\) is a straight line through the origin. Its gradient is the constant of variation \(k\).
Straight is not enoughTwo parallel lines. y = 2x passes through the origin and shows direct variation. y = 2x + 3 starts at 3 on the y-axis, so it is linear but not direct variation. x y 1 2 3 4 5 3 6 9 12 O y = 2x + 3 y = 2x
Both lines are straight, but only \(y = 2x\) passes through \((0, 0)\). The red line starts at \(3\): it is linear, not direct variation: doubling \(x\) does not double \(y\).
\[y = kx \qquad k = \dfrac{y}{x} \qquad x = \dfrac{y}{k}\]
y=kx,k=yx
SituationRule\(k\) means
Fuel cost\(C = kV\)dollars per litre
Constant speed\(d = kt\)speed, km/h
Wages\(P = kh\)hourly rate
Map distance\(m = kD\)cm on the map per km
Currency\(N = kA\)exchange rate
Changes vary directly too. If \(y = kx\), an increase of \(\Delta x\) in \(x\) gives an increase of \(k\,\Delta x\) in \(y\). So a rise in \(y\) divided by \(k\) gives the rise in \(x\).
Adding variations. If \(P = ax\) and \(Q = bx\), then \(P + Q = (a + b)x\), which is again direct variation, with constant \(a + b\). Two hoses filling one pool work this way: their rates add.
Scale ratios. A map with \(m = 0.5D\) (cm per km) shows \(1\) km \(= 100\,000\) cm as \(0.5\) cm, so the scale is \(0.5 : 100\,000 = 1 : 200\,000\).

How to solve a direct variation problem

  1. Write the rule with letters that suit the context, such as \(C = kV\).
  2. Find \(k\) by substituting one known pair: \(k = \dfrac{y}{x}\). Give its units if asked what it means.
  3. Write the rule with the value of \(k\), such as \(C = 1.94V\).
  4. Substitute the new value. If you know \(y\), solve for \(x\) by dividing by \(k\).
  5. Round to suit the context: money to the cent, whole objects down if you cannot afford or fit the next one.

Other question types

  1. Is it direct variation? Check that \(\dfrac{y}{x}\) is the same for every pair in a table, or that the graph is a straight line through the origin.
  2. From a graph: read one clear point \((x, y)\) on the line and calculate \(k = \dfrac{y}{x}\), the gradient.
  3. Compare two rates: find \(k\) for each (for example cost per GB), then compare what the same amount of money buys on each.
  4. Part already used: subtract what is used or provided by something else first, then solve (Example 4).
  5. Two unknown points, such as \((2, p)\) and \((p, 18)\) on \(y = kx\): write \(p = 2k\) and \(18 = kp\), substitute one into the other and solve.
  6. Time answers: change decimal hours to hours and minutes: \(2.4\) h \(= 2\) h \(+ 0.4\times 60\) min \(= 2\) h \(24\) min.
  7. Two stages: when a second rate joins partway (a second hose, a second worker), find what is left after the first stage and share it over the combined rate.
Example 1 β€” Find k, then use it both ways
The cost \(C\) dollars of fuel varies directly with the volume \(V\) litres. \(45\) L costs \(\$87.30\).
(i) Find \(k\) in \(C = kV\) and say what it means.
(ii) Find the cost of \(62\) L.
(iii) How many litres can be bought for \(\$50\), correct to one decimal place?
Solution

(i) Substitute the known pair into \(C = kV\).

\(87.30\)\(=\)\(45k\)
\(k\)\(=\)\(\dfrac{87.30}{45} = \mathbf{1.94}\)

\(k\) is the price per litre: $1.94 per litre. The units of \(k\) are always units of \(C\) per unit of \(V\).

(ii)

\(C\)\(=\)\(1.94\times 62\)
\(\)\(=\)\(\mathbf{\$120.28}\)

(iii)

\(50\)\(=\)\(1.94V\)
\(V\)\(=\)\(\dfrac{50}{1.94}\)
\(\)\(=\)\(25.7731\ldots\)
\(\)\(\approx\)\(\mathbf{25.8}\text{ L}\)
C=1.94V
Example 2 β€” Testing a table
Show that \(y\) varies directly with \(x\) in the table, then find \(a\) and \(b\).
\(x\)\(4\)\(10\)\(a\)\(18\)
\(y\)\(6\)\(b\)\(21\)\(27\)
Solution

For direct variation, \(\dfrac{y}{x}\) is the same for every complete pair.

\(\dfrac{6}{4}\)\(=\)\(1.5\)
\(\dfrac{27}{18}\)\(=\)\(1.5\)

Both ratios are \(1.5\), so \(y = 1.5x\).

\(b\)\(=\)\(1.5\times 10 = \mathbf{15}\)
\(1.5a\)\(=\)\(21\)
\(a\)\(=\)\(\dfrac{21}{1.5} = \mathbf{14}\)
y=1.5x

Two equal ratios support direct variation; in an exam, check every complete pair. A table where \(y\) goes up by the same amount each time, such as \(5, 7, 9\), is linear but not direct variation unless the ratios match.

Example 3 β€” A conversion graph
On one day \(\text{A}\$1 = \text{NZ}\$1.08\).
(i) Convert \(\text{A}\$350\) to New Zealand dollars.
(ii) Convert \(\text{NZ}\$500\) to Australian dollars, to the nearest cent.
Solution

NZ dollars vary directly with Australian dollars: \(N = 1.08A\). The graph is a straight line through the origin with gradient \(1.08\).

Conversion graph from Australian to New Zealand dollarsA straight line through the origin, NZ dollars = 1.08 times A dollars. A red dashed path goes up from 350 Australian dollars to the line and across to 378 New Zealand dollars. A gold dashed path goes across from 500 New Zealand dollars to the line and down to about 463 Australian dollars. A$ NZ$ 100 200 300 400 500 100 200 300 400 500

(i)

\(N\)\(=\)\(1.08\times 350\)
\(\)\(=\)\(\mathbf{378}\)

(ii) Now \(N\) is known, so solve for \(A\): divide by the rate.

\(500\)\(=\)\(1.08A\)
\(A\)\(=\)\(\dfrac{500}{1.08}\)
\(\)\(=\)\(462.9629\ldots\)
\(\)\(\approx\)\(\mathbf{462.96}\)
A=5001.08≈462.96

So \(\text{A}\$350\) buys \(\text{NZ}\$378.00\), and \(\text{NZ}\$500\) is worth \(\text{A}\$462.96\). A reading from the graph gives about the same values, but the calculation is exact.

Example 4 β€” Part used, then round down
The ink a printer uses varies directly with the number of pages. Printing \(120\) pages uses \(9\) mL of ink. A full cartridge holds \(70\) mL, and \(15\) mL of it has already been used. How many more complete pages can be printed?
Solution

Let \(I\) mL be the ink for \(n\) pages, so \(I = kn\).

\(9\)\(=\)\(120k\)
\(k\)\(=\)\(0.075\text{ mL per page}\)

Only the ink left in the cartridge is available:

\(70 - 15\)\(=\)\(55\text{ mL}\)
\(0.075n\)\(=\)\(55\)
\(n\)\(=\)\(\dfrac{55}{0.075}\)
\(\)\(=\)\(733.3333\ldots\)

The printer cannot finish page \(734\), so round down: \(\mathbf{733}\) more pages.

n=550.075≈733.3

Check: \(733\times 0.075 = 54.975\) mL, which fits in \(55\) mL.

Common pitfalls

Put the right quantity on top. In \(C = kV\), \(k = \dfrac{C}{V}\): the variable on its own goes on top. Swapping them gives litres per dollar, not dollars per litre.
Divide when the answer is the input. To find litres for $50, solve \(50 = 1.94V\). Multiplying \(50\times 1.94\) answers a different question.
Linear is not the same as direct. \(y = 2x + 3\) is a straight line, but \(y\) does not double when \(x\) doubles. Direct variation must pass through \((0, 0)\).
Round down for whole items you cannot complete. If \(n = 733.3\), only \(733\) pages can be finished. Rounding to \(734\) would run out of ink.
Match the units. If \(k\) is in L/min but the time is in hours, change the hours to minutes first.

Frequently asked questions

What is direct variation?

Two quantities vary directly when one is a constant multiple of the other: \(y = kx\). Doubling \(x\) doubles \(y\), and \(x = 0\) gives \(y = 0\).

How do you find the constant of variation?

Substitute one known pair of values into \(y = kx\) and solve for \(k\): \(k = \dfrac{y}{x}\). In context \(k\) is a rate, such as dollars per litre.

What does a direct variation graph look like?

A straight line through the origin. Its gradient is the constant of variation k, so a steeper line means a larger rate.

How can you tell from a table if y varies directly with x?

Divide each y-value by its x-value. If every pair gives the same answer, y varies directly with x and that answer is k. If the ratios differ, it is not direct variation.

What is the difference between direct and inverse variation?

In direct variation \(y = kx\), so \(y\) increases as \(x\) increases. In inverse variation \(y = \dfrac{k}{x}\), so \(y\) decreases as \(x\) increases and the product \(xy\) stays constant.