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=4,  y=12x = 4, \; y = 12

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

Equation

y=3x\displaystyle y = 3x
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=4x = 4 and y=12y = 12: divide yy by xx to get kk.

    k=yx=124=3\begin{aligned} k &= \frac{y}{x} \\ &= \frac{12}{4} \\ &= 3 \end{aligned}
  3. Result

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

Worked examples