๐Ÿ“– Contents · Hub · Full version Chapter 5 ยท Systems of Equations
College Algebra Easy Read · Chapter 5

Systems of Equations & Inequalities

Up to now, almost every equation you have solved had one unknown hiding in it. Real questions are rarely that tidy, because they often have two prices, two speeds, or two strengths of a mixture tangled together in the same story. A system of equations is simply two or more equations that have to be true at the same time, and solving one means finding the values that make all of them true at once. This chapter gives you four reliable ways to do that: graphing, substitution, elimination, and a step by step method for three unknowns. Then it puts them to work on mixture problems, rate problems, and shaded regions on a graph. Every method here is arithmetic you already know, set out in a careful order, so go slowly, write every line down, and it will hold.

By the end of this chapter you can

  • Explain what a solution of a system is, and check a possible solution by putting it into every equation.
  • Solve a system with two variables by graphing, and spot lines that cross, lines that are parallel, and lines that lie on top of each other (coincident).
  • Sort a system as consistent independent, inconsistent, or consistent dependent by looking at its slopes and intercepts.
  • Solve a system by substitution (swapping in an equal expression), and say when substitution is the fastest choice.
  • Solve a system by elimination (adding equations so a variable cancels), including systems that must first be multiplied through, and say when elimination is the fastest choice.
  • Explain the two endings where no variables are left: a false statement (no solution) and a true statement (infinitely many solutions).
  • Solve a 3 × 3 system with three variables by cutting it down to a 2 × 2 system and then working back up (back-substituting).
  • Set up and solve mixture and rate word problems, and graph the solution region of a system of linear inequalities.

Section 1Solving by graphing

Two straight lines drawn on a coordinate plane crossing at a single point
Reference. Two lines meeting at one point: that single crossing is the ordered pair that solves both equations at once. Source and license: see the figure credits

What a "solution" means when there are two equations

A system of equations is a set of equations that must all be true at the same moment. When we write

x + y = 6
y = 2x − 3

we are asking a single question: is there a pair of numbers (x, y) that makes both sentences true? A solution of a system in two variables is an ordered pair, not a single number. The pair (3, 3) is a solution only if it works in the first equation and in the second. Checking one equation and stopping is the most common way people lose points on this topic, so build the habit now: always check in every original equation.

Here is the picture behind why graphing works. The graph of a linear equation is a picture of all the pairs that make it true. So the graph of equation one shows every pair that works in equation one, and the graph of equation two shows every pair that works in equation two. A pair that works in both must lie on both graphs, so it must be a point where the two lines intersect, or cross. That is the whole method.

A fully worked example

Solve by graphing:

Equation 1: x + y = 6
Equation 2: 2x − y = 3

Step 1: put each line in slope-intercept form, y = mx + b, because that form is the easiest to graph.

Equation 1: x + y = 6. Subtract x from both sides: y = −x + 6. Slope m = −1, y-intercept b = 6.

Equation 2: 2x − y = 3. Subtract 2x from both sides: −y = −2x + 3. Multiply both sides by −1: y = 2x − 3. Slope m = 2, y-intercept b = −3.

Step 2: build a small table of points for each line. Pick easy x-values and do the arithmetic out loud.

xy = −x + 6Point on line 1y = 2x − 3Point on line 2
0−(0) + 6 = 6(0, 6)2(0) − 3 = −3(0, −3)
2−(2) + 6 = 4(2, 4)2(2) − 3 = 1(2, 1)
3−(3) + 6 = 3(3, 3)2(3) − 3 = 3(3, 3)
6−(6) + 6 = 0(6, 0)2(6) − 3 = 9(6, 9)

Step 3: read where the lines cross (the intersection). The point (3, 3) shows up on both lines, so that is where the graphs cross.

Step 4: check in both original equations. Equation 1: 3 + 3 = 6, and 6 = 6 ✓. Equation 2: 2(3) − 3 = 6 − 3 = 3, and 3 = 3 ✓. Both are true, so the solution is (3, 3).

Graphing is honest but not exact, because if the true crossing point were at (2.37, 1.14), you would never read it off graph paper. That is exactly why the algebra methods in Sections 2 and 3 exist. Use graphing to understand what you are doing and to check that an answer makes sense, and use algebra to get the exact numbers.

Three pictures, three outcomes

Two lines in a plane can relate to each other in only three ways, so a linear system of two equations has only three possible outcomes. Learning to spot which one you have before you do any work saves a lot of time.

Case A: they cross once. Different slopes force the lines to meet at exactly one point. For example, y = −x + 6 and y = 2x − 3 have slopes −1 and 2, so there is one solution. Such a system is called consistent, which means it has at least one solution, and independent, which means the equations say truly different things.

Case B: they are parallel. Look at y = 3x + 1 and y = 3x − 4. Both have slope 3, but their y-intercepts are 1 and −4, so they are different lines running side by side forever. They never meet, so no ordered pair makes both true. The system is inconsistent, and the solution set is empty. You can see the clash in the algebra too: if y equals both, then 3x + 1 = 3x − 4, and subtracting 3x from both sides gives 1 = −4, which is false. No x can fix that.

Case C: they are the same line. Look at 2x + 4y = 8 and x + 2y = 4. Divide every term of the first by 2: (2x)/(2) + (4y)/(2) = (8)/(2), which is x + 2y = 4, exactly the second equation. These are two disguises for one line, so they are coincident. Every point on that line makes both equations true, so there are infinitely many solutions, which means there is no end to them. Such a system is consistent and dependent. In slope-intercept form both become y = −(1)/(2)x + 2, with the same slope and the same intercept.

