## Section 15.5 Applications of Systems of Linear Equations

Ā¶##### Interest Problems.

When presented with an application problem with two unknowns, it can be helpful to arrange the information in a table from which we can infer two equations. For example, let's consider the following situation.

Suppose that at the beginning of 2018 Damien had a balance of exactly $9000 in an IRA account. Part of the money was invested in a safe bond that earned 3% interest over the course of 2018. The remaining money was invested in a mutual fund (consisting of stocks) that earned 11% "interest" over the course of 2018. Over the course of that year Damien's IRA account earned a total of $694 in "interest". We're going to determine how much Damien had invested in the bond account and how much he had invested in the mutual fund account, but before we do that let's explore the problem numerically using FigureĀ 15.5.1.

The slider in the application controls how much money is invested in the bond account. Before changing the value, get out your calculator and make sure that you understand how all of the figures in the table are derived. For example, the value found in the position that corresponds to the bond interest is 0.03 times the value the corresponds to the bond's initial balance. How are the other figures in the table derived? Once you've got that figured out, go ahead and use the slider to determine how much is invested in each account if the total amount of interest earned over 2018 was $694.

###### Exploration 15.5.1.

OK, let's now solve the problem using a system of linear equations. Let's let \(x\)represent the amount ($) that Damion invested in the bond and \(y\) represent the amount that was invested in the mutual fund account. The the amount's ($) of interest earned by the two accounts were \(0.03x\) and \(0.11y\text{.}\) This information is summarized in FigureĀ 15.5.2.

Bond Account | Mutual Fund Account | Total | |

Amount at start of 2018 ($) | \(x\) | \(y\) | \(9,000\) |

Interest Earned ($) | \(0.03x\) | \(0.11y\) | \(694\) |

In each row of FigureĀ 15.5.2, the amounts in the first two columns need to sum to the amount in the third column. This gives us the following system of equations.

We can eliminate \(x\) from the system by multiplying both sides of the first equation by \(-0.03\) and then adding the respective sides of the two equations.

Adding the respective sides of the equations results in \(0.08y=424\text{.}\) Let's solve this for \(y\text{.}\)

Since \(x\) and \(y\) must sum to \(9000\text{,}\) we have

In conclusion, at the start of 2018 Damien had $3700 invested in his IRA bond account and $5300 invested in his IRA mutual fund account.

Let's see another example of an interest situation before moving on to other types of problems.

###### Example 15.5.3.

Mohamed has his retirement money invested in two accounts, one "safe" and the other highly speculative. At the beginning of 2017 the two accounts combined had a total of $27,872.00. Over the course of the year the safe account earned 2.5% interest while the speculative account grew by 43%. Mohamed made no deposits to nor withdrawals from either account over the course of the year. At the end of the year the total balance between the two accounts was $35,944.26. How much did Mohamed have invested in each account at the beginning of 2017? Assume that the start of the year the amount in each account was a whole dollar amount.

Let's begin by defining \(x\) to be the amount ($) that Mohamed had invested in the safe account at the beginning of 2017 and \(y\) the amount he had invested in the speculative account at the beginning of 2017. Let's also note that the total growth in the balance of the two accounts over the course of 2017 was $8,072.26 (the difference between $34,966.26 and $27,872.00). The information we know about the accounts is summarized in FigureĀ 15.5.4.

Safe Account | Speculative Account | Total | |

Amount at start of 2017 ($) | \(x\) | \(y\) | \(27,872.00\) |

Annual Growth ($) | \(.025x\) | \(.43y\) | \(8,072.26\) |

In each row of the table, the amounts in the safe and speculative accounts sum to to the total amount. That leads to the following system of equations.

We can eliminate \(x\) from the system by multiplying both sides of the first equation by \(-.025\) and then summing the respective sides of the two equations in the resultant system.

Let's equate the sums of the respective sides of the equations and solve the resultant equation for \(y\text{.}\)

Substituting \(18,211\) for \(y\) in the equation \(x+y=27,872\) will enable us to determine the value for \(x\text{.}\)

