01 · Learn the idea
One point that fits two equations
A system of linear equations is two equations in the same two variables, taken together. A solution of the system is an ordered pair (x, y) that makes both equations true at once.
Take the system y = x + 1 and y = −x + 5. Each equation is a line. A point on the first line makes the first equation true, and a point on the second line makes the second equation true. A point on both lines makes both true. So the solution is the point where the lines cross.
To solve by graphing, draw both lines on the same axes and read the crossing point. Here the lines cross at (2, 3). Then check it in both equations: 3 = 2 + 1 is true, and 3 = −2 + 5 is true.
Graphing shows what is going on, but a crossing point such as (2.6, 3.8) is hard to read exactly. The two algebra methods below give exact answers every time.
- y = x + 1
- y = −x + 5
02 · Build understanding
Worked example: substitution
Solve the system y = 2x − 1 and 3x + 2y = 19. Substitution works well when one equation is already solved for a variable.
Step 1: The first equation says y is the same as 2x − 1. Replace y in the second equation with 2x − 1, in parentheses: 3x + 2(2x − 1) = 19. Now there is only one variable.
Step 2: Solve for x. Distribute to get 3x + 4x − 2 = 19, so 7x − 2 = 19, then 7x = 21 and x = 3.
Step 3: Find y. Put x = 3 into the first equation: y = 2(3) − 1 = 5.
Step 4: Write the solution as an ordered pair: (3, 5).
Step 5: Check in the equation you did not use in step 3. 3(3) + 2(5) = 9 + 10 = 19. It is true, so (3, 5) is the solution.
- y = 2x − 1
- 3x + 2y = 19
03 · Build understanding
Worked example: elimination
Solve the system 4x + 3y = 10 and 2x − 5y = 18. Elimination works well when both equations are in standard form. The plan is to add or subtract the equations so that one variable disappears.
Step 1: Make the coefficients of one variable match. Multiply every term of the second equation by 2: 4x − 10y = 36. Now both equations have 4x.
Step 2: Subtract the new equation from the first one. The x-terms cancel: 4x − 4x = 0. The y-terms give 3y − (−10y) = 13y. The right sides give 10 − 36 = −26. So 13y = −26.
Step 3: Solve for y. Dividing by 13 gives y = −2.
Step 4: Find x. Put y = −2 into the first equation: 4x + 3(−2) = 10, so 4x − 6 = 10, then 4x = 16 and x = 4.
Step 5: Check (4, −2) in both original equations. 4(4) + 3(−2) = 16 − 6 = 10, and 2(4) − 5(−2) = 8 + 10 = 18. Both are true.
04 · Build understanding
One solution, no solution or infinitely many
Two lines can meet in three ways, so a system has three possible outcomes.
If the lines have different slopes, they cross once and the system has exactly one solution. Every example so far is like this.
If the lines are parallel, they never meet and the system has no solution. Take y = 2x + 1 and y = 2x − 3. They have the same slope and different y-intercepts. Substituting gives 2x + 1 = 2x − 3, and subtracting 2x from both sides leaves 1 = −3. A false statement with no variable left means there is no solution.
If the two equations describe the same line, every point on the line is a solution, so there are infinitely many. Take x + y = 4 and 2x + 2y = 8. The second is the first with every term doubled. Multiplying the first by 2 and subtracting leaves 0 = 0. A true statement with no variable left means infinitely many solutions.
- y = 2x + 1
- y = 2x − 3
05 · Build understanding
Worked example: tickets for the school play
A school play sold 200 tickets and collected $1,240. Adult tickets cost $8 and student tickets cost $5. How many of each kind were sold?
Step 1: Name the variables. Let a be the number of adult tickets and s be the number of student tickets.
Step 2: Write one equation for each fact. Counting tickets: a + s = 200. Counting dollars: 8a + 5s = 1,240.
Step 3: Solve. From the first equation, s = 200 − a. Substitute into the second: 8a + 5(200 − a) = 1,240, so 8a + 1,000 − 5a = 1,240, then 3a = 240 and a = 80.
Step 4: Find the other variable. s = 200 − 80 = 120.
Step 5: Check both facts. 80 + 120 = 200 tickets, and 8(80) + 5(120) = 640 + 600 = 1,240 dollars. The play sold 80 adult tickets and 120 student tickets.
06 · Build understanding
Four mistakes to watch for
Checking in only one equation. For 4x + 3y = 10 and 2x − 5y = 18, the point (1, 2) fits the first equation, since 4 + 6 = 10. It fails the second, since 2 − 10 = −8. A solution has to fit both.
Multiplying only part of an equation. Doubling 2x − 5y = 18 gives 4x − 10y = 36. Writing 4x − 10y = 18 forgets to double the right side.
Losing a sign when subtracting. In the elimination example, 3y − (−10y) is 13y. Writing −7y treats it as 3y − 10y.
Stopping after one variable. Finding y = −2 is half the answer. The solution of a system is a pair, here (4, −2).
Apply and explain
Your turn
Without graphing, explain how you can tell how many solutions the system y = 4x − 2 and 8x − 2y = 4 has. Show the algebra that supports your answer.
Use paper or explain your thinking aloud before opening the solution.
Check your reasoning
Substitute y = 4x − 2 into the second equation: 8x − 2(4x − 2) = 4, so 8x − 8x + 4 = 4, which leaves 4 = 4. That is a true statement with no variable left, so the system has infinitely many solutions. Another way: solving 8x − 2y = 4 for y gives y = 4x − 2, which is the first equation. Both equations describe the same line, and every point on it is a solution.
- Substitutes or rewrites one equation to compare it with the other.
- Reaches a true statement such as 4 = 4, or shows both equations are the same line.
- Concludes that there are infinitely many solutions and says why.
Ready to practice?
Try the questions, get feedback, and review your reasoning.
Solve systems of linear equations: practice →