Parallel, Intersecting, and Coincident Lines
Picture a city map. Two streets might run side by side forever, cross at exactly one intersection, or turn out to be the same street with two names, like a road that is "Main Street" downtown and "Route 66" through town. Two lines in a plane have exactly the same three options. How can you tell which one you have just by looking at their equations?
Three possible positions
If both lines are written in slope-intercept form $y = mx + b$, the slopes tell you almost everything.
Try the sliders: change the slope $m$ of the first line and watch what happens to its position relative to $y = 2x - 3$.
Some problems call slope-intercept form the explicit equation, standard form $Ax + By + C = 0$ the general equation, and symmetric form (you'll meet it later on this page) the continuous form. They are just different ways of writing the same line.
Determine the relative position of the lines $r: y = 3x - 5$ and $s: y = -2x + 4$, justifying your answer based on their slopes.
Determine the relative position of the lines $r: y = 3x - 5$ and $s: y = -2x + 4$, justifying your answer based on their slopes.
Comparing coefficients in $Ax + By + C = 0$
Many problems give lines as $Ax + By + C = 0$. (US standard form is usually written $Ax + By = C$, which is the same thing with $C$ moved to the other side.) Solve for $y$ to see the slope:
$$y = -\frac{A}{B}x - \frac{C}{B}, \qquad m = -\frac{A}{B}, \quad b = -\frac{C}{B}.$$Comparing slopes and intercepts of two such lines gives a shortcut that needs no rewriting.
Determine the relative position of the lines $r: 2x - 4y + 6 = 0$ and $s: -x + 2y - 3 = 0$ by comparing their coefficients.
Determine the relative position of the lines $r: 2x - 4y + 6 = 0$ and $s: -x + 2y - 3 = 0$ by comparing their coefficients.
Calculate the value of the parameter $k$ so that the lines $r: 3x + ky - 2 = 0$ and $s: x - 2y + 5 = 0$ are parallel.
Calculate the value of the parameter $k$ so that the lines $r: 3x + ky - 2 = 0$ and $s: x - 2y + 5 = 0$ are parallel.
On the architectural plan of a building, two load-bearing walls are given by the equations $r: ax - 6y + 12 = 0$ and $s: 2x + by - 4 = 0$. Determine the values of $a$…
On the architectural plan of a building, two load-bearing walls are given by the equations $r: ax - 6y + 12 = 0$ and $s: 2x + by - 4 = 0$. Determine the values of $a$ and $b$ so that both walls represent exactly the same line (coincident lines).
Finding the point of intersection
If two lines are intersecting, the point where they cross lies on both lines. So its coordinates satisfy both equations, which means you solve the system of the two equations (substitution or elimination).
Calculate the coordinates of the point of intersection of the intersecting lines $r: x + y - 4 = 0$ and $s: 2x - y - 5 = 0$.
Calculate the coordinates of the point of intersection of the intersecting lines $r: x + y - 4 = 0$ and $s: 2x - y - 5 = 0$.
Find the point of intersection of the line $r: 3x - 2y - 12 = 0$ with the x-axis.
Find the point of intersection of the line $r: 3x - 2y - 12 = 0$ with the x-axis.
Two main irrigation pipes in a crop field follow the paths of the lines $r: 5x + 3y - 15 = 0$ and $s: 2x - y + 5 = 0$. Find out if they cross and, if so, find the exact…
Two main irrigation pipes in a crop field follow the paths of the lines $r: 5x + 3y - 15 = 0$ and $s: 2x - y + 5 = 0$. Find out if they cross and, if so, find the exact coordinates of the connection point.
Lines given by two points, parametric equations, or symmetric form
Lines don't always arrive as $y = mx + b$. The strategy is always the same: get the slope of each line. If the slopes differ, the lines intersect. If they match, test one point of the first line in the second.
Three ways to read a slope
-
Two points $(x_1, y_1)$ and $(x_2, y_2)$: $m = \dfrac{y_2 - y_1}{x_2 - x_1}$.
-
Parametric equations $x = x_0 + at,\ y = y_0 + bt$: the line passes through $(x_0, y_0)$ (when $t = 0$) and moves $a$ units across and $b$ up for each step of $t$. So the direction vector is $\langle a, b \rangle$ and the slope is $\dfrac{b}{a}$.
-
Symmetric form $\dfrac{x - x_0}{a} = \dfrac{y - y_0}{b}$: the line passes through $(x_0, y_0)$ and again the slope is $\dfrac{b}{a}$. To get $y = mx + b$ form, cross-multiply: $b(x - x_0) = a(y - y_0)$.
Two direction vectors point the same way when their components are proportional.
Check if the lines given in continuous form $r: \frac{x-1}{2} = \frac{y+2}{3}$ and $s: \frac{x}{4} = \frac{y-1}{6}$ are parallel or intersecting.
Check if the lines given in continuous form $r: \frac{x-1}{2} = \frac{y+2}{3}$ and $s: \frac{x}{4} = \frac{y-1}{6}$ are parallel or intersecting.
Given the lines $r: x = 2 - t, y = 3 + 2t$ and $s: 2x + y - 7 = 0$, study their relative position by comparing their direction vectors and checking if a point on $r$…
Given the lines $r: x = 2 - t, y = 3 + 2t$ and $s: 2x + y - 7 = 0$, study their relative position by comparing their direction vectors and checking if a point on $r$ belongs to $s$.
Two ships sail with paths given by the parametric equations $r: x = 1 + 2t, y = -3 + t$ and $s: x = -1 + 4k, y = 2 + 2k$. Check analytically if their routes are parallel…
Two ships sail with paths given by the parametric equations $r: x = 1 + 2t, y = -3 + t$ and $s: x = -1 + 4k, y = 2 + 2k$. Check analytically if their routes are parallel or if they sail along the same line.
Parallel and perpendicular lines through a point
Often you must build a new line: through a point and parallel to a given line, or through a point and perpendicular to it.
The shortest path from a point to a line is the perpendicular segment. That is why "the shortest cable from a point to a road" is the perpendicular through that point.
Find the explicit equation of the line parallel to $r: y = -4x + 1$ that passes through the point $P(0, 3)$.
Find the explicit equation of the line parallel to $r: y = -4x + 1$ that passes through the point $P(0, 3)$.
Calculate the value of the parameter $m$ so that the lines $r: mx + 2y - 5 = 0$ and $s: 3x - y + 1 = 0$ are perpendicular.
Calculate the value of the parameter $m$ so that the lines $r: mx + 2y - 5 = 0$ and $s: 3x - y + 1 = 0$ are perpendicular.
A straight road follows the equation $2x - y + 4 = 0$. A telephone repeater is located at the point $P(5, 1)$. Find the general equation of the shortest wiring line…
A straight road follows the equation $2x - y + 4 = 0$. A telephone repeater is located at the point $P(5, 1)$. Find the general equation of the shortest wiring line (which must be perpendicular) connecting the repeater to the road.
Triangles from three lines
Three lines that are pairwise intersecting form a triangle. Its vertices are the three intersection points, one for each pair of lines.
A line and the two coordinate axes also form a triangle. Its vertices are the origin and the two intercepts, and the axes are perpendicular, so it is a right triangle with the intercepts as legs.
Three streets form a triangular park in the center of a city. The equations of the streets are $r: x + y - 6 = 0$, $s: 2x - y - 3 = 0$ and $t: x - 2y + 6 = 0$. Calculate…
Three streets form a triangular park in the center of a city. The equations of the streets are $r: x + y - 6 = 0$, $s: 2x - y - 3 = 0$ and $t: x - 2y + 6 = 0$. Calculate the exact coordinates of the three vertices of the park.
Calculate the area of the triangle formed by the line $r: 5x + 2y - 20 = 0$ and the two coordinate axes.
Calculate the area of the triangle formed by the line $r: 5x + 2y - 20 = 0$ and the two coordinate axes.
Perpendicular feet, reflections, and rectangles
Combine perpendicular lines with intersections and you can solve harder geometry problems.
Reflecting a point over a line
To reflect point $A$ over line $r$: draw the perpendicular from $A$ to $r$, find where it meets $r$ (the foot $M$), and go the same distance beyond. So $M$ is the midpoint of $A$ and its image $A'$:
$$M = \left(\frac{x_A + x_{A'}}{2},\ \frac{y_A + y_{A'}}{2}\right).$$A ray bouncing off the x-axis
A mirror on the x-axis reflects the picture across the axis: $y$ becomes $-y$. A ray hitting the mirror at a point and leaving with equal angles keeps that point and flips the sign of the slope.
Rectangles
In a rectangle, opposite sides are parallel and adjacent sides are perpendicular. If two given sides are perpendicular and a vertex $P$ is somewhere else, the other two sides both pass through $P$ and are parallel to the given sides.
Find the coordinates of the symmetric point of $A(2, 5)$ with respect to the line $r: x - 2y + 3 = 0$.
Find the coordinates of the symmetric point of $A(2, 5)$ with respect to the line $r: x - 2y + 3 = 0$.
The sides of a quadrilateral-shaped property are located on the lines $r: 2x + y - 5 = 0$ and $s: x - 2y + 5 = 0$. Knowing that one of the vertices of the property is…
The sides of a quadrilateral-shaped property are located on the lines $r: 2x + y - 5 = 0$ and $s: x - 2y + 5 = 0$. Knowing that one of the vertices of the property is the point $P(4, 2)$ and that the enclosure is a perfect rectangle, find the general equations of the lines that contain the other two sides.
A ray of light follows the path of the line $r: x - y + 2 = 0$ and strikes a flat mirror located along the x-axis. Knowing that the angle of incidence is equal to the…
A ray of light follows the path of the line $r: x - y + 2 = 0$ and strikes a flat mirror located along the x-axis. Knowing that the angle of incidence is equal to the angle of reflection with respect to the normal, find the general equation of the line describing the reflected ray.
Summary
Back to the map: two streets that are "really the same street" are coincident lines. You detect that when every coefficient ratio matches, or when the slopes and intercepts are equal.