Let's check the values for \(x\) and \(y\) in the growth equation.

At the beginning of 2017, Mohamed had $9,611.00 invested in the safe account and $18,211.00 invested in the speculative account.

##### Acid Mixture Problems.

Let's consider the following scenario.

Jim and Jim are lab partners in chemistry class. The two Jim's are tasked with the creation of 3 liters of a solution that is 35.2% acid and 64.8% water. They have two solutions to work with. One of the existing solutions is 40% acid (and 60% water) while the other is 28% acid (and 72% water). How much of each solution should the Jim's use in their mixture?

Let's explore this scenario before we jump into creating an algebraic model for the problem. Grab a calculator and use FigureĀ 15.5.5 to explore what happens when we change the amount of each solution used.

Do you see how we calculate the amount of acid in the two given acid solutions based upon the amount of solution added to he mixture? In the case of the 40% acid solution, we multiply the amount of solution used by 0.40. In both rows the figures in the mixture column are just the sums of the first two columns in that row. Finally, the percentage at the top is determined by dividing the amount of acid in the mixture by the total amount of solution (3 liters) and then multiplying by 100.

###### Exploration 15.5.2.

OK, let's get to creating and solving an algebraic model for the problem.

Let's define \(x\) to be the amount (liters) of 40% acid solution that should be used and \(y\) be the amount (liters) of 28% acid solution that should be used. Let's note that the amount of acid in the final solution is 35.3% of 3 liters which is 1.056 liters. The information in the problem is summarized in FigureĀ 15.5.6.

40% acid | 28% acid | New solution (35.2% acid) | |

Total amount of solution (l) | \(x\) | \(y\) | \(3\) |

Amount of acid in solution (l) | \(0.40x\) | \(0.28y\) | \(1.056\) |

In both rows of the table, the amounts of the two existing solutions need to sum to the amount in the new solution. This leads to the following system of equations.

From the first equation we can see that \(y=3-x\text{.}\) Let's substitute \(3-x\) for \(y\) in the second equation and solve the resultant equation for \(x\text{.}\)

Since the two amounts sum to 3, it must be the case that \(y=1.2\text{.}\) Let's check the values in the acid equation.

The two Jim's need to mix 1.8 liters of the 40% acid solution with 1.2 liters of the 28% solution.

Let's see another example.

###### Example 15.5.7.

Clarise and Nahid are lab partners mixing up some acid. They have two solutions to work with, one of which is 40% acid (and 60% water) and the other is 10% acid (and 90% water). They need to create 4 liters of solution that is 23.5% acid (and 76.5% water). How much of each solution should the parters use in their mixture?

Let's let \(x\) represent the amount (liters) of the 40% acid solution used and \(y\) represent the amount (liters) of 10% acid solution used. Let's note that the amount of acid in the mixture needs to be 23.5% of 4 liters which is 0.94 liters. The information in the problem is summarized in FigureĀ 15.5.8.

40% acid | 10% acid | New solution (23.5% acid) | |

Total amount of solution (l) | \(x\) | \(y\) | \(4\) |

Amount of acid in solution (l) | \(0.40x\) | \(0.28y\) | \(0.94\) |

For each row, the figures in the first two columns need to sum to the figure in the third column. This leads to the following system of equations.

We can eliminate \(y\) from the equation by multiplying both sides of teh first equation by \(-0.10\) and then adding together the respective ides of the two equations. Let's do that.

Adding the respective sides of the equations results in the equation \(0.30x=0.54\text{.}\) Let's solve this last equation for \(x\text{.}\)

Since the two variables need to sum to \(4\text{,}\) it must be the case that \(y=2.2\text{.}\)

In conclusion, the aspiring chemists need to use 1.8 liters of the 40% acid solution and 2.2 liters of the 10% solution.

##### Distance/Rate/Time Problems.

In the equation \(D=rt\text{,}\) \(D\) represents distance, \(r\) represents rate (speed), and \(t\) represents time. For example, if you drive at a constant speed of 65 mph for 2 hours, then the total distance covered over those hours is determined as follows.

