Systems of Linear Equations: Where Two Lines Collide
Two equations, two unknowns, one meeting point — find it by graphing, substitution, or elimination.
Two rules, one point
Imagine two cars driving along straight roads. Each road can be described by a linear equation. If the roads cross, there is exactly one point — one pair of coordinates — that lies on both roads. That crossing point is the solution to the system of equations: the one (x, y) pair that makes every equation in the system true at the same time.
A system is just two (or more) equations considered together. Solving it means finding the point where their graphs meet.
Seeing it on a graph
If you graph both lines, the solution is simply the point where they cross. Two lines with different slopes always cross exactly once — so most systems have exactly one solution. Try it below: move each line and watch the crossing point update.
Solving by substitution
Graphing is great for seeing the idea, but reading exact coordinates off a graph is hard when the answer is not a whole number. Substitution solves the system exactly: since both equations equal y, you can replace y in one equation with the expression from the other, leaving a single equation in x.
- Both equations already equal y, so set the right-hand sides equal: x + 1 = −x + 5.
- Add x to both sides: 2x + 1 = 5.
- Subtract 1: 2x = 4, so x = 2.
- Substitute x = 2 back into y = x + 1: y = 2 + 1 = 3.
Solving by elimination
When neither equation is already solved for y, elimination is often faster: add or subtract the two equations so that one variable cancels out completely, leaving a single equation in the other variable.
- Add the two equations directly: the y and −y cancel, leaving 3x = 12.
- Divide by 3: x = 4.
- Substitute x = 4 into x − y = 2: 4 − y = 2, so y = 2.
- Check in the other equation: 2(4) + 2 = 10. ✓
Check your understanding
- A system of linear equations is two (or more) equations considered together; the solution is the point that satisfies all of them.
- Graphically, the solution is the point where the lines intersect.
- Substitution replaces one variable using an expression from the other equation, reducing the system to one equation in one unknown.
- Elimination adds or subtracts the equations so one variable cancels out.
- Parallel lines (same slope, different intercept) give no solution; identical lines give infinitely many solutions.