Algebra · JSS 2, SS 1

Direct variation

When one quantity doubles, the other doubles too.

  • y ∝ x means y = kx

What the letters mean

y, x
the two quantities
k
the constant of variation

Worked example

y varies directly as x, and y = 12 when x = 3. Find y when x = 5.

  1. Step 1: Find k

    12 = k × 3, so k = 4

  2. Step 2: Use y = 4x

    y = 4 × 5 = 20

Final answer: y = 20

Always find k first, then write the full equation.

When to use it

Use direct variation when a question says 'varies directly as' or 'is proportional to', uses the symbol ∝, or describes two quantities that grow together at a fixed rate, like cost and quantity at a fixed price. If one quantity goes up while the other comes down, it is inverse variation instead. The graph of y = kx is a straight line through the origin.

Why it works

If y varies directly as x, the ratio yx stays the same whatever the values. Call that fixed ratio k. Then yx = k, and multiplying both sides by x gives y = kx. So once you find k from one pair of values, you can find y for any x. If x is doubled, kx doubles too, which is why y doubles.

Try it yourself

The cost of rice at a market varies directly as its mass. 5 kg costs ₦7,500. Find the cost of 8 kg, and the mass Aisha can buy with ₦18,000.

Try it first, then show the solution
  1. C = km, so 7,500 = k × 5 and k = 1,500
  2. The equation is C = 1,500m
  3. For 8 kg: C = 1,500 × 8 = 12,000
  4. For ₦18,000: 18,000 = 1,500m, so m = 18,000 ÷ 1,500 = 12

Answer: 8 kg costs ₦12,000, and ₦18,000 buys 12 kg

See it

Play with this picture from the Direct and Inverse Variation lesson.

-6-6-5-5-4-4-3-3-2-2-1-1112233445566xyrun 2rise 4MA(0, 0)B(2, 4)

Gradient

2

rise ÷ run = 4 ÷ 2

Distance AB

2√5

≈ 4.47

Midpoint M

(1, 2)

average of A and B

Drag A and B (or focus one and use the arrow keys).

Common mistakes

  • Missing the power in the wording. 'y varies directly as the square of x' means y = kx2, not y = kx. Put the power in before you find k.
  • Writing k = xy instead of yx. Avoid guessing which way round to divide: substitute into y = kx and solve for k.

In BECE and WASSCE

Direct proportion is met in JSS and can appear in BECE word problems about cost, distance and time. Variation with the constant k is an SS 1 topic in WASSCE: find k from one pair of values, write the equation, then find a missing value. WASSCE also mixes it with squares, roots or inverse variation.

Questions students ask

Is direct variation the same as direct proportion?

Yes, they mean the same thing. 'y is directly proportional to x' and 'y varies directly as x' both mean y = kx. JSS books often say proportion, while SS books often say variation.

What happens to y if y varies as the square of x and x doubles?

Then y = kx2, so y is multiplied by 22 = 4. For example, if y = 3x2, then x = 2 gives y = 12 and x = 4 gives y = 48, which is four times bigger.