This site is a work in progress. New lessons are added regularly. Contact us

Direct and Inverse Proportion

Learning goals

  • Recognize direct variation as y=kxy = kx with a constant ratio
  • Identify inverse variation as y=kxy = \dfrac{k}{x} with a constant product
  • Find kk from one known pair, then reuse it
  • Read a table by testing whether y/xy/x or xyxy repeats
  • Extend to joint y=kxzy = kxz and combined variation

Direct variation

Two quantities are in direct variation when one is always a fixed multiple of the other. We say yy varies directly with xx, or that yy is directly proportional to xx, when there is a constant kk with

y=kx.y = kx.

The number kk is the constant of proportionality, the single value that turns each xx into its matching yy. Dividing both sides by xx (for x0x \neq 0) shows what stays fixed:

k=yx.k = \frac{y}{x}.

The ratio y/xy/x is the same for every matching pair, and that shared ratio is exactly kk. Because yy is always the same multiple of xx, doubling xx doubles yy, tripling xx triples yy, and halving xx halves yy. The two quantities rise and fall together, locked in step.

Here is the cost of apples sold at a fixed price. Watch the ratio column hold steady:

xx (apples)yy (dollars)y/xy/x
22331.51.5
44661.51.5
66991.51.5
101015151.51.5

Every row has y/x=1.5y/x = 1.5, so the cost varies directly with the number of apples, and the constant of proportionality is k=1.5k = 1.5 dollars per apple. Plot those pairs on the coordinate plane and they line up: the points (2,3)(2, 3), (4,6)(4, 6), (6,9)(6, 9), and (10,15)(10, 15) all sit on one straight line. That line runs through the origin, because x=0x = 0 forces y=k0=0y = k \cdot 0 = 0. A smaller example makes the shape plain.

A direct relationship graphs as a line through the originFive points on a line rising from the origin: (1,2), (2,4), (3,6), (4,8), (5,10). Doubling x from 1 to 2 doubles y from 2 to 4.a direct relationship is a line through the originxy(1, 2)(2, 4)doubling x doubles y
When a relationship is direct, the matching pairs (x, y) fall on a straight line through the origin. Reading two points off the line, as x rises from 1 to 2 the value y rises from 2 to 4, so doubling x doubles y.

The line through the origin is the visual signature of direct variation. Whatever the value of kk, a direct relationship always graphs as a straight line starting at (0,0)(0, 0), and kk sets how steeply it climbs.

Find the constant, then solve

The reason variation is so useful is that a single pair of matching values unlocks the whole relationship. You do not need a table; you need one good measurement. The method never changes:

  1. Write the variation equation with kk still unknown (y=kxy = kx for direct variation).
  2. Substitute the one pair of values you are given and solve for kk.
  3. Rewrite the equation with kk filled in.
  4. Substitute the new value and compute the answer.

Finding kk first is what separates a variation problem from a guess. Once kk is known, the equation does the rest.

Worked example 1 A spring stretch (direct variation)

The distance a spring stretches varies directly with the weight hung from it. An 88 kg weight stretches the spring 1212 cm. How far will a 1010 kg weight stretch it?

Let yy be the stretch and xx the weight. Direct variation means y=kxy = kx. Substitute the known pair, y=12y = 12 when x=8x = 8, and solve for the constant:

12=k×8,k=128=1.5.12 = k \times 8, \qquad k = \frac{12}{8} = 1.5.

The constant of proportionality is 1.51.5 cm per kg. Put it back into the equation:

y=1.5x.y = 1.5x.

Now answer the question with x=10x = 10:

y=1.5×10=15 cm.y = 1.5 \times 10 = 15 \text{ cm}.

So a 1010 kg weight stretches the spring 1515 cm. Check the ratio: 128=1510=1.5\frac{12}{8} = \frac{15}{10} = 1.5, so both pairs share the same constant, exactly as direct variation demands.

Check your understanding