PictureSlopes / interceptsNumber of solutionsName
Lines cross onceSlopes differExactly one ordered pairConsistent, independent
Lines are parallelSame slope, different y-interceptNone: empty solution setInconsistent
Lines lie on top of each otherSame slope, same y-interceptInfinitely many (all points on the line)Consistent, dependent
Compare slopes before you work anything out. Rewrite both equations as y = mx + b and glance at the numbers. Different slopes mean you are sure to get exactly one answer, and it is worth working it out. The same slope means you already know the answer is either "none" or "infinitely many," and the only question left is whether the intercepts match. Ten seconds of looking can save ten minutes of algebra.
Interactive Drag two lines around the coordinate plane and watch a system land in one of exactly three endings, one solution, none, or infinitely many, with the algebra that explains why there is never a fourth, and worked graphings that always end in a check. Open full ↑
Key points
  • A solution of a system in two variables is an ordered pair that satisfies every equation: always check in both originals.
  • On a graph, the solution is the point (or points) where the graphs cross.
  • Two lines give exactly three outcomes: one solution (different slopes), no solution (parallel), or infinitely many (the same line, called coincident).
  • Graphing helps you understand, but it is hard to read when the answer is not a whole number, so use algebra for exact values.

Section 2Substitution

Graph of a linear system showing the solution point where two equations meet
Reference. A linear system pictured on the coordinate plane. Substitution finds the same crossing point exactly, without drawing. Source and license: see the figure credits

The idea: trade one variable for an equal expression

The trouble with a system is that each equation has two unknowns, and you know how to solve equations with only one unknown. The substitution method deals with that directly. Solve one equation for one variable, then replace that variable in the other equation with the expression it equals. Because you are swapping in something that is truly equal, the new equation is still true, but now it has only one variable, and you are back on familiar ground.

The procedure is always the same four moves:

StepWhat you doWhy it works
1Isolate one variable in one equationGives you an expression that variable is equal to
2Substitute that expression into the other equationEquals may replace equals; the result has one variable
3Solve the one-variable equationOrdinary algebra you already know
4Back-substitute to find the other variable, then check both originalsA system needs a full ordered pair, and checking catches errors

A warning about step 2: you must substitute into the other equation. If you substitute back into the same equation you came from, everything cancels and you get a statement that is true but useless, like 6 = 6. That is not a mistake in the math, because it just means you told the equation something it already knew.

Worked example 1: a variable is already isolated

Solve:   y = 3x − 4   and   2x + y = 11.

Step 1. The first equation is already solved for y: y = 3x − 4. Nothing to do.

Step 2. Substitute (3x − 4) in place of y in the second equation:

2x + y = 11  →  2x + (3x − 4) = 11

Step 3. Solve. Combine like terms: 2x + 3x = 5x, so the equation is 5x − 4 = 11. Add 4 to both sides: 5x = 15. Divide both sides by 5: x = 3.

Step 4. Back-substitute x = 3 into the isolated equation: y = 3(3) − 4 = 9 − 4 = 5.

Check both originals. First: y = 3x − 4 becomes 5 = 3(3) − 4 = 5 ✓. Second: 2x + y = 2(3) + 5 = 6 + 5 = 11 ✓. The solution is (3, 5).

Worked example 2: when you have to isolate first

Solve:   x − 2y = 1   and   3x + 4y = 23.

Step 1: choose wisely. Look for a variable whose coefficient (the number in front of it) is 1 or −1, because getting it alone will not create fractions. In the first equation, x has coefficient 1. Add 2y to both sides of x − 2y = 1:  x = 2y + 1.

Step 2: substitute into the other equation. Replace x with (2y + 1):

3x + 4y = 23  →  3(2y + 1) + 4y = 23

Step 3: solve. Distribute the 3: 3(2y) = 6y and 3(1) = 3, so we have 6y + 3 + 4y = 23. Combine like terms: 6y + 4y = 10y, giving 10y + 3 = 23. Subtract 3 from both sides: 10y = 20. Divide by 10: y = 2.

Step 4: back-substitute. Using x = 2y + 1: x = 2(2) + 1 = 4 + 1 = 5.

Check both originals. First: x − 2y = 5 − 2(2) = 5 − 4 = 1 ✓. Second: 3x + 4y = 3(5) + 4(2) = 15 + 8 = 23 ✓. The solution is (5, 2).

When the variables all disappear

Sometimes every variable cancels partway through. Do not panic: the sentence you are left with is telling you which of the three pictures from Section 1 you are in.

All variables gone, and the statement is false. Solve y = 2x + 1 and 4x − 2y = 5. Substitute: 4x − 2(2x + 1) = 5. Distribute the −2: −2(2x) = −4x and −2(1) = −2, so 4x − 4x − 2 = 5, which simplifies to −2 = 5. That is false for every value of x, so there is no solution, because the lines are parallel.

All variables gone, and the statement is true. Solve y = 2x + 1 and 6x − 3y = −3. Substitute: 6x − 3(2x + 1) = −3, so 6x − 6x − 3 = −3, which simplifies to −3 = −3. That is true for every value of x, so there are infinitely many solutions, because the two equations describe the same line. We report the answer as "all ordered pairs that make y = 2x + 1 true."

Substitution is not only for lines