Similarly, the amount of time it takes to drive 175 miles at a constant rate of 70 mph is calculated below.

The equation \(D=rt\) and its variations \(\left(\text{e.g.},\,t=\frac{D}{r}\right)\) frequently come into play when solving applications involving moving objects. Let's see a couple of examples.

Let's consider the following scenario.

Chao and Elyse are in separate cars both driving on I-65. At noon one day Elyse (driving north) passes Chao (driving south). For the next 15 minutes each car maintains the exact speed they were traveling at noon. By 12:15 pm that day the distance (along the highway) between the two cars was 33.75 miles. During those 15 minutes Elyse's constant speed was 9 mph faster than Chao's constant speed. Determine the constant speeds that were maintained by the two drivers over those 15 minutes.

Before jumping into the algebra, let's use FigureĀ 15.5.9 to numerically explore the problem. Notice that the time unit is hours to agree with the time component of the rate unit (miles/hour). In each row the distance is simply the product of the rate and time. Finally, the distance stated at the top is the sum of the two distances found in the table.

###### Exploration 15.5.3.

Time to set about using algebra to determine the solution tot he problem.

Let \(x\) represent the constant speed (mph) maintained by Elyse and \(y\) represent the constant speed (mph) maintained by Chao. Some of the information relevant to solution is shown in FigureĀ 15.5.10. In each row of the table, the expression found in the Distance column was determined using \(D=rt\text{.}\)

Rate (mph) | Time (hr) | Distance (miles) | |

Chao | \(y\) | \(.25\) | \(.25y\) |

Elyse | \(x\) | \(.25\) | \(.25y\) |

The fact that Elyse's constant speed was 9 mph greater than Chao's speed gives us

The fact that that the distance betweens the two cars was 33.75 miles after 15 minutes gives us

Let's substitute \(y+9\) for \(x\) in the second equation and then solve for \(y\text{.}\)

So Chao maintained a constant speed of 62 mph and seeing as Elyse maintained a constant speed that was 9 mph greater than Chao's, her constant speed was 71 mph. Let's make sure that our conclusion makes sense.

The distance traveled in 15 minutes at a speed of 62 mph is:

The distance traveled in 15 minutes at a speed of 71 mph is:

Let's explore another example.

###### Example 15.5.11.

When moving along a river, a boat's speed relative to the land is determined by both the speed at which it would be moving in still water and the speed of the current. While moving downstream (with the current), the two speeds are added. While moving upstream (against the current), the speed of the current is subtracted from the speed the boat would maintain in still water.

One afternoon Cisco took his fishing boat out on the Willamette. He set the boat's motor to a constant (still water) cruising speed and motored 20 miles upstream before turning around and motoring the same 20 miles back downstream. The trip upstream took 2 hours to complete while the trip back downstream took only 50 minutes. Assuming that both the (still water) cruising speed and the speed of the current were constant the entire trip, determine both of those speeds.

Define \(x\) to be the (still water) cruising speed (mph) of the boat and \(y\) to be the speed of the current. The information from the problem is summarized in FigureĀ 15.5.12.

Rate (mph) | Time (hr) | Distance (miles) | |

Upstream | \(x-y\) | \(2\) | \(20\) |

Downstream | \(x+y\) | \(\frac{5}{6}\) | \(20\) |

Our two equations come from the fact that in each row of the table the distance is equal to the product of the rate and time. Specifically:

We'll begin solving our system by clearing away the fraction in the second equation and distributing the constant factors in both equations.

Let's eliminate \(y\) from the system by multiplying both sides of the first equation by \(5\) and both sides of the second equation by \(2\) and then summing the respective sides of the two equations.

Equating the sums of the respective sides we get \(20x=340\text{.}\) Let's solve that.

Let's substitute \(17\) for \(x\) in the equation \(2x-2y=20\) and solve the resultant equation for \(y\text{.}\)

Before stating a conclusion, let's make sure that our answers make sense. When going upstream, the speed of the boat relative to the land is the difference of the two speeds, i.e. 10 mph.

