Variation · Lesson 2 of 2

Partial variation and proportion problems

Quantities that are partly constant and partly vary, solved with two simultaneous equations; and everyday proportion problems such as workers and days.

15 minYou should already know: Expressions, formulae & change of subject
  1. 1
  2. 2

Many costs have a fixed part and a part that varies. A printer charges a setup fee however many copies you order, plus an amount for each copy. WAEC describes this as “partly constant and partly varies as”:

C=a+bnC = a + bn

where aa is the fixed part and bb is the rate. There are now two unknown constants, so you need two pairs of values.

xy0constant
Partial: y = a + bxA straight line that crosses the y-axis at the constant a
xy0
Direct: y = kxNo constant part, so the line goes through the origin

Try it

Partly constant, partly variesMove a and b until the line passes through both readings
510152025303540200400600800100012001400nC(10, 450)(30, 950)
100fixed part a (the intercept)15rate b (the gradient)0 of 2readings on the line
A printer charges ₦450 for 10 copies and ₦950 for 30. The cost is partly fixed (a setup fee) and partly varies with the number of copies: C = a + bn. Change a to move the line up and down, and b to make it steeper, until it passes through both readings. The bar at 30 copies shows the cost as fixed part + varying part: 100 + 15 × 30 = 550.

The constant part aa is where the line crosses the CC-axis (the cost of 0 copies), and the rate bb is how steep it is. Two readings fix the line, just as two equations fix aa and bb.

The method

  1. Write the equation with two constants: C=a+bnC = a + bn.
  2. Put in both pairs of values to get two equations.
  3. Subtract one from the other: aa cancels, leaving bb. Then find aa.
  4. Write the relationship and use it.

Worked example · WAEC 2019

WAEC 2019 · Paper 2 · Q5

The cost of dinner for a group of tourists is partly constant and partly varies as the number of tourists present. It costs $740.00 when 20 tourists were present and $960.00 when the number of tourists increased by 10. Find the cost of the dinner when only 15 tourists were present.

  1. Write the equation

    Let CC be the cost in dollars and nn the number of tourists: C=a+bnC = a + bn.

    Think first. How many constants are there?

  2. Two equations

    20 tourists: a+20b=740a + 20b = 740. The number increased by 10, so 30 tourists: a+30b=960a + 30b = 960.

    Think first. The number increased by 10. How many tourists is that?

  3. Subtract

    10b=22010b = 220, so b=22b = 22. Then a=740−20×22=300a = 740 - 20 \times 22 = 300, and C=300+22nC = 300 + 22n.

    Think first. Take the first equation from the second.

  4. 15 tourists

    C=300+22×15=300+330=630C = 300 + 22 \times 15 = 300 + 330 = 630 dollars, that is $630.00.

The varying part isn’t always “as xx”. Write whatever the question says after “partly constant and partly varies”:

  • partly constant, partly inversely as xx: y=a+bxy = a + \dfrac{b}{x};
  • partly as xx and partly as x2x^2: y=ax+bx2y = ax + bx^2;
  • partly as MM and partly inversely as PP: W=aM+bPW = aM + \dfrac{b}{P}.

More: partial variation

Proportion problems

Some problems use variation without saying so. If more workers finish a job in fewer days, the number of days varies inversely as the number of workers, so workers × days stays the same: it’s the total amount of work.

More: proportion problems

Worked example · WAEC 2019

WAEC 2019 · Paper 2 · Q10 (a)

A twenty-kilogram bag of rice is consumed by mm boys in 10 days. When four more boys joined them, the same quantity of rice lasted only 8 days. If the rate of consumption is the same, find the value of mm.

  1. What stays the same?

    The same bag of rice is eaten either way, so the number of “boy-days” of rice is the same: boys × days is constant.

    Think first. The bag is the same. What does boys × days measure?

  2. Equation

    mm boys for 10 days equals (m+4)(m + 4) boys for 8 days: 10m=8(m+4)10m = 8(m + 4). So 10m=8m+3210m = 8m + 32, 2m=322m = 32 and m=16m = 16.

Your turn

WAEC 2025 · Paper 2 · Q2✱✱

yy is partly constant and partly varies inversely as the square of xx.

  1. (a)

    Write down the relationship between xx and yy.

    Show the answer

    y=a+bx2y = a + \dfrac{b}{x^2}, where aa and bb are constants

  2. (b)

    When x=1x = 1, y=11y = 11, and when x=2x = 2, y=5y = 5. Find yy when x=4x = 4.

Worked solution (try it first)

(a)

  1. Partly constant (aa) and partly varies inversely as the square of xx (bx2\frac{b}{x^2}): y=a+bx2y = a + \dfrac{b}{x^2}, where aa and bb are constants.

(b)

  1. x=1x = 1, y=11y = 11: a+b=11a + b = 11.
  2. x=2x = 2, y=5y = 5: a+b4=5a + \frac{b}{4} = 5.
  3. Subtract: b−b4=6b - \frac{b}{4} = 6, so 3b4=6\frac{3b}{4} = 6 and b=8b = 8.
  4. Then a=11−8=3a = 11 - 8 = 3, and y=3+8x2y = 3 + \dfrac{8}{x^2}.
  5. When x=4x = 4: y=3+816=312y = 3 + \dfrac{8}{16} = 3\frac12.

Report a problem with this question

More past questions like this