Substitution is the method that keeps working when an equation is not linear (not a straight line), which is why it is worth learning well. Solve y = x2 − 1 and y = x + 1. Since both expressions equal y, they equal each other:

x2 − 1 = x + 1

Subtract x and subtract 1 from both sides: x2 − x − 2 = 0. Factor: (x − 2)(x + 1) = 0. So x = 2 or x = −1. Back-substitute into y = x + 1: when x = 2, y = 3; when x = −1, y = 0. Check in the parabola: 22 − 1 = 3 ✓ and (−1)2 − 1 = 1 − 1 = 0 ✓. The line crosses the parabola twice, at (2, 3) and (−1, 0).

Two warnings come with systems that are not linear. First, a variable may carry a restriction, and you should write it down before you solve, not after. If an equation contains (1)/(x − 3), the denominator cannot be zero, so x ≠ 3 is an excluded value, and a "solution" of x = 3 must be thrown out no matter how cleanly the algebra produced it. Here is that trap in a small example. Solve y = (x)/(x − 2) and y = (2)/(x − 2). Both denominators force x ≠ 2. Setting the two expressions equal and multiplying both sides by (x − 2) gives x = 2, the one value the system forbids. That answer is extraneous (it does not really work), and the honest answer is no solution.

Second, if solving ever needs you to square both sides or to multiply through by an expression that has a variable in it, the new equation can pick up extraneous solutions that do not work in the original, because neither move can be undone cleanly. The same warning applies to any logarithm equation you meet in a system. A logarithm is defined only when the number inside it is positive, so log expressions come with their own domain restriction, and every possible answer must be tested against it. None of this is a reason to fear the method. It is a reason to check every possible answer in the original equations, which you were going to do anyway.

Pick the cheapest variable to get alone. Scan all four coefficients for a 1 or a −1, because getting that variable alone keeps you in whole numbers. If every coefficient is 2 or larger, substitution will force fractions on you, and elimination (next section) is almost surely the faster road.
Interactive A step-by-step machine that walks the substitution method one move at a time, isolate, substitute, distribute, combine, solve, back-substitute, check, with the changed part highlighted, the distributive property expanded the long way, a live graph tracking each step, and the two systems where the variable vanishes. Open full ↑
Key points
  • Substitution: get a variable alone, swap it into the other equation, solve, then put the value back (back-substitute) and check.
  • It is easiest when a variable is already alone, or has a coefficient of 1 or −1.
  • A false ending (like −2 = 5) means no solution, and a true ending (like −3 = −3) means infinitely many.
  • Substitution also handles systems that are not linear. State the excluded values before you solve, watch for extraneous solutions, and check every possible answer in the originals.

Section 3Elimination

Diagram showing two linear equations added together so that one variable cancels
Reference. Adding two equations term by term so that one variable cancels. This is the elimination (addition) method in a single picture. Source and license: see the figure credits

The idea: add the equations so a variable cancels

The elimination method, also called the addition method, rests on a fact that feels almost too easy: if A = B and C = D, then A + C = B + D. You may add two true equations together, left side to left side and right side to right side, and the result is still true. If the coefficients of one variable are opposites, that variable adds up to zero and vanishes, leaving one equation with one unknown.

When the coefficients are not already opposites, you make them opposites. Multiplying a whole equation by a number that is not zero does not change its solutions, so 2x + 3y = 7 and 4x + 6y = 14 have exactly the same solutions. That means you are free to scale either equation, or both, until the numbers line up.

Worked example 1: the coefficients already cancel

Solve:   2x + 5y = 23   and   3x − 5y = −3.

Step 1: look for opposites. The y-terms are +5y and −5y. Adding them gives 5y + (−5y) = 0y = 0. The y disappears with no extra work.

Step 2: add the equations column by column.

 x-termsy-terms=Constants
Equation 12x+5y=23
Equation 23x−5y=−3
Sum5x0=20

The arithmetic on the constants: 23 + (−3) = 20. On the x-terms: 2x + 3x = 5x. So the sum is 5x = 20.

Step 3: solve. Divide both sides by 5: x = 4.

Step 4: back-substitute. Put x = 4 into equation 1: 2(4) + 5y = 23, so 8 + 5y = 23. Subtract 8 from both sides: 5y = 15. Divide by 5: y = 3.

Check both originals. Equation 1: 2(4) + 5(3) = 8 + 15 = 23 ✓. Equation 2: 3(4) − 5(3) = 12 − 15 = −3 ✓. The solution is (4, 3).

Worked example 2: multiply first, then eliminate

Solve:   3x + 4y = 10   and   2x + 5y = 9.

Step 1: decide what to eliminate. Nothing cancels yet, so aim at x. Its coefficients are 3 and 2, and the least common multiple of 3 and 2 is 6. If we can make them +6x and −6x, they will cancel.

Step 2: multiply each equation through. Multiply every term of equation 1 by 2:

2(3x) + 2(4y) = 2(10)  →  6x + 8y = 20

Multiply every term of equation 2 by −3:

−3(2x) + (−3)(5y) = −3(9)  →  −6x − 15y = −27

Step 3: add. The x-terms: 6x + (−6x) = 0. The y-terms: 8y + (−15y) = −7y. The constants: 20 + (−27) = −7. So −7y = −7.

Step 4: solve. Divide both sides by −7: y = 1.

Step 5: back-substitute into an original equation. Use 3x + 4y = 10 with y = 1: 3x + 4(1) = 10, so 3x + 4 = 10. Subtract 4: 3x = 6. Divide by 3: x = 2.

