Direct and Inverse Variation

April 12, 2026

Problem

Compare y=3x (direct: doubling x doubles y) vs y=12/x (inverse: doubling x halves y).

Explanation

Direct variation: y=kxy = kx

yy and xx change in the same direction. Double xx → double yy. The graph is a straight line through the origin. kk is the constant of proportionality.

Example: distance =speed×time= \text{speed} \times \text{time}. At constant speed, doubling time doubles distance.

Inverse variation: y=k/xy = k/x

yy and xx change in opposite directions. Double xx → halve yy. The graph is a hyperbola. The product xy=kxy = k is always constant.

Example: If 6 workers finish a job in 4 hours, then 12 workers finish in 2 hours. More workers → less time.

How to tell them apart

  • Direct: y/x=ky/x = k (constant ratio)
  • Inverse: xy=kxy = k (constant product)

Try it in the visualization

Both functions are graphed side by side. Adjust kk and trace how yy responds to changes in xx. For direct variation, the line steepens; for inverse, the hyperbola shifts. y=k/xy= k/x. yy and xx change in opposite directions. The constant kk is the constant of proportionality.

Interactive Visualization

Parameters

12.00
2.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Direct and Inverse Variation | MathSpin