ExamSaathi learning library · Government exams · UPSC CDS Examination (II) 2026, Elementary Mathematics (Arithmetic): unitary method, ratio and proportion and variation, named in the notice syllabus · Mathematics

Variation: direct, inverse and joint variation, with the unitary method

Start with the unitary method (find one unit, then scale) and name the pattern behind it: direct variation y = kx with equal ratios and a line through the origin, inverse variation xy = k with equal products, joint and combined variation such as z = kxy or z = kx/y, and squares. Find k from one pair first.

Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.

You will learn to

Before you start

Variation describes how one quantity responds when another changes: does it grow in step, shrink in step, or follow a square? Four ideas from other lessons help. Recall: speed = distance ÷ time, so distance = speed × time and time = distance ÷ speed. Recall: a team's effort is counted in man-days, workers × days, and a given job needs the same number of man-days however many share it, as long as all keep one steady pace. Recall: a worker who needs n days for a whole task gets through 1/n of that task in a day. Recall: the graph of y = ax + b is a straight line with slope a that cuts the y-axis at (0, b). A note on symbols. Here x and y name the two quantities, so a product of numbers is shown with ×, while kx means k × x, and k always stands for one fixed number, the constant of variation. A square is written with ^, so x^2 means x × x. The sign ∝ is read 'varies as', so y ∝ x says that y varies directly as x. Where this topic comes from: under Arithmetic, the UPSC CDS (II) 2026 notice's syllabus names 'Unitary method, time and distance, time and work, ... ratio and proportion, variation.' The lesson starts with the unitary method, which needs only division and multiplication, and then writes the same idea as equations: y = kx, xy = k, and one equation with one k when three or more quantities change together. Each question then comes down to two jobs: find k from the values you are given, and use it for the value you are asked for.

The unitary method: the value of one unit first

The unitary method answers 'how much for this many?' in two moves: first work out the value for one unit, then multiply by the number of units wanted. At a kirana shop in Nagpur, 6 kg of toor dal cost Rs 816, so 1 kg costs 816 ÷ 6 = Rs 136, and 15 kg cost 15 × 136 = Rs 2,040. Run backwards, the same two moves show that Rs 1,496 buys 1,496 ÷ 136 = 11 kg. Recall: a proportion a : b = c : d holds exactly when a × d = b × c, so any one term can be found from the other three. As a proportion, 6 : 816 = 15 : C gives 6 × C = 816 × 15, so C = Rs 2,040 again; the unitary method is that cross-multiplication done one step at a time. It rests on a condition that is easy to forget: every unit must be worth the same, so that the total is proportional to the count. A bulk discount, or a delivery charge added to every bill, breaks that condition. The method also handles quantities that move in opposite directions, but then the one-unit step multiplies instead of dividing. If 9 painters can paint a school building in 16 days, 1 painter alone would need 9 × 16 = 144 days, and 12 painters would need 144 ÷ 12 = 12 days. So before calculating, ask two things: what stays fixed, and should the answer come out bigger or smaller?

Direct variation: y = kx, the ratio test and a line through the origin

We say y varies directly as x, written y ∝ x, when y = kx for one fixed non-zero number k. Dividing by x (when x is not 0) gives k = y/x, so every pair of values has the same ratio. That is the ratio test: y1/x1 = y2/x2. If 4 m of a fabric cost Rs 1,000 and 10 m cost Rs 2,500, both ratios are 250, which fits direct variation of cost with length, k = Rs 250 per metre. In the dal example, cost = 136 × mass. Direct variation is scaling: multiply x by any factor and y is multiplied by the same factor, so twice the length means twice the bill. Plotted, the pairs lie on a straight line that passes through the origin, (0, 0), with slope k. The CBSE Class IX curriculum lists the slope and y-intercept of a line y = ax + b; direct variation is the case b = 0. A line with b not 0 is still straight, but y/x then changes from point to point, so it fails the ratio test. Other direct cases: distance at a steady speed (k is the speed), the circumference of a circle and its diameter (k is π), and simple interest on a fixed sum at a fixed rate, which grows with the number of years. To find a missing value, get k from one complete pair, then use y = kx. If y = 84 when x = 12, then k = 84 ÷ 12 = 7, and x = 20 gives y = 7 × 20 = 140. Keep the unit of k in view, such as rupees per metre or kilometres per hour.

Inverse variation: xy = k, the product test and a curved graph

