Skip to content

Modeling Using Variation

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

  • Solve direct variation problems
  • Solve inverse variation problems
  • Solve problems involving joint variation

A pre-owned car dealer has just offered their best candidate, Nicole, a position in sales. The position offers 16% commission on her sales. Her earnings depend on the amount of her sales. For instance, if she sells a vehicle for $4,600, she will earn $736. As she considers the offer, she takes into account the typical price of the dealer’s cars, the overall market, and how many she can reasonably expect to sell. In this section, we will look at relationships, such as this one, between earnings, sales, and commission rate.

Solving direct variation problems

In the example above, Nicole’s earnings can be found by multiplying her sales by her commission. The formula e=0.16se=0.16s tells us her earnings, ee, come from the product of 0.16, her commission, and the sale price of the vehicle. If we create a table, we observe that as the sales price increases, the earnings increase as well, which should be intuitive. See the table below.

ss, sales pricese=0.16se=0.16sInterpretation
$4,600e=0.16(4,600)=736e=0.16(4{,}600)=736A sale of a $4,600 vehicle results in $736 earnings.
$9,200e=0.16(9,200)=1,472e=0.16(9{,}200)=1{,}472A sale of a $9,200 vehicle results in $1,472 earnings.
$18,400e=0.16(18,400)=2,944e=0.16(18{,}400)=2{,}944A sale of a $18,400 vehicle results in $2,944 earnings.

Notice that earnings are a multiple of sales. As sales increase, earnings increase in a predictable way. Double the sales of the vehicle from $4,600 to $9,200, and we double the earnings from $736 to $1,472. As the input increases, the output increases as a multiple of the input. A relationship in which one quantity is a constant multiplied by another quantity is called direct variation. Each variable in this type of relationship varies directly with the other.

The figure below represents the data for Nicole’s potential earnings. We say that earnings vary directly with the sales price of the car. The formula y=kxny=kx^{n} is used for direct variation. The value kk is a nonzero constant greater than zero and is called the constant of variation. In this case, k=0.16k=0.16 and n=1n=1.

Direct variation. If xx and yy are related by an equation of the form

y=kxny=kx^{n}

then we say that the relationship is direct variation and yy varies directly with the nnth power of xx. In direct variation relationships, there is a nonzero constant ratio k=yxnk=\tfrac{y}{x^{n}}, where kk is called the constant of variation, which helps to define the relationship between the variables.

How to: given a description of a direct variation problem, solve for an unknown.

  1. Identify the input, xx, and the output, yy.
  2. Determine the constant of variation. You may need to divide yy by the specified power of xx to determine the constant of variation.
  3. Use the constant of variation to write an equation for the relationship.
  4. Substitute known values into the equation to find the unknown.

Example. The quantity yy varies directly with the cube of xx. If y=25y=25 when x=2x=2, find yy when xx is 6.

Solution. The general formula for direct variation with a cube is y=kx3y=kx^{3}. The constant can be found by dividing yy by the cube of xx.

k=yx3=2523=258 \begin{array}{lrcl} & k &=& \tfrac{y}{x^{3}} \\[4pt] & &=& \tfrac{25}{2^{3}} \\[4pt] & &=& \tfrac{25}{8} \end{array}

Now use the constant to write an equation that represents this relationship.

y=258x3y=\tfrac{25}{8}x^{3}

Substitute x=6x=6 and solve for yy.

y=258(6)3=675 \begin{array}{lrcl} & y &=& \tfrac{25}{8}(6)^{3} \\[4pt] & &=& 675 \end{array}

Analysis. The graph of this equation is a simple cubic, as shown below.

Q&A. Do the graphs of all direct variation equations look like the one above?

No. Direct variation equations are power functions—they may be linear, quadratic, cubic, quartic, radical, etc. But all of the graphs pass through (0,0)(0,0).

The quantityyyvaries directly with the square ofxx. Ify=24y=24whenx=3x=3, findyywhenxxis 4.

Solving inverse variation problems

Water temperature in an ocean varies inversely to the water’s depth. Between the depths of 250 feet and 500 feet, the formula T=14,000dT=\tfrac{14{,}000}{d} gives us the temperature in degrees Fahrenheit at a depth in feet below Earth’s surface. Consider the Atlantic Ocean, which covers 22% of Earth’s surface. At a certain location, at the depth of 500 feet, the temperature may be 28°F.

If we create the table below, we observe that, as the depth increases, the water temperature decreases.

