Resources For Teachers For Tutors For Students & Parents AI New Books Pricing
Year 11 (2026) Maths Advanced (2026) Reciprocal Functions, Variation and Modelling

Direct And Inverse 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

When \(y\) varies directly with \(x\), \(y=kx\); when \(y\) varies inversely with \(x\), \(y=\dfrac{k}{x}\). This Year 11 Mathematics Advanced page shows how to find the constant of variation \(k\), use it to find unknown values, handle variation with a square or cube, and work out how one quantity changes when the other is multiplied by a factor.

Two quantities vary directly (are directly proportional) when one is always the same multiple of the other: \(y=kx\). If \(x\) doubles, \(y\) doubles; if \(x\) is halved, \(y\) is halved. The fixed number \(k\) is the constant of variation, and \(k=\dfrac{y}{x}\) for every pair of values.

Two quantities vary inversely (are inversely proportional) when their product is fixed: \(xy=k\), so \(y=\dfrac{k}{x}\). If \(x\) doubles, \(y\) is halved. More workers finishing a job sooner, or a higher speed giving a shorter travel time, are inverse variation.

A quantity can also vary with a power of another. "\(y\) varies directly with the square of \(x\)" means \(y=kx^2\); "\(P\) varies inversely as the cube of \(r\)" means \(P=\dfrac{k}{r^3}\). The words "with" and "as" mean the same thing here.

Every variation problem is solved the same way: write the model with \(k\), substitute one known pair of values to find \(k\), then use the completed formula. The value of \(k\) often has a meaning in the context; for a fixed journey, \(t=\dfrac{k}{s}\) and \(k\) is the distance.

Direct variation y = 1.5xThe straight line y = 1.5x passing through the origin, with the points (2, 3) and (4, 6) marked. Doubling x from 2 to 4 doubles y from 3 to 6. x y 1 2 3 4 5 6 2 4 6 8 (2, 3) (4, 6) y = 1.5x
Direct variation: \(y=kx\) is a straight line through the origin with gradient \(k\). Here \(k=1.5\), and doubling \(x\) doubles \(y\).
Inverse variation y = 18/xThe curve y = 18/x for positive x, with the points (2, 9), (3, 6) and (6, 3) marked. Doubling x from 3 to 6 halves y from 6 to 3. x y 2 4 6 8 10 2 4 6 8 10 (2, 9) (3, 6) (6, 3) y = 18/x
Inverse variation: \(y=\dfrac{k}{x}\) is a hyperbola. Here \(k=18\): every point has \(xy=18\), and doubling \(x\) halves \(y\).

Direct and inverse variation, with constant of variation \(k\):

\[y=kx \qquad\qquad y=\dfrac{k}{x}\]
y equals k x, and y equals k over x

Variation with a power \(n\) of \(x\):

\[y=kx^n \qquad\qquad y=\dfrac{k}{x^n}\]
y equals k x to the n, and y equals k over x to the n
StatementModelIf \(x\) is doubled, \(y\) is
\(y\) varies directly with \(x\)\(y=kx\)multiplied by \(2\)
\(y\) varies directly with the square of \(x\)\(y=kx^2\)multiplied by \(2^2=4\)
\(y\) varies directly with the cube of \(x\)\(y=kx^3\)multiplied by \(2^3=8\)
\(y\) varies inversely with \(x\)\(y=\dfrac{k}{x}\)multiplied by \(\dfrac{1}{2}\)
\(y\) varies inversely with the square of \(x\)\(y=\dfrac{k}{x^2}\)multiplied by \(\dfrac{1}{4}\)
\(y\) varies inversely with the cube of \(x\)\(y=\dfrac{k}{x^3}\)multiplied by \(\dfrac{1}{8}\)
Changing by a factor or a percentage. Replace the variable by its new value and compare with the old formula. If \(M=kd^3\) and \(d\) increases by \(10\%\), replace \(d\) by \(1.1d\): \(M_{\text{new}}=k(1.1d)^3=1.331\,kd^3=1.331\,M\). So \(M\) increases by \(0.331M\), that is, by \(33.1\%\).
Decimal hours. Multiply the decimal part by \(60\) to get minutes: \(7.2\) h is \(7\) h and \(0.2\times 60=12\) min.

