What a system of equations is
A system of equations is two (or more) equations that share the same variables and must be true at the same time. This lesson works with the linear case, two equations in slope-intercept form:
y = m₁x + b₁ and y = m₂x + b₂
A solution of the system is one (x, y) pair that makes both equations true. Not one pair per equation: one pair for the whole system. Each equation alone has infinitely many solutions (every point on its line), but the system asks for the pair the two equations agree on.
That is exactly why graphing works. On the coordinate plane, each equation draws a line, and a point satisfies an equation precisely when it sits on that line. A point that satisfies both equations must therefore sit on both lines at once, and there is only one place that happens: the intersection, where the lines cross.
Solving systems of equations by graphing
The method is three steps:
- Write both equations in slope-intercept form, y = mx + b, so each is easy to graph.
- Graph both lines on the same axes.
- Read the crossing point. Its coordinates are the solution. Then verify by substitution: plug the x and y into both original equations and confirm both come out true.
The interactive above does steps 2 and 3 live. Each line has two sliders, Slope and Intercept, running from -4 to 4 in steps of 0.5: Line 1 (blue) is m₁ and b₁, Line 2 (teal) is m₂ and b₂. An amber marker sits on the crossing and shows its coordinates, a badge names which case you are in, and a check strip below substitutes the crossing’s x into both equations so you can see the verification. Reset returns everything to the starting system.
Worked example (on paper). Solve the system y = 2x - 1 and y = -x + 5. Its second intercept, 5, sits just past the widget’s slider range, so work this one by hand. Graph y = 2x - 1 (slope 2, y-intercept -1) and y = -x + 5 (slope -1, y-intercept 5); the lines appear to cross at (2, 3). A graph read is only a claim until you substitute into both equations:
- Equation 1: y = 2(2) - 1 = 4 - 1 = 3. Matches, true.
- Equation 2: y = -(2) + 5 = 3. Matches, true.
Both hold, so (2, 3) is the solution. If a candidate point checks in one equation but fails the other, it is on one line only; it is not a solution of the system.
A note on precision. Graphing gives exact answers only when the crossing lands on coordinates you can read cleanly, like (1, 3) or (2, 3). Try it in the widget: set Slope m₂ to -1.5 (leave the rest at the defaults) and the badge reads Solution: (0.86, 2.71), a rounded estimate of an intersection that no grid will hand you exactly. For crossings like that, algebra takes over: the substitution and elimination methods solve any system exactly, and the graph becomes your sanity check.
How many solutions can a system have?
A system of two linear equations has exactly one solution, no solution, or infinitely many solutions. No other count is possible: two straight lines cannot cross exactly twice, or exactly five times. The slopes and intercepts decide which case you are in:
| Case | Condition | Picture | Solutions |
|---|---|---|---|
| One solution | m₁ ≠ m₂ | lines cross exactly once | one (x, y) pair |
| No solution | m₁ = m₂ and b₁ ≠ b₂ | parallel lines, never meet | none |
| Infinitely many | m₁ = m₂ and b₁ = b₂ | the same line drawn twice | every point on the line |
The slopes ask “do the lines ever cross?”; the intercepts break the tie when the slopes are equal. Both edge cases are one slider drag away in the widget.
“Same slope means no solution” is only half true. Equal slopes rule out the one-solution case, nothing more; the intercepts decide what remains. Different intercepts give parallel lines and no solution, while identical intercepts give one shared line and infinitely many solutions. Exams like to hide the second case: x + y = 2 and 2x + 2y = 4 look like two different equations, but divide the second by 2 and it becomes the first. Same slope, same intercept, same line: infinitely many solutions, not none. Always simplify to slope-intercept form before you call it.
The explorer above also works as a solve-by-graphing calculator: dial in both equations and read the intersection, or the case, off the graph.
Using this in a classroom
Project the explorer and have students predict the intersection before you reveal it, race to build a no-solution system, or flip a parallel pair into the same line as an exit-ticket question. The embed below drops the whole widget into any LMS or slide deck.
It’s free to embed on your own site or LMS. Next, sharpen the line-reading skills this lesson leans on in slope-intercept form, or revisit how points and axes work on the coordinate plane.