8.9 Use Direct and Inverse Variation

If you miss a problem, go back to the section listed and review the material.

  1. Find the multiplicative inverse of −8 −8 .
    If you missed this problem, review Example 1.126.
  2. Solve for n n : 45 = 20 n 45 = 20 n .
    If you missed this problem, review Example 2.13.
  3. Evaluate 5 x 2 5 x 2 when x = 10 x = 10 .
    If you missed this problem, review Example 1.20.

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 and inverse variation in this section.

Solve Direct Variation Problems

Lindsay gets paid $15 per hour at her job. If we let s be her salary 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 and y, y varies directly with x if

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

The constant 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 and y. Then we can use that equation to find values of y for other values of x.

Example 8.86

How to Solve Direct Variation Problems

If y varies directly with x and y = 20 y = 20 when x = 8 x = 8 , find the equation that relates x and y.

Solution

Try It 8.171

If y y varies directly as x x and y = 3 , when x = 10 . y = 3 , when x = 10 . find the equation that relates x and y.

Try It 8.172

If y y varies directly as x x and y = 12 when x = 4 y = 12 when x = 4 find the equation that relates x and y.

We’ll list the steps below.

How To

Solve direct variation problems.

  1. Step 1. Write the formula for direct variation.
  2. Step 2. Substitute the given values for the variables.
  3. Step 3. Solve for the constant of variation.
  4. Step 4. Write the equation that relates x and y.

Now we’ll solve a few applications of direct variation.

Example 8.87

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

  1. ⓐ Write the equation that relates c and m.
  2. ⓑ How many calories would he burn if he ran on the treadmill for 25 minutes?

Solution

The number of calories, c c , varies directly with
the number of minutes, m m , on the treadmill,
and c = 315 c = 315 when m = 18 m = 18 .
Write the formula for direct variation.
We will use c c in place of y y and m m in place of x x .
Substitute the given values for the variables.
Solve for the constant of variation.
Write the equation that relates c c and m m .
Substitute in the constant of variation.
Find c c when m = 25 m = 25 .
Write the equation that relates c c and m m .
Substitute the given value for m m .
Simplify.
Raoul would burn 437.5 calories if he used the
treadmill for 25 minutes.

Try It 8.173

The number of calories, c, burned varies directly with the amount of time, t, spent exercising. Arnold burned 312 calories in 65 minutes exercising.

  1. ⓐ Write the equation that relates c and t.
  2. ⓑ How many calories would he burn if he exercises for 90 minutes?

Try It 8.174

The distance a moving body travels, d, varies directly with time, t, it moves. A train travels 100 miles in 2 hours

ⓐ Write the equation that relates d and t.
ⓑ How many miles would it travel in 5 hours?

In the previous example, the variables c and m were named in the problem. Usually that is not the case. We will have to name the variables in the next example as part of the solution, just like we do in most applied problems.

Example 8.88

The number of gallons of gas Eunice’s car uses varies directly with the number of miles she drives. Last week she drove 469.8 miles and used 14.5 gallons of gas.

  1. ⓐ Write the equation that relates the number of gallons of gas used to the number of miles driven.
  2. ⓑ How many gallons of gas would Eunice’s car use if she drove 1000 miles?

Solution

The number of gallons of gas varies directly with the number of miles driven.
First we will name the variables. Let g = g = number of gallons of gas.
m = m = number of miles driven
Write the formula for direct variation.
We will use g g in place of y y and m m in place of x x .
Substitute the given values for the variables.
Solve for the constant of variation.
We will round to the nearest thousandth.
Write the equation that relates g g and m m .
Substitute in the constant of variation.




Find g when m = 1000 . Write the equation that relates g and m . g = 0.031 m Substitute the given value for m . g = 0.031 ( 1000 ) Simplify. g = 31 Eunice’s car would use 31 gallons of gas if she drove it 1,000 miles. Find g when m = 1000 . Write the equation that relates g and m . g = 0.031 m Substitute the given value for m . g = 0.031 ( 1000 ) Simplify. g = 31 Eunice’s car would use 31 gallons of gas if she drove it 1,000 miles.

Notice that in this example, the units on the constant of variation are gallons/mile. In everyday life, we usually talk about miles/gallon.

Try It 8.175

The distance that Brad travels varies directly with the time spent traveling. Brad travelled 660 miles in 12 hours,

  1. ⓐ Write the equation that relates the number of miles travelled to the time.
  2. ⓑ How many miles could Brad travel in 4 hours?

