direct variation

Direct Variation: The Equation y = kx, How to Find k, and Which Tables and Graphs Qualify

Short answerp. 1

Direct variation is a relationship where one quantity is always the same constant multiple of another: y=kxy=kx, with no added or subtracted term. The direct variation definition, in short: double xx and yy doubles too, because the ratio y/xy/x never changes. To explain direct variation with one test, check whether the graph passes through the origin and whether every y÷xy\div x ratio in a table matches.

On this page
  1. What is direct variation?
  2. The direct variation equation: y = kx
  3. How to find k from a table, a point or a graph
  4. Which equation represents a direct variation?
  5. Direct variation graphs: a straight line through the origin
  6. Find a direct variation model that relates y and x
  7. Direct vs inverse variation, and y = kx²
  8. Practice: ten items with answers
  9. When the algebra unit is due

What is direct variation?

What is direct variation? The direct variation meaning is narrower than it sounds: it's not just "two things that go up together," it's specifically a relationship where the ratio between them, y/xy/x, stays exactly constant at every point — a stricter test than just both variables trending the same direction. The direct variation definition rules out anything with an added constant, anything curved, and anything where the ratio drifts even slightly as the numbers change. Once you have a candidate value of kk, confirming it works is checking a value by substitution applied to this specific equation form — plug a known xx and yy pair back into y=kxy=kx and see whether both sides match.

The direct variation equation: y = kx

The form y = kx and the constant of variation

What is direct variation in math? It's a relationship where yy is always the same multiple of xx: y=kxy=kx, where kk is the constant of variation and k≠0k \neq 0. Double xx and yy doubles too; the ratio y/xy/x never changes. This is what the direct variation equation looks like — no constant term, ever, because the graph must pass through the origin.

Every direct variation problem reduces to finding this one number, kk, once the form itself is confirmed — after that, the formula is completely determined.

How to find k from a table, a point or a graph

Finding k from a table or a point

Finding the constant of variation from a table
xx246
yy61218

Scroll the table sideways to see every column.

Every ratio y÷xy \div x in this table equals 3, so k=3k=3 and the direct variation equation here is y=3xy=3x. From a single point instead — say (5,20)(5,20) — the same idea applies: k=20÷5=4k=20\div5=4, giving y=4xy=4x. A mole-ratio proportion in a stoichiometry problem is a direct-variation relationship too, the kind covered in chemistry and biology homework help — the word problems further down this page work through a physics example of the identical pattern.

Which table represents a direct variation function?

Which table represents a direct variation function comes down to the same ratio check: divide yy by xx in every row, and see whether the result is identical every time. The table above passes — every ratio equals 3. A table where the ratio changes row to row fails, no matter how orderly the numbers otherwise look, because a changing ratio means the relationship isn't a constant multiple after all. This check works on any number of rows — two rows are enough to rule a table out the moment their ratios disagree, but confirming a table qualifies means checking every row, since one mismatched pair anywhere in the table is enough to fail it.

Finding k from a graph

A direct-variation graph is a straight line, so kk is just that line's slope: rise over run. A line that climbs 3 units for every 1 unit it runs has slope 3, so k=3k=3 and the equation is y=3xy=3x — the identical line the table above describes. Reading kk off a graph and reading kk off a table or a point are three routes to the same number, not three different numbers.

Which equation represents a direct variation?

Which equation represents a direct variation comes down to one test: does it fit the form y=kxy=kx, with nothing added or subtracted?

Which equation represents a direct variation - spotting the impostors (y = kx + b is not one)

Which of these represents a direct variation?

  • A) y=4xy=4x — yes. Pure multiple of xx, k=4k=4, passes through the origin.
  • B) y=4x+2y=4x+2 — no. The added constant means the graph misses the origin; this is y=kx+by=kx+b, a different family entirely.
  • C) y=4/xy=4/x — no. This is inverse variation: the product xyxy stays constant, not the ratio.
  • D) y=x2y=x^2 — no. It isn't linear at all, so the ratio y/xy/x changes as xx changes.

Under Common Core 8.EE, this is exactly the distinction eighth-grade standards test: a direct variation equation, not any equation that happens to contain both xx and yy.

Direct variation graphs: a straight line through the origin

Every direct variation graph passes through the origin, (0,0)(0,0), because y=k(0)=0y=k(0)=0 regardless of what kk turns out to be — there's no way to write a direct-variation equation that misses that one point.

y = 3x, five points
xx-2-1012
yy-6-3036

Scroll the table sideways to see every column.

The line passes through (0,0)(0,0) and climbs at a constant rate on both sides of it. Compare that with y=3x+2y=3x+2: at x=0x=0, y=2y=2, not 0 — the graph shifts up off the origin, which is the fastest visual test for ruling a candidate equation out before doing any algebra on it at all. A negative kk still produces a straight line through the origin; it just slopes downward instead of upward, falling from left to right instead of rising.

Find a direct variation model that relates y and x

Finding a direct variation model that relates y and x is the same three-step process every time: find kk from whatever information is given, write the equation, then use it to predict a new value.

A spring: Hooke's law

A spring stretches 6 cm when a 2 kg mass hangs from it. Stretch distance dd varies directly with mass mm: d=kmd=km. From the given values, k=6÷2=3k=6\div2=3, so the model is d=3md=3m. Predict the stretch for a 5 kg mass: d=3(5)=15d=3(5)=15 cm. This is Hooke's law and other physics relationships in its simplest form — force or stretch as a constant multiple of what's causing it.

An hourly wage

