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 for direct or inverse variation, 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

At a fixed price of 1.501.50 dollars per apple, 22 apples cost 33 dollars and 44 cost 66 dollars. In each case, cost is the number of apples multiplied by 1.501.50.

Two quantities are in direct variation when one is always a fixed multiple of the other. We say yy varies directly with xx, or yy is directly proportional to xx, when there is a nonzero 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 x≠0x \neq 0) shows what stays fixed:

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

The ratio y/xy/x is the same for every matching pair with nonzero xx, and that shared ratio is exactly kk. Because yy is a fixed multiple of xx, doubling xx doubles yy, and halving xx halves yy. Our applications use positive amounts and a positive kk, so the quantities rise or fall together. That direction alone is not enough: for example, y=x+2y = x + 2 rises with xx, but y/xy/x changes.

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=k⋅0=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.

Whatever the value of kk, a direct relationship always graphs as a straight line through the origin, and kk sets how steep that line is.

Find the constant, then solve

Once the variation type is known, find its constant before finding a new value:

  1. Write the equation, such as y=kxy = kx, with kk unknown.
  2. Substitute a known matching pair and solve for kk.
  3. Rewrite the equation with that value of kk.
  4. Substitute the new input and calculate.

For joint or combined variation later in the lesson, use a complete set of matching values, one for each quantity. One measurement determines kk only after the form of the relationship is known.

Worked example 1 A spring stretch (direct variation)

Within the range of weights in this problem, a spring’s stretch 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 give the same constant, as they must in direct variation.

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

A 120120-mile trip takes 44 hours at 3030 mph or 22 hours at 6060 mph. Doubling the speed halves the time. Both products, 30×430 \times 4 and 60×260 \times 2, give the same distance, 120120 miles. This is inverse variation: yy varies inversely with xx, or yy is inversely proportional to xx, when a nonzero constant kk gives

y=kx,equivalentlyxy=k(x≠0).y = \frac{k}{x}, \qquad \text{equivalently} \qquad xy = k \qquad (x \neq 0).

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. For the positive quantities in our applications, they move in opposite directions, keeping their product fixed.

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 rectangle below shows both patterns, depending on which quantities you compare.

For inverse variation, compare width xx with height yy while keeping the area 2424. Try 33 by 88, 44 by 66, 66 by 44, and 88 by 33. Each product is 2424. Doubling the width from 33 to 66 halves the height from 88 to 44, so y=24/xy = 24/x. The perimeters are 2222, 2020, 2020, and 2222: the product is fixed, not the sum.

For direct variation, fix the height at 33 and compare width xx with area yy. Widths 11, 22, 33, and 44 give areas 33, 66, 99, and 1212. Every area divided by its width is 33, so y=3xy = 3x. Here the fixed height is kk. Notice the change in what yy means: height in the first comparison, area in the second.

Direct and inverse variation in a rectangle

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.

Keep area fixed to compare width and height: their product stays constant, showing inverse variation. Keep height fixed to compare width and area: area divided by width stays constant, showing direct variation. The readouts show each rectangle's area and perimeter.

Worked example 2 Workers and time (inverse variation)

Assume every worker paves at the same steady rate and none gets in another’s way. Under that assumption 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. The time fell from 99 days to 66 because the product of workers and days must stay 3636, so the time is the total work divided by the number of workers. Subtracting the two extra workers from the days would give the wrong answer. Using the number of workers this way works only because every worker paves at the same rate. If the workers had different speeds, the time would vary inversely with their combined rate, not with their count.

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

For direct and inverse variation, one data pair fixes the whole relationship#

For direct variation, suppose y=20y = 20 when x=5x = 5. Then 20=5k20 = 5k, so k=4k = 4 and the rule is y=4xy = 4x. For inverse variation with the same pair, 20=k/520 = k/5, so k=100k = 100 and the rule is y=100/xy = 100/x. The pair determines a different constant for each type, which is why the type must be known first.

For any known pair (x0,y0)(x_0,y_0) with x0≠0x_0 \neq 0, the same steps give the constant. In direct variation,