A recipe uses sugar in direct proportion to flour. 66 cups of flour need 44 cups of sugar. How much sugar do 1515 cups of flour need?

Answer choices

Inverse variation

Not every pair of quantities rises together. Sometimes making one larger makes the other smaller in exact proportion. Add more workers and a job finishes sooner; drive faster and a fixed trip takes less time. We say yy varies inversely with xx, or that yy is inversely proportional to xx, when there is a constant kk with

y=kx,equivalentlyxy=k.y = \frac{k}{x}, \qquad \text{equivalently} \qquad xy = k.

Now it is the product xyxy that stays fixed, not the ratio. Because y=k/xy = k/x, doubling xx halves yy, tripling xx cuts yy to a third, and halving xx doubles yy. The quantities move in opposite directions, but not by adding and subtracting: they move so that their product never budges.

Here is a fixed trip covered at different speeds, so the distance stays the same. Watch the product column:

xx (mph)yy (hours)xyxy
10101212120120
202066120120
303044120120
404033120120

Every row has xy=120xy = 120, so the travel time varies inversely with the speed, and the constant is k=120k = 120 (the fixed 120120-mile distance). The find-the-constant method works just as before, only now the equation is y=k/xy = k/x.

The difference between the two kinds of variation is which thing you are holding still, and a rectangle holds both candidates at once. Its area is the product of the two sides and its perimeter is not. So the figure below lets you fix a product and watch the two numbers making it move in opposite directions.

Start with inverse variation. Keep the area reading 2424: build 33 by 88, then 44 by 66, then 66 by 44, then 88 by 33. Doubling the width from 33 to 66 halves the height from 88 to 44, precisely what y=24/xy = 24/x demands, and the area never moves off 2424. Watch the perimeter while you do it. It reads 2222, 2020, 2020, 2222, so the sum of the sides is emphatically not what is being held constant here. Only the product is, which is the whole content of xy=kxy = k.

Now direct variation, from the same figure. Set the height to 33 and leave it alone, then step the width up from 11: the area runs 33, 66, 99, 1212, and so on. Divide each area by its width and you get 33 every time, so y=3xy = 3x with a constant of proportionality k=3k = 3. That constant is just the height you fixed. Doubling the width doubles the area here, where a moment ago doubling the width halved the other side. Same two numbers, opposite behaviour, decided entirely by which quantity you refused to let move.

Rectangle explorer

A rectangle 3 units wide and 8 units tall. Perimeter 22 units. Area 24 square units. A rectangle drawn on a grid of unit squares, inside a dashed boundary showing how large it can grow. Use the controls below the figure to change either dimension and watch the perimeter and the area separately. 3 8
Width Height

A rectangle 3 units wide and 8 units tall. Perimeter 22 units. Area 24 square units.

A rectangle whose width and height you set a square at a time, with the perimeter and the area both reported. The area is the product of the two sides, so a set of rectangles that all report one area is a set of number pairs sharing one product.

Worked example 2 Workers and time (inverse variation)

The time to pave a road varies inversely with the number of workers assigned. With 44 workers the job takes 99 days. How long will it take with 66 workers?

Let yy be the days and xx the number of workers. Inverse variation means xy=kxy = k, so find the constant by multiplying the known pair:

k=4×9=36.k = 4 \times 9 = 36.

The fixed amount of work is 3636 worker-days. Write the equation for the time:

y=36x.y = \frac{36}{x}.

Now set x=6x = 6:

y=366=6 days.y = \frac{36}{6} = 6 \text{ days}.

So 66 workers finish in 66 days. Notice the time fell from 99 days to 66, not by subtracting the two extra workers but because the product of workers and days must stay 3636. The tempting wrong move is to subtract; the correct relationship divides.

Check your understanding

For a fixed trip, travel time varies inversely with speed. At 4545 mph the trip takes 88 hours. How long does it take at 6060 mph?

Answer choices

Why a single constant is enough

One data pair fixes the whole relationship#

