Why this chapter matters. This chapter gave 7 questions in the 6 papers from CDS I 2024 to CDS II 2026. That is about one a paper. Six of the seven use the words "varies as" or "is proportional to". Three of those six ask which statements are correct, or what another expression is proportional to. The other three give one set of values and ask for a new value. The seventh is a question on men, hours and days building a wall. All seven rest on one idea: "varies as" means "equals a constant times", and one set of values is enough to find the constant.
What you will be able to do
- Use the unitary method, and tell a direct proportion from an inverse one.
- Solve a question on men, hours, days and work with one line.
- Turn "varies directly as", "varies inversely as" and "varies as the square of" into an equation with a constant โkโ, and find โkโ.
- Test a statement such as "โPQโ varies as โRโ" by substituting.
Before you start you should know: ratio and proportion (Chapter A2-5), and squares and square roots (Chapter A1-2).
1. The unitary method
Find the value for one unit first. Then find the value for the number asked.
15 pens cost โน 180. So one pen costs โ180 \div 15 = 12โ rupees, and 22 pens cost โ12 \times 22 = 264โ rupees.
2. Direct proportion
Two quantities are in direct proportion when they rise and fall together in the same ratio: if one doubles, the other doubles. Then their ratio stays the same.
\frac{x_1}{y_1} = \frac{x_2}{y_2}
A car runs 54 km on 3 litres of petrol. That is 18 km for each litre, and it stays 18. For 126 km the car needs โ126 \div 18 = 7โ litres.
Examples: cost and quantity, distance and time at a fixed speed, wages and days worked.
3. Inverse proportion
Two quantities are in inverse proportion when one rises as the other falls, so that their product stays the same: if one doubles, the other is halved.
x_1 \times y_1 = x_2 \times y_2
12 men can finish a job in 20 days. The job needs โ12 \times 20 = 240โ man-days. With 15 men it takes โ240 \div 15 = 16โ days.
Examples: men and days for a fixed job, speed and time for a fixed distance, price and quantity for a fixed sum of money.
To tell which kind it is, ask: "If this doubles, does the other double or halve?"
4. Men, hours, days and work
When several things change together, count the work in man-hours. The work done by โMโ men in โDโ days of โHโ hours each is โM \times D \times Hโ man-hours. The man-hours needed for each unit of work stay the same:
\frac{M_1 \times D_1 \times H_1}{W_1} = \frac{M_2 \times D_2 \times H_2}{W_2}
Here โWโ is the amount of work: a length of road, a volume of wall, a number of articles.
10 men working 6 hours a day dig a trench 60 m long in 8 days. How long will 12 men working 8 hours a day take to dig 120 m? The first job took โ10 \times 8 \times 6 = 480โ man-hours for 60 m. The new trench is twice as long, so it needs 960 man-hours. The new team does โ12 \times 8 = 96โ man-hours a day. It needs โ960 \div 96 = 10โ days.
5. The language of variation
The paper often writes a proportion in words. Each phrase is an equation with a fixed number โkโ, called the constant of variation or the constant of proportionality. The sign โ\proptoโ is read "varies as" or "is proportional to".
| The words | In signs | The equation |
|---|---|---|
| โxโ varies directly as โyโ (or just "varies as โyโ") | โx \propto yโ | โx = kyโ |
| โxโ varies inversely as โyโ | โx \propto \frac{1}{y}โ | โx = \frac{k}{y}โ |
| โxโ varies as the square of โyโ | โx \propto y^2โ | โx = ky^2โ |
| โxโ varies as the square root of โyโ | โx \propto \sqrt{y}โ | โx = k\sqrt{y}โ |
| โxโ varies jointly as โyโ and โzโ | โx \propto yzโ | โx = kyzโ |
| โxโ varies directly as โyโ and inversely as โzโ | โx \propto \frac{y}{z}โ | โx = \frac{ky}{z}โ |
The two-step method. First put the given set of values into the equation and find โkโ. Then use the equation with the new values.
โyโ varies as the square of โxโ, and โy = 45โ when โx = 3โ. Step 1: โ45 = k \times 9โ, so โk = 5โ. Step 2: when โx = 4โ, โy = 5 \times 16 = 80โ.
โpโ varies inversely as โqโ, and โp = 6โ when โq = 10โ. Step 1: โk = pq = 60โ. Step 2: when โq = 15โ, โp = \frac{60}{15} = 4โ.
6. Testing a statement about variation
A statement question says, for example, "if โxโ varies as โyโ, then โx^2 + y^2โ varies as โy^2โ". To test it, substitute โx = kyโ and see whether what is left is a constant times the quantity named.
Let โx = kyโ. Then:
- โx + y = (k + 1)yโ. This is a constant times โyโ, so โx + yโ varies as โyโ.
- โxy = ky^2โ. So โxyโ varies as โy^2โ, not as โyโ.
- โ\frac{x^2}{y} = k^2 yโ. So โ\frac{x^2}{y}โ varies as โyโ.
Three results are worth knowing. If โAโ varies as โCโ and โBโ varies as โCโ, write โA = aCโ and โB = bCโ. Then:
| Expression | Equals | So it varies as |
|---|---|---|
| โA + Bโ | โ(a + b)Cโ | โCโ |
| โA - Bโ | โ(a - b)Cโ | โCโ (if โaโ and โbโ are different) |
| โABโ | โabC^2โ | โC^2โ, and so โ\sqrt{AB}โ varies as โCโ |
7. A fixed part and a varying part
Some quantities are a sum (or a difference) of a fixed part and a part that varies. Write both parts, with two unknown constants, and use two sets of values.
The monthly cost of a mess is partly fixed and partly varies as the number of members. It is โน 7,000 for 20 members and โน 9,500 for 30 members. Write the cost as โa + bnโ. Ten more members add โน 2,500, so โb = 250โ. Then โa = 7000 - 250 \times 20 = 2000โ. For 40 members the cost is โ2000 + 250 \times 40 = 12000โ rupees.
Worked examples
Example 1. 15 workers earn โน 9,000 in 4 days. At the same wage, how much will 20 workers earn in 6 days?
Find the value for one unit: one worker for one day. The 15 workers did โ15 \times 4 = 60โ worker-days, so one worker-day earns โ9000 \div 60 = 150โ rupees. Now 20 workers for 6 days is 120 worker-days: โ120 \times 150 = 18000โ rupees.
Example 2. A camp has food for 150 soldiers for 45 days. After 10 days, 25 soldiers leave. For how many more days will the food last?
After 10 days the food left is enough for 150 soldiers for 35 days: โ150 \times 35 = 5250โ soldier-days. Now there are 125 soldiers. The food lasts โ5250 \div 125 = 42โ days. Fewer soldiers, more days: an inverse proportion.
Example 3. โxโ varies directly as โyโ and inversely as the square of โzโ. When โy = 8โ and โz = 2โ, โx = 6โ. Find โxโ when โy = 12โ and โz = 3โ.
The equation is โx = \frac{ky}{z^2}โ. Step 1: โ6 = \frac{k \times 8}{4}โ, so โk = 3โ. Step 2: โx = \frac{3 \times 12}{9} = 4โ.
Example 4. โAโ varies as โCโ, and โBโ varies as โCโ. Which of these is correct? (1) โA + Bโ varies as โCโ. (2) โABโ varies as โCโ.
Write โA = aCโ and โB = bCโ. (1) โA + B = (a + b)Cโ: a constant times โCโ. Correct. (2) โAB = abC^2โ: a constant times โC^2โ, not โCโ. Not correct. Only statement (1) is correct. (It is โ\sqrt{AB}โ that varies as โCโ.)
From the real papers
These six questions are from the Elementary Mathematics papers (Series A). The first two agree with the final official key. The next three agree with the provisional key of CDS I 2026. For the last, no official key was published. Try each for 72 seconds before reading the solution.
CDS I 2024, Q58. If โP^2โ varies as R and โQ^2โ varies as R, โ(P \ne Q)โ, then which of the following are correct?
- โP^2 + Q^2โ varies as R.
- PQ varies as R.
- โP^2 - Q^2โ varies as R.
Select the correct answer using the code given below :
(a) 1 and 2 only (b) 2 and 3 only (c) 1 and 3 only (d) 1, 2 and 3
Solution. Write โP^2 = aRโ and โQ^2 = bRโ. Statement 1: โP^2 + Q^2 = (a + b)Rโ. Correct. Statement 2: โP^2Q^2 = abR^2โ, so โPQ = \sqrt{ab}\,Rโ, a constant times โRโ. Correct. Statement 3: โP^2 - Q^2 = (a - b)Rโ. Correct. This is the table of section 6 with โP^2โ for โAโ and โQ^2โ for โBโ. Answer (d).
CDS I 2025, Q4. Let x, y, z be variables such that โ(x + y + z) = kโ, where k is a constant. If โ(x + z - y) \times (x - z + y)โ is proportional to yz, then โ(y + z - x)โ is proportional to :
(a) x (b) y (c) yz (d) xz
Solution. This is the hardest question of the chapter. Use โ(p - q)(p + q) = p^2 - q^2โ. The given product is โx^2 - (y - z)^2โ, and it equals โc\,yzโ for some constant โcโ. So โx^2 = y^2 + z^2 + (c - 2)yzโ. Now multiply the expression asked for by โ(y + z + x)โ, which is the constant โkโ:
(y + z - x)(y + z + x) = (y + z)^2 - x^2
Put in โx^2โ: โ(y + z)^2 - x^2 = y^2 + 2yz + z^2 - y^2 - z^2 - (c - 2)yz = (4 - c)\,yzโ. So โ(y + z - x) \times k = (4 - c)\,yzโ, and โ(y + z - x)โ is a constant times โyzโ. Answer (c).
CDS I 2026, Q13. If x varies directly as y, then which of the following is/are correct?
I. โ(x^2 + y^2)โ varies directly as โy^2โ.
II. โ\left(\frac{x^3}{y^4}\right)โ varies directly as y.
Select the answer using the code given below:
(a) I only (b) II only (c) Both I and II (d) Neither I nor II
Solution. Substitute โx = kyโ. Statement I: โx^2 + y^2 = (k^2 + 1)y^2โ, a constant times โy^2โ. Correct. Statement II: โ\frac{x^3}{y^4} = \frac{k^3 y^3}{y^4} = \frac{k^3}{y}โ. This varies inversely as โyโ, not directly. Not correct. Answer (a). (Provisional key.)
CDS I 2026, Q15. 12 men working 8 hours a day can completely build a wall of length 100 m, breadth 20 cm and height 5 m in 10 days. How many days will 16 men working 10 hours a day require to build a wall of length 200 m, breadth 60 cm and height 5 m?
(a) 18 (b) 24 (c) 27 (d) 36
Solution. The work is the volume of the wall. The new wall has twice the length, three times the breadth and the same height, so it is 6 times the work. The first wall took โ12 \times 8 \times 10 = 960โ man-hours, so the new one needs โ960 \times 6 = 5760โ man-hours. The new team does โ16 \times 10 = 160โ man-hours a day. Days needed: โ5760 \div 160 = 36โ. Answer (d). (Provisional key.)
CDS I 2026, Q34. A locomotive engine can go 40 km/hr. Its speed gets reduced by a quantity that varies directly as the square root of the number of wagons attached. It is known that its speed becomes 16 km/hr if 36 wagons are attached. What is the smallest number of wagons with which the engine is unable to move?
(a) 100 (b) 81 (c) 64 (d) 49
Solution. A fixed part and a varying part (section 7): with โnโ wagons the speed is โ40 - k\sqrt{n}โ. Step 1: with 36 wagons, โ40 - 6k = 16โ, so โk = 4โ. Step 2: the engine cannot move when the speed is zero: โ40 - 4\sqrt{n} = 0โ, so โ\sqrt{n} = 10โ and โn = 100โ. With 81 wagons the speed is still โ40 - 36 = 4โ km/hr. Answer (a). (Provisional key.)
The next question is from CDS II 2024: no official key was published; the answer is our own working.
CDS II 2024, Q6. โpโ varies directly as โ(x^2 + y^2 + z^2)โ. When โx = 1โ, โy = 2โ, โz = 3โ, then โp = 70โ. What is the value of โpโ when โx = -1โ, โy = 1โ, โz = 5โ?
(a) 100 (b) 125 (c) 135 (d) 140
Solution. โp = k(x^2 + y^2 + z^2)โ. Step 1: โx^2 + y^2 + z^2 = 1 + 4 + 9 = 14โ and โp = 70โ, so โk = 5โ. Step 2: โx^2 + y^2 + z^2 = 1 + 1 + 25 = 27โ (the square of โ-1โ is โ+1โ), so โp = 5 \times 27 = 135โ. Answer (c).
Five of the six began by writing "varies as" as an equation with a constant.
Mistakes that cost marks
- Using a direct proportion where it is inverse. More men finish a job in fewer days. Ask "if this doubles, does the other double or halve?" before writing anything.
- Forgetting that the work has changed. In a men, hours and days question, check whether the second job is the same size as the first. A wall twice as long and three times as thick is six times the work.
- Reading "varies as" as "equals". "โyโ varies as โx^2โ" means โy = kx^2โ. Find โkโ first; it is rarely 1.
- Saying โABโ varies as โCโ. If โAโ and โBโ each vary as โCโ, the product โABโ varies as โC^2โ. It is โ\sqrt{AB}โ that varies as โCโ.
Quick check
Do these without help. Answers are at the end.
- 8 kg of sugar cost โน 336. What do 13 kg cost?
- 18 men can do a job in 28 days. In how many days can 21 men do it?
- โyโ varies inversely as โxโ, and โy = 12โ when โx = 5โ. Find โyโ when โx = 15โ.
- 6 pumps working 8 hours a day empty a tank in 5 days. In how many days will 10 pumps working 6 hours a day empty it?
- โAโ varies as the square of โBโ, and โA = 50โ when โB = 5โ. Find โAโ when โB = 8โ.
Read and watch more, free
| What | Where | Language |
|---|---|---|
| Textbook, the older book (closest to the exam) | NCERT Class 8 Mathematics, Chapter 11 Direct and Inverse Proportions ยท Hindi edition | English, Hindi |
| Textbook, the current book | NCERT Class 8 Ganita Prakash Part II, Chapter 3 Proportional Reasoning-2, section 3.6 Inverse Proportions ยท Hindi edition | English, Hindi |
| Practice with answers | NCERT Exemplar Class 8, Unit 10 Direct and Inverse Proportions ยท Hindi edition | English, Hindi |
| Videos and practice by NCERT chapter | Khan Academy, NCERT Math Class 8 (the unit on direct and inverse proportions) | English |
| The real papers | UPSC previous question papers | English, Hindi |
| Video, a full CDS course | R.S SIR: Maths Playlist for CDS 2025 (the ratio lessons and the time and work lessons, about 55 minutes each) | Hindi and Hinglish |
| Video, one long lesson | Defence Wallah CDS / AFCAT: Quantitative Aptitude CDS 2024 (the ratio lesson, about 2 hours) | Hinglish |
| Video, one long revision | CDS Wallah (PW): Maths CDS 2026 (the lesson on time and work with ratio and speed) | Hinglish |
No video lesson in these lists is titled "variation"; the ratio lessons are the nearest. For the statement questions of section 6, this lesson and the past papers are the material.
The videos were chosen from their titles, length and views; they have not yet been watched by a teacher.
Answers to the quick check
- One kilogram costs โ336 \div 8 = 42โ rupees, so 13 kg cost โ42 \times 13 = 546โ rupees.
- The job needs โ18 \times 28 = 504โ man-days. With 21 men: โ504 \div 21 = 24โ days.
- โk = 12 \times 5 = 60โ, so โy = \frac{60}{15} = 4โ.
- The job needs โ6 \times 8 \times 5 = 240โ pump-hours. The new set does โ10 \times 6 = 60โ pump-hours a day. It takes 4 days.
- โ50 = k \times 25โ, so โk = 2โ. Then โA = 2 \times 64 = 128โ.
Next chapter: Averages, mixtures and alloys.