Direct or inverse variation: which model matches the relationship?

Direct variation keeps a constant ratio y/x; inverse variation keeps a constant product xy. The data pattern decides the model.

LaTeX article Updated July 13, 2026

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

Direct variation passes through the origin

In y = kx, the constant k is both the ratio y/x and the slope. When x is zero, y is zero.

A nonzero starting value belongs to a general linear model y = mx + b, not direct variation.

yx=k\frac yx=k

Inverse variation keeps a product constant

In y = k/x, increasing one quantity forces the other down so that xy stays equal to k. The graph has two branches and excludes x = 0.

Travel time for a fixed distance and pressure-volume relationships under controlled conditions are common examples.

xy=kxy=k

Test more than one data pair

One pair can determine k for either proposed model. Use another pair to test whether the same ratio or product remains constant.

Real data may only approximate variation, so distinguish an exact algebra exercise from a fitted scientific model.

y1x1=y2x2orx1y1=x2y2\frac{y_1}{x_1}=\frac{y_2}{x_2}\quad\text{or}\quad x_1y_1=x_2y_2

Worked example

Common mistakes

  • Calling every line a direct variation.
  • Checking only one data pair.
  • Forgetting that inverse variation excludes x = 0.

Keep these ideas

  • Direct variation preserves a ratio.
  • Inverse variation preserves a product.
  • Use multiple data pairs to test the model.
Vocab
Rational expression
Math glossaryRational expression
p(x)q(x)\frac{p(x)}{q(x)}

A quotient of polynomials with a nonzero denominator.

Learn more
Denominator
Math glossaryDenominator
ab\frac{a}{\color{#df5f3f}{b}}

The nonzero expression below a fraction bar.

Learn more
Domain
Math glossaryDomain
domf\operatorname{dom}f

The set of permitted input values.

Learn more
Rational equation
Math glossaryRational equation
p(x)q(x)=r(x)s(x)\frac{p(x)}{q(x)}=\frac{r(x)}{s(x)}

An equation containing one or more rational expressions.

Learn more
Extraneous solution
Math glossaryExtraneous solution
candidate⇏solution\text{candidate}\not\Rightarrow\text{solution}

A candidate created by algebra that fails the original problem.

Learn more
Math glossary