Allday Education

Slope Criteria for Parallel & Perpendicular Lines

On the coordinate plane, slope decides everything about how two lines relate. Parallel lines have equal slopes — same steepness, same direction, so they never meet. Perpendicular lines have slopes that are opposite reciprocals: flip the fraction and switch the sign, like 23\dfrac{2}{3} and 32-\dfrac{3}{2}.

There is a quick check built into the perpendicular rule: two lines are perpendicular exactly when the product of their slopes is 1-1. Multiply the slopes; if you get 1-1, the lines meet at a right angle.

Parallel lines: equal slopes

Two distinct non-vertical lines are parallel if and only if their slopes are equal. In slope-intercept form y=mx+by = mx + b, that means the same mm with different bb values — same tilt, shifted up or down.

The yy-intercept has no effect on being parallel. The lines y=3x4y = 3x - 4 and y=3x+10y = 3x + 10 are parallel because both have slope 33; the intercepts only decide where each line crosses the yy-axis.

-4-3-2-11234-4-3-2-11234xy

Perpendicular lines: opposite reciprocal slopes

Two non-vertical lines are perpendicular if and only if their slopes are opposite reciprocals — equivalently, their slopes multiply to 1-1. From a slope of 34\dfrac{3}{4}, flip to 43\dfrac{4}{3} and switch the sign to get 43-\dfrac{4}{3}. Check: 34(43)=1\dfrac{3}{4} \cdot \left(-\dfrac{4}{3}\right) = -1.

A whole-number slope works the same way once you write it as a fraction: 5=515 = \dfrac{5}{1}, so the perpendicular slope is 15-\dfrac{1}{5}.

The one exception to the product rule: horizontal lines have slope 00 and vertical lines have no defined slope, yet they are perpendicular to each other. Handle that pair by inspection, not by multiplying.

The two lines below have slopes 12\dfrac{1}{2} and 2-2 — opposite reciprocals whose product is 1-1 — so they cross at a right angle.

-4-3-2-11234-4-3-2-11234xy

Finding slope from two points

If a line is given by two points instead of an equation, compute its slope first with y2y1x2x1\displaystyle \frac{y_2 - y_1}{x_2 - x_1}, then apply the parallel or perpendicular criterion. Comparing slopes is always the last step; getting the slopes is the setup.

Worked examples

Example 1: parallel or not?

Are the lines y=3x4y = 3x - 4 and y=3x+1y = 3x + 1 parallel?

Read the slope of the first linem1=3m_1 = 3
Read the slope of the second linem2=3m_2 = 3
Equal slopes and different yy-intercepts mean parallel lines

Answer: Yes — both lines have slope 33, so they are parallel.

Example 2: find a perpendicular slope

A line has slope 23\dfrac{2}{3}. What is the slope of any line perpendicular to it?

Flip the fraction2332\dfrac{2}{3} \rightarrow \dfrac{3}{2}
Switch the signm=32m_{\perp} = -\dfrac{3}{2}
Check the product23(32)=1\dfrac{2}{3} \cdot \left(-\dfrac{3}{2}\right) = -1

Answer: m=32m_{\perp} = -\dfrac{3}{2}

Example 3: classify by multiplying slopes

Lines pp and qq have slopes 34\dfrac{3}{4} and 43-\dfrac{4}{3}. Are the lines parallel, perpendicular, or neither?

The slopes are not equal, so the lines are not parallel
Multiply the slopes34(43)=1\dfrac{3}{4} \cdot \left(-\dfrac{4}{3}\right) = -1
A product of 1-1 means the lines are perpendicular

Answer: Perpendicular

Try one yourself

Common questions

Do parallel lines need the same yy-intercept?

No — they need the same slope and different yy-intercepts. If two lines have the same slope and the same yy-intercept, they are the same line, not parallel lines.

What is an opposite reciprocal?

Flip the fraction and switch the sign. The opposite reciprocal of 23\dfrac{2}{3} is 32-\dfrac{3}{2}, and the opposite reciprocal of 5-5 is 15\dfrac{1}{5}. A slope and its opposite reciprocal always multiply to 1-1.

What about horizontal and vertical lines?

A horizontal line has slope 00 and a vertical line has an undefined slope. They are perpendicular to each other, but the product-equals-1-1 test cannot be used on them — classify that pair directly.

How do I find the slope if I only have two points?

Use y2y1x2x1\displaystyle \frac{y_2 - y_1}{x_2 - x_1} for each line, then compare: equal slopes mean parallel, slopes whose product is 1-1 mean perpendicular.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1