Chapter 7, Rational Functions

Mathematical Practices, solved and explained

Every problem from the three Mathematical Practices sections, worked out one clear step at a time, with a picture you can move.

Units cancel like matching tiles

Move the speed. The same fraction chain turns miles per hour into feet per second.

88 feet every second

Specifying units of measure

Careful problem solvers always say what their numbers measure: feet, seconds, dollars, liters. When units change, we use a chain of fractions.

The big idea. A fraction like [[60 min|1 h]] has the same amount on top and bottom, so it equals 1. Multiplying by 1 never changes the amount, only the units. A unit on top cancels the same unit on the bottom.
E

Example 1: Which job pays more in a year?

Offer A pays $45,000 per year. Offer B pays $22 per hour. There are 40 work hours in a week and 52 weeks in a year.

  1. Write what you have and what you want. We have [[22 dollars|1 h]]. We want [[? dollars|1 yr]].
  2. Hours to weeks. Multiply by [[40 h|1 wk]]. The hours cancel. 22 × 40 = 880 dollars per week.
  3. Weeks to years. Multiply by [[52 wk|1 yr]]. The weeks cancel. 880 × 52 = 45,760 dollars per year.
  4. Compare. $45,760 is greater than $45,000. Offer B pays more, by $760 a year.

Build the chain

Change the hourly pay

Offer A
Offer B

Try it: a job pays $20 per hour, 40 hours a week, 52 weeks a year. How many dollars per year?

1

60 miles per hour in meters per second

You drive a car at 60 miles per hour. What is the speed in meters per second?

Facts we need: 1 mile ≈ 1609 meters, 1 hour = 60 minutes, 1 minute = 60 seconds.

  1. Start and goal. Start: [[60 mi|1 h]]. Goal: [[? m|1 s]]. Two units must change: miles to meters, hours to seconds.
  2. Miles to meters. Multiply by [[1609 m|1 mi]]. Miles cancel. 60 × 1609 = 96,540 meters per hour.
  3. Hours to minutes. Multiply by [[1 h|60 min]]. Hours cancel. 96,540 ÷ 60 = 1609 meters per minute. So 60 mi/h is exactly one mile every minute.
  4. Minutes to seconds. Multiply by [[1 min|60 s]]. Minutes cancel. 1609 ÷ 60 ≈ 26.8 meters per second.
  5. 60 miles per hour ≈ 26.8 meters per second. (Using the more exact 1609.344 m gives 26.82, the same answer rounded.)

The chain grows with each step

Any speed

meters per hour96,540
meters per minute1,609
meters per second26.8

Try it: what is 30 miles per hour in meters per second? (one decimal place)

2

Hose pressure in kilograms per square centimeter

A hose carries a pressure of 200 pounds per square inch. What is the pressure in kilograms per square centimeter?

Facts we need: 1 pound ≈ 0.4536 kilogram, 1 inch = 2.54 centimeters.

  1. Start and goal. Start: [[200 lb|1 in²]]. Goal: [[? kg|1 cm²]]. Pounds change to kilograms, square inches change to square centimeters.
  2. Pounds to kilograms. Multiply by [[0.4536 kg|1 lb]]. Pounds cancel. 200 × 0.4536 = 90.72 kg per square inch.
  3. How big is one square inch? It is a square 2.54 cm on each side. Its area is 2.54 × 2.54 = 6.4516 cm². The picture shows why.
  4. Square inches to square centimeters. Multiply by [[1 in²|6.4516 cm²]]. Square inches cancel. 90.72 ÷ 6.4516 ≈ 14.06.
  5. 200 pounds per square inch ≈ 14.1 kilograms per square centimeter.

The chain

One square inch, cut into centimeter squares

4 whole squares + 4 strips (each 0.54 cm²) + 1 small corner (0.2916 cm²) = 4 + 2.16 + 0.2916 = 6.4516 cm²

Try it: how many square centimeters are in 1 square inch? (two decimal places)

3

Concrete in cubic feet per hour

A concrete truck pours concrete at 1 cubic yard per minute. What is the rate in cubic feet per hour?

Facts we need: 1 yard = 3 feet, 1 hour = 60 minutes.

  1. Start and goal. Start: [[1 yd³|1 min]]. Goal: [[? ft³|1 h]].
  2. Cubic yards to cubic feet. A cubic yard is a cube 3 ft long, 3 ft wide and 3 ft tall. It holds 3 × 3 × 3 = 27 cubic feet. Multiply by [[27 ft³|1 yd³]]. Cubic yards cancel: 27 ft³ per minute.
  3. Minutes to hours. One hour has 60 minutes, so multiply by [[60 min|1 h]]. Minutes cancel. 27 × 60 = 1620.
  4. 1 cubic yard per minute = 1620 cubic feet per hour.