Check both originals. Equation 1: 3(2) + 4(1) = 6 + 4 = 10 ✓. Equation 2: 2(2) + 5(1) = 4 + 5 = 9 ✓. The solution is (2, 1).

Notice that putting the value back used an original equation, not one of the multiplied versions. Either one would work, but the originals are the ones you must make true, so using them also counts as part of your check.

The same two special endings

Elimination shows parallel lines and lines that lie on top of each other the same way substitution does. Solve 2x + 3y = 7 and 4x + 6y = 5. Multiply the first equation by −2: −4x − 6y = −14. Add it to the second: (−4x + 4x) + (−6y + 6y) = −14 + 5, which is 0 = −9. That is false, so there is no solution.

Now try 2x + 3y = 7 and 4x + 6y = 14. Multiply the first by −2 again: −4x − 6y = −14. Add: 0 = −14 + 14 = 0. That is true, so there are infinitely many solutions, because the second equation is just the first one doubled.

Which method should you reach for?

Both methods always work. The only question is which one costs less arithmetic, and the answer is usually easy to see in the coefficients.

What the system looks likeBest methodReason
A variable is already isolated, e.g. y = 2x − 4SubstitutionStep 1 is already done for you
Some variable has coefficient 1 or −1SubstitutionIsolating it creates no fractions
Both equations look like Ax + By = C with coefficients 2 or largerEliminationSubstitution would force fractions immediately
A variable's coefficients are already opposites (+5y and −5y)EliminationOne addition and the variable is gone
Three or more variablesEliminationIt scales; substitution gets tangled fast
An equation is not linear (contains x2, √x, and so on)SubstitutionTerms will not cancel by addition
Multiply the WHOLE equation, every single term. The most common elimination mistake is to scale the two variable terms and forget the number on the right side, turning 2x + 5y = 9 into 6x + 15y = 9 instead of 6x + 15y = 27. Write the multiplier out in front of each term the first few times. It is slower for a week and correct forever.
Interactive Choose a multiplier for each equation and watch a whole column cancel to zero on the coefficient bench, then step through the complete elimination solve: back-substitution, check, and the parallel-line and same-line endings included. Open full ↑
Key points
  • Elimination adds the equations so that the terms of one variable cancel to zero.
  • Multiplying a whole equation by a number that is not zero does not change its solutions, and that is what lets you create opposites.
  • Use the least common multiple of the two coefficients to decide what to multiply by.
  • Elimination is easiest for systems in Ax + By = C form, mainly when no coefficient is 1. 0 = a number that is not zero means no solution, and 0 = 0 means infinitely many.

Section 4Systems in three variables

Planes in three-dimensional space representing the equations of a linear system
Reference. Each equation in three variables is a plane in space; solving the system means finding where all the planes meet. Source and license: see the figure credits

What changes and what does not

An equation like 2x − y + 3z = 9 is linear in three variables. Its solution is no longer an ordered pair but an ordered triple (x, y, z), and its graph is no longer a line but a flat plane floating in space, which has three directions. A system of three such equations asks whether there is a point that lies on all three planes at once.

Three planes can meet at exactly one point, like the corner of a room where two walls and the floor come together, and that is the unique solution case. They can share a whole line or a whole plane, which gives infinitely many solutions. Or they can have no point in common at all, with two of them parallel, or with all three arranged like the sides of a long box with three sides (a triangular prism), which gives no solution.

The plan is comforting because it reuses what you already know: knock the 3 × 3 system down to a 2 × 2 system, solve that, and then climb back up. The tool for knocking it down is elimination.

A fully worked 3 × 3 example

Solve:

E1:  x + y + z = 6
E2:  2x − y + 3z = 9
E3:  x − y + z = 2

Step 1: choose a variable to eliminate everywhere. Scan the y-column: +1y, −1y, −1y. Those are already opposites, so y is the cheapest target. We will eliminate y twice, using two different pairs of equations.

Step 2: eliminate y from E1 and E2 by adding them.

(x + 2x) + (y − y) + (z + 3z) = 6 + 9

The x-terms give 3x; the y-terms give 0; the z-terms give 4z; the constants give 15. Call the result Equation A:  3x + 4z = 15.

Step 3: eliminate y from E1 and E3 by adding them.

(x + x) + (y − y) + (z + z) = 6 + 2

That gives 2x + 2z = 8. Divide every term by 2 to keep the numbers small: Equation B:  x + z = 4.

Equations A and B form an ordinary 2 × 2 system in x and z: the hard part is over.

Step 4: solve the 2 × 2 system. Equation B has a coefficient of 1, so substitution is cheap. From B: x = 4 − z. Substitute into A:

3(4 − z) + 4z = 15

Distribute the 3: 3(4) = 12 and 3(−z) = −3z, so 12 − 3z + 4z = 15. Combine the z-terms: −3z + 4z = 1z, giving 12 + z = 15. Subtract 12 from both sides: z = 3.

Step 5: back-substitute for the second variable. Using x = 4 − z:  x = 4 − 3 = 1.

Step 6: put the values back into an original equation with three variables to find the last one. Use E1: x + y + z = 6 becomes 1 + y + 3 = 6, so 4 + y = 6. Subtract 4: y = 2.

Step 7: check in all three originals. This is not optional in a 3 × 3 system, because a single slip in the arithmetic at step 2 quietly spoils everything after it.