y0=kx0⟹k=y0x0.y_0 = kx_0 \quad \Longrightarrow \quad k = \frac{y_0}{x_0}.

In inverse variation,

y0=kx0⟹k=x0y0.y_0 = \frac{k}{x_0} \quad \Longrightarrow \quad k = x_0y_0.

Each equation fixes one value of kk. Substituting it into y=kxy=kx or y=k/xy=k/x gives the rule for every allowed input. Direct variation at (0,0)(0,0) would not fix kk, because 0=k⋅00=k\cdot0 is true for every kk; inverse variation does not allow x=0x=0 at all.

Reading a table: ratio or product?

To test whether a table fits direct variation, every row with nonzero xx must give the same nonzero ratio y/xy/x. Any row with x=0x=0 must have y=0y=0. If all rows are (0,0)(0,0), they fit direct variation but do not determine kk. To test inverse variation, every xx must be nonzero and the products xyxy must have the same nonzero value. If neither test works, neither model fits.

A finite table tells you whether a model fits the listed pairs. Predicting an unlisted value assumes that the same relationship continues.

Direct variation keeps the ratio constant; inverse variation keeps the product constantUpper table (direct): x = 1,2,3,4 and y = 3,6,9,12 with y/x = 3. Lower 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. Check the nonzero ratio or product to see which models fit the listed pairs.

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 for every listed pair, so the data fit inverse variation with k=24k=24. Assuming this model continues, use y=24xy=\frac{24}{x} to predict the value at x=12x=12:

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

So when x=12x = 12, y=2y = 2.

Check your understanding

A relationship known to be direct or inverse variation has pairs (x,y)=(3,21), (5,35), (8,56)(x, y) = (3, 21),\ (5, 35),\ (8, 56). Test the ratio and the product. Which kind of variation is this, and what is kk?

Answer choices

Joint and combined variation

Often a quantity depends on several others at once. In the two patterns below, one constant of proportionality still describes the relationship. 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}.

In our positive-quantity examples, increasing a numerator quantity raises yy when the other quantities stay fixed. Increasing a denominator quantity lowers yy. A denominator cannot be zero.

Use a complete set of known values to find kk. For y=kxzy=kxz, divide by xzxz, so both xx and zz must be nonzero in that set. For y=kx/zy=kx/z, multiply by zz and divide by xx, so xx must also be nonzero when finding kk. Then use the resulting equation for the new values.

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.

Check your understanding

The volume of a box varies jointly with its length and its width, for a fixed height. A box 44 in long and 33 in wide holds 2424 in3^3. How much does a box 66 in long and 55 in wide hold?

Answer choices

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

In this simplified model, beams of the same material, depth, and support arrangement have a safe load that varies directly with width and inversely with 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}.

The model predicts a safe load of 1,5001{,}500 pounds for the second beam. 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.

Core practice

Practice problems at the level of the course, to be worked out on paper. Hints one at a time, then the answer or the full worked solution, with your progress kept in this browser.

Core practice Work it out on paper 10 problems 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)

How could Greek mathematicians compare lengths when no whole-number fraction described their ratio? A square’s side and diagonal presented just that difficulty.

Eudoxus, who lived in the fourth century BCE, developed a theory of proportion that could handle such lengths. Instead of turning every comparison into a fraction, it compared multiples of the quantities. The theory survives in Book V of Euclid’s Elements. With it, mathematicians could reason about proportions even when no shared unit measured both lengths exactly. MacTutor explains Eudoxus’s contribution.

Centuries later, Robert Boyle investigated a physical proportion by trapping air in the sealed end of a J-shaped tube. Adding mercury to the open end increased the pressure and squeezed the air into a smaller space. In data published in 1662, the pressure multiplied by the volume stayed nearly constant, within experimental error.

The relationship now called Boyle’s law describes a fixed amount of gas at constant temperature. Boyle took many readings to test whether the pattern held across all of them. Purdue University reproduces the experiment and data.

Your progress

See all your progress →