Solving a variation problem

  1. Write the model from the wording: directly gives \(y=kx^n\), inversely gives \(y=\dfrac{k}{x^n}\), with \(n=1\), \(2\) or \(3\).
  2. Substitute the known pair of values and solve for \(k\).
  3. Rewrite the formula with the value of \(k\), for example \(y=\dfrac{36}{x}\).
  4. Substitute the new value and solve. If the unknown is squared, take the square root and keep the positive value when it is a length, speed or time.
  5. Answer in context with units, converting decimal hours to hours and minutes if asked.

By what factor does \(y\) change?

  1. Replace \(x\) by its new value, such as \(2x\) for "doubled" or \(1.5x\) for "increased by \(50\%\)".
  2. Simplify and write the result as a number times the original formula.
  3. Read off the factor. For a percentage change, subtract \(1\) and write the result as a percentage.

Finding the power \(n\) and \(k\)

  1. Substitute both pairs into the model and make \(k\) the subject of each equation, \((1)\) and \((2)\).
  2. Equate \((1)\) and \((2)\) and collect the powers as \(\left(\dfrac{a}{b}\right)^n\).
  3. Write the other side as a power of the same base and compare indices to find \(n\). Then substitute back for \(k\).
Example 1 — Direct variation
The mass \(m\) kg of a steel rod varies directly with its length \(L\) metres. A \(2.5\) m rod has a mass of \(19\) kg.
(i) Find the mass of a \(3.5\) m rod.
(ii) Find the length of a rod with a mass of \(30.4\) kg.
Solution

Use the direct variation model \(m=kL\):

\(19\)\(=\)\(k\times 2.5\)
\(k\)\(=\)\(\dfrac{19}{2.5}\)
\(\)\(=\)\(7.6\)
19 = k times 2.5, k = 7.6

So \(m=7.6L\).

(i) When \(L=3.5\):

\(m\)\(=\)\(7.6\times 3.5\)
\(\)\(=\)\(26.6\)

\(\therefore\) the rod has a mass of \(\mathbf{26.6}\) kg.

(ii) When \(m=30.4\):

\(30.4\)\(=\)\(7.6L\)
\(L\)\(=\)\(\dfrac{30.4}{7.6}\)
\(\)\(=\)\(4\)
30.4 = 7.6 L, L = 4

\(\therefore\) the rod is \(\mathbf{4}\) m long.

Example 2 — Inverse variation
The time \(t\) hours taken to empty a flooded basement varies inversely with the number \(n\) of pumps used. With \(4\) pumps it takes \(9\) hours. How long does it take with \(5\) pumps? Give your answer in hours and minutes.
Solution

Use the inverse variation model \(t=\dfrac{k}{n}\):

\(9\)\(=\)\(\dfrac{k}{4}\)
\(k\)\(=\)\(9\times 4\)
\(\)\(=\)\(36\)
9 = k over 4, k = 36

So \(t=\dfrac{36}{n}\). (\(k=36\) is the total work: \(36\) pump-hours.) When \(n=5\):

\(t\)\(=\)\(\dfrac{36}{5}\)
\(\)\(=\)\(7.2\text{ h}\)
t = 36 over 5 = 7.2 hours

\(0.2\text{ h}=0.2\times 60=12\) minutes

\(\therefore\) it takes \(\mathbf{7}\) hours \(\mathbf{12}\) minutes. More pumps, less time, as expected for inverse variation.

Example 3 — Inverse square law
The force \(F\) newtons between two magnets varies inversely with the square of the distance \(d\) cm between them. At a distance of \(4\) cm the force is \(4.5\) N.
(i) Find the force at \(6\) cm.
(ii) At what distance is the force \(18\) N?
(iii) If the distance is halved, by what factor is the force multiplied?
Solution

Use \(F=\dfrac{k}{d^2}\):

\(4.5\)\(=\)\(\dfrac{k}{4^2}\)
\(k\)\(=\)\(4.5\times 16\)
\(\)\(=\)\(72\)
4.5 = k over 4 squared, k = 72

(i) When \(d=6\):

\(F\)\(=\)\(\dfrac{72}{6^2}\)
\(\)\(=\)\(\dfrac{72}{36}\)
\(\)\(=\)\(2\)