dd, depthT=14,000dT=\tfrac{14{,}000}{d}Interpretation
500 ft14,000500=28\tfrac{14{,}000}{500}=28At a depth of 500 ft, the water temperature is 28°F.
350 ft14,000350=40\tfrac{14{,}000}{350}=40At a depth of 350 ft, the water temperature is 40°F.
250 ft14,000250=56\tfrac{14{,}000}{250}=56At a depth of 250 ft, the water temperature is 56°F.

We notice in the relationship between these variables that, as one quantity increases, the other decreases. The two quantities are said to be inversely proportional and each term varies inversely with the other. Inversely proportional relationships are also called inverse variations.

For our example, the figure below depicts the inverse variation. We say the water temperature varies inversely with the depth of the water because, as the depth increases, the temperature decreases. The formula y=kxy=\tfrac{k}{x} for inverse variation in this case uses k=14,000k=14{,}000.

Inverse variation. If xx and yy are related by an equation of the form

y=kxny=\tfrac{k}{x^{n}}

where kk is a nonzero constant, then we say that yy varies inversely with the nnth power of xx. In inversely proportional relationships, or inverse variations, there is a constant multiple k=xnyk=x^{n}y.

Example. A tourist plans to drive 100 miles. Find a formula for the time the trip will take as a function of the speed the tourist drives.

Solution. Recall that multiplying speed by time gives distance. If we let tt represent the drive time in hours, and vv represent the velocity (speed or rate) at which the tourist drives, then vt=distancevt=\text{distance}. Because the distance is fixed at 100 miles, vt=100vt=100. Solving this relationship for the time gives us our function.

t(v)=100v=100v1 \begin{array}{lrcl} & t(v) &=& \tfrac{100}{v} \\[4pt] & &=& 100v^{-1} \end{array}

We can see that the constant of variation is 100 and, although we can write the relationship using the negative exponent, it is more common to see it written as a fraction.

How to: given a description of an indirect variation problem, solve for an unknown.

  1. Identify the input, xx, and the output, yy.
  2. Determine the constant of variation. You may need to multiply yy by the specified power of xx to determine the constant of variation.
  3. Use the constant of variation to write an equation for the relationship.
  4. Substitute known values into the equation to find the unknown.

Example. A quantity yy varies inversely with the cube of xx. If y=25y=25 when x=2x=2, find yy when xx is 6.

Solution. The general formula for inverse variation with a cube is y=kx3y=\tfrac{k}{x^{3}}. The constant can be found by multiplying yy by the cube of xx.

k=x3y=2325=200 \begin{array}{lrcl} & k &=& x^{3}y \\[4pt] & &=& 2^{3}\cdot25 \\[4pt] & &=& 200 \end{array}

Now we use the constant to write an equation that represents this relationship.

y=kx3,k=200y=200x3 \begin{array}{lrcl} & y &=& \tfrac{k}{x^{3}},k=200 \\[4pt] & y &=& \tfrac{200}{x^{3}} \end{array}

Substitute x=6x=6 and solve for yy.

y=20063=2527 \begin{array}{lrcl} & y &=& \tfrac{200}{6^{3}} \\[4pt] & &=& \tfrac{25}{27} \end{array}

Analysis. The graph of this equation is a rational function, as shown below.

A quantityyyvaries inversely with the square ofxx. Ify=8y=8whenx=3x=3, findyywhenxxis 4.

Solving problems involving joint variation

Many situations are more complicated than a basic direct variation or inverse variation model. One variable often depends on multiple other variables. When a variable is dependent on the product or quotient of two or more variables, this is called joint variation. For example, the cost of busing students for each school trip varies with the number of students attending and the distance from the school. The variable cc, cost, varies jointly with the number of students, nn, and the distance, dd.

Joint variation. Joint variation occurs when a variable varies directly or inversely with multiple variables.

For instance, if xx varies directly with both yy and zz, we have x=kyzx=kyz. If xx varies directly with yy and inversely with zz, we have x=kyzx=\tfrac{ky}{z}. Notice that we only use one constant in a joint variation equation.

Example. A quantity xx varies directly with the square of yy and inversely with the cube root of zz. If x=6x=6 when y=2y=2 and z=8z=8, find xx when y=1y=1 and z=27z=27.

Solution. Begin by writing an equation to show the relationship between the variables.

x=ky2z3x=\tfrac{ky^{2}}{\sqrt[3]{z}}

Substitute x=6x=6, y=2y=2, and z=8z=8 to find the value of the constant kk.

6=k22836=4k23=k \begin{array}{lrcl} & 6 &=& \tfrac{k\cdot2^{2}}{\sqrt[3]{8}} \\[4pt] & 6 &=& \tfrac{4k}{2} \\[4pt] & 3 &=& k \end{array}

Now we can substitute the value of the constant into the equation for the relationship.

x=3y2z3x=\tfrac{3y^{2}}{\sqrt[3]{z}}

