Lines & Graphs

Inverse Variation: Formula, Graph and Worked Examples

Two quantities vary inversely when their product never changes: y=kxy=\dfrac{k}{x}, which is the same as xy=kxy=k, where k≠0k\neq 0 is the constant of variation. Double xx and yy is cut in half. Triple xx and yy drops to a third.

y=kxy = \frac{k}{x}

Try it with your numbers

Show every step

Every problem on this topic comes down to one move: find kk from a known pair, then reuse it. The sections below show why the formula has this shape, how to solve problems quickly, how tables and graphs reveal the pattern, and which lookalike ideas cost students points.

Where does the inverse variation formula come from?

Picture a rectangle whose area is locked at kk. If the width is xx and the length is yy, then xy=kxy=k. Stretch the width and the length must shrink to keep the area fixed. That conserved product is the entire idea, and solving for yy gives the formula.

y=kxy=\frac{k}{x}

There is a second way to see it. Inverse variation is direct variation applied to the reciprocal: yy varies directly with 1x\frac{1}{x}, so y=k⋅1xy=k\cdot\frac{1}{x}. That explains why the constant behaves the way it does, and why multiplying xx by any number cc divides yy by that same cc:

kcx=1c⋅kx\frac{k}{cx}=\frac{1}{c}\cdot\frac{k}{x}

Two restrictions are built in. The value xx cannot be 00, because you cannot divide by zero. The constant kk cannot be 00 either, since k=0k=0 would force y=0y=0 everywhere, which is a flat line and not an inverse relationship. The phrases ”yy varies inversely as xx”, ”yy is inversely proportional to xx” and “indirect variation” all mean y=kxy=\frac{k}{x}.

Quick check

If yy varies inversely as xx and xx is multiplied by 5, what happens to yy?

How do you solve an inverse variation problem?

Wrong direct-proportion setup giving y equals 49 beside correct product method giving y equals 4
Setting up 6/14 = 21/y treats the problem as direct variation and gives 49, but keeping the product 84 fixed gives the correct y = 4.

Every problem follows the same three moves:

  1. Write y=kxy=\dfrac{k}{x}.
  2. Substitute the known pair and compute k=xyk=xy.
  3. Put kk back into the equation, then substitute the new value.

Example 1. yy varies inversely as xx, and y=14y=14 when x=6x=6. Find yy when x=21x=21.

k=xy=6⋅14=84⇒y=84xk=xy=6\cdot 14=84 \quad\Rightarrow\quad y=\frac{84}{x}

y=8421=4y=\frac{84}{21}=4

There is a faster route that skips kk entirely. Because the product never changes, any two pairs satisfy x1y1=x2y2x_1y_1=x_2y_2:

6⋅14=21⋅y⇒y=8421=46\cdot 14=21\cdot y \quad\Rightarrow\quad y=\frac{84}{21}=4

The trap that costs the most points is setting up a normal proportion. Writing 614=21y\frac{6}{14}=\frac{21}{y} is a direct-variation setup and gives y=49y=49, which is absurd: xx grew, so yy must shrink. For inverse variation the ratios are flipped, x1x2=y2y1\frac{x_1}{x_2}=\frac{y_2}{y_1}. Check it here: 621=27\frac{6}{21}=\frac27 and 414=27\frac{4}{14}=\frac27.

How can you tell inverse variation from a table?

Two tables compare y equals 10 minus x with changing products against y equals 40 over x with constant product
The line y = 10 - x falls as x rises, but its products change, while y = 40/x keeps xy = 40 in every column.

Multiply the entries in each row pair. If every product is the same number, the data is an inverse variation and that number is kk.

xx 2 4 5 8 10
yy 20 10 8 5 4
xyxy 40 40 40 40 40

Here k=40k=40 and y=40xy=\frac{40}{x}. Notice that you only need one product to define the relationship, and the rest of the table is a consistency check.

“One goes up, the other goes down” is necessary but not sufficient, and this is where students get fooled. Take y=10−xy=10-x: the pairs (2,8)(2,8), (4,6)(4,6), (5,5)(5,5), (8,2)(8,2) also fall as xx rises, but the products are 1616, 2424, 2525, 1616. That relationship is a line. A line has the same average rate of change everywhere, and the slope formula returns −1-1 between any two of its points. In the table above, the rate between (2,20)(2,20) and (4,10)(4,10) is −5-5, while between (8,5)(8,5) and (10,4)(10,4) it is −0.5-0.5. A changing rate is the signature of the curve.

The one-line test

Multiply every pair: a repeated product means inverse variation. Divide every pair: a repeated quotient yx\frac{y}{x} means direct variation. If neither repeats, the relationship is something else.

What does the graph of inverse variation look like?

The graph of y=kxy=\frac{k}{x} is a hyperbola: two separate curved branches. With k>0k>0 the branches sit in Quadrants I and III, and with k<0k<0 they sit in Quadrants II and IV, which you can confirm with the four quadrants and their sign rules. The branches bend toward the axes but never reach them, because x=0x=0 and y=0y=0 are both impossible.

