WishWasTraining Academy
CDS exam school
โ† home
Chapter A2-6 ยท 6 of 11 in Arithmetic ยท 16 min read

Unitary method and variation

7 real CDS questions of this kind in the 6 papers from CDS I 2024 to CDS II 2026.

Try three questions free โ†“
This chapter has a video lessonWatch it, practise with a drill and keep your record, all with a free account. No fee, no card.

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?

  1. โ€‹P^2 + Q^2โ€‹ varies as R.
  2. PQ varies as R.
  3. โ€‹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

  1. 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.
  2. 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.
  3. Reading "varies as" as "equals". "โ€‹yโ€‹ varies as โ€‹x^2โ€‹" means โ€‹y = kx^2โ€‹. Find โ€‹kโ€‹ first; it is rarely 1.
  4. 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.

  1. 8 kg of sugar cost โ‚น 336. What do 13 kg cost?
  2. 18 men can do a job in 28 days. In how many days can 21 men do it?
  3. โ€‹yโ€‹ varies inversely as โ€‹xโ€‹, and โ€‹y = 12โ€‹ when โ€‹x = 5โ€‹. Find โ€‹yโ€‹ when โ€‹x = 15โ€‹.
  4. 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?
  5. โ€‹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

  1. One kilogram costs โ€‹336 \div 8 = 42โ€‹ rupees, so 13 kg cost โ€‹42 \times 13 = 546โ€‹ rupees.
  2. The job needs โ€‹18 \times 28 = 504โ€‹ man-days. With 21 men: โ€‹504 \div 21 = 24โ€‹ days.
  3. โ€‹k = 12 \times 5 = 60โ€‹, so โ€‹y = \frac{60}{15} = 4โ€‹.
  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.
  5. โ€‹50 = k \times 25โ€‹, so โ€‹k = 2โ€‹. Then โ€‹A = 2 \times 64 = 128โ€‹.

Next chapter: Averages, mixtures and alloys.

Free ยท no sign-up

Try three questions on this chapter

Exam-pattern questions from this chapter's drill. Pick an answer for each, then check.

  1. Question 1 of 3
    โ€‹xโ€‹ varies inversely as the square root of โ€‹yโ€‹, and โ€‹x = 6โ€‹ when โ€‹y = 25โ€‹. What is the value of โ€‹yโ€‹ when โ€‹x = 10โ€‹?
  2. Question 2 of 3
    โ€‹yโ€‹ varies as the square root of โ€‹xโ€‹, and โ€‹y = 12โ€‹ when โ€‹x = 16โ€‹. Consider the following statements: I. The constant of variation is 3. II. โ€‹y = 18โ€‹ when โ€‹x = 36โ€‹. Which of the statements given above is/are correct?
  3. Question 3 of 3
    โ€‹pโ€‹ varies inversely as โ€‹qโ€‹, and โ€‹p = 15โ€‹ when โ€‹q = 8โ€‹. What is the value of โ€‹qโ€‹ when โ€‹p = 24โ€‹?
Free sign-up

You have read the chapter. Now make it stick.

A free account adds the video lesson, a drill of ten questions on this chapter marked like the exam, the timed mock papers, a study plan to your exam date and your own record of what you have done. No fee, no card.

Past questions quoted are from the official UPSC paper named in the text; the working is WishWas's own, checked against UPSC's answer key where one has been published. The links under โ€œRead and watch moreโ€ go to free material on other sites; nothing is copied.