Solve applied problems involving rational functions

In Example 2, we shifted a toolkit function in a way that resulted in the function [latex]f\left(x\right)=\frac{3x+7}{x+2}[/latex]. This is an example of a rational function. A rational function is a function that can be written as the quotient of two polynomial functions. Many real-world problems require us to find the ratio of two polynomial functions. Problems involving rates and concentrations often involve rational functions.

A General Note: Rational Function

A rational function is a function that can be written as the quotient of two polynomial functions [latex]P\left(x\right) \text{and} Q\left(x\right)[/latex].

[latex]f\left(x\right)=\frac{P\left(x\right)}{Q\left(x\right)}=\frac{{a}_{p}{x}^{p}+{a}_{p - 1}{x}^{p - 1}+...+{a}_{1}x+{a}_{0}}{{b}_{q}{x}^{q}+{b}_{q - 1}{x}^{q - 1}+...+{b}_{1}x+{b}_{0}},Q\left(x\right)\ne 0[/latex]

Example 3: Solving an Applied Problem Involving a Rational Function

A large mixing tank currently contains 100 gallons of water into which 5 pounds of sugar have been mixed. A tap will open pouring 10 gallons per minute of water into the tank at the same time sugar is poured into the tank at a rate of 1 pound per minute. Find the concentration (pounds per gallon) of sugar in the tank after 12 minutes. Is that a greater concentration than at the beginning?

Solution

Let t be the number of minutes since the tap opened. Since the water increases at 10 gallons per minute, and the sugar increases at 1 pound per minute, these are constant rates of change. This tells us the amount of water in the tank is changing linearly, as is the amount of sugar in the tank. We can write an equation independently for each:

[latex]\begin{cases}\text{water: }W\left(t\right)=100+10t\text{ in gallons}\\ \text{sugar: }S\left(t\right)=5+1t\text{ in pounds}\end{cases}[/latex]

The concentration, C, will be the ratio of pounds of sugar to gallons of water

[latex]C\left(t\right)=\frac{5+t}{100+10t}[/latex]

The concentration after 12 minutes is given by evaluating [latex]C\left(t\right)[/latex] at [latex]t=\text{ }12[/latex].

[latex]\begin{cases}C\left(12\right)=\frac{5+12}{100+10\left(12\right)}\hfill \\ \text{ }=\frac{17}{220}\hfill \end{cases}[/latex]

This means the concentration is 17 pounds of sugar to 220 gallons of water.

At the beginning, the concentration is

[latex]\begin{cases}C\left(0\right)=\frac{5+0}{100+10\left(0\right)}\hfill \\ \text{ }=\frac{1}{20}\hfill \end{cases}[/latex]

Since [latex]\frac{17}{220}\approx 0.08>\frac{1}{20}=0.05[/latex], the concentration is greater after 12 minutes than at the beginning.

Analysis of the Solution

To find the horizontal asymptote, divide the leading coefficient in the numerator by the leading coefficient in the denominator:

[latex]\frac{1}{10}=0.1[/latex]

Notice the horizontal asymptote is [latex]y=\text{ }0.1[/latex]. This means the concentration, C, the ratio of pounds of sugar to gallons of water, will approach 0.1 in the long term.

Try It 3

There are 1,200 freshmen and 1,500 sophomores at a prep rally at noon. After 12 p.m., 20 freshmen arrive at the rally every five minutes while 15 sophomores leave the rally. Find the ratio of freshmen to sophomores at 1 p.m.

Solution