EquationSubstitute x = 1, y = 2, z = 3ArithmeticTrue?
E11 + 2 + 3= 6, and we need 6✓
E22(1) − 2 + 3(3)= 2 − 2 + 9 = 9, and we need 9✓
E31 − 2 + 3= 2, and we need 2✓

All three hold, so the solution is the ordered triple (1, 2, 3).

Bookkeeping rules that keep you out of trouble

Systems with three variables are not harder to understand than systems with two. They are just longer, and length is where errors live. A few habits do most of the work.

Eliminate the same variable both times. If you cancel y from the pair (E1, E2) and then cancel z from the pair (E1, E3), your two new equations will not share the same pair of variables, and you will have gained nothing.

Use each equation at least once. A classic trap is to use E1 with E2, and then E1 with E2 again in a different disguise. You must bring E3 into the work, or what it tells you never enters the answer.

Aim for a staircase (triangular form) if you like structure. Some people like to rearrange the system into a staircase, with the first equation using all three variables, the second using two, and the third using one, and then solve from the bottom up. That process is called back-substitution, and it is exactly what steps 4 through 6 above did, just written in a different way.

Read the endings the same way as before. If eliminating gives a false statement such as 0 = 7, the system is inconsistent and has no solution. If it gives 0 = 0, the equations are dependent and there are infinitely many solutions, because the planes share a line or a plane instead of a point.

Write the system in columns before you start. Line up the x terms under the x terms, the y terms under the y terms, the z terms under the z terms, and the constants under the constants. If an equation is missing a variable, such as 3x + 4z = 15 with no y, leave a gap you can see or write 0y. Almost every error with three variables comes from a column that drifted, not from an idea that was misunderstood.
Interactive Step through a 3 by 3 system one move at a time, knock the same variable out twice, solve the 2 by 2 that is left, then climb back up, with a reduction ladder and the three-plane picture behind the unique, no-solution, and infinitely-many cases. Open full ↑
Key points
  • A solution in three variables is an ordered triple (x, y, z); each equation graphs as a plane.
  • The plan: eliminate the same variable from two different pairs of equations to get a 2 × 2 system, solve it, and then put the values back (back-substitute).
  • Every equation must be used at least once, or what it tells you is lost.
  • 0 = a number that is not zero still means no solution, and 0 = 0 still means infinitely many. Check the triple in all three originals.

Section 5Applications and systems of inequalities

Two straight-line models crossing at an equilibrium point on a labeled graph
Reference. Two straight line models crossing at a single balance point, which is the everyday shape of a word problem with two equations. Source and license: see the figure credits

Turning a story into two equations

Word problems become easy to manage once you accept a fixed routine. Name the unknowns with letters and units. Write one equation for each separate fact in the story. Two unknowns need two facts, and three unknowns need three. Then solve by whichever method the coefficients invite, and do the step people skip: ask whether the answer makes sense in the story. A negative number of liters or a fraction of a chair is a signal to go back and reread, not a final answer.

Two families of problems show up constantly, so it is worth seeing each worked completely.

Worked example 1: a mixture problem

A technician has a 20% saline solution and a 50% saline solution. How many milliliters of each are needed to make 300 mL of a 30% solution?

Step 1: name the unknowns. Let x = milliliters of the 20% solution and y = milliliters of the 50% solution. Both must be at or above zero: x ≥ 0 and y ≥ 0.

Step 2: write one equation for total volume. The two amounts have to add up to 300 mL:

x + y = 300

Step 3: write one equation for the amount of salt. This is the equation people forget, so track the salt, not the liquid. The 20% bottle adds 0.20x mL of salt, the 50% bottle adds 0.50y mL, and the finished 300 mL at 30% holds 0.30(300) = 90 mL of salt.

0.20x + 0.50y = 90

Step 4: clear the decimals. Multiply every term of the salt equation by 10: 10(0.20x) = 2x, 10(0.50y) = 5y, and 10(90) = 900. So 2x + 5y = 900.

Step 5: solve. The volume equation has coefficients of 1, so substitution is cheap. From x + y = 300 we get x = 300 − y. Substitute into 2x + 5y = 900:

2(300 − y) + 5y = 900

Distribute: 2(300) = 600 and 2(−y) = −2y, giving 600 − 2y + 5y = 900. Combine the y-terms: −2y + 5y = 3y, so 600 + 3y = 900. Subtract 600 from both sides: 3y = 300. Divide by 3: y = 100.

Step 6: back-substitute. x = 300 − 100 = 200.

Step 7: check against the story, not just the algebra. Volume: 200 + 100 = 300 mL ✓. Salt: 0.20(200) + 0.50(100) = 40 + 50 = 90 mL ✓. Strength of the result: (90)/(300) = 0.30 = 30% ✓. Both amounts are positive, so they are possible in real life. Answer: 200 mL of the 20% solution and 100 mL of the 50% solution.

Check the reasoning too. 30% sits closer to 20% than to 50%, so we should need more of the weak solution than the strong one, and we do, 200 mL versus 100 mL. That kind of quick look catches sign errors before they reach your paper.

Worked example 2: a rate problem

A boat travels 36 miles downstream in 2 hours, then returns the same 36 miles upstream in 3 hours. Find the boat's speed in still water and the speed of the current.

Step 1: name the unknowns. Let b = the boat's speed in still water (mph) and c = the current's speed (mph).

Step 2: model the two directions. Going downstream the current helps, so the effective speed is b + c. Going upstream the current fights the boat, so the effective speed is b − c.

