Systems of Equations
A system of equations is two or more equations that use the same variables. Its solution is the point that makes every equation true at the same time. When you graph a system of two linear equations, the solution is the point where the two lines cross.
Before this lesson: You should know how to graph a line in slope-intercept form and what a solution to a two-variable linear equation is.
What Is a System of Equations?
One linear equation with x and y has many solutions. Every point on its line works. A system asks a harder question: which point works for both equations at once?
Here is a system of two equations. The brace shows that they go together.
\begin{cases}
y = x + 1 \\
y = -x + 5
\end{cases}The point (2, 3) is the solution. It is on both lines, so it makes both equations true.
\begin{aligned}
3 &= 2 + 1 && \checkmark \\
3 &= -2 + 5 && \checkmark
\end{aligned}How to Check a Solution
- Put the x-value and y-value into the first equation.
- Put the same values into the second equation.
- If both equations are true, the point is a solution. If either one is false, it is not.
How to Solve a System by Graphing
- Write each equation in slope-intercept form, y = mx + b.
- Graph both lines on the same grid.
- Find the point where the lines cross.
- Check that point in both equations.
Worked Examples
Example 1: Check a solution that works
Is (3, −1) a solution of this system?
\begin{cases}
x + y = 2 \\
2x - y = 7
\end{cases}Step 1. First equation: 3 + (-1) = 2. True.
Step 2. Second equation: 2(3) - (-1) = 6 + 1 = 7. True.
Answer: Yes. (3, −1) makes both equations true, so it is the solution.
Example 2: Check a point that doesn’t work
Is (1, 4) a solution of y = 2x + 2 and y = -x + 3?
Step 1. First equation: 2(1) + 2 = 4. True.
Step 2. Second equation: -1 + 3 = 2, not 4. False.
Answer: No. The point is on the first line but not the second, so it is not a solution of the system.
Example 3: Solve by graphing
Solve the system y = x + 1 and y = -x + 5 by graphing.
Step 1. Graph y = x + 1: start at (0, 1), then go up 1 and right 1.
Step 2. Graph y = -x + 5: start at (0, 5), then go down 1 and right 1.
Step 3. The lines cross at (2, 3), as shown in the graph above.
Answer: (2, 3). The check above shows it works in both equations.
Example 4: Rewrite first, then graph
Solve the system 2x + y = 4 and x - y = -1 by graphing.
Step 1. Solve each equation for y.
\begin{aligned}
2x + y = 4 \quad &\Rightarrow \quad y = -2x + 4 \\
x - y = -1 \quad &\Rightarrow \quad y = x + 1
\end{aligned}Step 2. Graph both lines. The first starts at (0, 4) with slope −2. The second starts at (0, 1) with slope 1.
Step 3. The lines cross at (1, 2).
Check: 2(1) + 2 = 4 and 1 - 2 = -1. Both are true.
Answer: (1, 2)
Example 5: Word problem
Streaming Plan A costs $20 to join plus $5 per month. Plan B has no fee and costs $10 per month. After how many months do the plans cost the same?
Step 1. Let m be the number of months and C the total cost. Write an equation for each plan.
\begin{cases}
C = 5m + 20 & \text{Plan A} \\
C = 10m & \text{Plan B}
\end{cases}Step 2. Graph both lines. Plan A starts at (0, 20) and rises $5 per month. Plan B starts at (0, 0) and rises $10 per month.
Step 3. The lines cross at (4, 40).
Check: Plan A: 5(4) + 20 = 40. Plan B: 10(4) = 40.
Answer: After 4 months, both plans cost $40. Before that Plan B is cheaper, and after that Plan A is cheaper.
When Graphing Isn’t Enough
Graphing shows you what a solution means, but it isn’t always exact. If the lines cross at a point like \left(\frac{7}{3}, \frac{5}{2}\right), you can only estimate it from a graph.
For exact answers, use algebra. The next two lessons show how: the Substitution Method and the Elimination Method.
Sometimes the lines never cross, or they are the same line. You’ll learn those cases in Number of Solutions.
Common Mistakes
| Mistake | What it looks like | How to fix it |
|---|---|---|
| Checking only one equation | (1, 4) works in y = 2x + 2, so you call it the solution | A solution must work in every equation in the system. |
| Switching x and y | Reading the crossing point as (3, 2) instead of (2, 3) | Write the x-value first: (x, y). |
| Graphing before solving for y | Graphing 2x + y = 4 with slope 2 | Solve for y first: y = -2x + 4 has slope −2. |
| Trusting a rough sketch | Guessing (2, 3) when the lines really cross at (2.2, 3.1) | Use a ruler and graph paper, and always check the point in both equations. |
Practice Problems
For problems 1–3, decide if the point is a solution of the system.
- (2, 5); y = 3x - 1 and y = x + 3
- (−1, 2); x + y = 1 and 3x - y = -4
- (0, −3); y = 4x - 3 and 2x + y = -3
For problems 4–8, solve the system by graphing. Check your answer.
- y = x - 2 and y = -x + 4
- y = 2x + 1 and y = -x - 2
- y = \frac{1}{2}x + 1 and y = -x + 4
- x + y = 5 and x - y = 1
- y = 3 and x = -2
- Ana has $10 and saves $5 each week. Ben has $30 and saves $3 each week. After how many weeks will they have the same amount? How much will each have?
Show answers
- Yes. 3(2) - 1 = 5 and 2 + 3 = 5. Both are true.
- No. -1 + 2 = 1 is true, but 3(-1) - 2 = -5, not −4.
- Yes. 4(0) - 3 = -3 and 2(0) + (-3) = -3. Both are true.
- (3, 1). Check: 3 - 2 = 1 and -3 + 4 = 1.
- (−1, −1). Check: 2(-1) + 1 = -1 and -(-1) - 2 = -1.
- (2, 2). Check: \frac{1}{2}(2) + 1 = 2 and -2 + 4 = 2.
- Rewrite as y = -x + 5 and y = x - 1. They cross at (3, 2). Check: 3 + 2 = 5 and 3 - 2 = 1.
- (−2, 3). The horizontal line y = 3 and the vertical line x = -2 cross there.
- Ana: A = 5w + 10. Ben: A = 3w + 30. The lines cross at (10, 60). After 10 weeks, each has $60.
Systems of Equations FAQ
What is a system of equations?
A system of equations is a group of two or more equations with the same variables. You solve the equations together to find values that make all of them true.
What does the solution of a system mean?
The solution is the point that lies on every line in the system. On a graph, it is where the lines cross.
What are the three ways to solve a system of equations?
The three main methods are graphing, substitution and elimination. Graphing helps you see the answer, while substitution and elimination give exact answers.
Can a system of equations have no solution?
Yes. If the lines are parallel, they never cross, so there is no solution. See Number of Solutions.
Summary
- A system of equations is two or more equations with the same variables.
- The solution makes every equation true at the same time.
- On a graph, the solution is where the lines cross.
- To solve by graphing, write each equation as y = mx + b, graph both lines and find where they cross.
- Always check the point in every equation.
Previous lesson: Arithmetic Sequences
Next lesson: Substitution Method
Back to the Algebra 1 Index