y varies inversely as x when y = k/x, which is the same as xy = k, for one fixed non-zero number k. Now the product stays constant, so the test is x1 × y1 = x2 × y2. Multiplying x by a factor divides y by that factor: double one and the other halves, triple one and the other falls to a third. The usual source is a fixed total being shared out. Over a fixed distance, speed × time is that distance, so time varies inversely as speed: a 360 km run takes 6 hours at 60 km/h and 4 hours at 90 km/h, and 60 × 6 = 90 × 4 = 360. On a fixed job, workers × days equals the man-days the job needs, so the days vary inversely as the number of workers, and the time one person needs varies inversely as the part done each day. If 15 identical pumps empty a tank in 8 hours, k = 15 × 8 = 120 pump-hours, so 10 pumps need 120 ÷ 10 = 12 hours. For positive values the graph of xy = k is not a line but a curve, one branch of a rectangular hyperbola. It drops steeply, then levels out, creeping towards both axes without ever meeting them, because neither x nor y can be 0 when k is not 0. A falling graph alone does not prove inverse variation. y = 20 - x also falls as x grows, but 2 × 18 = 36 while 5 × 15 = 75, so the products differ and the product test fails.

Joint and combined variation, and variation with squares

When a quantity depends on two or more others, write one equation with one constant. z varies jointly as x and y when z = kxy. Simple interest is a familiar case: at R percent a year, I = (R/100) × P × T, so the interest varies jointly as the principal P and the time T, with k = R/100. z varies directly as x and inversely as y when z = kx/y, often called combined variation. The days needed for a job vary directly as the amount of work and inversely as the number of workers, which is the man-days rule in one line. Squares often appear when an area is involved. The area of a circle is πr^2, so it varies directly as the square of the radius, with k = π. Taking π = 22/7, a radius of 7 cm gives 154 cm^2 and a radius of 14 cm gives 616 cm^2: doubling the radius multiplies the area by 4, not by 2. The area of a square varies as the square of its side in the same way. The reverse pattern, y = k/x^2, is inverse variation with the square: the light from a small lamp falling on a page is only a quarter as bright at twice the distance. The method does not change. Substitute one complete set of values to find k, rewrite the equation with that k, then substitute the new set. Ratios give a shortcut: for z = kx/y, new z = old z × (new x ÷ old x) × (old y ÷ new y). Either way, carry every power through.

Common mistakes

Treating 'both go up' as direct variation. Suppose a cab firm charges a booking fee of Rs 50 plus Rs 12 per km, so 5 km cost Rs 110 and 10 km cost Rs 170. Both numbers rise, yet 110/5 = 22 and 170/10 = 17, so the ratio test fails. The fare F = 12d + 50 is linear, but its line meets the fare axis at 50, not at the origin; only F - 50 varies directly as d. Mixing up direct and inverse. Ask first whether more of one quantity means more or less of the other. A faster bus on the same road takes less time, so speed × time is fixed, not time ÷ speed, and more workers on the same job finish sooner. Dropping the square. If y varies as x^2 and x is tripled, y becomes 9 times as large, not 3 times. If y varies as 1/x^2 and x is doubled, y falls to a quarter, not a half. Comparing differences instead of ratios. Going from x = 2, y = 7 to x = 5, y = 10, both numbers rise by 3, but 7/2 = 3.5 while 10/5 = 2, so y does not vary directly as x. Variation means multiplying by the same factor, not adding the same amount. Mixed units. Turn minutes into hours and grams into kilograms before working out k, and use the same units again when you apply it. Reusing k where it does not belong. A different shop, interest rate or road needs its own k, found from its own data.

A quick routine for variation questions

First, list the quantities with their units and decide what stays fixed: the price of one item, the distance, the size of the job or the rate of interest. Second, choose the type of variation from the wording or from the data. 'Varies directly as' or equal ratios means y = kx; 'varies inversely as' or equal products means xy = k; several causes mean one equation such as z = kxy or z = kx/y; 'as the square of' puts x^2 into the equation. Third, write the equation with a single k before using any numbers. Fourth, substitute one complete set of known values to find k, and note its unit. Fifth, put the new values into the same equation, after converting units, and solve for the unknown. Sixth, test the answer for direction and size: more items cost more, a higher speed means less time, more workers mean fewer days, and with a square the effect is the scale factor squared, so tripling gives 9 times and halving gives a quarter. For a plain unitary question the routine shrinks to two moves: find the value of one unit, then multiply by the number of units wanted. If the data pass neither the ratio test nor the product test, do not force a variation equation; look instead for a fixed charge or a line such as y = ax + b.