That means the axes are asymptotes, the lines the curve approaches without touching. They are exactly the horizontal and vertical lines y=0y=0 and x=0x=0. It also means the graph has no intercepts, so the usual method of finding xx and yy intercepts returns nothing here.

To draw it, use the same table method as for graphing a line with a table of values, but pick more points and join them with a smooth curve. For y=12xy=\frac{12}{x}, the points (1,12)(1,12), (2,6)(2,6), (3,4)(3,4), (4,3)(4,3), (6,2)(6,2) and (12,1)(12,1) are easy to plot on the coordinate plane, and each one has a mirror image in Quadrant III such as (−3,−4)(-3,-4). Include fractions like x=12x=\frac12 to see the curve climb steeply near the yy-axis. Never join the two branches across x=0x=0.

Try this: Make a table for y=12xy=\frac{12}{x} with x=1,2,3,4,6,12x=1,2,3,4,6,12 and plot it. Then repeat for y=−12xy=-\frac{12}{x} and describe what happened to the branches.

Inverse variation vs direct variation: how to tell them apart

Both relationships have one constant kk and both need only one known pair to pin down, but they hold different things fixed.

  • Direct variation, y=kxy=kx: the quotient yx\frac{y}{x} is constant, and the graph is a straight line through the origin with slope kk.
  • Inverse variation, y=kxy=\frac{k}{x}: the product xyxy is constant, and the graph is a hyperbola with no single slope.

Direct variation is just slope-intercept form with the intercept forced to 00, which is why its slope is kk. Inverse variation cannot be rewritten as y=mx+by=mx+b at all. A related point: a general line needs two points before you can write its equation (see the equation of a line through two points), but both variation types need only one, since the form of the equation is already decided.

Wording is the other trap. “Varies directly” and “is proportional to” signal y=kxy=kx. “Varies inversely”, “inversely proportional” and “indirect” signal y=kxy=\frac{k}{x}. When a sentence mentions both (yy varies directly with one thing and inversely with another), the problem is a combined variation, covered below.

Many problems hide the type inside a story. Ask one question: when one quantity doubles, does the other double or halve?

How does inverse variation work with negatives and fractions?

Nothing in the method changes. The sign of kk comes along for the ride, and fractions just mean dividing by a fraction.

Example 2. yy varies inversely as xx, and y=12y=\frac12 when x=−8x=-8. Find yy when x=23x=\frac23.

k=xy=(−8)(12)=−4⇒y=−4xk=xy=(-8)\left(\frac12\right)=-4 \quad\Rightarrow\quad y=-\frac{4}{x}

y=−4÷23=−4⋅32=−6y=-4\div\frac23=-4\cdot\frac32=-6

Check with the product: 23⋅(−6)=−4\frac23\cdot(-6)=-4, which matches kk.

Notice how the sign of kk works as a quick diagnostic. If k<0k<0, then xx and yy always have opposite signs, so the graph lives in Quadrants II and IV. In Example 2 that fits: x=−8x=-8 paired with y=12y=\frac12, then x=23x=\frac23 paired with y=−6y=-6. If your answer breaks that sign pattern, an arithmetic slip has crept in.

With fractional inputs, the two-pair form x1y1=x2y2x_1y_1=x_2y_2 often keeps the algebra cleaner. Dividing by a fraction means multiplying by its reciprocal, so −42/3\frac{-4}{2/3} becomes −4⋅32-4\cdot\frac32. Do that step on its own line rather than in your head.

Quick check

Every point on a graph satisfies xy=−12xy=-12. Which quadrants does the graph occupy?

What are inverse square and combined variation?

Sometimes yy depends on a power of xx. If yy varies inversely as the square of xx, then y=kx2y=\frac{k}{x^2}, and the constant is k=x2yk=x^2y.

Example 3. yy varies inversely as the square of xx, and y=18y=18 when x=2x=2. Find yy when x=6x=6.

k=x2y=22⋅18=72⇒y=72x2k=x^2y=2^2\cdot 18=72 \quad\Rightarrow\quad y=\frac{72}{x^2}

y=7262=7236=2y=\frac{72}{6^2}=\frac{72}{36}=2

The mental check: xx tripled, so yy is divided by 32=93^2=9, and 18÷9=218\div 9=2. In general, scaling xx by cc divides yy by cnc^n. This is how light intensity, gravity and electric force weaken with distance.

When the power is unknown, take logarithms. From y=kx−ny=kx^{-n} you get log⁡y=log⁡k−nlog⁡x\log y=\log k-n\log x, so on a log-log plot the data forms a straight line with slope −n-n. That is the power rule from the logarithm rules doing real work.

Combined variation mixes types in one equation with a single constant. ”zz varies directly as xx and inversely as yy” means z=kxyz=\frac{kx}{y}, so k=zyxk=\frac{zy}{x}. Find kk from one set of values, then substitute the new ones.