Take direct variation first. To say yy varies directly with xx is to say y=kxy = kx for some fixed number kk, and that single number is the only thing the relationship leaves open. Every other feature, the equation, the table, the graph, is settled the moment you know kk. So how much information do you need to find kk? Exactly one pair of matching values. Suppose you are told that yy equals y0y_0 when xx equals x0x_0, with x00x_0 \neq 0. Substituting gives y0=kx0y_0 = k x_0, and dividing by x0x_0 gives k=y0/x0k = y_0 / x_0. One pair, one division, and kk is known; from there y=kxy = kx produces yy for any xx you like. A direct-variation relationship therefore has a single degree of freedom, the constant kk, and one data point spends it.

Inverse variation runs the same way with one change. Here y=k/xy = k/x, so a known pair (x0,y0)(x_0, y_0) gives y0=k/x0y_0 = k / x_0, and multiplying by x0x_0 gives k=x0y0k = x_0 y_0. Again a single pair pins down kk, and again the whole relationship follows. This is why every problem in this lesson needs just one complete pair of values to begin: the pair buys the constant, and the constant is everything.

The two kinds of variation differ only in what stays constant as the numbers change. In direct variation, rearranging y=kxy = kx gives k=y/xk = y/x, so it is the ratio of yy to xx that never moves. In inverse variation, rearranging y=k/xy = k/x gives k=xyk = xy, so it is the product of xx and yy that never moves. That single contrast is the whole distinction: direct variation holds the ratio fixed, inverse variation holds the product fixed. When a fresh table lands in front of you and you cannot tell which kind it is, test both. If y/xy/x repeats, the variation is direct; if xyxy repeats, it is inverse.

Reading a table: ratio or product?

When a problem hands you a table and does not say which kind of variation it is, let the numbers decide. Test the ratio y/xy/x down the rows first: if it repeats, the relationship is direct and that repeated value is kk. If the ratio drifts, test the product xyxy: if it repeats, the relationship is inverse and that repeated value is kk. If neither holds steady, the relationship is something else (a quantity that grows with the square of another varies by a power, and those wait for later chapters).

Direct variation keeps the ratio constant; inverse variation keeps the product constantLeft table (direct): x = 1,2,3,4 and y = 3,6,9,12 with y/x = 3. Right table (inverse): x = 1,2,3,4 and y = 12,6,4,3 with xy = 12.Direct variationratio y/x stays constantxy132639412y/x = 3Inverse variationproduct xy stays constantxy112263443xy = 12
The two variations differ in what stays constant. In direct variation the ratio y over x repeats down the table; in inverse variation the product x times y repeats. Testing which one is steady tells you which kind of variation you have.

Worked example 3 Which kind is it? Reading a table

A table pairs these values: (x,y)=(3,8), (4,6), (6,4), (8,3)(x, y) = (3, 8),\ (4, 6),\ (6, 4),\ (8, 3). Decide whether the variation is direct or inverse, find the constant, and predict yy when x=12x = 12.

First test the ratio y/xy/x for direct variation. The first two ratios are 83\frac{8}{3} and 64=1.5\frac{6}{4} = 1.5, which already disagree, so the ratio is not constant and the variation is not direct.

Now test the product xyxy for inverse variation:

3×8=24,4×6=24,6×4=24,8×3=24.3 \times 8 = 24, \quad 4 \times 6 = 24, \quad 6 \times 4 = 24, \quad 8 \times 3 = 24.

The product is 2424 in every column, so the variation is inverse with k=24k = 24, and the equation is y=24xy = \frac{24}{x}. Predict the value at x=12x = 12:

y=2412=2.y = \frac{24}{12} = 2.

So when x=12x = 12, y=2y = 2. A steady product, not a steady ratio, is what marks the table as inverse.

Joint and combined variation

Real quantities often depend on several others at once, and the constant-of-proportionality idea stretches to cover them. When yy varies directly with two quantities together, we say yy varies jointly with xx and zz:

y=kxz.y = kxz.

When yy varies directly with one quantity and inversely with another, the relationship is called combined variation:

