Intersection of Two Lines

LESSON 11 OF 16See the unit map ↗

Find a point that satisfies two line equations at once.

Builds on Writing Line Equations · Testing a Point Against a Line

The bigger question: How can a picture become an equation?

On this page

Idea

A point is on a line when it satisfies that line's equation. So a point on two lines must satisfy both equations at the same time.

That is all an intersection is. "Where do these lines cross?" and "what solves these two equations?" are the same question.

Rule

The intersection of a1x+b1y+c1=0a_1x + b_1y + c_1 = 0 and a2x+b2y+c2=0a_2x + b_2y + c_2 = 0 is the solution of the two equations taken together. Solve by substitution or elimination; the pair (x,y)(x, y) you get is the meeting point.

one solution  ⟺  a1a2≠b1b2\text{one solution} \iff \frac{a_1}{a_2} \ne \frac{b_1}{b_2}

When that condition fails the lines never cross once: they are parallel or the very same line.

How it is used

There are two methods. Learn both.

MethodBest when
Substitutionone equation is already solved for xx or yy, or easily can be
Eliminationthe coefficients line up, so adding or subtracting kills a variable

Whichever you use, put your answer back into both equations. A crossing point must satisfy both of them. Checking only one proves nothing.

Three cases are worth spotting straight away.

A vertical line x=cx = c gives you xx at once. Put it into the other equation and you are finished in one step. A horizontal line y=cy = c works the same way.

If your working ends with something false, such as 0=50 = 5, there is no solution. The lines are parallel.

If it ends with 0=00 = 0, every point works. The two lines are the same line.

Worked example

Find where the lines 2x+y−5=02x + y - 5 = 0 and x−y−1=0x - y - 1 = 0 cross. The yy terms are +y+y and −y-y, so adding the equations eliminates yy immediately:

(2x+y−5)+(x−y−1)=3x−6=0(2x + y - 5) + (x - y - 1) = 3x - 6 = 0

That gives x=2x = 2. Substitute back into the second equation: 2−y−1=02 - y - 1 = 0, so y=1y = 1. Check both: 2(2)+1−5=02(2) + 1 - 5 = 0 and 2−1−1=02 - 1 - 1 = 0.

(2,1)(2, 1)

Explore

Drag the ends of either line. The green circle marks where they meet, and the readout gives that point exactly, as a fraction when it is not a whole number. Now make the two slopes equal. The meeting point disappears.

Two lines, one plane

Try this. Use A(0,0), B(1,1), C(0,1), D(1,2) for parallel lines. Change D to (1,0) for perpendicular lines.

Two lines, one plane-6-6-4-4-2-2224466xyBCDintersectionA
Blue slope: -0.4 · Green slope: 1 · Intersecting at (0.857, 1.857).
PAUSE & THINKA quick check, not a grade

Try it yourself.

Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.

Where do y=x+1y=x+1 and y=−x+5y=-x+5 meet?

Hint 1 · Find a starting point

At the intersection, both formulas give the same y.

Hint 2 · Take the next step

Solve x + 1 = −x + 5, then substitute x into either line.

Show the reasoning

Answer: (2,3)(2,3)

The equation gives x = 2, and both lines then give y = 3. Always substitute back into both equations to check the result.

Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.

MAKE IT YOURS

Pause before the next idea.

Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.

Optional marks, not a grade. Saved in this browser only. Open notebook →