Worked examples

  1. At a stationery shop in Lucknow, 12 registers of one kind cost Rs 540. Using the unitary method, find what 20 such registers cost and how many registers Rs 1,035 will buy. Then write the cost as a direct variation and check the answers with the ratio test.

    1. Step 1: Every register has the same price, so the bill grows in step with the number bought and the unitary method applies.
    2. Step 2: Price of one register = 540 ÷ 12 = Rs 45.
    3. Step 3: Cost of 20 registers = 20 × 45 = Rs 900.
    4. Step 4: Registers that Rs 1,035 buys = 1,035 ÷ 45 = 23.
    5. Step 5: In variation form, cost = 45 × n for n registers, so the cost varies directly as n with k = Rs 45 per register. The ratio test confirms the answers: 540/12 = 900/20 = 1,035/23 = 45.

    Answer: 20 registers cost Rs 900, and Rs 1,035 buys 23 registers; the cost varies directly as the number bought, with k = Rs 45.

  2. Rakesh drives a bus between two towns in Gujarat. At an average speed of 48 km/h the trip takes 2 hours 30 minutes. How long would the same trip take at 60 km/h, and what average speed would complete it in 1 hour 36 minutes?

    1. Step 1: The road length is fixed, so speed × time is fixed. Time varies inversely as speed: t = k/v.
    2. Step 2: Put the time in hours: 2 hours 30 minutes = 2 + 30/60 = 2.5 hours.
    3. Step 3: k = v × t = 48 × 2.5 = 120. This k is the length of the trip, 120 km.
    4. Step 4: At 60 km/h, t = 120 ÷ 60 = 2 hours.
    5. Step 5: 1 hour 36 minutes = 1 + 36/60 = 1.6 hours, so v = 120 ÷ 1.6 = 75 km/h.
    6. Step 6: Product test: 48 × 2.5 = 60 × 2 = 75 × 1.6 = 120. A direct-variation slip, 2.5 × 60/48 = 3.125 hours, would make the faster bus slower, which cannot be right.

    Answer: At 60 km/h the trip takes 2 hours; to finish in 1 hour 36 minutes the bus must average 75 km/h (k = 120 km).

  3. In a workshop in Jamshedpur, the mass of a solid iron rod varies jointly as its length and the square of its diameter. A rod 2 m long with a diameter of 2 cm has a mass of 4.8 kg. Find k, and then the mass of a rod of the same iron that is 3 m long with a diameter of 3 cm.

    1. Step 1: One equation, one constant: M = k × L × d^2, with M in kg, L in metres and d in centimetres.
    2. Step 2: Put in the known rod: 4.8 = k × 2 × 2^2 = 8k.
    3. Step 3: So k = 4.8 ÷ 8 = 0.6.
    4. Step 4: New rod: M = 0.6 × 3 × 3^2 = 0.6 × 27 = 16.2 kg.
    5. Step 5: Check with ratios: the length is multiplied by 3/2 and d^2 by (3/2)^2 = 9/4, so the mass is multiplied by 27/8 = 3.375, and 4.8 × 3.375 = 16.2 kg.
    6. Step 6: Dropping the square would give 4.8 × 1.5 × 1.5 = 10.8 kg, which is too small.

    Answer: k = 0.6, and the 3 m rod with a diameter of 3 cm has a mass of 16.2 kg.

Practice checks

  1. A plumber in Indore charges a visiting fee of Rs 200 plus Rs 150 for each hour of work. Does his total charge vary directly as the number of hours worked?
  2. Working at the same steady rate, 8 masons can build a compound wall in 15 days. How many days will 12 masons take to build the same wall?
  3. The light from a small reading lamp falling on a page varies inversely as the square of the distance between them. At 50 cm, Farhan's light meter reads 360 lux. What will it read at 75 cm?
  4. In a hostel mess in Dehradun, the number of days a stock of rice lasts varies directly as the amount of rice and inversely as the number of students eating. 1,200 kg lasts 150 students for 40 days. How many days will 1,800 kg last 180 students, each eating the same amount a day?
  5. A circle's area varies directly as the square of its radius. If the radius of a circular pond in a Bhopal park is increased by 20 percent, by what percent does its area increase?

Sources checked