\(\therefore\) the force is \(\mathbf{2}\) N.

(ii) When \(F=18\):

\(18\)\(=\)\(\dfrac{72}{d^2}\)
\(d^2\)\(=\)\(\dfrac{72}{18}\)
\(\)\(=\)\(4\)
\(d\)\(=\)\(2\quad (d>0)\)
18 = 72 over d squared, d squared = 4, d = 2

\(\therefore\) the distance is \(\mathbf{2}\) cm.

(iii) Replace \(d\) by \(\dfrac{d}{2}\):

\(F_{\text{new}}\)\(=\)\(\dfrac{k}{\left(\dfrac{d}{2}\right)^2}\)
\(\)\(=\)\(\dfrac{k}{\dfrac{d^2}{4}}\)
\(\)\(=\)\(4\times\dfrac{k}{d^2}\)
\(\)\(=\)\(4F\)
F new = k over (d over 2) squared = 4 k over d squared = 4 F

\(\therefore\) the force is multiplied by \(\mathbf{4}\).

Example 4 — Finding the power n
\(y\) varies inversely as \(x^n\), so \(y=\dfrac{k}{x^n}\). When \(x=2\), \(y=36\), and when \(x=6\), \(y=4\). Find the values of \(n\) and \(k\).
Solution

Substitute both pairs and make \(k\) the subject:

\(36=\dfrac{k}{2^n}\), so \(k=36\times 2^n\quad\ldots(1)\)

\(4=\dfrac{k}{6^n}\), so \(k=4\times 6^n\quad\ldots(2)\)

Equate \((1)\) and \((2)\):

\(4\times 6^n\)\(=\)\(36\times 2^n\)
\(\dfrac{6^n}{2^n}\)\(=\)\(\dfrac{36}{4}=9\)
\(\left(\dfrac{6}{2}\right)^n\)\(=\)\(9\)
\(3^n\)\(=\)\(3^2\)
\(n\)\(=\)\(2\)
4 times 6 to the n = 36 times 2 to the n, 3 to the n = 9 = 3 squared, n = 2

From \((1)\): \(k=36\times 2^2=144\).

\(\therefore y=\dfrac{144}{x^2}\), with \(\boldsymbol{n=2}\) and \(\boldsymbol{k=144}\).

Check with the second pair: \(\dfrac{144}{6^2}=\dfrac{144}{36}=4\).

Common pitfalls

Directly or inversely? Read the wording before writing the model. "Directly" multiplies: \(y=kx\). "Inversely" divides: \(y=\dfrac{k}{x}\). A quick sense check helps: more pumps should mean less time, so that is inverse.
Square the variable, not k. "\(y\) varies with the square of \(x\)" is \(y=kx^2\). Substitute \(x=4\) as \(k\times 4^2=16k\), not \((4k)^2\).
Keep the positive root. From \(d^2=4\) a length, speed or time is \(d=2\). Reject the negative root and say why, for example \((d>0)\).
Decimal hours are not minutes. \(7.2\) hours is \(7\) h \(12\) min, not \(7\) h \(20\) min. Multiply the decimal part by \(60\).
Increase means subtract the original. If the new value is \(1.331M\), the increase is \(0.331M\), so the percentage increase is \(33.1\%\), not \(133.1\%\).

Frequently asked questions

What is direct variation?

Two quantities vary directly when one is a fixed multiple of the other, y = kx. If x doubles, y doubles. The graph is a straight line through the origin.

What is inverse variation?

Two quantities vary inversely when their product is fixed, so y = k divided by x. If x doubles, y is halved. The graph is a hyperbola.

How do you find the constant of variation k?

Write the model, substitute one known pair of values and solve for k. For direct variation k = y divided by x; for inverse variation k = x times y.

What does varies inversely with the square of x mean?

It means y = k divided by x squared. If x is doubled, y is divided by 2 squared, which is 4.

How can you tell from a table if it is direct or inverse variation?

If y divided by x gives the same number for every pair, it is direct variation. If x times y gives the same number for every pair, it is inverse variation.

How do you find the percentage change in a variation problem?

Replace the variable by its new value, for example 1.1 times d for a 10 percent increase, simplify to a number times the original, then subtract 1 and write it as a percentage.