When going downstream, the speed of the boat relative to the land is the sum of the two speeds, i.e. 24 mph.

So the (still water) cruising speed of the boat was 17 mph and the speed of the current was 7 mph.

### Exercises Exercises

Questions vary.

###### 1.

At the beginning of 1982, Francisco had $10,000 invested in two accounts - a savings account and a stock market account. Over the course of the year, the savings account balance grew by 8%, while the stock market account lost 5%. At the end of the year the two account balances totaled $10,345. How much did Francisco have invested in each account at the beginning of 1982? Assume that no money was deposited to or withdrawn from either account over the course of the year.

Let \(x\) represent the amount ($) Francisco had invested in the savings account at the beginning of of 1982 and \(y\) represent the amount Francisco had invested in the stock market account at the beginning of 1982. The information given in the problem is summarized in FigureĀ 15.5.13.

Savings Account | Stock Account | Total | |

Amount invested ($) | \(x\) | \(y\) | \(10,000\) |

Interest earned ($) | \(.08x\) | \(-.05y\) | \(345\) |

In both the investment and interest rows, the individual amounts from the two accounts must sum to the total. This gives us the following system of equations.

Solving the first equation for \(y\) we have \(y=10,000-x\text{.}\) So we can substitute \(10,000-x\) for \(y\) in the interest equation and solve for \(x\text{.}\)

So Francisco had $6500 in the savings account at the beginning of 1982 leaving $3500 that he had invested in the stock market account at the beginning of 1982. Let's confirm the result with the interest equation.

###### 2.

Jolly Jelly Beans are red and green. The candy is sold from bulk bins and in general, 70% of the beans (by weight) are red while the other 30% are green. Benito's Jelly Beans are also red and green and are also sold from bulk bins. In general, 25% of Benito's Jelly Beans (by weight) are red while the other 75% are green. Monica wants to purchase 12 lbs of Jelly beans, but she wants the red and green beans to be evenly distributed, each making up 50% of the mix. How many pounds of each type of candy should Monica purchase to achieve her goal? Assume that each percentage stated in the problem is exact.

Let \(x\) represent the number of pounds of Jolly Jelly Beans that Monica should purchase and \(y\) represent the number of pounds of Benito's Jelly Beans she should buy.

We can solve the problem two different ways - by focusing on her goal that 50% of the beans are red or by focusing on her goal that 50% of the beans are green. Below I focus on the goal of 50% red beans. You should also work the problem focusing on the goal that 50% of the beans are green and see that you get the same result. The information given in the problems is summarized in FigureĀ 15.5.14

Jolly Jelly Beans | Benito's Jelly Beans | Total | |

# of lbs purchased | \(x\) | \(y\) | \(12\) |

# of lbs of red beans | \(.70x\) | \(.25y\) | \(6\) |

In both variable rows of FigureĀ 15.5.14, the sum of the two individual purchases needs to equal the total purchase. This gives us the following system of equations.

From the first equation we have \(y=12-x\) which we use to make a substitution in the second equation.

So we conclude that Monica should purchase \(6\,\sfrac{2}{3}\) pounds of Jolly Jelly Beans and \(5\,\sfrac{1}{3}\) pounds of Benito's Jelly Beans (so that she purchases a total of 12 pounds of beans). We can check to make sure that this will result in 6 lbs of red beans.

###### 3.

Calvin is in Chemistry 201 lab. Calvin's instructor want him to prepare two liters of a solution that is 30% HCl (hydrochloric acid). Calvin has two mixtures to work with, one of which is 20% HCl and the other of which is 45% HCl. How many liters of each of the existent mixtures should Calvin use to achieve his goal of 2 l of solution, 30% of which is HCl?

Let \(x\) represent the amount (liters) of 20% solutions Calvin should use and \(y\) represent the amount (liters) of 45% HCl solution Calvin should use. The information given in the problem is summarized in FigureĀ 15.5.15. The figure of \(.60\) in the table comes from the fact that there are two liters of new solution and 30% of that solutions is HCl; \(30\)% of \(2\) is \(.60\text{.}\)