Step 3: use distance = rate × time, rearranged as rate = distance ÷ time.

Downstream: b + c = (36)/(2) = 18
Upstream: b − c = (36)/(3) = 12

Step 4: eliminate. The c-terms are +c and −c, already opposites. Add the two equations: (b + b) + (c − c) = 18 + 12, which is 2b = 30. Divide both sides by 2: b = 15.

Step 5: back-substitute. Put b = 15 into b + c = 18: 15 + c = 18, so c = 3.

Step 6: check against the story. Downstream speed 15 + 3 = 18 mph for 2 hours covers 18 × 2 = 36 miles ✓. Upstream speed 15 − 3 = 12 mph for 3 hours covers 12 × 3 = 36 miles ✓. Both speeds are positive, and the current is slower than the boat: otherwise the boat could not go upstream at all. Answer: the boat travels 15 mph in still water and the current runs at 3 mph.

Problem typeEquation 1 (the "how much" fact)Equation 2 (the "how strong" fact)
Mixture / solutionAmounts add to the total: x + y = totalSubstance adds up: p1x + p2y = pmix(total)
Coins / ticketsCounts add to the total numberValues add to the total money
Wind or currentWith the flow: r + w = distance ÷ timeAgainst the flow: r − w = distance ÷ time
Break-evenCost: C = (fixed) + (per-unit)xRevenue: R = (price)x; solve C = R

Systems of inequalities: shading instead of pinpointing

Change an equals sign to an inequality sign, and the answer stops being a point and becomes a region. The graph of y ≤ −x + 6 is not a line, because it is the line together with every point below it. Graphing a linear inequality takes three moves.

Move 1: graph the boundary line by pretending the inequality sign is an equals sign. Draw it solid if the symbol is ≤ or ≥, because those points are included. Draw it dashed if the symbol is < or >, because those points are left out.

Move 2: pick a test point that is not on the line. Use (0, 0) whenever the line misses the origin, because the arithmetic is trivial. If the line passes through the origin, use something like (1, 0) or (0, 1) instead.

Move 3: shade. If the test point makes the inequality true, shade the side that contains it. If it makes the inequality false, shade the other side.

Here is one algebra warning first. If you have to solve for y, and that means multiplying or dividing both sides by a negative number, the inequality symbol flips. Adding or subtracting never flips it, because only multiplying or dividing by a negative does. Take 2x − 3y ≥ 6. Subtract 2x: −3y ≥ −2x + 6. Now divide every term by −3, and because −3 is negative, ≥ becomes ≤:  y ≤ (2)/(3)x − 2. Multiplying works the same way. From −(1)/(2)y < 4, multiply both sides by −2, and < flips to >, giving y > −8. Forgetting that flip shades exactly the wrong half of the plane.

Worked example 3: graphing a system of two inequalities

Graph the solution region of:   y ≤ −x + 6   and   y ≥ 2x − 3.

Step 1: handle the first inequality. The boundary is y = −x + 6, the same line from Section 1, passing through (0, 6) and (6, 0). The symbol is ≤, so the line is solid. Test (0, 0): is 0 ≤ −(0) + 6? That asks whether 0 ≤ 6, which is true, so shade the side with the origin, which is the region below the line.

Step 2: handle the second inequality. The boundary is y = 2x − 3, passing through (0, −3) and (2, 1). The symbol is ≥, so this line is also solid. Test (0, 0): is 0 ≥ 2(0) − 3? That asks whether 0 ≥ −3, which is true, so shade the side with the origin, which is the region above this line.

Step 3: find the overlap. The solution of the system is only where both shadings agree. The two boundary lines cross at (3, 3), as we worked out in Section 1. So the solution region is a wedge with its point at (3, 3), opening to the left, with y = −x + 6 along its top and y = 2x − 3 along its bottom. Both edges belong to the region because both lines are solid.

Step 4: verify with sample points. Try (0, 0): 0 ≤ 6 ✓ and 0 ≥ −3 ✓, so the origin is in the region, as the shading says. Try (5, 5): is 5 ≤ −5 + 6 = 1? No: 5 ≤ 1 is false, so (5, 5) is outside, which matches the picture. Try (3, 3), the corner: 3 ≤ −3 + 6 = 3 ✓ (equality is allowed) and 3 ≥ 2(3) − 3 = 3 ✓. The corner point is included.

A system of inequalities can also have no solution. Graph y > x + 2 and y < x − 1. Both boundaries have slope 1, so they are parallel. The first inequality wants points above the higher line, and the second wants points below the lower line. Those two regions never overlap, so the solution set is empty. You can see it in the algebra as well, because the two conditions together would need x + 2 < y < x − 1, and no number is both greater than x + 2 and less than x − 1.

