Skip to content

Mathematics · Ch 10 — Straight Lines

Conditions for Parallelism and Perpendicularity of Lines in Terms of Their Slopes

10.2.2

Conditions for Parallelism and Perpendicularity of Lines in Terms of Their Slopes

Conditions for Parallelism and Perpendicularity of Lines in Terms of Their Slopes

When two lines lie in the same coordinate plane, their slopes tell us everything about whether they are parallel or perpendicular — provided neither line is vertical. The reasoning rests entirely on the relationship between a line's inclination and its slope.

Recall that for a non-vertical line, the slope mm equals tan⁡α\tan \alpha, where α\alpha is the angle the line makes with the positive xx-axis, measured from 0∘0^\circ to 180∘180^\circ.


Parallel Lines

Consider two non-vertical lines l1l_1 and l2l_2 with slopes m1m_1 and m2m_2, and inclinations α\alpha and β\beta respectively.

If the lines are parallel, their inclinations must be equal: α=β\alpha = \beta. Since the tangent function is one-to-one on the interval (0∘,180∘)(0^\circ, 180^\circ), equal angles give equal tangents:

tan⁡α=tan⁡β\tan \alpha = \tan \beta

But tan⁡α=m1\tan \alpha = m_1 and tan⁡β=m2\tan \beta = m_2, so:

m1=m2m_1 = m_2

Conversely, if the slopes are equal (m1=m2m_1 = m_2), then tan⁡α=tan⁡β\tan \alpha = \tan \beta. Because the tangent function is strictly increasing on (0∘,180∘)(0^\circ, 180^\circ) and takes every real value exactly once in that interval, equal tangents force equal angles: α=β\alpha = \beta. Hence the lines are parallel.

Important

Two non-vertical lines l1l_1 and l2l_2 are parallel if and only if their slopes are equal:

m1=m2m_1 = m_2

Watch out

This condition applies only to non-vertical lines. A vertical line has undefined slope, so you cannot compare slopes directly. However, any two vertical lines are always parallel to each other, and a vertical line is parallel to another line only if that other line is also vertical.


Perpendicular Lines

Again take two non-vertical lines l1l_1 and l2l_2 with slopes m1m_1, m2m_2 and inclinations α\alpha, β\beta.

If the lines are perpendicular, the angle between them is 90∘90^\circ. Suppose β>α\beta > \alpha (the steeper line has the larger inclination). Then:

β=α+90∘\beta = \alpha + 90^\circ

Taking tangents on both sides:

tan⁡β=tan⁡(α+90∘)\tan \beta = \tan(\alpha + 90^\circ)

Using the identity tan⁡(90∘+θ)=−cot⁡θ\tan(90^\circ + \theta) = -\cot \theta:

tan⁡β=−cot⁡α=−1tan⁡α\tan \beta = -\cot \alpha = -\frac{1}{\tan \alpha}

Since tan⁡β=m2\tan \beta = m_2 and tan⁡α=m1\tan \alpha = m_1:

m2=−1m1m_2 = -\frac{1}{m_1}

Multiplying both sides by m1m_1 gives the more symmetric form:

m1m2=−1m_1 m_2 = -1

Conversely, suppose m1m2=−1m_1 m_2 = -1, i.e. tan⁡α⋅tan⁡β=−1\tan \alpha \cdot \tan \beta = -1. Then:

tan⁡α=−1tan⁡β=−cot⁡β\tan \alpha = -\frac{1}{\tan \beta} = -\cot \beta

Now −cot⁡β=tan⁡(β+90∘)-\cot \beta = \tan(\beta + 90^\circ) and also −cot⁡β=tan⁡(β−90∘)-\cot \beta = \tan(\beta - 90^\circ). Since α\alpha and β\beta both lie in (0∘,180∘)(0^\circ, 180^\circ), the only possibility consistent with the range is:

α=β+90∘orβ=α+90∘\alpha = \beta + 90^\circ \quad \text{or} \quad \beta = \alpha + 90^\circ …

Figure 9.4Parallel lines have equal inclinations
Fig. 9.4 — Parallel lines have equal inclinations

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Fig 9.4 is a simple but essential diagram: it shows two straight lines, labelled l1l_1 and l2l_2, drawn on the xyxy-plane. Both lines are marked with double arrows to indicate they extend infinitely in both directions. The line l1l_1 is drawn in indigo, l2l_2 in blue. Each line makes an angle with the positive xx-axis — the inclination of l1l_1 is labelled α\alpha, and the inclination of l2l_2 is labelled β\beta. The critical visual fact is that α\alpha and β\beta are drawn as equal angles. The xx-axis itself is shown, and the two lines are clearly parallel — they never meet, and they slant in exactly the same direction.

