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”:
where is the fixed part and is the rate. There are now two unknown constants, so you need two pairs of values.
Try it
The constant part is where the line crosses the -axis (the cost of 0 copies), and the rate is how steep it is. Two readings fix the line, just as two equations fix and .
The method
- Write the equation with two constants: .
- Put in both pairs of values to get two equations.
- Subtract one from the other: cancels, leaving . Then find .
- Write the relationship and use it.
Worked example · WAEC 2019
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.
Write the equation
Let be the cost in dollars and the number of tourists: .
Think first. How many constants are there?
Two equations
20 tourists: . The number increased by 10, so 30 tourists: .
Think first. The number increased by 10. How many tourists is that?
Subtract
, so . Then , and .
Think first. Take the first equation from the second.
15 tourists
dollars, that is $630.00.
The varying part isn’t always “as ”. Write whatever the question says after “partly constant and partly varies”:
- partly constant, partly inversely as : ;
- partly as and partly as : ;
- partly as and partly inversely as : .
More: partial variation
- JAMB 1989 · UME · Q15The cost of dinner for a group of students is partly constant and partly varies directly as the number of students. If the …
- JAMB 1985 · UME · Q16In a restaurant, the cost of providing a particular type of food is partly constant and partly inversely proportional to …
- JAMB 1983 · UME · Q14 varies partly as the square of and partly as the inverse of the square root of . Write down the expression for …
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
A twenty-kilogram bag of rice is consumed by 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 .
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?
Equation
boys for 10 days equals boys for 8 days: . So , and .
Your turn
WAEC 2025 · Paper 2 · Q2✱✱
is partly constant and partly varies inversely as the square of .
- (a)
Write down the relationship between and .
Show the answer
, where and are constants
- (b)
When , , and when , . Find when .
Worked solution (try it first)
(a)
- Partly constant () and partly varies inversely as the square of (): , where and are constants.
(b)
- , : .
- , : .
- Subtract: , so and .
- Then , and .
- When : .
More past questions like this
- NECO 2023 · Paper 1 · Q19 is partly constant and partly varies as . When , and when , . Find the relationship between …
- WAEC 2024 · Paper 1 · Q13A variable varies partly as and partly inversely as . Which of the following correctly represents the relation …
- NECO 2023 · Paper 1 · Q17A helicopter takes 3 hours from Kano to Lagos at a constant speed. How long does the same journey take another helicopter …
- WAEC 2021 · Paper 2 · Q8The time () spent on erecting a concrete pillar is partly constant and partly varies as three times the base area …
- NECO 2024 · Paper 2 · Q7Solve the equation .
- WAEC 2017 · Paper 2 · Q11It takes 8 students two-thirds of an hour to fill 12 tanks with water. How many tanks of water will 4 students fill in one-third …