Try It 8.176

The weight of a liquid varies directly as its volume. A liquid that weighs 24 pounds has a volume of 4 gallons.

  1. ⓐ Write the equation that relates the weight to the volume.
  2. ⓑ If a liquid has volume 13 gallons, what is its weight?

In some situations, one variable varies directly with the square of the other variable. When that happens, the equation of direct variation is y = k x 2 y = k x 2 . We solve these applications just as we did the previous ones, by substituting the given values into the equation to solve for k.

Example 8.89

The maximum load a beam will support varies directly with the square of the diagonal of the beam’s cross-section. A beam with diagonal 4” will support a maximum load of 75 pounds.

  1. ⓐ Write the equation that relates the maximum load to the cross-section.
  2. ⓑ What is the maximum load that can be supported by a beam with diagonal 8”?

Solution

The maximum load varies directly with the square of the diagonal of the cross-section.
Name the variables. Let L = L = maximum load.
c = c = the diagonal of the cross-section
Write the formula for direct variation, where y y varies directly with the square of x x .
We will use L L in place of y y and c c in place of x x .
Substitute the given values for the variables.
Solve for the constant of variation.
Write the equation that relates L L and c c .
Substitute in the constant of variation.




Find L when c = 8 . Write the equation that relates L and c . L = 4.6875 c 2 Substitute the given value for c . L = 4.6875 ( 8 ) 2 Simplify. L = 300 A beam with diagonal 8” could support a maximum load of 300 pounds. Find L when c = 8 . Write the equation that relates L and c . L = 4.6875 c 2 Substitute the given value for c . L = 4.6875 ( 8 ) 2 Simplify. L = 300 A beam with diagonal 8” could support a maximum load of 300 pounds.

Try It 8.177

The distance an object falls is directly proportional to the square of the time it falls. A ball falls 144 feet in 3 seconds.

  1. ⓐ Write the equation that relates the distance to the time.
  2. ⓑ How far will an object fall in 4 seconds?

Try It 8.178

The area of a circle varies directly as the square of the radius. A circular pizza with a radius of 6 inches has an area of 113.04 square inches.

  1. ⓐ Write the equation that relates the area to the radius.
  2. ⓑ What is the area of a pizza with a radius of 9 inches?

Solve Inverse Variation Problems

Many applications involve two variable that vary inversely. As one variable increases, the other decreases. The equation that relates them is y = k x y = k x .

Inverse Variation

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

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

The constant k is called the constant of variation.

The word ‘inverse’ in inverse variation refers to the multiplicative inverse. The multiplicative inverse of x is 1 x 1 x .

We solve inverse variation problems in the same way we solved direct variation problems. Only the general form of the equation has changed. We will copy the procedure box here and just change ‘direct’ to ‘inverse’.

How To

Solve inverse variation problems.

  1. Step 1. Write the formula for inverse variation.
  2. Step 2. Substitute the given values for the variables.
  3. Step 3. Solve for the constant of variation.
  4. Step 4. Write the equation that relates x and y.

Example 8.90

If y varies inversely with x x and y = 20 y = 20 when x = 8 x = 8 , find the equation that relates x and y.

Solution

Write the formula for inverse variation.
Substitute the given values for the variables.
Solve for the constant of variation.
Write the equation that relates x x and y y .
Substitute in the constant of variation.

Try It 8.179

If p p varies inversely with q q and p = 30 p = 30 when q = 12 q = 12 find the equation that relates p p and q . q .

Try It 8.180

If y y varies inversely with x x and y = 8 y = 8 when x = 2 x = 2 find the equation that relates x x and y y .

Example 8.91

The fuel consumption (mpg) of a car varies inversely with its weight. A car that weighs 3100 pounds gets 26 mpg on the highway.

  1. ⓐ Write the equation of variation.
  2. ⓑ What would be the fuel consumption of a car that weighs 4030 pounds?

Solution

The fuel consumption varies inversely with the weight.
First we will name the variables. Let f = f = fuel consumption.
w = w = weight
Write the formula for inverse variation.
We will use f f in place of y y and w w in place of x x .
Substitute the given values for the variables.
Solve for the constant of variation.
Write the equation that relates f f and w w .
Substitute in the constant of variation.


