# 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].

### 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:

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

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

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

At the beginning, the concentration is

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.

### 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## Licenses & Attributions

### CC licensed content, Shared previously

- Precalculus.
**Provided by:**OpenStax**Authored by:**Jay Abramson, et al..**Located at:**https://openstax.org/books/precalculus/pages/1-introduction-to-functions.**License:**CC BY: Attribution.**License terms:**Download For Free at : http://cnx.org/contents/[email protected]..

## Analysis of the Solution

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

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.