Direct Variation Calculator

Use one known pair to find k, then the missing x or y.

The x of the pair you know, like 4.

The y of the pair you know, like 12.

Try

Result

You enteredx=5,  y=2x = 5, \; y = 2

k=0.4,  y=0.4x\displaystyle k = 0.4, \; y = 0.4x

Equation

y=0.4x\displaystyle y = 0.4x
Show the work
  1. Direct variation

    In direct variation yy is a constant multiple of xx, so y=kxy = kx where kk is the constant of variation: yy grows in step with xx.

  2. Find the constant of variation

    Use the known pair x=5x = 5 and y=2y = 2: divide yy by xx to get kk.

    k=yx=25=0.4\begin{aligned} k &= \frac{y}{x} \\ &= \frac{2}{5} \\ &= 0.4 \end{aligned}
  3. Result

    So k=0.4k = 0.4 and the equation is y=0.4xy = 0.4x.

Worked examples