Find f when w = 4030 . Write the equation that relates f and w . f = 80,600 w Substitute the given value for w . f = 80,600 4030 Simplify. f = 20 A car that weighs 4030 pounds would have fuel consumption of 20 mpg. Find f when w = 4030 . Write the equation that relates f and w . f = 80,600 w Substitute the given value for w . f = 80,600 4030 Simplify. f = 20 A car that weighs 4030 pounds would have fuel consumption of 20 mpg.

Try It 8.181

A car’s value varies inversely with its age. Elena bought a two-year-old car for $20,000.

ⓐ Write the equation of variation. ⓑ What will be the value of Elena’s car when it is 5 years old?

Try It 8.182

The time required to empty a pool varies inversely as the rate of pumping. It took Lucy 2.5 hours to empty her pool using a pump that was rated at 400 gpm (gallons per minute).

  1. ⓐ Write the equation of variation.
  2. ⓑ How long will it take her to empty the pool using a pump rated at 500 gpm?

Example 8.92

The frequency of a guitar string varies inversely with its length. A 26” long string has a frequency of 440 vibrations per second.

  1. ⓐ Write the equation of variation.
  2. ⓑ How many vibrations per second will there be if the string’s length is reduced to 20” by putting a finger on a fret?

Solution

The frequency varies inversely with the length.
Name the variables. Let f = f = frequency.
L = L = length
Write the formula for inverse variation.
We will use f f in place of y y and L L in place of x x .
Substitute the given values for the variables.
Solve for the constant of variation.
Write the equation that relates f f and L L .
Substitute in the constant of variation.


Find f when L = 20 . Write the equation that relates f and L . f = 11,440 L Substitute the given value for L . f = 11,440 20 Simplify. f = 572 A 20” guitar string has frequency 572 vibrations per second. Find f when L = 20 . Write the equation that relates f and L . f = 11,440 L Substitute the given value for L . f = 11,440 20 Simplify. f = 572 A 20” guitar string has frequency 572 vibrations per second.

Try It 8.183

The number of hours it takes for ice to melt varies inversely with the air temperature. Suppose a block of ice melts in 2 hours when the temperature is 65 degrees.

  1. ⓐ Write the equation of variation.
  2. ⓑ How many hours would it take for the same block of ice to melt if the temperature was 78 degrees?

Try It 8.184

The force needed to break a board varies inversely with its length. Richard uses 24 pounds of pressure to break a 2-foot long board.

  1. ⓐ Write the equation of variation.
  2. ⓑ How many pounds of pressure is needed to break a 5-foot long board?

Section 8.9 Exercises

Practice Makes Perfect

Solve Direct Variation Problems

In the following exercises, solve.

If y y varies directly as x x and y = 14 , when x = 3 y = 14 , when x = 3 , find the equation that relates x and y x and y .

If p p varies directly as q q and p = 5 , when q = 2 p = 5 , when q = 2 , find the equation that relates p and q p and q .

If v v varies directly as w w and v = 24 , when w = 8 v = 24 , when w = 8 , find the equation that relates v and w . v and w .

If a a varies directly as b b and a = 16 , when b = 4 a = 16 , when b = 4 , find the equation that relates a and b . a and b .

If p p varies directly as q q and p = 9.6 , when q = 3 p = 9.6 , when q = 3 , find the equation that relates p and q . p and q .

If y y varies directly as x x and y = 12.4 , when x = 4 , y = 12.4 , when x = 4 , find the equation that relates x and y x and y

If a a varies directly as b b and a = 6 , when b = 1 3 a = 6 , when b = 1 3 , find the equation that relates a and b . a and b .

If v v varies directly as w w and v = 8 , when w = 1 2 v = 8 , when w = 1 2 , find the equation that relates v and w . v and w .

The amount of money Sally earns, P, varies directly with the number, n, of necklaces she sells. When Sally sells 15 necklaces she earns $150.

  1. ⓐ Write the equation that relates P and n.
  2. ⓑ How much money would she earn if she sold 4 necklaces?

The price, P, that Eric pays for gas varies directly with the number of gallons, g, he buys. It costs him $50 to buy 20 gallons of gas.

  1. ⓐ Write the equation that relates P and g.
  2. ⓑ How much would 33 gallons cost Eric?

Terri needs to make some pies for a fundraiser. The number of apples, a, varies directly with number of pies, p. It takes nine apples to make two pies.

  1. ⓐ Write the equation that relates a and p.
  2. ⓑ How many apples would Terri need for six pies?

