Skip to main content
The new Teacher Workspace is here. Your first 3 assignments are free. Try it →

Direct variation

Direct variation is a proportional relationship in College Algebra where two variables change by the same factor and the equation has the form y = kx. The graph is a line through the origin.

Last updated July 2026

What is direct variation?

Direct variation is a special kind of linear relationship in College Algebra where one variable is a constant multiple of the other. You usually write it as y = kx, where k is the constant of variation, also called the constant of proportionality.

That equation has one big clue built in: when x = 0, y must also equal 0. So a direct variation graph always passes through the origin, (0, 0). If your line has a y-intercept anywhere else, it is not direct variation, even if it is still linear.

The value of k tells you the fixed rate between the variables. If k = 3, then y is always 3 times x. If k = 1/2, then y is half of x. This is why direct variation is a proportional relationship, the ratio y/x stays constant as long as x is not 0.

A quick example makes the pattern clear. If y varies directly with x and y = 18 when x = 6, then k = 18/6 = 3, so the equation is y = 3x. After that, you can find any missing value by plugging in x or y and solving.

A common mistake is mixing up direct variation with just any linear function. All direct variation equations are linear, but not all linear equations are direct variation. The missing piece is the zero intercept. Another mistake is checking whether the values increase together, when the real test is whether they change in a constant ratio.

In graphing problems, direct variation shows up as a straight line through the origin with slope k. In word problems, it often appears when one quantity is a fixed multiple of another, like cost per item, distance at a steady speed, or a scaled measurement.

Why direct variation matters in College Algebra

Direct variation shows up all over College Algebra because it gives you one of the cleanest ways to model a relationship. Once you recognize it, you can move fast between a table, an equation, and a graph without guessing.

It also connects directly to linear functions. Direct variation is the version of a line where the y-intercept is 0, so it helps you see how slope works when the graph starts at the origin. That makes it easier to tell the difference between a proportional relationship and a more general linear one.

This term matters in modeling too. If a problem says something changes at a constant rate and starts from zero, direct variation is often the right setup. You might use it for unit pricing, simple motion problems, scaling recipes, or any situation where doubling x doubles y.

It is also a good checkpoint for whether your equation makes sense. If you solve a problem and get a line that does not pass through (0, 0), you know you do not have direct variation. That kind of check saves you from accepting an answer that looks linear but does not match the words in the problem.

Keep studying College Algebra Unit 5

Official unit cheatsheet

open one-pager

How direct variation connects across the course

Proportionality

Direct variation is a proportional relationship, so the ratio between the two variables stays constant. If you can write one variable as a fixed multiple of the other, you are working with proportionality. That is why tables, graphs, and equations all need to match the same constant ratio.

Linear Function

Every direct variation equation is a linear function, but not every linear function is direct variation. The difference is the intercept. A direct variation line goes through the origin, while a general linear function can cross the y-axis anywhere.

Slope

In a direct variation graph, the slope is the constant of variation k. That means the slope tells you the rate of change and the multiplier between x and y at the same time. If you know the slope and the line passes through the origin, you can write the direct variation equation.

Inverse Variation

Inverse variation looks very different from direct variation because one variable goes up while the other goes down, and their product stays constant. Direct variation keeps a constant ratio, but inverse variation keeps a constant product. Comparing them helps you choose the right model from a word problem.

Is direct variation on the College Algebra exam?

A quiz or homework problem might give you a table, graph, or word problem and ask whether it shows direct variation. Your job is to check for a constant ratio and see whether the graph passes through the origin. If you are given one pair of values, you may need to find k and write y = kx.

You may also be asked to identify the constant of variation, interpret what it means, or use the equation to find missing values. In graph questions, look for the line through (0, 0) instead of just any straight line. In word problems, pay attention to phrases like “per,” “for each,” or “at a constant rate from zero,” because those often point to direct variation.

Direct variation vs Linear Function

Direct variation is a specific type of linear function with y-intercept 0. A linear function can still be a straight line without being direct variation if it starts above or below the origin. If the problem gives you y = mx + b and b is not 0, it is linear, but not direct variation.

Key things to remember about direct variation

  • Direct variation means one variable is a constant multiple of the other, so the equation has the form y = kx.

  • The constant of variation k is the same ratio every time you compare y to x.

  • A direct variation graph is a line that passes through the origin, (0, 0).

  • Not every linear function is direct variation, because direct variation has no y-intercept.

  • If a word problem starts from zero and changes by a fixed rate, direct variation is often the right model.

Frequently asked questions about direct variation

What is direct variation in College Algebra?

Direct variation is a proportional relationship where one variable equals a constant times the other, written y = kx. The graph is a line through the origin, and the ratio y/x stays constant. In College Algebra, you use it to model situations where doubling one quantity doubles the other.

How do you know if a graph shows direct variation?

Check whether the graph is a straight line that passes through (0, 0). If it does, the slope is the constant of variation. If the line is straight but crosses the y-axis somewhere else, it is linear but not direct variation.

How do you find the constant of variation?

Use any ordered pair that fits the relationship and divide y by x, as long as x is not 0. For example, if y = 20 when x = 5, then k = 20/5 = 4, so the equation is y = 4x. The same k should work for every other pair in the relationship.

Is direct variation the same as a linear function?

No. Direct variation is a special kind of linear function. Every direct variation is linear, but a linear function is only direct variation when its y-intercept is 0. That is the main difference to watch for on homework and quizzes.

Direct Variation in College Algebra | Fiveable