Lesson 5.1 · Systems of Equations
Solving systems by graphing
One linear equation in two variables has infinitely many solutions: every point on its line. But what if two things have to be true at the same time? Then you need a point that sits on both lines, and a graph shows you exactly where that is.
What is a system?
Two or more equations that use the same variables form a system of equations. You usually write them stacked together:
Definition
Solution of a system
A solution of a system of two linear equations is an ordered pair that makes both equations true. On a graph, it is a point where the two lines intersect.
Checking a solution
You don't need a graph to test a point. Substitute it into each equation. It has to work in both.
Worked example: Is it a solution?
Is a solution of the system and ?
- First equation: , and . ✓
- Second equation: . ✓
The point works in both equations, so is a solution.
What about ? In the second equation, ✓. But in the first, , not . ✗ One miss is enough: is not a solution.
Solving by graphing
To solve a system by graphing:
- Graph the first line. Slope-intercept form makes this quick: start at on the -axis and use the slope .
- Graph the second line on the same grid.
- Find the point where the lines cross. Read its coordinates.
- Check the point in both equations.
Worked example: Reading the intersection
Solve the system by graphing.
The first line starts at and rises for every to the right. The second starts at and falls for every to the right.
The lines cross at .
Check: ✓ and ✓. The solution is .
Worked example: A steeper line
Solve the system by graphing.
The first line starts at and rises for every to the right. The second starts at and falls for every to the right.
The lines cross at .
Check: ✓ and ✓. The solution is .
Tip
If an equation isn't in slope-intercept form, solve it for first. For example, becomes .
No solution or infinitely many
Two lines don't always cross at exactly one point.
- Parallel lines have the same slope but different -intercepts. They never meet, so the system has no solution.
- The same line written two ways has the same slope and the same -intercept. Every point on it works, so the system has infinitely many solutions.
Worked example: Parallel lines
How many solutions does the system and have?
Both lines have slope , but their -intercepts are and . The lines are parallel, so there is no solution.
Now try and . Solve the second for : , so . It's the same line, so the system has infinitely many solutions.
Compare slopes and intercepts
- Different slopes: the lines cross once, so there is exactly one solution.
- Same slope, different -intercepts: parallel lines, no solution.
- Same slope, same -intercept: the same line, infinitely many solutions.
Common mistake
A graph can fool you when the crossing point isn't on a grid corner. If a point looks like , always check it in both equations. If it fails, the real answer is probably a fraction, and you'll need an algebra method from the next lessons.
Practice
Which point is a solution of the system and ?
The graph shows the system and . What is the solution?
Enter a point like (2, -3)
Solve the system by graphing: and .
Enter a point like (2, -3)
Solve the system by graphing: and .
Enter a point like (2, -3)
How many solutions does the system and have?
Solve the system by graphing: and .
Enter a point like (2, -3)
How many solutions does the system and have?
Solve the system by graphing: and .
Enter a point like (2, -3)