Joseph is traveling on a road trip. The distance, d, he travels before stopping for lunch varies directly with the speed, v, he travels. He can travel 120 miles at a speed of 60 mph.

  1. ⓐ Write the equation that relates d and v.
  2. ⓑ How far would he travel before stopping for lunch at a rate of 65 mph?

The price of gas that Jesse purchased varies directly to how many gallons he purchased. He purchased 10 gallons of gas for $39.80.

  1. ⓐ Write the equation that relates the price to the number of gallons.
  2. ⓑ How much will it cost Jesse for 15 gallons of gas?

The distance that Sarah travels varies directly to how long she drives. She travels 440 miles in 8 hours.

  1. ⓐ Write the equation that relates the distance to the number of hours.
  2. ⓑ How far can Sally travel in 6 hours?

The mass of a liquid varies directly with its volume. A liquid with mass 16 kilograms has a volume of 2 liters.

  1. ⓐ Write the equation that relates the mass to the volume.
  2. ⓑ What is the volume of this liquid if its mass is 128 kilograms?

The length that a spring stretches varies directly with a weight placed at the end of the spring. When Sarah placed a 10 pound watermelon on a hanging scale, the spring stretched 5 inches.

  1. ⓐ Write the equation that relates the length of the spring to the weight.
  2. ⓑ What weight of watermelon would stretch the spring 6 inches?

The distance an object falls varies directly to the square of the time it falls. A ball falls 45 feet in 3 seconds.

  1. ⓐ Write the equation that relates the distance to the time.
  2. ⓑ How far will the ball fall in 7 seconds?

The maximum load a beam will support varies directly with the square of the diagonal of the beam’s cross-section. A beam with diagonal 6 inch will support a maximum load of 108 pounds.

  1. ⓐ Write the equation that relates the load to the diagonal of the cross-section.
  2. ⓑ What load will a beam with a 10 inch diagonal support?

The area of a circle varies directly as the square of the radius. A circular pizza with a radius of 6 inches has an area of 113.04 square inches.

  1. ⓐ Write the equation that relates the area to the radius.
  2. ⓑ What is the area of a personal pizza with a radius 4 inches?

The distance an object falls varies directly to the square of the time it falls. A ball falls 72 feet in 3 seconds,

  1. ⓐ Write the equation that relates the distance to the time.
  2. ⓑ How far will the ball have fallen in 8 seconds?

Solve Inverse Variation Problems

In the following exercises, solve.

If y y varies inversely with x x and y = 5 y = 5 when x = 4 x = 4 find the equation that relates x x and y . y .

If p p varies inversely with q q and p = 2 p = 2 when q = 1 q = 1 find the equation that relates p p and q . q .

If v v varies inversely with w w and v = 6 v = 6 when w = 1 2 w = 1 2 find the equation that relates v v and w . w .

If a a varies inversely with b b and a = 12 a = 12 when b = 1 3 b = 1 3 find the equation that relates a a and b . b .

Write an inverse variation equation to solve the following problems.

The fuel consumption (mpg) of a car varies inversely with its weight. A Toyota Corolla weighs 2800 pounds and gets 33 mpg on the highway.

  1. ⓐ Write the equation that relates the mpg to the car’s weight.
  2. ⓑ What would the fuel consumption be for a Toyota Sequoia that weighs 5500 pounds?

A car’s value varies inversely with its age. Jackie bought a 10 year old car for $2,400.

  1. ⓐ Write the equation that relates the car’s value to its age.
  2. ⓑ What will be the value of Jackie’s car when it is 15 years old ?

The time required to empty a tank varies inversely as the rate of pumping. It took Janet 5 hours to pump her flooded basement using a pump that was rated at 200 gpm (gallons per minute),

  1. ⓐ Write the equation that relates the number of hours to the pump rate.
  2. ⓑ How long would it take Janet to pump her basement if she used a pump rated at 400 gpm?

The volume of a gas in a container varies inversely as pressure on the gas. A container of helium has a volume of 370 cubic inches under a pressure of 15 psi.

  1. ⓐ Write the equation that relates the volume to the pressure.
  2. ⓑ What would be the volume of this gas if the pressure was increased to 20 psi?

On a string instrument, the length of a string varies inversely as the frequency of its vibrations. An 11-inch string on a violin has a frequency of 400 cycles per second.

  1. ⓐ Write the equation that relates the string length to its frequency.
  2. ⓑ What is the frequency of a 10-inch string?

