Algebra

Parallel and Perpendicular Lines

Last updated: March 2026 · Intermediate
Before you start

You should be comfortable with:

Real-world applications
πŸ“
Carpentry

Measurements, material estimation, cutting calculations

⚑
Electrical

Voltage drop, wire sizing, load balancing

Understanding the relationship between the slopes of parallel and perpendicular lines lets you write equations of new lines based on existing ones. These concepts appear constantly in construction, design, and engineering, where right angles and evenly spaced lines are fundamental.

Parallel Lines: Equal Slopes

Two lines are parallel if they never intersect β€” they go in the exact same direction. For two non-vertical lines to be parallel, they must have the same slope.

IfΒ β„“1Β hasΒ slopeΒ m1Β andΒ β„“2Β hasΒ slopeΒ m2,Β thenΒ β„“1βˆ₯β„“2β€…β€ŠβŸΊβ€…β€Šm1=m2\text{If } \ell_1 \text{ has slope } m_1 \text{ and } \ell_2 \text{ has slope } m_2, \text{ then } \ell_1 \parallel \ell_2 \iff m_1 = m_2

Parallel lines differ only in their y-intercepts. The lines y=3x+1y = 3x + 1 and y=3xβˆ’5y = 3x - 5 are parallel because both have slope 33, but they cross the yy-axis at different points.

Vertical lines are a special case: all vertical lines (x=ax = a) are parallel to each other, but they have undefined slope β€” the slope rule applies only to non-vertical lines.

Example 1: Determine if two lines are parallel

Are the lines y=βˆ’2x+7y = -2x + 7 and y=βˆ’2xβˆ’3y = -2x - 3 parallel?

Both lines have slope m=βˆ’2m = -2. Since the slopes are equal, the lines are parallel.

Example 2: Check from standard form

Are 3x+6y=123x + 6y = 12 and x+2y=5x + 2y = 5 parallel?

Convert each to slope-intercept form to find the slopes:

Line 1: 6y=βˆ’3x+12β€…β€ŠβŸΉβ€…β€Šy=βˆ’12x+26y = -3x + 12 \implies y = -\frac{1}{2}x + 2. Slope: m=βˆ’12m = -\frac{1}{2}

Line 2: 2y=βˆ’x+5β€…β€ŠβŸΉβ€…β€Šy=βˆ’12x+522y = -x + 5 \implies y = -\frac{1}{2}x + \frac{5}{2}. Slope: m=βˆ’12m = -\frac{1}{2}

The slopes are equal, so the lines are parallel.

Perpendicular Lines: Negative Reciprocal Slopes

Two lines are perpendicular if they intersect at a right angle (90 degrees). For two non-vertical, non-horizontal lines to be perpendicular, their slopes must be negative reciprocals of each other:

m1β‹…m2=βˆ’1m_1 \cdot m_2 = -1

Equivalently:

m2=βˆ’1m1m_2 = -\frac{1}{m_1}

β€œNegative reciprocal” means you flip the fraction and change the sign.

Original slope m1m_1Negative reciprocal m2m_2
22βˆ’12-\frac{1}{2}
βˆ’3-313\frac{1}{3}
45\frac{4}{5}βˆ’54-\frac{5}{4}
βˆ’27-\frac{2}{7}72\frac{7}{2}
11βˆ’1-1

Special case: A horizontal line (m=0m = 0) is perpendicular to a vertical line (undefined slope). The product rule does not apply here β€” this pair is perpendicular by definition.

Example 3: Determine if two lines are perpendicular

Are the lines y=3x+1y = 3x + 1 and y=βˆ’13x+4y = -\frac{1}{3}x + 4 perpendicular?

Check the product of slopes:

m1β‹…m2=3β‹…(βˆ’13)=βˆ’1m_1 \cdot m_2 = 3 \cdot \left(-\frac{1}{3}\right) = -1

Since the product is βˆ’1-1, the lines are perpendicular.

Example 4: Check with integer slopes

Are the lines y=4xβˆ’2y = 4x - 2 and y=βˆ’4x+5y = -4x + 5 perpendicular?

m1β‹…m2=4β‹…(βˆ’4)=βˆ’16β‰ βˆ’1m_1 \cdot m_2 = 4 \cdot (-4) = -16 \neq -1

The product is not βˆ’1-1, so the lines are not perpendicular. (They are not parallel either, since 4β‰ βˆ’44 \neq -4. They simply intersect at a non-right angle.)

Writing Equations of Parallel Lines

To write the equation of a line parallel to a given line through a specific point:

  1. Find the slope of the given line
  2. Use that same slope (parallel lines share slopes)
  3. Plug the slope and the given point into point-slope form

Example 5: Line parallel to a given line through a point

Write the equation of the line parallel to y=2x+3y = 2x + 3 that passes through (4,1)(4, 1).

Step 1 β€” Identify the slope: The given line has slope m=2m = 2.

