Chapter 8 ยท Systems of linear equations
Choose a Method, Count Solutions and Fix Errors
Choose substitution or elimination, tell whether a system has one, no or infinitely many solutions, and find and fix common solving errors.
In this lesson, and stand for real numbers. A system of linear equations is a pair of linear equations that use the same variables. A solution of the system is an ordered pair that makes both equations true at the same time. Each linear equation in and describes a line, the set of all points that make it true, so a solution is a point that lies on both lines.
You have already solved systems by substitution and by elimination. Now you will choose the method that fits a system, find how many solutions a system has, and find and fix errors in worked solutions.
Both methods work on any system of two linear equations, so choose the one that takes less work.
- Substitution means solving one equation for a variable and putting that expression into the other equation. It is efficient when a variable is already alone, or when it has a coefficient (the number multiplying it) of or , so you can isolate it just by adding or subtracting terms on both sides.
- Elimination means adding or subtracting the equations so that one variable cancels. Opposite coefficients cancel when you add, and equal coefficients cancel when you subtract. It is efficient when a variable already has equal or opposite coefficients, or when multiplying a whole equation by a nonzero number gives it equal or opposite coefficients. Multiplying both sides of an equation by the same nonzero number keeps its solutions.
Whichever method you use, check your answer in both original equations.
| System | What you notice | Efficient method |
|---|---|---|
and | has coefficient in the second equation | Substitution |
and | The -coefficients, and , are opposites | Elimination: add the equations |
and | Multiplying the first equation by gives , the opposite of | Elimination after multiplying |
and | has coefficient , and multiplying the second equation by gives , the opposite of | Either method |
Worked example
Example 1: Choose a method and solve
Solve the system and . Choose an efficient method and check your answer.
Choose substitution, because x has coefficient 1 in the second equation. Add 4y to both sides of that equation. Doing the same operation to both sides keeps its solutions.
In every solution of the system, x equals 4y - 4, so replace x with 4y - 4 in the other equation, 3x + 2y = 16. This combines the two different equations.
Distribute the 3, then combine the like terms 12y and 2y. Each rewrite gives an equivalent expression, so the solutions do not change.
Add 12 to both sides. Then divide both sides by 14, which is not zero.
Substitute y = 2 into x = 4y - 4 to find x.
Check the pair (4, 2) in both original equations. Both statements are true, so the pair is a solution.
Answer
The system has exactly one solution, : and . The two lines cross at exactly one point.
Because each equation describes a line, the number of solutions matches how the two lines meet.
- The lines cross at exactly one point: the system has exactly one solution.
- The lines are parallel and distinct, meaning different lines with the same slope, so they never meet: the system has no solution.
- The two equations describe the same line, so every point on it lies on both lines: the system has infinitely many solutions.
A sketch cannot settle which case you have, because lines that look parallel may still cross far off the page. Algebra gives an exact answer.
Key concept
Combine the two different equations, then read the result
Combine the two different equations: substitute an expression taken from one equation into the other equation, or add or subtract the equations or nonzero multiples of them. Then read what is left.
- One value for each variable, and the pair checks in both original equations: exactly one solution. The lines cross at one point.
- Both variables drop out and a true statement remains, such as : infinitely many solutions. The equations describe the same line.
- Both variables drop out and a false statement remains, such as : no solution. The lines are parallel and distinct.
These readings hold only when the work combined the two different equations.
Worked example
Example 2: Count the solutions
How many solutions does the system and have?
Choose elimination. No coefficient is 1 or -1, but multiplying the whole first equation by 2 gives the x-term 4x, the opposite of -4x. Multiplying both sides by the same nonzero number keeps the solutions.
Add this equation to the second equation. Since -4x + 6y equals 7, adding them to the two sides of 4x - 6y = 8 keeps every shared solution. This combines the two different equations.
Combine like terms. The x-terms and the y-terms are opposites, so both variables drop out.
The statement 0 = 15 is false for every x and y, so it is a contradiction. It came from adding nonzero multiples of the two different equations, so no ordered pair makes both equations true.
Connect this to the lines. Solve each original equation for y: subtract 2x from both sides of the first and divide both sides by -3; add 4x to both sides of the second and divide both sides by 6. Neither divisor is zero.
Answer
The system has no solution. Both lines have slope but different -intercepts, and , so they are parallel and distinct and never meet.
Worked example
Example 3, mixed review: Choose, solve and count
Choose a method, solve the system and , and state the number of solutions.
Choose substitution, because x has coefficient -1 in the first equation. (Elimination would also work after multiplying the first equation by 3.) Add x to both sides, then subtract 3 from both sides.
Substitute 2y - 3 for x in the other equation, 3x - 6y = -9.
Distribute the 3 and combine like terms. Both variables drop out.
The statement -9 = -9 is true for every value of y, so it is an identity. It came from substituting an expression from the first equation into the other equation, so every pair (2y - 3, y) makes both equations true. Multiplying the first equation by -3 gives the second, so both describe the same line.
Check two of the solutions in both original equations: y = 0 gives (-3, 0), and y = 2 gives (1, 2).
Answer
The system has infinitely many solutions: every ordered pair on the line , such as and , because both equations describe the same line.
Now you will find and fix errors in worked solutions. Check the answer in both original equations, and make sure the work found both variables and used both equations. If a check fails, read the work line by line and find the first step that does not keep the solutions. Watch for these error types:
- Multiplying only one side, or only some terms, of an equation.
- Subtracting the equations when adding was needed, or adding when subtracting was needed.
- Stopping after finding only one variable. A solution is an ordered pair, so substitute that value into an original equation to find the other variable, then check both equations.
- Substituting an expression back into the same equation it came from, then using the true statement it gives to count solutions.
Worked example
Example 4: Find and correct an error
A student solved the system and . Line 1: multiply the second equation by to get . Line 2: add that to the first equation to get , so . Line 3: substitute into to get , so . Find and correct the error.
Check the student's answer, (5, 0), in both original equations. It works in x - y = 5 but fails in 3x + 2y = 20, so the work contains an error.
Find where it goes wrong: Line 1. The student multiplied the left side by 2 but left the right side as 5.
Why it fails: multiplying only one side is not the same operation on both sides, so the solutions change. Dividing both sides of 2x - 2y = 5 by 2 shows that it says x - y = 2.5, a different line from x - y = 5.
Correct the work. Add 2x - 2y = 10 to the first equation; 2y and -2y are opposites, so they cancel. Then divide both sides by 5, which is not zero.
Find y. Substitute x = 6 into x - y = 5, subtract 6 from both sides, then multiply both sides by -1.
Check (6, 1) in both original equations. Both statements are true.
Answer
The error is in Line 1: the right side also had to be multiplied by . The corrected solution is , the only solution of the system.
Here is a second student's work on and , shown in the table below beside the corrected work. The student's answer, , passes the check in the first equation but fails in the second: , not . The error is in Line 1. The -coefficients, and , are opposites, so the -terms cancel only when you add the equations. Subtracting is allowed, but it gives , so subtracting correctly leads to . The student wrote instead, dropping the . That equation does not follow from the system: at the true solution, , its left side is , not . So every value after Line 1 is wrong.
| Line | Student's work | Corrected work |
|---|---|---|
1 (combine the equations) | , written as | , so |
2 (solve for ) | Divide both sides by : | Divide both sides by : |
3 (find from ) | , so , , | , so , , |
4 (check both equations) | , but | and |
To correct the slip, substitute into the other equation, . That gives , so and . Subtract from both sides to get , then divide both sides by , which is not zero, to get . Then . Check in both original equations: and . The system has exactly one solution, , so its lines cross at exactly one point. Because the -coefficients, and , are opposites, adding the equations to get would have been even quicker.
Takeaway: Use substitution when a variable is alone or has coefficient or , and elimination when a variable's coefficients are equal or opposite or can be made so by multiplying a whole equation by a nonzero number. To count solutions, combine the two different equations, by substituting from one into the other or by adding or subtracting the equations or nonzero multiples of them. Then one value for each variable means exactly one solution (the lines cross once), a true statement such as means infinitely many solutions (the same line), and a false statement such as means no solution (parallel, distinct lines). Check every answer in both original equations, and when a check fails, find the first step that changed the solutions.