y=kxz.y = \frac{kx}{z}.

A quantity in the numerator drives yy up as it grows; a quantity in the denominator drives yy down. In both cases the method is unchanged: substitute one complete set of matching values to find kk, then use the finished equation. The only new care is placing each quantity on the correct side of the fraction.

Worked example 4 A banner's cost (joint variation)

The cost of a printed banner varies jointly with its width and its height. A banner 33 ft wide and 44 ft tall costs 1818 dollars. What does a banner 55 ft wide and 66 ft tall cost?

Let cc be the cost, ww the width, and hh the height. Joint variation means c=kwhc = kwh. Substitute the known banner to find the constant:

18=k×3×4=12k,k=1812=1.5.18 = k \times 3 \times 4 = 12k, \qquad k = \frac{18}{12} = 1.5.

The constant is 1.51.5 dollars per square foot. Write the finished equation and apply it to the new banner:

c=1.5wh=1.5×5×6=45 dollars.c = 1.5wh = 1.5 \times 5 \times 6 = 45 \text{ dollars}.

So the larger banner costs 4545 dollars. Joint variation is just direct variation with two partners at once, and the same single measurement fixes the constant.

Worked example 5 A beam's load (combined variation)

The safe load a wooden beam can carry varies directly with its width and inversely with its length. A beam 44 inches wide and 1010 feet long safely carries 800800 pounds. How much can a beam 66 inches wide and 88 feet long carry?

Let LL be the safe load, ww the width, and \ell the length. Combined variation means

L=kw.L = \frac{kw}{\ell}.

Substitute the first beam, L=800L = 800 when w=4w = 4 and =10\ell = 10:

800=k×410=2k5,k=800×52=2,000.800 = \frac{k \times 4}{10} = \frac{2k}{5}, \qquad k = 800 \times \frac{5}{2} = 2{,}000.

Write the finished equation and apply it to the second beam, w=6w = 6 and =8\ell = 8:

L=2,000×68=12,0008=1,500 pounds.L = \frac{2{,}000 \times 6}{8} = \frac{12{,}000}{8} = 1{,}500 \text{ pounds}.

So the second beam safely carries 1,5001{,}500 pounds. This beam is both wider and shorter. Width sits in the numerator, so more width raises the load. Length sits in the denominator, so less length also raises it, and both changes push the safe load up from 800800 to 1,5001{,}500 pounds.

Check your understanding

The variable yy varies directly with xx and inversely with zz. When x=6x = 6 and z=2z = 2, y=15y = 15. Find yy when x=8x = 8 and z=4z = 4.

Answer choices

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Free Response Questions (FRQ)

Longer questions in parts, to be worked out on paper. Progressive hints, the answer on its own so you can check yourself and try again, then the full worked solution, plus a rubric to mark your own work against.

Free response Work it out on paper 5 questions Start →
More practice (optional)

Extra sets, as hard as the Challenge set. Each one opens on its own page.

More resources (optional)

Other explanations of this lesson, if you want a second take.

A bit of history (Optional)

Greek mathematics could prove that two quantities kept step, and it did so without ever writing down a number for how.

Eudoxus, a Greek mathematician of about 350 BCE, built the theory that did the proving. It was powerful and it was general. It handled lengths, areas, weights and times, and it held up even for the pairs that no fraction could describe. What it never produced is the thing this lesson opens with. There is no constant anywhere in it. A proportion was a relation among four quantities, not a single number you could measure once and keep.

Naming that number changed what a proportion is for. Once you can write y=kxy = kx, a single measured pair fixes the constant. That one constant answers every question you have not thought to ask yet.

Robert Boyle showed what that is worth. In 1662 he trapped a column of air, holding the amount of gas and the temperature fixed. However hard he squeezed it, the pressure times the volume held very nearly steady. One measurement, one constant, and every later squeeze predicted.

That is this lesson’s method, run for the first time on the physical world. Find the constant, and then let the constant do the work.