Step 2 β€” Use the same slope with the new point:

yβˆ’1=2(xβˆ’4)y - 1 = 2(x - 4)

Step 3 β€” Convert to slope-intercept form:

yβˆ’1=2xβˆ’8y - 1 = 2x - 8

y=2xβˆ’7y = 2x - 7

Answer: y=2xβˆ’7y = 2x - 7

Example 6: Parallel to a line in standard form

Write the equation of the line parallel to 3xβˆ’5y=153x - 5y = 15 that passes through (10,2)(10, 2).

Step 1 β€” Find the slope of the given line:

m=βˆ’AB=βˆ’3βˆ’5=35m = -\frac{A}{B} = -\frac{3}{-5} = \frac{3}{5}

Step 2 β€” Use point-slope form:

yβˆ’2=35(xβˆ’10)y - 2 = \frac{3}{5}(x - 10)

Step 3 β€” Convert:

yβˆ’2=35xβˆ’6y - 2 = \frac{3}{5}x - 6

y=35xβˆ’4y = \frac{3}{5}x - 4

Answer: y=35xβˆ’4y = \frac{3}{5}x - 4

Writing Equations of Perpendicular Lines

To write the equation of a line perpendicular to a given line through a specific point:

  1. Find the slope of the given line
  2. Take the negative reciprocal of that slope
  3. Plug the new slope and the given point into point-slope form

Example 7: Perpendicular through a point

Write the equation of the line perpendicular to y=4xβˆ’1y = 4x - 1 that passes through (8,3)(8, 3).

Step 1 β€” Identify the slope: The given line has m=4m = 4.

Step 2 β€” Find the negative reciprocal: mβŠ₯=βˆ’14m_\perp = -\frac{1}{4}

Step 3 β€” Use point-slope form:

yβˆ’3=βˆ’14(xβˆ’8)y - 3 = -\frac{1}{4}(x - 8)

Step 4 β€” Convert to slope-intercept form:

yβˆ’3=βˆ’14x+2y - 3 = -\frac{1}{4}x + 2

y=βˆ’14x+5y = -\frac{1}{4}x + 5

Answer: y=βˆ’14x+5y = -\frac{1}{4}x + 5

Example 8: Perpendicular to a line with a fractional slope

Write the equation of the line perpendicular to y=βˆ’23x+5y = -\frac{2}{3}x + 5 that passes through (6,βˆ’1)(6, -1).

Step 1 β€” Identify the slope: m=βˆ’23m = -\frac{2}{3}

Step 2 β€” Negative reciprocal: mβŠ₯=32m_\perp = \frac{3}{2}

Step 3 β€” Point-slope form:

yβˆ’(βˆ’1)=32(xβˆ’6)y - (-1) = \frac{3}{2}(x - 6)

y+1=32xβˆ’9y + 1 = \frac{3}{2}x - 9

y=32xβˆ’10y = \frac{3}{2}x - 10

Answer: y=32xβˆ’10y = \frac{3}{2}x - 10

Real-World Application: Carpentry β€” Framing a Wall with a Perpendicular Brace

A carpenter is framing a wall and needs to install a diagonal brace. The top plate of the wall runs along the line y=14x+8y = \frac{1}{4}x + 8 (a slight slope due to the roof pitch). The carpenter needs to install a perpendicular support brace that passes through a stud located at (12,11)(12, 11).

Step 1 β€” The slope of the top plate is m=14m = \frac{1}{4}.

Step 2 β€” The perpendicular brace has slope mβŠ₯=βˆ’4m_\perp = -4 (the negative reciprocal of 14\frac{1}{4}).

Step 3 β€” Write the equation through (12,11)(12, 11):

yβˆ’11=βˆ’4(xβˆ’12)y - 11 = -4(x - 12)

yβˆ’11=βˆ’4x+48y - 11 = -4x + 48

y=βˆ’4x+59y = -4x + 59

Verification: The carpenter checks that the product of slopes equals βˆ’1-1:

14β‹…(βˆ’4)=βˆ’1βœ“\frac{1}{4} \cdot (-4) = -1 \checkmark

The brace meets the top plate at a true 90-degree angle. This perpendicularity ensures the brace transfers loads efficiently and meets structural code requirements. The same principle applies when checking that walls are square β€” two walls are perpendicular exactly when the product of their slopes is βˆ’1-1.

Summary Table

RelationshipSlope ConditionExample
Parallelm1=m2m_1 = m_2y=3x+1y = 3x + 1 and y=3xβˆ’5y = 3x - 5
Perpendicularm1β‹…m2=βˆ’1m_1 \cdot m_2 = -1y=3x+1y = 3x + 1 and y=βˆ’13x+4y = -\frac{1}{3}x + 4
Neitherm1β‰ m2m_1 \neq m_2 and m1β‹…m2β‰ βˆ’1m_1 \cdot m_2 \neq -1y=3x+1y = 3x + 1 and y=2xβˆ’5y = 2x - 5