The chain

Fill one cubic yard with cubic feet

Try it: a bigger truck pours 2 cubic yards per minute. How many cubic feet per hour?

4

Water in liters per second

Water in a pipe flows at 10 gallons per minute. What is the rate in liters per second?

Facts we need: 1 gallon ≈ 3.785 liters, 1 minute = 60 seconds.

  1. Start and goal. Start: [[10 gal|1 min]]. Goal: [[? L|1 s]].
  2. Gallons to liters. Multiply by [[3.785 L|1 gal]]. Gallons cancel. 10 × 3.785 = 37.85 liters per minute.
  3. Minutes to seconds. Multiply by [[1 min|60 s]]. Minutes cancel. 37.85 ÷ 60 ≈ 0.631.
  4. 10 gallons per minute ≈ 0.63 liters per second, a little more than half a liter every second.

The chain

Watch the tank fill

gallons1.67
liters6.31

Try it: how many liters are in 20 gallons? (one decimal place)

Inverse variation and graphs

These four questions ask us to explain our thinking about exercises from Sections 7.1 and 7.2. We solve each exercise first, then answer the question about it.

The big idea. Two amounts vary inversely when their product never changes: x · y = a. If one doubles, the other is cut in half. The rule is y = [[a|x]].
1

What does the given information in Exercise 25 mean?

Exercise 25. The number y of songs on a music player varies inversely with the average size x of a song. The player stores 2500 songs when the average size is 4 megabytes (MB). (a) Make a table for song sizes 2, 2.5, 3 and 5 MB. (b) What happens to the number of songs as the size increases?

  1. "Varies inversely" means song size × number of songs always gives the same number. In symbols: x · y = a.
  2. "2500 songs when the size is 4 MB" means we can find that number: a = 4 × 2500 = 10,000 MB. This is the total space on the player.
  3. Write the rule. y = [[10,000|x]]. Number of songs = total space ÷ size of one song.
  4. Make the table.
    Size x (MB)22.535
    Songs y5000400033332000
    10,000 ÷ 3 = 3333.3…, and part of a song cannot be stored, so we write 3333.
  5. Meaning: the player has 10,000 MB of space. As songs get bigger, fewer songs fit. Doubling the song size cuts the number of songs in half.

Songs that fit in 10,000 MB

songs2500
size × songs10,000

Try it: how many songs fit if the average song is 8 MB?

2

Is the reasoning in Exercise 29 correct?

Exercise 29. You have enough money to buy 5 hats for $10 each or 10 hats for $5 each. Your friend says this situation shows inverse variation. Is your friend correct?

  1. Multiply price by number of hats. $10 × 5 = $50. $5 × 10 = $50. Both give $50.
  2. Find the reason. The $50 is the money you have. It stays the same whatever the price is. So price × number = 50 every time.
  3. Write the rule. Number of hats n = [[50|p]], where p is the price of one hat. This has the form y = [[a|x]] with a = 50.
  4. Test a new price. At $2 a hat you get 25 hats, and 2 × 25 = 50. At $25 a hat you get 2 hats, and 25 × 2 = 50. The product stays 50.
  5. Why two numbers alone are not enough. The rule n = 15 − p also fits both facts (15 − 10 = 5 and 15 − 5 = 10), but it is a straight line, not inverse variation. We know the logic is right because of the story: the total money is fixed.
  6. Yes, the friend is correct. We recognize correct logic by checking that the product stays constant and that the situation explains why: a fixed amount of money.

A rectangle that always has area 50

Width = price of one hat. Height = number of hats. The area is the money spent.

hats5
price × hats$50

Try it: with the same $50, how many hats can you buy at $12.50 each?

3

Is the answer to Exercise 41(b) reasonable?

Exercise 41. A school buys a math program. It costs $500 to start plus $20 for each student who uses it. (a) Estimate how many students must use it for the average cost per student to fall to $30. (b) What happens to the average cost as more students use it?

  1. Total cost for n students = 500 + 20n dollars.
  2. Average cost = total ÷ number of students: c = [[500 + 20n|n]].
  3. Part (a). Set c = 30: 30 = [[500 + 20n|n]]. Multiply both sides by n: 30n = 500 + 20n. Subtract 20n: 10n = 500. Divide by 10: n = 50 students.
  4. Part (b). Split the fraction: c = 20 + [[500|n]]. As n grows, [[500|n]] gets smaller and smaller, so c gets closer and closer to $20 but never reaches it. On the graph, c = 20 is the horizontal asymptote.
  5. Check 1: does it make sense? Each student costs $20 alone, plus a share of the $500. So the average must always stay above $20. Our answer does. ✓
  6. Check 2: try big numbers. 1,000 students: c = 20 + 0.5 = $20.50. 10,000 students: c = 20 + 0.05 = $20.05. The numbers move toward 20. ✓
  7. Reasonable. The average cost falls toward $20 per student. We know it is reasonable because it matches the story (never below $20), the table of big numbers, and the graph flattening toward c = 20.