To find xx when y=1y=1 and z=27z=27, we will substitute values for yy and zz into our equation.

x=3(1)2273=1 \begin{array}{lrcl} & x &=& \tfrac{3(1)^{2}}{\sqrt[3]{27}} \\[4pt] & &=& 1 \end{array}

xxvaries directly with the square ofyyand inversely withzz. Ifx=40x=40wheny=4y=4andz=2z=2, findxxwheny=10y=10andz=25z=25.

Key equations

Direct variationy=kxny=kx^{n}, kk is a nonzero constant
Inverse variationy=kxny=\tfrac{k}{x^{n}}, kk is a nonzero constant

Key concepts

  • A relationship where one quantity is a constant multiplied by another quantity is called direct variation.
  • Two variables that are directly proportional to one another will have a constant ratio.
  • A relationship where one quantity is a constant divided by another quantity is called inverse variation.
  • Two variables that are inversely proportional to one another will have a constant multiple.
  • In many problems, a variable varies directly or inversely with multiple variables. We call this type of relationship joint variation.

Key terms

constant of variation — the non-zero value kk that helps define the relationship between variables in direct or inverse variation. direct variation — the relationship between two variables that are a constant multiple of each other; as one quantity increases, so does the other. inverse variation — the relationship between two variables in which the product of the variables is a constant. inversely proportional — a relationship where one quantity is a constant divided by the other quantity; as one quantity increases, the other decreases. joint variation — a relationship where a variable varies directly or inversely with multiple variables. varies directly — a relationship where one quantity is a constant multiplied by the other quantity. varies inversely — a relationship where one quantity is a constant divided by the other quantity.

Practice

Solve direct variation problems

yyvaries directly as the square ofxx, and whenx=4x=4,y=80y=80. Write the equation that relatesxxandyy.

yyvaries directly as the square ofxx. Whenx=2x=2,y=16y=16. Findyywhenx=8x=8.

The distancessthat an object falls varies directly with the square of the time,tt, of the fall. If an object falls 16 feet in one second, how long for it to fall 144 feet?

Solve inverse variation problems

yyvaries inversely as the square ofxx, and whenx=3x=3,y=2y=2. Write the equation that relatesxxandyy.

yyvaries inversely with the cube root ofxx. Whenx=27x=27,y=5y=5. Findyywhenx=125x=125.

The rate of vibration of a string under constant tension varies inversely with the length of the string. If a string is 24 inches long and vibrates 128 times per second, what is the length of a string that vibrates 64 times per second?

Solve problems involving joint variation

yyvaries jointly asxx,zz, andww. Whenx=1x=1,z=2z=2, andw=5w=5,y=100y=100. Write the equation that relates the variables.

yyvaries jointly asxxandzzand inversely asww. Whenx=3x=3,z=5z=5, andw=6w=6,y=10y=10. Write the equation that relates the variables.

The horsepower (hp) that a shaft can safely transmit varies jointly with its speed (in revolutions per minute) and the cube of the diameter. A shaft 3 inches in diameter can transmit 45 hp at 100 rpm. What must the diameter be, to the nearest hundredth of an inch, in order to transmit 60 hp at 150 rpm?


This section is adapted from Precalculus 2e, Section 3.9: Modeling Using Variation by Jay Abramson and OpenStax, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated all four graphs as accessible inline SVGs generated from their exact equations — the direct-variation earnings ray e=0.16se=0.16s with its three labelled points, the cubic y=258x3y=\tfrac{25}{8}x^{3} with its two labelled points, the inverse-variation temperature curve T=14,000dT=\tfrac{14{,}000}{d} with its three labelled points, and the rational curve y=25x3y=\tfrac{25}{x^{3}} with its two labelled points; presented the two data tables (sales price vs. earnings, depth vs. temperature) as Markdown tables; reworded the two in-text figure and table cross-references (“as shown in Figure N”, “See Table N”) as “shown below” and “the table below”, since this page does not carry the source’s figure and table numbering; omitted the italic emphasis on the printed Q&A answers, matching this book’s house style, and reworded the Q&A’s “look like Example 1” reference to “look like the one above” for the same reason; omitted the “Access these online resources” media links; converted the three “Try It” checks into interactive fill-ins with instant feedback; and adapted nine selected end-of-section exercises — three direct-variation items (one equation-writing, one numeric, one real-world falling-object problem), three inverse-variation items (one equation-writing, one numeric, one real-world string-vibration problem), and three joint-variation items (two equation-writing, one real-world shaft-horsepower problem rounded to the nearest hundredth of an inch, matching the source’s own rounding) — into interactive components in a closing Practice block, one group per objective.