Mathwords logoMathwords

Parallel and Perpendicular Lines — Definition, Formula & Examples

Parallel lines are lines in the same plane that never intersect, and perpendicular lines are lines that intersect at a 90° angle. You can identify each type by comparing their slopes: parallel lines have equal slopes, while perpendicular lines have slopes that are negative reciprocals of each other.

Two distinct lines in the Euclidean plane are parallel (written 12\ell_1 \parallel \ell_2) if and only if they have no point of intersection, which occurs precisely when their slopes are equal or both lines are vertical. Two lines are perpendicular (written 12\ell_1 \perp \ell_2) if and only if they meet at a right angle, which occurs when the product of their slopes equals 1-1, or when one line is vertical and the other is horizontal.

Key Formula

Parallel: m1=m2Perpendicular: m1m2=1\text{Parallel: } m_1 = m_2 \qquad \text{Perpendicular: } m_1 \cdot m_2 = -1
Where:
  • m1m_1 = Slope of the first line
  • m2m_2 = Slope of the second line

How It Works

To determine whether two lines are parallel, perpendicular, or neither, start by writing each equation in slope-intercept form y=mx+by = mx + b so you can read off the slope mm. If the two slopes are identical (m1=m2m_1 = m_2) and the lines are distinct, the lines are parallel. If the slopes multiply to give 1-1 (m1m2=1m_1 \cdot m_2 = -1), the lines are perpendicular. If neither condition holds, the lines are neither parallel nor perpendicular — they simply intersect at some non-right angle. Watch for special cases: two vertical lines (undefined slope) are parallel to each other, and a vertical line is perpendicular to any horizontal line.

Worked Example

Problem: Determine whether the lines 2x + 3y = 12 and 4x + 6y = 5 are parallel, perpendicular, or neither.
Step 1: Rewrite the first equation in slope-intercept form by solving for y.
3y=2x+12    y=23x+43y = -2x + 12 \implies y = -\tfrac{2}{3}x + 4
Step 2: Rewrite the second equation in slope-intercept form.
6y=4x+5    y=23x+566y = -4x + 5 \implies y = -\tfrac{2}{3}x + \tfrac{5}{6}
Step 3: Compare the slopes. Both lines have slope m=23m = -\tfrac{2}{3}.
m1=23,m2=23m_1 = -\tfrac{2}{3}, \quad m_2 = -\tfrac{2}{3}
Step 4: Since m1=m2m_1 = m_2 and the y-intercepts differ (4 vs. 5/6), the lines are distinct and parallel.
m1=m2    parallelm_1 = m_2 \implies \text{parallel}
Answer: The two lines are parallel.

Another Example

This example shows how to construct a new line with a specific relationship (perpendicular) to a given line through a given point, rather than just classifying two existing lines.

Problem: Find the equation of the line that passes through the point (6, 1) and is perpendicular to the line y = 3x − 4.
Step 1: Identify the slope of the given line. Here m1=3m_1 = 3.
m1=3m_1 = 3
Step 2: Find the perpendicular slope by taking the negative reciprocal.
m2=1m1=13m_2 = -\frac{1}{m_1} = -\frac{1}{3}
Step 3: Use point-slope form with the point (6, 1) and slope 13-\tfrac{1}{3}.
y1=13(x6)y - 1 = -\tfrac{1}{3}(x - 6)
Step 4: Simplify to slope-intercept form.
y=13x+2+1=13x+3y = -\tfrac{1}{3}x + 2 + 1 = -\tfrac{1}{3}x + 3
Answer: The perpendicular line is y=13x+3y = -\tfrac{1}{3}x + 3.

Why It Matters

These concepts appear throughout high-school algebra and geometry courses, from writing equations of lines to proving properties of quadrilaterals like rectangles and parallelograms. In careers such as architecture, civil engineering, and computer graphics, determining whether structures or vectors are parallel or perpendicular is a routine calculation. Standardized tests including the SAT and ACT regularly ask students to identify or construct parallel and perpendicular lines from equations.

Common Mistakes

Mistake: Forgetting to negate the reciprocal for perpendicular slopes (using 1m\tfrac{1}{m} instead of 1m-\tfrac{1}{m}).
Correction: Always flip the fraction AND change the sign. If the slope is 23\tfrac{2}{3}, the perpendicular slope is 32-\tfrac{3}{2}, not 32\tfrac{3}{2}.
Mistake: Concluding that two lines with the same slope are always parallel without checking whether they are actually the same line.
Correction: Equal slopes make lines parallel only if the lines are distinct (different y-intercepts). If the slopes and y-intercepts both match, you have one line, not two parallel lines.
Mistake: Trying to apply the slope-product rule when one line is vertical.
Correction: A vertical line has an undefined slope, so the product m1m2m_1 \cdot m_2 is meaningless. Handle vertical/horizontal pairs as a special case: a vertical line is perpendicular to a horizontal line and parallel to any other vertical line.

Check Your Understanding

Are the lines y=4x+1y = 4x + 1 and y=14x3y = -\tfrac{1}{4}x - 3 parallel, perpendicular, or neither?
Hint: Multiply the two slopes together and check if the product is 1-1.
Answer: Perpendicular, because 4×(14)=14 \times (-\tfrac{1}{4}) = -1.
Write the equation of the line through (0, 5) that is parallel to y=2x+7y = -2x + 7.
Hint: Parallel lines share the same slope. The point (0, 5) gives you the y-intercept directly.
Answer: y=2x+5y = -2x + 5. The parallel line keeps the same slope 2-2 and passes through (0, 5).
Line A has slope 37\tfrac{3}{7} and Line B has slope 73\tfrac{7}{3}. Are they perpendicular?
Hint: Don't forget the negative sign — perpendicular slopes must be negative reciprocals.
Answer: No. Their product is 37×73=1\tfrac{3}{7} \times \tfrac{7}{3} = 1, not 1-1. The slopes need opposite signs to be perpendicular.

Related Terms

  • AnglePerpendicular lines form 90° angles
  • Alternate AnglesEqual when formed by parallel lines and a transversal
  • Alternate Interior AnglesCongruent pairs created by a transversal cutting parallel lines
  • Alternate Exterior AnglesCongruent pairs outside parallel lines cut by a transversal
  • Adjacent AnglesSupplementary when formed at intersection of perpendicular lines
  • Acute AngleNon-perpendicular intersecting lines can form acute angles
  • AdjacentDescribes sides or angles that share a common boundary
  • Angle BisectorSplits angles formed by intersecting lines equally