Sitonce
Country: US
Show exams for United States Hong Kong
Sign in

Parallel and Perpendicular Lines from Their Slopes

Updated 6 min read
Key takeaway

Distinct parallel lines have the same slope and different intercepts.

More key points
  • Perpendicular nonvertical lines have slopes that are negative reciprocals, so their product is −1.
  • A horizontal line has slope 0 and is perpendicular to a vertical line, whose slope is undefined; this special pair is not handled by taking a negative reciprocal of 0.
On this page12 sections
  1. Find slope before comparing lines
  2. Parallel lines have equal slopes
  3. Write a parallel line through a point
  4. Perpendicular slopes are negative reciprocals
  5. Worked example: classify a pair
  6. Write a perpendicular line through a point
  7. Horizontal and vertical lines
  8. Vertical lines and equation form
  9. Use a graph as a visual check
  10. Common mistakes
  11. Quick classification checklist
  12. Exam takeaway

Slope describes a line’s rate of change and direction. It also lets you compare two lines without graphing every point. Parallel lines run in the same direction and never meet, so they have equal slopes. Perpendicular lines meet at a right angle; for ordinary nonvertical lines, one slope is the negative reciprocal of the other.

Find slope before comparing lines

A line written as y = mx + b has slope m and y-intercept b. If an equation is in another form, rearrange it to slope-intercept form or calculate its slope from two points using m = (y₂ − y₁)/(x₂ − x₁). Keep the coordinate order consistent: the change in y belongs over the corresponding change in x.

For example, 2x + 3y = 12 becomes 3y = −2x + 12 and y = −(2/3)x + 4. Its slope is −2/3. The intercept is 4. If comparing lines, extract the slope from each equation first; the constants do not change the slope in slope-intercept form.

Parallel lines have equal slopes

Two distinct nonvertical lines are parallel when their slopes are equal. The lines y = 3x + 2 and y = 3x − 7 both have slope 3, so they are parallel. Their y-intercepts differ, which means they are separate lines. If both slope and intercept are equal, the equations describe the same line rather than two distinct parallel lines.

A graph of parallel lines shows the same steepness and direction, with a constant distance between the lines. The y-intercept may shift the line up or down but does not affect its slope. Do not call two lines parallel just because both rise from left to right; their slopes must be equal, not merely have the same sign.

Write a parallel line through a point

To write a line parallel to y = −4x + 1 through (2, 5), use the same slope, −4, in point-slope form: y − y₁ = m(x − x₁). Substituting the point gives y − 5 = −4(x − 2). Distribute and solve for y: y − 5 = −4x + 8, so y = −4x + 13. The slope remains −4, confirming parallelism; substitution confirms the new line passes through (2, 5).

Perpendicular slopes are negative reciprocals

For two nonvertical lines to be perpendicular, multiply their slopes and get −1. The second slope is the negative reciprocal: invert the fraction and change its sign. If one slope is 2/5, its negative reciprocal is −5/2. If one slope is −3, write it as −3/1, invert to −1/3, then change the sign to get 1/3.

Both parts matter. A reciprocal only changes the order of numerator and denominator. A negative reciprocal also changes the sign. The slopes 2/5 and 5/2 are reciprocals but not negative reciprocals; their lines are not perpendicular. The slopes 2/5 and −5/2 have product −1 and do form perpendicular lines.

Worked example: classify a pair

Classify y = (3/4)x − 6 and 4x − 3y = 9. The first slope is 3/4. Rearrange the second: −3y = −4x + 9, then y = (4/3)x − 3. The second slope is 4/3. The slopes are not equal, so the lines are not parallel. Their product is (3/4)(4/3) = 1, not −1, so they are not perpendicular either. The pair is neither.

Now change the second equation to 4x + 3y = 9. Then y = −(4/3)x + 3. Its slope is −4/3, the negative reciprocal of 3/4. The product is −1, so these lines are perpendicular.

Write a perpendicular line through a point

To write a line perpendicular to y = (2/3)x − 1 through (6, 2), take the negative reciprocal of 2/3, which is −3/2. Use point-slope form: y − 2 = −(3/2)(x − 6). Simplifying gives y − 2 = −(3/2)x + 9, or y = −(3/2)x + 11. The slope product (2/3)(−3/2) = −1, and the point (6, 2) satisfies the equation.

Horizontal and vertical lines

A horizontal line has equation y = c and slope 0. A vertical line has equation x = c and undefined slope because the change in x is zero, so the slope fraction would divide by zero. Every horizontal line is perpendicular to every vertical line, and distinct horizontal lines are parallel to one another. Distinct vertical lines are also parallel.

The negative-reciprocal rule has a limitation at slope 0: there is no reciprocal of 0. Do not claim that a vertical line has a numerical slope obtained by that operation. Use the geometric special case: horizontal and vertical directions meet at 90 degrees. A horizontal line is not perpendicular to another horizontal line, and a vertical line is not perpendicular to another vertical line.

Vertical lines and equation form

Equations in the form x = 4 or x = −2 describe vertical lines. They cannot be rewritten as y = mx + b, so do not attempt to read a finite slope from them. A line parallel to x = 4 through (−3, 7) is x = −3. A line perpendicular to it is horizontal, so through (−3, 7) the perpendicular line is y = 7.

Use a graph as a visual check

A graph can confirm a classification. Parallel lines have matching direction and do not cross; perpendicular lines intersect at a square corner. But a rough sketch may hide a small difference in slope or an angle that is not exactly 90 degrees. Use the algebraic slope test for a precise answer, then treat the graph as a check.

When finding a slope from a graph, select two clearly marked points and count vertical change over horizontal change. If a line rises 6 units while moving 3 units to the right, its slope is 6/3 = 2. For a parallel line, look for slope 2. For a perpendicular line, look for slope −1/2. Reversing the rise and run or forgetting the negative sign changes the classification.

Common mistakes

  • Using equal y-intercepts to decide that lines are parallel. Compare slopes; different parallel lines typically have different intercepts.
  • Changing the sign without taking the reciprocal, or taking a reciprocal without changing its sign for perpendicular lines.
  • Checking only that the slopes have opposite signs. Their product must equal −1.
  • Forgetting that identical slope and identical intercept describe the same line.
  • Treating a vertical line’s undefined slope as zero. Zero is the slope of a horizontal line.
  • Applying the negative-reciprocal calculation to a horizontal slope of zero instead of using the horizontal–vertical special case.
  • Switching coordinate differences inconsistently when calculating slope from two points.

Quick classification checklist

  1. Put each nonvertical equation in slope-intercept form or calculate its slope from two points.
  2. If the slopes are equal, the lines are parallel or coincident; compare intercepts to distinguish them.
  3. If the slopes multiply to −1, the nonvertical lines are perpendicular.
  4. If one line is vertical, compare it with the other: another vertical is parallel; a horizontal line is perpendicular.
  5. If neither relationship holds, classify the lines as neither.
  6. If asked for an equation through a point, use point-slope form and substitute the point to verify it.

Exam takeaway

Parallel means equal slope. Perpendicular means negative-reciprocal slopes, or a horizontal–vertical pair. Find each slope carefully, distinguish coincident lines from separate parallel lines, and verify a constructed equation with both its required slope and point.

Common questions

Are slopes 2 and −2 perpendicular?

No. Their product is −4, not −1. The negative reciprocal of 2 is −1/2.

Are two lines with the same slope always separate parallel lines?

They are parallel if their intercepts differ. If the intercepts also match, they are the same line.

What line is perpendicular to a vertical line?

A horizontal line. Vertical lines have undefined slope, while horizontal lines have slope zero.