Common Mistakes to Avoid

  1. Forgetting to flip AND negate for perpendicular slopes. The negative reciprocal of 23\frac{2}{3} is βˆ’32-\frac{3}{2}, not βˆ’23-\frac{2}{3} (that is just the negative) or 32\frac{3}{2} (that is just the reciprocal). You must do both.

  2. Thinking opposite slopes mean perpendicular. Slopes of 33 and βˆ’3-3 are not perpendicular (their product is βˆ’9-9, not βˆ’1-1). They are not parallel either β€” they just happen to be negatives of each other.

  3. Forgetting about vertical and horizontal lines. Vertical and horizontal lines are perpendicular to each other, but you cannot verify this with the slope product formula because vertical lines have undefined slope.

  4. Using the wrong slope for the new line. When writing an equation of a parallel line, use the same slope. When writing an equation of a perpendicular line, use the negative reciprocal slope. Do not mix these up.

  5. Not simplifying the negative reciprocal. The negative reciprocal of βˆ’64-\frac{6}{4} should be simplified: βˆ’64=βˆ’32-\frac{6}{4} = -\frac{3}{2}, so the negative reciprocal is 23\frac{2}{3}.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: Are the lines y=5x+2y = 5x + 2 and y=5xβˆ’9y = 5x - 9 parallel, perpendicular, or neither?

Both slopes are 55. Equal slopes means parallel.

Problem 2: Are the lines y=34x+1y = \frac{3}{4}x + 1 and y=βˆ’43x+6y = -\frac{4}{3}x + 6 parallel, perpendicular, or neither?

Product of slopes: 34β‹…(βˆ’43)=βˆ’1\frac{3}{4} \cdot \left(-\frac{4}{3}\right) = -1

Perpendicular.

Problem 3: Write the equation of the line parallel to y=βˆ’3x+4y = -3x + 4 through the point (2,5)(2, 5).

Same slope: m=βˆ’3m = -3

Point-slope: yβˆ’5=βˆ’3(xβˆ’2)y - 5 = -3(x - 2)

yβˆ’5=βˆ’3x+6y - 5 = -3x + 6

y=βˆ’3x+11y = -3x + 11

Answer: y=βˆ’3x+11y = -3x + 11

Problem 4: Write the equation of the line perpendicular to y=12x+3y = \frac{1}{2}x + 3 through the point (4,7)(4, 7).

Negative reciprocal: mβŠ₯=βˆ’2m_\perp = -2

Point-slope: yβˆ’7=βˆ’2(xβˆ’4)y - 7 = -2(x - 4)

yβˆ’7=βˆ’2x+8y - 7 = -2x + 8

y=βˆ’2x+15y = -2x + 15

Answer: y=βˆ’2x+15y = -2x + 15

Problem 5: Are the lines 4x+2y=104x + 2y = 10 and 6x+3y=96x + 3y = 9 parallel, perpendicular, or neither?

Line 1: 2y=βˆ’4x+10β€…β€ŠβŸΉβ€…β€Šy=βˆ’2x+52y = -4x + 10 \implies y = -2x + 5. Slope: βˆ’2-2

Line 2: 3y=βˆ’6x+9β€…β€ŠβŸΉβ€…β€Šy=βˆ’2x+33y = -6x + 9 \implies y = -2x + 3. Slope: βˆ’2-2

Slopes are equal. Parallel.

Problem 6: Write the equation of the line perpendicular to 2x+5y=202x + 5y = 20 through the point (1,βˆ’3)(1, -3) in slope-intercept form.

Slope of given line: m=βˆ’25m = -\frac{2}{5}

Negative reciprocal: mβŠ₯=52m_\perp = \frac{5}{2}

Point-slope: yβˆ’(βˆ’3)=52(xβˆ’1)y - (-3) = \frac{5}{2}(x - 1)

y+3=52xβˆ’52y + 3 = \frac{5}{2}x - \frac{5}{2}

y=52xβˆ’52βˆ’3y = \frac{5}{2}x - \frac{5}{2} - 3

y=52xβˆ’52βˆ’62y = \frac{5}{2}x - \frac{5}{2} - \frac{6}{2}

y=52xβˆ’112y = \frac{5}{2}x - \frac{11}{2}

Answer: y=52xβˆ’112y = \frac{5}{2}x - \frac{11}{2}

Key Takeaways

  • Parallel lines have equal slopes (m1=m2m_1 = m_2) and different y-intercepts
  • Perpendicular lines have slopes that are negative reciprocals (m1β‹…m2=βˆ’1m_1 \cdot m_2 = -1)
  • To write a parallel or perpendicular line through a point, find the correct slope and use point-slope form
  • Vertical and horizontal lines are perpendicular to each other as a special case
  • In construction and design, perpendicularity ensures right angles and parallel lines ensure even spacing

Return to Algebra 1 for more topics in this section.

Last updated: March 29, 2026