MathorynMathematical Formula Database

Analytic Geometry

Slopes of Parallel and Perpendicular Lines

Non-vertical lines are parallel when their slopes are equal and perpendicular when the product of their slopes is −1-1 (negative reciprocals). Use it to write equations of parallel or perpendicular lines and to check right angles in coordinate geometry.

m1=m2  (∥),m1m2=−1  (⊥)m_1=m_2\ \ (\parallel),\qquad m_1m_2=-1\ \ (\perp)
LaTeXm_1=m_2\ \ (\parallel),\qquad m_1m_2=-1\ \ (\perp)

Variables

m1, m2m_1,\ m_2
slopes of the two lines

Example

Slope perpendicular to m=23m=\frac23.

  1. m2=−12/3m_2=-\frac{1}{2/3}.

Answer: m2=−1.5m_2=-1.5.

Related formulas