Paul, a dentist, determined that the number of cavities that develops in his patient’s mouth each year varies inversely to the number of minutes spent brushing each night. His patient, Lori, had 4 cavities when brushing her teeth 30 seconds (0.5 minutes) each night.

  1. ⓐ Write the equation that relates the number of cavities to the time spent brushing.
  2. ⓑ How many cavities would Paul expect Lori to have if she had brushed her teeth for 2 minutes each night?

The number of tickets for a sports fundraiser varies inversely to the price of each ticket. Brianna can buy 25 tickets at $5each.

  1. ⓐ Write the equation that relates the number of tickets to the price of each ticket.
  2. ⓑ How many tickets could Brianna buy if the price of each ticket was $2.50?

Boyle’s Law states that if the temperature of a gas stays constant, then the pressure varies inversely to the volume of the gas. Braydon, a scuba diver, has a tank that holds 6 liters of air under a pressure of 220 psi.

  1. ⓐ Write the equation that relates pressure to volume.
  2. ⓑ If the pressure increases to 330 psi, how much air can Braydon’s tank hold?

Mixed Practice

If y y varies directly as x x and y = 5 , when x = 3 . y = 5 , when x = 3 . , find the equation that relates x and y x and y .

If v v varies directly as w w and v = 21 , when w = 8 . v = 21 , when w = 8 . find the equation that relates v and w . v and w .

If p p varies inversely with q q and p = 5 p = 5 when q = 6 q = 6 , find the equation that relates p p and q . q .

If y y varies inversely with x x and y = 11 y = 11 when x = 3 x = 3 find the equation that relates x x and y . y .

If p p varies directly as q q and p = 10 , when q = 2 . p = 10 , when q = 2 . find the equation that relates p and q p and q .

If v v varies inversely with w w and v = 18 v = 18 when w = 1 3 w = 1 3 find the equation that relates v v and w . w .

The force needed to break a board varies inversely with its length. If Tom uses 20 pounds of pressure to break a 1.5-foot long board, how many pounds of pressure would he need to use to break a 6 foot long board?

The number of hours it takes for ice to melt varies inversely with the air temperature. A block of ice melts in 2.5 hours when the temperature is 54 degrees. How long would it take for the same block of ice to melt if the temperature was 45 degrees?

The length a spring stretches varies directly with a weight placed at the end of the spring. When Meredith placed a 6-pound cantaloupe on a hanging scale, the spring stretched 2 inches. How far would the spring stretch if the cantaloupe weighed 9 pounds?

The amount that June gets paid varies directly the number of hours she works. When she worked 15 hours, she got paid $111. How much will she be paid for working 18 hours?

The fuel consumption (mpg) of a car varies inversely with its weight. A Ford Focus weighs 3000 pounds and gets 28.7 mpg on the highway. What would the fuel consumption be for a Ford Expedition that weighs 5,500 pounds? Round to the nearest tenth.

The volume of a gas in a container varies inversely as the pressure on the gas. If a container of argon has a volume of 336 cubic inches under a pressure of 2,500 psi, what will be its volume if the pressure is decreased to 2,000 psi?

The distance an object falls varies directly to the square of the time it falls. If an object falls 52.8 feet in 4 seconds, how far will it fall in 9 seconds?

The area of the face of a Ferris wheel varies directly with the square of its radius. If the area of one face of a Ferris wheel with diameter 150 feet is 70,650 square feet, what is the area of one face of a Ferris wheel with diameter of 16 feet?

Everyday Math

Ride Service It costs $35 for a ride from the city center to the airport, 14 miles away.

  1. ⓐ Write the equation that relates the cost, c, with the number of miles, m.
  2. ⓑ What would it cost to travel 22 miles with this service?

Road Trip The number of hours it takes Jack to drive from Boston to Bangor is inversely proportional to his average driving speed. When he drives at an average speed of 40 miles per hour, it takes him 6 hours for the trip.

  1. ⓐ Write the equation that relates the number of hours, h, with the speed, s.
  2. ⓑ How long would the trip take if his average speed was 75 miles per hour?

Writing Exercises

In your own words, explain the difference between direct variation and inverse variation.

Make up an example from your life experience of inverse variation.

Self Check

ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

ⓑ After looking at the checklist, do you think you are well-prepared for the next chapter? Why or why not?

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 License and you must attribute OpenStax.

Access for free at https://openstax.org/books/elementary-algebra/pages/1-introduction
Access for free at https://openstax.org/books/elementary-algebra/pages/1-introduction