Sub topic 10
Where Two Lines Meet
Assume you can solve linear equations, work with fractions, and use slope-intercept form, \(y = mx + b\). The intersection of two lines is the point that lies on both lines. At that point, the two lines have the same \(x\)-value and the same \(y\)-value.
Finding an Intersection Algebraically
Suppose the lines are
\[ y = 2x + 1 \]
and
\[ y = -x + 7. \]
Because both expressions equal \(y\), set them equal to each other:
\[ 2x + 1 = -x + 7. \]
Solve for \(x\):
\[ 3x = 6 \]
\[ x = 2. \]
Substitute \(x = 2\) into either original equation:
\[ y = 2(2) + 1 = 5. \]
The lines intersect at
\[ (2,5). \]
Always substitute the resulting \(x\)-value back into an original equation. This finds the full ordered pair, not just the horizontal location.
m1, b1 = 2, 1 # y = 2x + 1
m2, b2 = -1, 7 # y = -x + 7
x = (b2 - b1) / (m1 - m2)
y = m1 * x + b1
print(x, y) # 2.0 5.0For lines in slope-intercept form,
\[ y = m1x+b1 \quad\text{and}\quad y = m2x+b2, \]
you can calculate the intersection's \(x\)-coordinate directly:
\[ x=\frac{b2-b1}{m1-m2}. \]
Then calculate \(y\) using either line.
Special Cases
The slopes tell you how two lines relate.
- Different slopes: The lines meet at exactly one point.
- Same slope but different intercepts: The lines are parallel and never meet.
- Same slope and same intercept: The equations describe the same line, so infinitely many points satisfy both.
- A vertical line has the form \(x=c\). To intersect it with \(y=mx+b\), substitute \(x=c\).
For example, the line \(x=3\) intersects \(y=2x-1\) at
\[ y=2(3)-1=5, \]
so the intersection is \((3,5)\).
Reading an Intersection from a Graph
On a graph, locate the point where the lines cross. Read its horizontal coordinate first, then its vertical coordinate. The point may have negative coordinates or fractional coordinates, so check the scale on each axis.
GRE Quantitative Comparison Strategy
For a quantitative comparison question, do not assume that two lines intersect in a convenient location. Find the intersection symbolically, or test whether the given conditions determine one.
If the question asks for an intersection coordinate, calculate only the coordinate needed. For example, if it asks for the \(x\)-coordinate, stop after solving for \(x\). This reduces arithmetic errors.
A useful check is to substitute the point into both equations. Both sides should produce the same \(y\)-value.
Exercise
What is the intersection of the lines y = 3x - 4 and y = -2x + 6?
Show answer
Set the equations equal: 3x - 4 = -2x + 6, so 5x = 10 and x = 2. Then y = 3(2) - 4 = 2. The intersection is (2, 2).