20% HCl | 45% HCl | New solution (30% HCl) | |

Total amount of solution (l) | \(x\) | \(y\) | \(2\) |

Amount of HCl in solution (l) | \(.20x\) | \(.45y\) | \(.60\) |

In both rows of FigureĀ 15.5.15, the amounts contributed by the 20% HCl solution and the 45% HCl solution need to total to the amount of 30% solution. This gives us the following system of equations.

Solving the first equation for \(y\) we have \(y=2-x\text{.}\) So we can substitute \(2-x\) for \(y\) in the HCl equation and solve for \(x\text{.}\)

So, Calvin should use \(1.2\) liters of the 20% HCl solution and \(0.8\) liters of the 45% solution. We can check our result with the HCl equation.

###### 4.

Two cars are moving toward each other on a straight and flat east-west highway through th Great Plains of Canada. Because the highway is so straight and flat, with the cruise controls engaged each car is able to maintain constant speed for two hours At the start of the two hours the cars are 324 km apart and they cross past each other at the end of the two hours. During the two hours period the constant speed of the westbound car is 18 km/hr greater than the constant speed of the eastbound car. Determine the constant speed of each of the cars.

Let \(x\) represent the constant speed (km/hr) of the westbound car and \(y\) represent the constant speed (km/hr) of the eastbound car. Since both cars travel for two hours, the distances traveled over the two hours are \(2x\) and \(2y\text{.}\) Between the two cars, a total of 324 km are traversed over those two hours, which gives us the first equation in the system that models the problem.

We are told that the westbound car moves at a rate that is 18 km/hr greater than the rate at which the eastbound car moves. This gives us the second equation in the system.

We begin solving the system by substituting \(y+18\) for \(x\) in the distance equation.

So the slower car (eastbound) travels at the rate of \(72\) km/hr and the faster car (westbound) travels at \(90\) km/hr. In two hours the cars travel, respectively, \(144\) km and \(180\) km, and sure enough, \(144+188=324\) \(\checkmark\text{.}\)

###### 5.

The jet-stream produces a steady wind that blows high in the atmosphere from the west to the east. The wind is powerful enough that it increases the speed of an eastbound flight and decreases the speed of a westbound flight. For example, if the jet-stream wind is 80 mi/hr and a plane's speed relative to the ground would be 400 mi/hr in still air, then its seed relative to the ground when flying east is 480 mi/hr while its speed when flying west is 320 mi/hr. Hoda works as a pilot for Richfolks Air. She flies a root between Seattle and Denver. During the flight she usually maintains maximum airspeed (the speed the plane would fly in perfectly still air) for 1200 miles of the flight. One particular Tuesday the wind produced by the jet-stream was constant the entire day. On that day the mentioned 1200 mile stretch from Seattle to Denver (eastbound) took 2 hours to complete while the same 1200 mile stretch from Denver to Seattle (westbound) took 2 hours and 40 minutes to complete. Determine the airspeed and wind speed on that day.

Define \(x\) to be the constant speed (mi/hr) of the jet in still air and \(y\) to be the constant speed (mi/hr) of the wind. The information stated in the problem is summarized in FigureĀ 15.5.16. Note that 40 minutes is two-thirds of an hour.

rate (mi/hr) | time (hr) | distance (mi) | |

Eastbound flight | \(x+y\) | \(2\) | \(1200\) |

Westbound flight | \(x-y\) | \(\frac{8}{3}\) | \(1200\) |

Applying the formula "\(D=r \times t\)" to both rows of the table, we derive our system of equations.

We can begin finding our solution by isolating \(y\) in the first equation.

We can now substitute \(600-x\) for \(y\) in the second equation and solve the resultant equation for \(x\text{.}\)

We can use the equation \(y=600-x\) to determine that the value of \(y\) is \(75\text{.}\)

So the speed of Hoda's jet in still air is \(525\) mi/hr and the wind speed is \(75\) mi/hr.