A relationship between two variables can be described by an
equation or a formula. This relationship can be linear, quadratic,
square root, or almost any other type of
function you can think of. We will focus here on a linear relationship between two variables where one is a constant multiple of the other. This is a special relationship called
direct variation.
In general, we say that y varies directly as x if there is a constant
k so that the
equation 
is true. When graphed, the constant
k will be the
slope of the line,
y = mx + b.
In most cases, it will be your job to find the constant which makes the relationship true and then use that information to solve another problem.
To solve
direct variation problems, you will need to be able to solve one-step equations, linear equations and sometimes literal equations. If you would like to get help and/or review solving one-step equations,
click here; if your would like to get help and/or to review solving literal equations,
click here; or if your would like to get help and/or to review the properties of linear equations,
click here.
Let's Practice:- Suppose y varies directly as x, and y = 20 when x = 4. Find y when x = 9.
When we see the phrase “y varied directly as x” that tells us when should be using the equation
.
The next piece of information tells use that y = 20 and x = 4. We will use this information to find the value of k. 
Now use the fact that k = 5 to find the value of y that the problem is asking for. 
You should be careful to note that it is possible for other variables to be used in a problem. Based on the wording in the problem, this will tell you how to set up your initial equation.
- Suppose z varies directly as x, and z = 15 when x = 2. Find z when x = 8.
Note that there are different variables, but the initial equation used to find k will be similar to what was used before. Once we find k, then we use our equation again to find z. 
Now use that value to find z. 