SymbolBoundary linePoints on the lineShade
<DashedNot includedSide where the test point is true
>DashedNot includedSide where the test point is true
≤SolidIncludedSide where the test point is true
≥SolidIncludedSide where the test point is true
When the story has words like "at least" or "no more than," you need an inequality, not an equation. "At least 40 hours" is h ≥ 40, and "no more than 500 dollars" is c ≤ 500. In almost every real problem you should also quietly add x ≥ 0 and y ≥ 0, because you cannot buy −3 chairs or pour −50 mL. Those two unspoken inequalities keep the solution region in the first quadrant, and they are part of the honest answer.
Interactive Shade each inequality of a system one at a time and watch the solution region appear where the shadings agree, with live sliders, a tappable test point, the reason one point can decide a whole half-plane, and four fully worked systems including a strip, an empty set, and a bounded triangle. Open full ↑
Key points
  • Give each unknown a letter and a unit, and then write one equation for each separate fact.
  • Mixture problems need an equation for the total amount and an equation for the substance. Rate problems with wind or current use r + w and r − w.
  • To graph an inequality, draw a solid line for ≤ and ≥ and a dashed line for < and >. Then test a point and shade the side that makes it true.
  • Multiplying or dividing an inequality by a negative number flips the symbol, but adding or subtracting never does.
  • The solution of a system of inequalities is the overlap of the shaded regions, and the overlap can be empty.

The chapter in one breath

  • A system is several equations that must be true at once. Its solution is an ordered pair (or triple) that makes every one of them true, so always check in all the originals.
  • Graphing shows the solution as the point where the lines cross. It also shows the only three possible outcomes: one solution, none (parallel), or infinitely many (coincident, the same line).
  • Substitution gets a variable alone and swaps it into the other equation. It is best when a variable is already alone or has a coefficient of 1 or −1, and it is the method that still works on equations that are not linear.
  • Elimination adds the equations so that a variable cancels, after multiplying a whole equation first when needed. It is best for Ax + By = C systems and for three or more variables.
  • Both algebra methods end the same way in special cases. A false statement (0 = 7) means no solution, and a true statement (0 = 0) means infinitely many.
  • A 3 × 3 system is solved by eliminating the same variable from two different pairs to make a 2 × 2 system, and then putting the values back, while using every equation at least once.
  • Mixture problems pair a total amount equation with a substance equation. Rate problems with a current pair r + w with r − w. Always test the answer against the story.
  • A system of inequalities is solved by shading. Draw a solid or dashed boundary, use a test point to choose the side, and take the overlap as the answer. Remember that multiplying or dividing by a negative flips the symbol.

ReferenceWords worth knowing

Here is a quick list of the words in this chapter. Skim it now, and come back whenever a word slows you down in the middle of a problem.

Back-substitution
Taking a value you have just found and putting it back into an earlier equation to find the other variable or variables. It is the climb back up after you cut a system down.
Boundary line
The line you get by replacing the symbol in an inequality with an equals sign. It is drawn solid for ≤ or ≥ and dashed for < or >.
Break-even point
The solution of the system cost = revenue; the production level at which money in equals money out.
Coincident lines
Two equations that graph as the same line. They have the same slope and the same y-intercept, and they give infinitely many solutions.
Consistent system
A system that has at least one solution.
Dependent system
A consistent system whose equations say the same thing (one is a multiple of the other), which gives infinitely many solutions.
Elimination method
Solving a system by adding the equations, after multiplying one or both if needed, so that the terms of one variable cancel to zero. It is also called the addition method.
Excluded value
A number the variable is not allowed to take, because it would make a denominator zero or break another domain rule, such as a logarithm needing a positive number inside it. It must be stated before solving, and any possible answer equal to it must be thrown out.
Extraneous solution
A value that comes from an allowed algebra step, such as squaring both sides or multiplying through by an expression with a variable in it, but that does not really make the original equation true. It is the reason every possible answer is checked in the originals.
Half-plane
One of the two regions that a line cuts the coordinate plane into. The solution set of a linear inequality is a half plane, with or without its boundary.
Inconsistent system
A system with no solution at all. In two variables, it is a pair of parallel lines. In the algebra, it shows up as a false statement such as 0 = −9.
Independent system
A system whose equations give truly different facts. In two variables, it is a pair of lines with different slopes and exactly one solution.
Linear equation in two variables
An equation that can be written Ax + By = C, with A and B not both zero. Its graph is a straight line.
Ordered pair
A solution written (x, y) with the order fixed; (3, 5) and (5, 3) are different points.
Ordered triple
A solution in three variables written (x, y, z); it must satisfy all three equations.
Parallel lines
Different lines with the same slope and different y-intercepts. They never cross, so the system is inconsistent.
Slope-intercept form
The form y = mx + b, where m is the slope and b is the y-intercept. It is the handiest form for graphing and for comparing two lines.
Solution of a system
Any set of values that makes every equation in the system true at the same time.
Substitution method
Solving a system by isolating one variable and replacing it in the other equation with the expression it equals.
System of equations
Two or more equations considered together, whose solutions must satisfy all of them at once.
System of inequalities
Two or more inequalities taken together. The solution is the overlap of their shaded regions, and it may be empty.
Test point
Any point not on the boundary line, put into an inequality to decide which side to shade. (0, 0) is the usual choice when the line misses the origin.
Triangular form
A way of rearranging a system so that each equation has one fewer variable than the one before, so it can be solved from the bottom up by putting values back.

Check yourself

