This section covers Introduction to Systems; Solving Systems by Graphing; Solving Systems with Substitution; Solving Systems with Linear Combination or Elimination; Types of Equations; Algebra Word Problems with Systems: Investment Word Problem, Mixture Word Problem, Distance Word Problem, Which Plumber Problem, Geometry Word Problem, Work Problem, and Three Variable Word Problem.
Introduction to Systems
“Systems of equations” just means that we are dealing with more than one equation and variable. So far, we’ve basically just played around with the equation for a line, which is y = mx + b.
But let’s say we have the following situation. You’re going to the mall with your friends and you have $200 to spend from your recent birthday money. You discover a store that has all jeans for $25 and all dresses for $50. You really, really want to take home 6 items of clothing because you “need” that many new things.
Wouldn’t it be clever to find out how many pairs of jeans and how many dresses you can buy so you use the whole $200 (tax not included – your parents promised to pay the tax)?
Now, you can always do “guess and check” to see what would work, but you might as well use algebra! It’s much better to learn the algebra way, because even though this problem is fairly simple to solve, the algebra way will let you solve any algebra problem – even the really complicated ones.
The first trick in problems like this is to figure out what we want to know. This will help us decide what variables (unknowns) to use. So what we want to know is how many pairs of jeans we want to buy (let’s say “j”) and how many dresses we want to buy (let’s say “d”). So always write down what your variables will be:
Let j = the number of jeans you will buy
Let d = the number of dresses you’ll buy
Like we did before, let’s translate word-for-word from math to English. Always write down what your variables are in the following way:
Now we have the 2 equations as shown below. Notice that the j variable is just like the x variable and the d variable is just like the y. It’s easier to put in j and d so we can remember what they stand for when we get the answers.
This is what we call a system, since we have to solve for more than one variable – we have to solve for 2 here. The cool thing is to solve for 2 variables, you typically need 2 equations, to solve for 3 variables, you need 3 equations, and so on. That’s easy to remember, right?
We need to get an answer that works in both equations; this is what we’re doing when we’re solving; this is called solving simultaneous systems, or solving system simultaneously.
There are several ways to solve systems; we’ll talk about graphing first.
Solving Systems by Graphing
Remember that when you graph a line, you see all the different coordinates (or x/y combinations) that make the equation work. In systems, you have to make both equations work, so the intersection of the two lines shows the point that fits both equations (assuming the lines do in fact intersect; we’ll talk about that later). So the points of intersections satisfy both equations simultaneously.
We’ll need to put these equations into the y = mx + b (d = mj + b) format, by solving for the d (which is like the y):
Now let’s graph:
We can see the two graphs intercept at the point (4, 2). This means that the numbers that work for both equations is 4 pairs of jeans and 2 dresses!
We can also use our graphing calculator to solve the systems of equations:
(Note that with non-linear equations, there will most likely be more than one intersection; an example of how to get more than one solution via the Graphing Calculator can be found in the Exponents and Roots in Algebra section.)
Solving Systems with Substitution
Substitution is the favorite way to solve for many students! It involves exactly what it says: substituting one variable in another equation so that you only have one variable in that equation. So below are our two equations, and let’s solve for “d” in terms of “j” in the first equation. Then, let’s substitute what we got for “d” into the next equation.
Even though it doesn’t matter which equation you start with, remember to always pick the “easiest” equation first (one that we can easily solve for a variable) to get a variable by itself.
So we could buy 4 pairs of jeans and 2 dresses.
Note that we could have also solved for “j” first; it really doesn’t matter. You’ll want to pick the variable that’s most easily solved for.
Solving Systems with Linear Combination or Elimination
Probably the most useful way to solve systems is using linear combination, or linear elimination. The reason it’s most useful is that usually in real life we don’t have one variable in terms of another (in other words, a “y =” situation).
The main purpose of the linear combination method is to add or subtract the equations so that one variable is eliminated. Now let’s see why we can add, subtract, or multiply both sides of equations by the same numbers – let’s use real numbers as shown below. Remember these are because of the Additive Property of Equality, Subtraction Property of Equality, Multiplicative Property of Equality, and Division Property of Equality:
So now if we have a set of 2 equations with 2 unknowns, we can manipulate them by adding, multiplying or subtracting (we usually prefer adding) so that we get one equation with one variable. For, example, let’s use our previous problem:
So we could buy 4 pairs of jeans and 2 dresses.
Types of equations
In the example above, we found one unique solution to the set of equations. Sometimes, however, there are no solutions (when lines are parallel) or an infinite number of solutions (when the two lines are actually the same line, and one is just a “multiple” of the other) to a set of equations.
When there is at least one solution, the equations are consistent equations, since they have a solution. When there is only one solution, the system is called independent, since they cross at only one point. When equations have infinite solutions, they are the same equation, are consistent, and are called dependent or coincident (think of one just sitting on top of the other).
When equations have no solutions, they are called inconsistent equations, since we can never get a solution.
Here are graphs of inconsistent and dependent equations that were created on the graphing calculator:
Systems with Three Equations
Let’s get a little more complicated with systems; in real life, we rarely just have two unknowns with two equations.
So let’s say at the same store, they also had pairs of shoes for $20 and we managed to get $60 more from our parents since our parents are so great!
Now we have a new problem: to spend the even $260, how many pairs of jeans, dresses, and pairs of shoes should we get if want say exactly 10 total items?
Let’s let j = the number of pair of jeans, d = the number of dresses, and s = the number of pairs of shoes we should buy.
So far we’ll have the following equations:
We’ll need another equation, since for three variables, we need three equations (otherwise, we’d theoretically have infinite ways to solve the problem). In this type of problem, you would also have/need something like this: we want twice as many pairs of jeans as pairs of shoes. Now, since we have the same number of equations as variables, we can potentially get one solution for the system.
So, again, now we have three equations and three unknowns (variables). We’ll learn later how to put these in our calculator to easily solve using matrices (see the Matrices and Solving Systems with Matrices section) , but for now we need to first use two of the equations to eliminate one of the variables, and then use two other equations to eliminate the same variable:
Now this gets more difficult to solve, but remember that in “real life”, there are computers to do all this work!
The trick to do these problems “by hand” is to keep working on the equations using either substitution or elimination until we get the answers.
Remember again, that if we ever get to a point where we end up with something like this, it means there are an infinite number of solutions:
4 = 4 (variables are gone and a number equals another number and they are the same)
And if we up with something like this, it means there are no solutions:
5 = 2 (variables are gone and two numbers are left and they don’t equal each other)
So let’s go for it and solve :
So we could buy 6 pairs of jeans, 1 dress, and 3 pairs of shoes.
Here’s one more example of a three variable system of equations, where we’ll only use linear elimination:
I know – this is really difficult stuff! But if you do it step-by-step and keep using the equations you need with the right variables, you can do it. Think of it like a puzzle – you may not know exactly where you’re going, but do what you can in baby steps, and you’ll get there (sort of like life!).
And we’ll learn much easier ways to do these types of problems.
Also – note that equations with three variables are represented by planes, not lines (you’ll learn about this in Geometry). They could have 1 solution (if all the planes crossed in only one point), no solution (if say two of them were parallel), or an infinite number of solutions (say if two or three of them crossed in a line). OK, enough Geometry for now!
Algebra Word Problems with Systems
Let’s do more word problems; you’ll notice that many of these are the same type that we did earlier in the Algebra Word Problems section, but now we can use more than one variable. This will actually make the problems easier!
Again, when doing these word problems:
- If you’re wondering what the variable (or unknown) should be when working on a word problem, look at what the problem is asking. This is usually what your variable is!
- If you’re not sure how to set up the equations, use regular numbers (simple ones!) and see what you’re doing. Then put the variables back in!
Investment Word Problem:
Suppose Lindsay’s mom invests $10000, part at 3%, and the rest at 2.5%, in interest bearing accounts. The totally yearly investment income (interest) is $283. How much did Lindsay’s mom invest at each rate?
So we always have to define a variable, and we can look at what they are asking. Since we’ve learned about systems, let’s use two variables: let x = the amount of money invested at 3%, and y = the amount of money invested at 2.5%.
Remember that the yearly investment income or interest is the amount that we get from the yearly percentages. (This is the amount of money that the bank gives us for keeping our money there.) To get the interest, we have to multiply each percentage by the amount invested at that rate. We can add these amounts up to get the total interest.
So we have two equations and two unknowns. We know that the total amount (x + y) must equal 10000, and we also know that the interest (.03x + .025y) must equal 283:
Mixture Word Problem:
Two types of milk, one that has 1% butterfat, and the other that has 3.5% of butterfat, are mixed. How many liters of these two different kinds of milk are to be mixed together to produce 10 liters of low-fat milk, which has 2% butterfat?
Let’s first define two variables for the number of liters of each type of milk. Let x = the number of liters of the 1% milk, and y = the number of liters of the 3.5% milk. Let’s use a table again:
We can also set up mixture problems with the type of figure below. We add up the terms inside the box, and then multiply the amounts in the boxes by the percentages above the boxes, and then add across. This will give us the two equations.
Distance Word Problem:
Lia walks to the mall from her house at 5 mph. 10 minutes later, Lia’s sister Megan starts riding her bike at 15 mph (from the same house) to the mall to meet Lia. They arrive at the mall the same time. How far is the mall from the sisters’ house? How long did it take Megan to get there?
OK, this is another tough one. Remember always that distance = rate x time. It’s difficult to know how to define the variables, but usually in these types of distance problems, we want to set the variables to time, since we have rates, and we’ll want to set distances equal to each other (the house is always the same distance from the mall).
Let’s let L equal the how long (in hours) it will take Lia to get to the mall, and M equal to how long (in hours) it will take Megan to get to the mall. (Sometimes we’ll need to add the distances together instead of setting them equal to each other.)
We must use the distance formula for each of them separately, and then we can set their distances equal, since they are both traveling the same distance (house to mall).
Which Plumber Problem:
Many word problems you’ll have to solve have to do with an initial charge or setup charge, and a charge or rate per time period. In these cases, the initial charge will be the y-intercept, and the rate will be the slope. Here is an example:
Michaela’s mom is trying to decide between two plumber companies to fix her sink. The first company charges $50 for a service call, plus an additional $36 per hour for labor. The second company charges $35 for a service call, plus an additional $39 per hour of labor. At how many hours will the two companies charge the same amount of money?
In these cases, the money spent depends on the plumber’s set up charge and number of hours, so let y = total cost of the plumber, and x = number of hours of labor. And again, set up charges are typical y-intercepts, and rates per hour are slopes.
To get the number of hours when the two companies charge the same amount of money, we just put the two y’s together and solve for x (substitution, right?):
Geometry Word Problem:
Many times we’ll have a geometry problem as an algebra word problem; these might involve perimeter, area, or sometimes angle measurements (so don’t forget these things!). Let’s do one involving angle measurements.
Two angles are supplementary. The measure of one angle is 30 degrees smaller than twice the other. Find the measure of each angle.
We have to know that two angles are supplementary if their angle measurements add up to 180 degrees (and remember also that two angles are complementary if their angle measurements add up to 90 degrees, in case you see that).
Let’s define the variables and turn English into Math. Let x = the first angle, and y = the second angle; we really don’t need to worry at this point about which angle is bigger; the math will take care of itself.
Then we know that x plus y must equal 180 degrees by definition, and also x = 2y – 30. (Remember the English-to-Math chart?) Let’s solve:
Here’s one that’s a little tricky though:
8 women and 12 girls can paint a large mural in 10 hours. 6 women and 8 girls can paint it in 14 hours. Find the time to paint the mural, by 1 woman alone, and 1 girl alone.
(This is a “work problem” that is typically seen when studying Rational Equations – fraction with variables in them – and can be found here in the Rational Expressions and Functions section.) But let’s solve it with using systems. (There’s also a simpler version of this problem here in the Direct, Inverse, Joint and Combined Variation section).
Let’s let w = the part of the job by 1 woman in 1 hour, and g = the part of the job by 1 girl in 1 hour. Let’s set up and solve:
Let’s do one more with three equations and three unknowns:
Three Variable Word Problem:
A florist is making 5 identical bridesmaid bouquets for a wedding. She has $610 to spend (including tax) and wants 24 flowers for each bouquet. Roses cost $6 each, tulips cost $4 each, and lilies cost $3 each. She wants to have twice as many roses as the other 2 flowers combined in each bouquet. How many roses, tulips, and lilies are in each bouquet?
Let’s look at the question that is being asked and define our variables: Let r = the number of roses, t = the number of tulips, and l = the number of lilies. So let’s put the money terms together, and also the counting terms together:
Now let’s do the math:
Understand these problems, and practice, practice, practice!
On to Introduction to Functions – you’re ready!