Earnings EE vary directly with hours worked hh. A paycheck shows $90 earned for 12 hours: k=90÷12=7.5k=90\div12=7.5, so E=7.5hE=7.5h. Predict earnings for a 20-hour week: E=7.5(20)=150E=7.5(20)=150.

Distance at a constant speed

Distance dd varies directly with time tt at a constant speed. A car covers 150 miles in 3 hours: k=150÷3=50k=150\div3=50, so d=50td=50t, and speed itself is the constant of variation here. Predict the distance after 5 hours: d=50(5)=250d=50(5)=250 miles. Notice the pattern across all three examples: kk is always found the same way, by dividing a known output by its matching input, regardless of what the two quantities actually represent.

Direct vs inverse variation, and y = kx²

In direct variation, y = kx: the ratio y/x stays fixed, and for positive k, y rises as x rises. In inverse variation, y = k/x: the product xy stays fixed, and y falls as x rises.

Direct vs inverse variation
Direct variationInverse variation
Equationy=kxy=kxy=k/xy=k/x
As x increases (for positive k)y increasesy decreases
What stays constantthe ratio, y/x=ky/x=kthe product, xy=kxy=k
Grapha line through the origina curve approaching both axes

A third relative, y=kx2y=kx^2, is direct variation with the square instead of xx itself — for positive kk and xx, yy still grows as xx grows, but faster, since doubling xx quadruples yy instead of doubling it. A dropped object's fall distance varies directly with the square of the time it has been falling: d=16t2d=16t^2 (feet, seconds). After 3 seconds, d=16(3)2=16(9)=144d=16(3)^2=16(9)=144 feet. Solving for tt when dd is given instead turns this equation into a quadratic — see solving the quadratic that y = kx² can produce for that method.

Practice: ten items with answers

  1. Is y=7xy=7x direct variation? — Yes, k=7k=7.
  2. Is y=7x+2y=7x+2 direct variation? — No, it has a constant term.
  3. Is y=x/5y=x/5 direct variation? — Yes, equivalent to y=(1/5)xy=(1/5)x, so k=1/5k=1/5.
  4. Table xx: 1, 2, 3; yy: 4, 8, 12 — direct variation? — Yes, k=4k=4 (every ratio matches).
  5. Table xx: 1, 2, 3; yy: 5, 8, 11 — direct variation? — No, the ratios are 5, 4 and 3.67 — not constant.
  6. If y=9y=9 when x=3x=3, find kk and write the equation. — k=3k=3, so y=3xy=3x.
  7. Using y=3xy=3x from item 6, find yy when x=10x=10. — y=30y=30.
  8. Is y=2/xy=2/x direct variation? — No, that's inverse variation.
  9. A recipe uses 2 cups of flour per 12 cookies. Write a direct variation equation relating cups cc to cookies nn, and find the cups needed for 30 cookies. — k=2÷12=1/6k=2\div12=1/6, so c=n/6c=n/6; for n=30n=30, c=5c=5 cups.
  10. Does the graph of y=−4xy=-4x pass through the origin? — Yes — every direct-variation graph does, regardless of the sign of kk.

When the algebra unit is due

Spotting direct variation and finding kk takes a minute once the one test — does it fit y=kxy=kx — becomes automatic. A full algebra problem set covering direct variation alongside equations, inequalities and word problems is a longer job, and it's where most students look for homework help across math and science instead of working every item alone. GradeDraft's math desk sends back an algebra set worked step by step, priced from $25 per problem after a quick look at the set.

Send the assignment or a photo of it. You'll get a per-problem quote back within 2 hours (8 am–11 pm ET) and full worked steps with the delivery.

Get my algebra set solved

FAQ

Direct variation questions

Replies within 2 hours, 8 am–11 pm ET, 7 days a week

01

What is direct variation in math?

Direct variation is a relationship where one variable is always the same constant multiple of another, written y=kxy=kx. The ratio y/xy/x stays fixed at kk no matter which pair of values you check. When kk is positive, yy increases in proportion as xx increases; when kk is negative, yy falls in proportion instead.

02

What is the direct variation formula?

The direct variation formula is y=kxy=kx, where kk is the constant of variation. Given any one matching pair of xx and yy values, k=y÷xk=y\div x, and that single number determines the entire equation — nothing else needs to be found. For example, if y=12y=12 when x=3x=3, then k=4k=4 and the formula is y=4xy=4x.

03

Is y = kx + b a direct variation?

No. Adding a constant bb shifts the graph off the origin, so the ratio y/xy/x stops being fixed once b≠0b\neq0. y=kx+by=kx+b is a linear equation, but only y=kxy=kx, with bb equal to exactly 0, counts as direct variation. For y=2x+1y=2x+1, the ratio is 3 at x=1x=1 but 2.5 at x=2x=2.

04

How do you find the constant of variation?

Divide any known yy-value by its matching xx-value: k=y÷xk=y\div x. From a table, check that this ratio is identical in every row before trusting it; from a graph, kk is simply the line's slope. For the points (2, 6), (4, 12) and (6, 18), every ratio is 3, so k=3k=3 and the equation is y=3xy=3x.

05

What is the difference between direct and inverse variation?

In direct variation, y=kxy=kx and the ratio y/xy/x stays constant; for positive kk, both variables move in the same direction. In inverse variation, y=k/xy=k/x and the product xyxy stays constant instead; for positive kk, as one variable increases, the other decreases. The graphs differ too: a straight line through the origin for direct variation, a curve that approaches but never touches either axis for inverse. Speed and travel time over a fixed distance are a common inverse example: drive faster and the trip takes less time.

Published price from$25 per problem
See my price