Average cost per student

Each student's cost, split into two parts:

$20 own cost
share
average cost$30.00
share of the $500$10.00

Try it: what is the average cost per student when 100 students use the program? (dollars)

4

How does the story decide the domain and range in Exercise 46?

Exercise 46. The cost y (in thousands of dollars) to remove x percent (written as a decimal) of a pollutant is y = [[15x|1.1 − x]]. (a) Graph it and give a reasonable domain and range. (b) Find the cost to remove 20%, 40% and 80%. Does doubling the percentage double the cost?

  1. What does x mean? x is the part of the pollutant removed. x = 0 means nothing removed. x = 1 means 100%, all of it.
  2. Domain from the story. You cannot remove less than nothing or more than everything. So 0 ≤ x ≤ 1. The formula alone would work up to 1.1, but the story stops at 1.
  3. Range from the domain. At x = 0: y = [[15(0)|1.1 − 0]] = 0. At x = 1: y = [[15(1)|1.1 − 1]] = [[15|0.1]] = 150. The cost rises in between, so 0 ≤ y ≤ 150, which means $0 to $150,000.
  4. Part (b).
    RemovedWorkCost
    20%[[15(0.2)|0.9]] = [[3|0.9]]≈ $3,333
    40%[[15(0.4)|0.7]] = [[6|0.7]]≈ $8,571
    80%[[15(0.8)|0.3]] = [[12|0.3]]$40,000
  5. Doubling? 20% to 40% multiplies the cost by about 2.6. 40% to 80% multiplies it by about 4.7. So doubling the percentage more than doubles the cost. The last bits are the hardest to clean.
  6. The context set the limits: a percent removed must be between 0 and 100%, so the domain is 0 ≤ x ≤ 1, and the cost then runs from $0 to $150,000.

Cost to remove the pollutant

cost$8,571

Try it: what does it cost to remove 50%? Answer in thousands of dollars.

Rational expressions and equations

These four questions look back at exercises from Sections 7.3 to 7.5. Again we solve each exercise, then answer the question about our thinking.

The big idea. A rational expression is a fraction with algebra on the top and bottom. We multiply, divide and simplify it exactly the way we do with number fractions.
1

What kind of equation did Exercise 37 give, and why?

Exercise 37. Yearly healthcare spending I (millions of dollars) and population P (millions) in the United States are modeled by I = [[171,000t + 1,361,000|1 + 0.018t]] and P = 2.96t + 278.649, where t is years since 2000. Find a model M for spending per resident. Estimate it for 2010.

  1. "Per resident" means share for one person. Share = total ÷ number of people. So M = I ÷ P.
  2. Divide. Dividing by P is the same as multiplying by [[1|P]]: M = [[171,000t + 1,361,000|(1 + 0.018t)(2.96t + 278.649)]].
  3. What type is it? A fraction with polynomials on top and bottom: a rational function. We expected this because "per person" is always a division, and I was already a fraction.
  4. Year 2010 means t = 10. I = [[1,710,000 + 1,361,000|1.18]] ≈ 2,602,542 million dollars. P = 29.6 + 278.649 = 308.249 million people.
  5. Divide. M ≈ 2,602,542 ÷ 308.249 ≈ 8,443. Millions of dollars ÷ millions of people = dollars per person.
  6. M is a rational function, the right kind for a "per person" amount. In 2010 spending was about $8,443 per resident.

Spending per resident over time

I (million $)
P (million people)
M ($ per person)

Try it: estimate the spending per resident in 2005 (t = 5), to the nearest dollar.

2

Use a simpler problem to solve Exercise 44