Is inverse variation the same as an inverse function?

No, and the shared word causes confusion. An inverse function undoes another function: f−1f^{-1} reverses ff. Inverse variation describes a reciprocal-style relationship where the product is constant. They are different ideas that happen to share a name.

There is one neat overlap. The function f(x)=kxf(x)=\frac{k}{x} is its own inverse. Solve x=kyx=\frac{k}{y} for yy and the same formula comes back. Geometrically, swapping xx and yy reflects a graph over the line y=xy=x, and the hyperbola maps onto itself, which is why (2,6)(2,6) and (6,2)(6,2) both lie on y=12xy=\frac{12}{x}.

Two other lookalikes: the multiplicative inverse of xx is 1x\frac1x, which is just the case k=1k=1. And perpendicular lines have slopes that are negative reciprocals, as described in slopes of parallel and perpendicular lines. That is a rule about slopes of two lines, not an inverse variation between xx and yy.

Self-inverse check

For f(x)=12xf(x)=\frac{12}{x}, applying ff twice returns the start: f(3)=4f(3)=4, then f(4)=3f(4)=3.

Where is inverse variation used in real life?

Whenever a total is fixed and shared out, an inverse relationship appears. Travel at a constant distance dd gives t=drt=\frac{d}{r}, so doubling speed halves time. Ohm’s law at a fixed voltage gives I=VRI=\frac{V}{R}: more resistance, less current. Boyle’s law says PV=kPV=k for a gas at constant temperature. If 33 L of gas is at 22 atm, then k=6k=6, and squeezing it to 1.51.5 L gives P=61.5=4P=\frac{6}{1.5}=4 atm.

Work problems are the classic trap. If 55 workers finish a job in 1212 days, the fixed quantity is 6060 worker-days, so 88 workers need 608=7.5\frac{60}{8}=7.5 days. That holds only when every worker is equally fast and adding people adds no coordination cost. When the quantity is not truly fixed, the model fails. Ten ovens do not cook one turkey faster.

Before using y=kxy=\frac{k}{x} on a story, name the fixed product in words (“total distance”, “total worker-days”, “total energy”). If you cannot name it, the relationship probably is not inverse variation.

Quick check

A trip takes 6 hours at 50 mph. At the same distance, how long does it take at 75 mph?

How do you check an inverse variation answer?

Three quick checks catch almost every error. First, direction: if the new xx is larger than the old one, the new yy must be smaller, and the reverse. Second, scale factor: divide new xx by old xx to get cc, then the new yy should be the old yy divided by cc. Third, product: multiply your new pair and confirm it equals kk.

Run them on Example 1. The xx went from 66 to 2121, so c=216=3.5c=\frac{21}{6}=3.5. Then 14÷3.5=414\div3.5=4, which matches. The product 21⋅4=8421\cdot4=84 also equals kk. All three checks agree, so the answer is solid.

For tables and graphs, the product check is the strongest. One repeated product across every pair is a fingerprint. A single odd product means the data is not inverse variation, or that one entry has a typo.

Practice problems

0 of 5 solved

  1. yy varies inversely as xx, and y=12y=12 when x=3x=3. Find yy when x=9x=9.

  2. xx and yy vary inversely, and y=2.5y=2.5 when x=8x=8. Find xx when y=10y=10.

  3. Does the table (2,36),(3,24),(4,18),(6,12)(2,36),(3,24),(4,18),(6,12) show inverse variation? If so, find yy when x=9x=9.

  4. yy varies inversely as the square of xx, and y=5y=5 when x=4x=4. Find yy when x=10x=10.

  5. yy varies inversely as xx, and y=−9y=-9 when x=−23x=-\frac23. Find xx when y=4y=4.

Common questions

What is the formula for inverse variation?

The formula is y=kxy=\frac{k}{x}, which can also be written xy=kxy=k. The constant kk is the constant of variation, and neither kk nor xx can be zero.

How do you find the constant of variation in an inverse variation?

Multiply a known xx and its matching yy. Because xy=kxy=k, that single product is the constant, and every other pair in the relationship gives the same product.

Is inverse variation the same as inverse proportion?

Yes. Inverse variation, inverse proportion, inversely proportional and indirect variation all describe y=kxy=\frac{k}{x}, where the product of the two quantities is constant.

Can the constant of variation be negative?

Yes. A negative kk means xx and yy always have opposite signs, so the graph sits in Quadrants II and IV. Most word problems use positive kk because the quantities are positive.

What does the graph of inverse variation look like?

It is a hyperbola with two branches. The branches approach the xx-axis and yy-axis but never touch them, and they lie in Quadrants I and III when k>0k>0.

How do you tell direct and inverse variation apart?

Divide yy by xx for several pairs, then multiply them. A constant quotient means direct variation, and a constant product means inverse variation.

Up next