Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Algebra 1

1.15.2 Modeling Equations Using Direct Variation

Algebra 11.15.2 Modeling Equations Using Direct Variation

Search for key terms or text.

Activity

In your group, work through your assigned problem. Then be ready to share.

1.

Group 1. When Raoul runs on the treadmill at the gym, the number of calories, c c , he burns varies directly with the number of minutes, m m , he uses the treadmill. He burned 315 calories when he used the treadmill for 18 minutes. Write the equation that relates c c and m m .

2.

Group 2. The number of calories, c c , burned varies directly with the amount of time, t t , spent exercising. Arnold burned 312 calories in 65 minutes exercising. Write the equation that relates c c and t t .

3.

Group 3. The distance a moving body travels, d d , varies directly with time, t t , it moves. A train travels 100 miles in 2 hours. Write the equation that relates d d and t t .

What is Direct Variation?

All of these are examples of direct variation.

Two variables vary directly if one is the product of a constant and the other.

For any two variables x x and y y , y y varies directly with x x if

y = k x y = k x , where k 0 k 0 .

The constant k k is called the constant of variation.

Look back at the problem you solved. Use the direct variation equation to solve it again using these steps:

Step 1 - Write the equation for direct variation.

Step 2 - Substitute the given values for the variables.

Step 3 - Solve for the constant of variation.

Step 4 - Write the equation that relates x and y using the constant of variation.

Let’s look at example 3 again and solve it with the direct variation equation.

The distance a moving body travels, d d , varies directly with time, t t , it moves. A train travels 100 miles in 2 hours. Write the equation that relates d d and t t .

Step 1 - Write the equation for direct variation.

y = k x y = k x

Step 2 - Substitute the given values for the variables.

100 = k ( 2 ) 100 = k ( 2 )

Step 3 - Solve for the constant of variation.

k = 50 k = 50

Step 4 - Write the equation that relates x and y using the constant of variation.

y = 50 x y = 50 x

Self Check

The price, P , that Eric pays for gas varies directly with the number of gallons, g , he buys. It costs him $65 to buy 25 gallons of gas. Which equation expresses the price of any amount of gas, P , in terms of the number of gallons, g ?
  1. P = 5 13 g
  2. P = 65 g
  3. P = 25 g
  4. P = 13 5 g

Additional Resources

Modeling Situations Using Direct Variation 

When two quantities are related by a proportion, we say they are proportional to each other. Another way to express this relation is to talk about the variation of the two quantities. We will discuss direct variation here.

Lindsay gets paid $15 per hour at her job. If we let s be her salary, in dollars per hour, and h be the number of hours she has worked, we could model this situation with the equation

s = 15 h s = 15 h

Lindsay’s salary is the product of a constant, 15, and the number of hours she works. We say that Lindsay’s salary varies directly with the number of hours she works. Two variables vary directly if one is the product of a constant and the other.

Direct Variation

For any two variables x x and y y , y varies directly with x x if

y = k x y = k x , where k 0 k 0

The constant k k is called the constant of variation.

In applications using direct variation, generally we will know values of one pair of the variables and will be asked to find the equation that relates x x and y y .

Here’s how to model an equation using direct variation for application problems.

Step 1 - Write the formula for direct variation.

Step 2 - Substitute the given values for the variables.

Step 3 - Solve for the constant of variation.

Step 4 - Write the equation that relates x x and y y using the constant of variation.

Let’s look at an application problem:

The cost of a pizza, y y , varies directly with its diameter, x x , and an 8-inch pizza costs $12. What is the equation that relates x x and y y ?

Step 1 - Write the formula for direct variation.

y = k x y = k x

Step 2 - Substitute the given values for the variables.

12 = k ( 8 ) 12 = k ( 8 )

Step 3 - Solve for the constant of variation.

k = 12 8 = 3 2 k = 12 8 = 3 2

Step 4 - Write the equation that relates x and y using the constant of variation.

y = 3 2 x y = 3 2 x

Try it

Try It: Modeling Situations Using Direct Variation

The distance a moving body travels, d d , varies directly with the amount of time, t t , it moves. A train travels 60 miles in 2 hours. What is the equation that relates d d and t t ?

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

Citation information

© May 21, 2025 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.