Exercise 44. Find the missing expression ■ so the statement is true (x ≠ −2, x ≠ 5):
[[x − 5|x² + 2x − 35]] ÷ [[■|x² − 3x − 10]] = [[x + 2|x + 7]]

  1. A simpler problem with numbers: [[1|7]] ÷ [[■|10]] = [[2|7]].
  2. Solve it. Dividing by a fraction means multiplying by its flip: [[1|7]] × [[10|■]] = [[2|7]]. So [[10|■]] must equal 2, and ■ = 5. The missing number turns the 10 into the answer's 2.
  3. Factor the real problem. x² + 2x − 35 = (x + 7)(x − 5) and x² − 3x − 10 = (x − 5)(x + 2).
  4. Simplify the first fraction. [[x − 5|(x + 7)(x − 5)]] = [[1|x + 7]]. It looks just like [[1|7]].
  5. Flip and multiply, like before. [[1|x + 7]] × [[(x − 5)(x + 2)|■]] = [[x + 2|x + 7]]. The top (x − 5)(x + 2) must turn into (x + 2), so we divide by (x − 5).
  6. ■ = x − 5. The number problem showed the plan: simplify, flip, then find what turns the top into the answer's top. Check with x = 0: [[1|7]] ÷ [[−5|−10]] = [[1|7]] × 2 = [[2|7]] ✓

Test a guess for ■

Pick a guess. We put numbers in for x and compare the left side with the right side.

Try it: in [[1|3]] ÷ [[■|12]] = [[2|3]], what number is ■?

3

What value do the expressions in Exercise 57 approach?

Exercise 57. Find the next two expressions in the pattern 1 + [[1|2 + ½]], 1 + [[1|2 + [[1|2 + ½]]]], … Then simplify all five. What value do they approach?

  1. The pattern. Each new expression puts one more "2 + [[1|…]]" layer at the bottom. The slider on the right builds the 4th and 5th for you.
  2. Work from the bottom up. 1st: 2 + ½ = [[5|2]]. Flip: [[2|5]]. Then 1 + [[2|5]] = [[7|5]] = 1.4.
  3. 2nd: bottom is [[5|2]] again, flip to [[2|5]], 2 + [[2|5]] = [[12|5]], flip to [[5|12]], 1 + [[5|12]] = [[17|12]] ≈ 1.4167.
  4. 3rd to 5th, same moves: [[41|29]] ≈ 1.4138, [[99|70]] ≈ 1.41429, [[239|169]] ≈ 1.41420.
  5. The conjecture. The values jump above and below, and the jumps get smaller, around 1.4142… That is √2, because 1.4142 × 1.4142 ≈ 2.
  6. Test it by squaring. [[7|5]]² = 1.96, [[17|12]]² ≈ 2.007, [[41|29]]² ≈ 1.9988, [[99|70]]² ≈ 2.0002. The squares close in on 2. ✓
  7. Prove it. Call the endless value v. The part under "1 +" repeats the whole pattern, so v = 1 + [[1|1 + v]]. Then v − 1 = [[1|1 + v]], so (v − 1)(v + 1) = 1, so v² − 1 = 1, so v² = 2.
  8. The expressions approach √2 ≈ 1.41421. The steps were: calculate, spot the pattern, guess, test by squaring, then prove with algebra.

Build the tower of fractions

as a fraction7/5
as a decimal1.4

Try it: simplify 1 + [[1|2 + ½]] and give the answer as a decimal.

4

Compare the two ways to solve Exercise 45

Exercise 45. Fuel cost for 1 year = [[miles driven × price per gallon|fuel efficiency]]. Last year you drove 9000 miles, paid $3.24 per gallon and spent $1389. Find your car's fuel efficiency (a) by solving an equation and (b) by using the inverse of the function.

  1. Put in what we know. C = [[9000 × 3.24|E]] = [[29,160|E]], where C is the yearly cost and E is miles per gallon.
  2. Method (a): solve the equation. Put C = 1389 first: 1389 = [[29,160|E]]. Multiply both sides by E: 1389E = 29,160. Divide by 1389: E ≈ 21.0.
  3. Method (b): use the inverse. Solve for E while C is still a letter: C · E = 29,160, so E = [[29,160|C]]. Then put C = 1389: E ≈ 21.0. We keep the letters C and E and do not swap them, because each letter has a meaning.
  4. How they are the same. Same moves (multiply by E, then divide), same answer, and the units work out: dollars in, miles per gallon out.
  5. How they are different. Method (a) answers one question with one cost. Method (b) builds a formula you can reuse: change the cost and get the efficiency right away. Try the slider.
  6. Check. 9000 miles ÷ 21 miles per gallon ≈ 428.6 gallons. 428.6 × $3.24 ≈ $1388.57, very close to $1389. ✓
  7. The car gets about 21 miles per gallon. Method (a) is quicker for one answer; method (b) is better when the cost changes.

The inverse formula E = 29,160 ÷ C

fuel efficiency21.0 mpg
gallons used428.6

Try it: if the fuel cost for the year was $1,620, what was the fuel efficiency (miles per gallon)?