1. Solve by graphing (or by setting the expressions equal): y = x + 2 and y = −2x + 8. Then check your answer.
(2, 4). Both expressions equal y, so set them equal: x + 2 = −2x + 8. Add 2x to both sides: 3x + 2 = 8. Subtract 2: 3x = 6. Divide by 3: x = 2. Then y = 2 + 2 = 4. Check: first equation 4 = 2 + 2 ✓; second equation −2(2) + 8 = −4 + 8 = 4 ✓.
2. Without doing any solving, how many solutions does the system y = 4x − 7, y = 4x + 1 have? Name the type of system.
No solution, so the system is inconsistent. Both lines have slope 4 but different y-intercepts (−7 and 1), so they are parallel and never meet. If you did solve, you would get 4x − 7 = 4x + 1, then −7 = 1, which is false for every x.
3. Sort the system 3x − y = 6 and 6x − 2y = 12 into its type, and state its solution set.
Consistent and dependent, with infinitely many solutions. Divide every term of the second equation by 2: (6x)/(2) − (2y)/(2) = (12)/(2), which is 3x − y = 6, exactly the first equation. The lines are coincident, so the solution set is every ordered pair on y = 3x − 6.
4. Solve by substitution and check: y = 5 − 2x and 3x + 2y = 12.
(−2, 9). Substitute: 3x + 2(5 − 2x) = 12. Distribute: 3x + 10 − 4x = 12. Combine like terms: −x + 10 = 12. Subtract 10: −x = 2. Multiply by −1: x = −2. Then y = 5 − 2(−2) = 5 + 4 = 9. Check: 3(−2) + 2(9) = −6 + 18 = 12 ✓.
5. While solving a system, all the variables cancel and you are left with 7 = 3. What does that tell you, and what should you write as the answer?
The statement is false, so the system has no solution. It is inconsistent, and the lines are parallel. Write "no solution" (the empty solution set). Compare this with an ending like 0 = 0, which is true and means infinitely many solutions.
6. Solve by elimination and check: 2x + 3y = 12 and 2x − y = 4.
(3, 2). The x-terms are identical, so subtract the second equation from the first (or multiply the second by −1 and add): (2x − 2x) + (3y − (−y)) = 12 − 4, giving 4y = 8, so y = 2. Back-substitute into 2x − y = 4: 2x − 2 = 4, so 2x = 6 and x = 3. Check: 2(3) + 3(2) = 6 + 6 = 12 ✓.
7. Solve by elimination and check: 5x + 2y = 1 and 3x + 4y = −5.
(1, −2). Multiply every term of the first equation by −2: −10x − 4y = −2. Add it to the second: (−10x + 3x) + (−4y + 4y) = −2 + (−5), giving −7x = −7, so x = 1. Back-substitute into 5x + 2y = 1: 5 + 2y = 1, so 2y = −4 and y = −2. Check the second original: 3(1) + 4(−2) = 3 − 8 = −5 ✓.
8. Which method would you choose for 3x + 7y = 23 and y = 2x − 4, and why? Then solve it.
Substitution, giving (3, 2), because y is already alone, so step 1 is free. Substitute: 3x + 7(2x − 4) = 23. Distribute the 7: 7(2x) = 14x and 7(−4) = −28, so 3x + 14x − 28 = 23. Combine like terms: 17x − 28 = 23. Add 28 to both sides: 17x = 51. Divide by 17: x = 3. Then y = 2(3) − 4 = 2. Check: 3(3) + 7(2) = 9 + 14 = 23 ✓, and 2 = 2(3) − 4 ✓.
9. Solve the three-variable system and check all three equations: x + y + z = 2,  2x + y − z = 5,  x − y + z = −2.
(1, 2, −1). Eliminate y twice. Equation 1 + equation 3: (x + x) + (y − y) + (z + z) = 2 + (−2), which gives 2x + 2z = 0, so x + z = 0. Equation 2 + equation 3: (2x + x) + (y − y) + (−z + z) = 5 + (−2), which gives 3x = 3, so x = 1. Then z = −1, and from equation 1: 1 + y − 1 = 2, so y = 2. Check: 1 + 2 − 1 = 2 ✓; 2(1) + 2 − (−1) = 2 + 2 + 1 = 5 ✓; 1 − 2 + (−1) = −2 ✓.
10. How many liters of a 10% acid solution and a 40% acid solution should be mixed to make 12 liters of a 30% solution?
4 liters of the 10% solution and 8 liters of the 40% solution. Let x and y be the liters of each. Volume: x + y = 12. Acid: 0.10x + 0.40y = 0.30(12) = 3.6, and multiplying by 10 gives x + 4y = 36. Subtract the volume equation: (x − x) + (4y − y) = 36 − 12, so 3y = 24 and y = 8, and then x = 4. Check: 0.10(4) + 0.40(8) = 0.4 + 3.2 = 3.6 L of acid, and (3.6)/(12) = 0.30 = 30% ✓. Both amounts are positive, so the answer makes sense in real life.
11. A plane flies 1800 miles with the wind in 3 hours and the same 1800 miles against the wind in 4 hours. Find the plane's speed in still air and the wind speed.
525 mph in still air, with a 75 mph wind. Let p = plane speed and w = wind speed. With the wind: p + w = (1800)/(3) = 600. Against: p − w = (1800)/(4) = 450. Add the two equations: 2p = 1050, so p = 525. Then 525 + w = 600, so w = 75. Check: 600 mph × 3 h = 1800 mi ✓ and 450 mph × 4 h = 1800 mi ✓.
12. Rewrite 4x − 2y > 6 with y isolated. Then state whether the boundary is solid or dashed, and which side you shade.
y < 2x − 3; the boundary is dashed; shade the side without the origin (below the line). Subtract 4x: −2y > −4x + 6. Divide every term by −2, and because −2 is negative the symbol flips from > to <: y < 2x − 3. The symbol is strict, so the boundary y = 2x − 3 is dashed. Test (0, 0): is 0 < 2(0) − 3 = −3? No, that is false, so the origin is not in the solution, and you shade the other half plane.