The intersection of two lines is the point that lies on both of them. There, the computed from one equation and the computed from the other agree exactly. So to find it we set the two expressions for equal and collapse them into a single equation. That is precisely what solving a system of equations means1.
Find where the two lines and meet. At the meeting point the two values are equal.
Substituting back, . So the intersection is .
Let us check in the other equation as well: , so the point really does lie on both lines. Since an intersection is a point satisfying both equations at once, this substitution is all the verification the answer needs.
The key idea is that the number of intersections equals the number of solutions of the equation. Looking for the intersection of and leads to the following.
Whether this linear equation can be solved decides how the lines meet.
| Condition | The equation | The lines |
|---|---|---|
| one solution | cross at exactly one point | |
| , | no solution | are parallel and never meet |
| , | every works | coincide |
In other words, as long as the slopes differ, two lines must cross at exactly one point. Two non-parallel lines failing to meet is impossible. Here the slopes are and , so there is exactly one intersection.
The lines are not always handed to you as . They may arrive in the form , and then it is easier to add or subtract the equations to eliminate a variable.
Adding these two cancels the terms and leaves , giving once again. Solving for and equating, or eliminating directly, lands on the same intersection.
The large dot on the graph is the intersection of this example.