Skip to main content
Mathematics LibreTexts

8.9: Use Direct and Inverse Variation

  • Page ID
    18985
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives

    By the end of this section, you will be able to:

    • Solve direct variation problems
    • Solve inverse variation problems
    Note

    Before you get started, take this readiness quiz.

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

    1. Find the multiplicative inverse of −8
      If you missed this problem, review Exercise 1.10.13.
    2. Solve for n: 45=20n
      If you missed this problem, review Exercise 2.2.1.
    3. Evaluate \(5x^2\) when x=10
      If you missed this problem, review Exercise 1.3.25.

    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=15h

    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.

    Definition: DIRECT VARIATION

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

    y=kx, where \(n \ne 0\)

    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.

    How to Solve Direct Variation Problems

    Example \(\PageIndex{1}\)

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

    Answer

    The above image has 3 columns. The table shows the steps to solve direct variation problems. Step one is to write the formula for the direct variation. The direct variation formula is y equals k x. Then we get y equals k times x.Step two is substitute the given values for the variables. We are given y equals 20 and x equals 8. Then we have 20 equals k times 8.Step three is to solve for the constant variation. Divide both sides of the equation by 8, then multiply. We now get 20 divided by 8 equals k. K equals 2.5.Step four is to write the equation that relates x and y. Rewrite the general equation with the value we found k to get y equals 2 and five-tenths times x.

    Example \(\PageIndex{2}\)

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

    Answer

    \(y=\frac{3}{10}x\)

    Example \(\PageIndex{3}\)

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

    Answer

    y=3x

    We’ll list the steps below.

    Definition: SOLVE DIRECT VARIATION PROBLEMS
    1. Write the formula for direct variation.
    2. Substitute the given values for the variables.
    3. Solve for the constant of variation.
    4. Write the equation that relates x and y.

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

    Example \(\PageIndex{4}\)

    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?
    Answer

    1.

      The number of calories, c varies directly with the number of minutes, m, on the treadmill, and c=315 when m=18
    Write the formula for direct variation. .
    We will use c in place of y and mm in place of x. .
    Substitute the given values for the variables. .
    Solve for the constant of variation. .
      .
    Write the equation that relates c and m. .
    Substitute in the constant of variation. .

    2.

     

    Find c when m=25.

    Write the equation that relates c and m. .
    Substitute the given value for m. .
    Simplify. .
      Raoul would burn 437.5 calories if he used the treadmill for 25 minutes.
    Example \(\PageIndex{5}\)

    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?
    Answer
    1. c=4.8t
    2. 432 calories
    Example \(\PageIndex{6}\)

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

    1. Write the equation that relates d and t.
    2. How many miles would it travel in 5 hours?
    Answer
    1. d=50t
    2. 250 miles

    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 \(\PageIndex{7}\)

    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?
    Answer

    1.

      The number of gallons of gas varies directly with the number of miles driven.
    First we will name the variables. Let g= number of gallons of gas.
    m= number of miles driven.
    Write the formula for direct variation. .
    We will use g in place of y and m in place of 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 and m. .
    Substitute in the constant of variation. .

    2.

      Find g when m=1000.
    Write the equation that relates g and m. g=0.031m
    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.

    Example \(\PageIndex{8}\)

    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?
    Answer
    1. m=55h
    2. 220 miles
    Example \(\PageIndex{9}\)

    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?
    Answer
    1. w=6v
    2. 78 pounds

    In some situations, one variable varies directly with the square of the other variable. When that happens, the equation of direct variation is \(y=kx^2\).

    Example \(\PageIndex{10}\)

    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”?
    Answer

    1.

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

    2.

      Find L when c=8.
    Write the equation that relates L and c. \(L=4.6875c^2\)
    Substitute the given value for c. \(L=4.6875(8)^2\)
    Simplify. L=300
      A beam with diagonal 8” could supporta maximum load of 300 pounds.
    Example \(\PageIndex{11}\)

    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?
    Answer
    1. \(d=16t^2\)
    2. 256 feet
    Example \(\PageIndex{12}\)

    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?
    Answer
    1. \(A=3.14r^2\)
    2. 254.34 square 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=\frac{k}{x}\).

    Definition: INVERSE VARIATION

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

    y=\(\frac{k}{x}\),where \(k \ne 0\)

    The word ‘inverse’ in inverse variation refers to the multiplicative inverse. The multiplicative inverse of x is \(\frac{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’.

    Definition: SOLVE INVERSE VARIATION PROBLEMS
    1. Write the formula for inverse variation.
    2. Substitute the given values for the variables.
    3. Solve for the constant of variation.
    4. Write the equation that relates x and y.
    Example \(\PageIndex{13}\)

    If y varies inversely with x and y=20 when x=8 x and y.

    Answer
    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 and y. .
    Substitute in the constant of variation. .
    Example \(\PageIndex{14}\)

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

    Answer

    \(p=\frac{360}{q}\)

    Example \(\PageIndex{15}\)

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

    Answer

    \(y=\frac{16}{x}\)

    Example \(\PageIndex{16}\)

    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?
    Answer

    1.

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

    2.

      Find f when w=4030.
    Write the equation that relates f and w. .
    Substitute the given value for w. \(f=\frac{80,600}{4030}\)
    Simplify. f=20
      A car that weighs 4030 pounds would have fuel consumption of 20 mpg.
    Example \(\PageIndex{17}\)

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

    1. Write the equation of variation.
    2. What will be the value of Elena’s car when it is 5 years old?
    Answer
    1. \(v=\frac{40,000}{a}\)
    2. $8,000
    Example \(\PageIndex{18}\)

    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?
    Answer
    1. \(t=\frac{1000}{r}\)
    2. 2 hours
    Example \(\PageIndex{19}\)

    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?
    Answer

    1.

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

    2.

      Find f when L=20.
    Write the equation that relates f and L. \(f=\frac{11,440}{L}\)
    Substitute the given value for L. \(f=\frac{11,440}{20}\)
    Simplify. f=572
      A 20” guitar string has frequency 572 vibrations per second.
    Example \(\PageIndex{20}\)

    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?
    Answer
    1. \(h=\frac{130}{t}\)
    2. \(1\frac{2}{3}\) hours
    Example \(\PageIndex{21}\)

    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?
    Answer
    1. \(F=\frac{48}{L}\)
    2. 9.6 pounds

    This page titled 8.9: Use Direct and Inverse Variation is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated by OpenStax.

    • Was this article helpful?