The physical idea the figure teaches is that parallelism is equivalent to equal inclination. Inclination is the angle a line makes with the positive direction of the xx-axis, measured anticlockwise from 0∘0^\circ to 180∘180^\circ. If two lines are parallel, they must be tilted at the same angle relative to the horizontal — so their inclinations are equal. Conversely, if two lines have the same inclination, they point in the same direction and are therefore parallel. The diagram makes this one-to-one correspondence visually obvious before any algebra is introduced.

From this geometric observation, the textbook derives the algebraic condition for parallelism. Since the slope mm of a non-vertical line is defined as m=tan⁡θm = \tan \theta, where θ\theta is its inclination, equal inclinations imply equal slopes:

m1=m2⟺l1∥l2m_1 = m_2 \quad \Longleftrightarrow \quad l_1 \parallel l_2

Here m1=tan⁡αm_1 = \tan \alpha is the slope of l1l_1, m2=tan⁡βm_2 = \tan \beta is the slope of l2l_2, and the double arrow means the statement works both ways: if slopes are equal, the lines are parallel; if lines are parallel, their slopes are equal. The proof relies on the fact that the tangent function is one-to-one on the interval (0∘,180∘)(0^\circ, 180^\circ) — so tan⁡α=tan⁡β\tan \alpha = \tan \beta forces α=β\alpha = \beta, and vice versa.

Watch out

This condition holds only for non-vertical lines. A vertical line has an undefined slope (its inclination is 90∘90^\circ), so the slope comparison does not apply. Two vertical lines are always parallel to each other, but you cannot use the slope equality test for them. …

Figure 9.5Perpendicular lines
Fig. 9.5 — Perpendicular lines

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

What Fig. 9.5 Shows

The figure depicts two straight lines, l1l_1 and l2l_2, drawn on a standard xyxy-coordinate plane. Both lines pass through the origin, crossing each other at a point above the origin — the intersection is marked with a small square to indicate a right angle. Line l1l_1 has a positive slope (it rises as we move right), while l2l_2 has a negative slope (it falls as we move right). The line l2l_2 is drawn in blue to distinguish it visually.

At the bottom, each line makes an angle with the positive xx-axis. The angle for l1l_1 is labelled α\alpha, and the angle for l2l_2 is labelled β\beta. The key geometric fact shown in the diagram is that β=α+90∘\beta = \alpha + 90^\circ — the two inclinations differ by exactly 90∘90^\circ. This is the visual condition for perpendicularity.

The Physical Idea

The figure teaches a single, clean idea: two non-vertical lines are perpendicular if and only if their slopes are negative reciprocals of each other. The diagram makes this relationship visible by showing that when one line's inclination is α\alpha, the other's must be α+90∘\alpha + 90^\circ for them to meet at a right angle. The small square at the intersection is the standard geometric marker for a 90∘90^\circ angle.

Watch out

The condition m1m2=−1m_1 m_2 = -1 applies only to non-vertical lines. A vertical line (undefined slope) is perpendicular to a horizontal line (slope 00), but the product rule does not hold in that case — you must handle vertical/horizontal pairs separately.

The Key Formula

From the geometry β=α+90∘\beta = \alpha + 90^\circ, the textbook derives the slope condition using the tangent function:

m1m2=−1m_1 m_2 = -1

Here:

  • m1=tan⁡αm_1 = \tan \alpha is the slope of line l1l_1, where α\alpha is its inclination (angle with the positive xx-axis, measured anticlockwise).
  • m2=tan⁡βm_2 = \tan \beta is the slope of line l2l_2, where β=α+90∘\beta = \alpha + 90^\circ is its inclination.

The derivation works because:

tan⁡(α+90∘)=−cot⁡α=−1tan⁡α\tan(\alpha + 90^\circ) = -\cot \alpha = -\frac{1}{\tan \alpha}

So m2=−1m1m_2 = -\frac{1}{m_1}, which rearranges to m1m2=−1m_1 m_2 = -1.

Important

The converse also holds: if m1m2=−1m_1 m_2 = -1, then the two lines are perpendicular. This is an "if and only if" condition — it works both ways.

What the Figure Does Not Show …