TExcelTAD
Home › Coordinate Geometry: 2D & 3D Cartesian Systems › Slopes of Lines, Parallel and Perpendicular Slope Conditions, and Collinearity Proofs

Slopes of Lines, Parallel and Perpendicular Slope Conditions, and Collinearity Proofs

In coordinate geometry, the slope (or gradient) measures both the direction and the steepness of a straight line on grid paper. It is the fundamental algebraic parameter connecting linear equations, parallel tracks, perpendicular corners, and collinear points.


1. Geometric Definition of Slope

For any non-vertical line passing through two distinct points A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2), the slope mm is defined as the ratio of the vertical change (rise) to the horizontal change (run):

m=RiseRun=ΔyΔx=y2−y1x2−x1(x1≠x2)m = \frac{\text{Rise}}{\text{Run}} = \frac{\Delta y}{\Delta x} = \frac{y_2 - y_1}{x_2 - x_1} \quad (x_1 \neq x_2)
x y theta A(x_1, y_1) B(x_2, y_2) Run: Deltax = x_2 − x_1 Rise: Deltay = y_2 − y_1

Angle of Inclination (θ\theta)

The angle of inclination θ\theta is the counterclockwise angle measured from the positive direction of the xx-axis to the line, with 0∘≤θ<180∘0^\circ \le \theta < 180^\circ. By basic right-triangle trigonometry:

m=tan⁡θm = \tan \theta
  • Positive Slope (m>0m > 0): 0∘<θ<90∘0^\circ < \theta < 90^\circ (acute angle). The line rises from bottom-left to top-right.
  • Negative Slope (m<0m < 0): 90∘<θ<180∘90^\circ < \theta < 180^\circ (obtuse angle). The line falls from top-left to bottom-right.
  • Zero Slope (m=0m = 0): θ=0∘\theta = 0^\circ. The line is perfectly horizontal (y=cy = c).
  • Undefined Slope: θ=90∘\theta = 90^\circ. The line is vertical (x=kx = k), meaning Δx=0\Delta x = 0, causing division by zero.

2. Parallel Lines Condition

Two non-vertical lines L1L_1 and L2L_2 with slopes m1m_1 and m2m_2 are parallel (L1∥L2L_1 \parallel L_2) if and only if they share identical inclinations (θ1=θ2\theta_1 = \theta_2), which means their slopes are equal:

L1∥L2  ⟺  m1=m2L_1 \parallel L_2 \iff m_1 = m_2

(If both lines are vertical, they are also parallel, with both slopes undefined.)


3. Perpendicular Lines Condition

Two non-vertical lines L1L_1 and L2L_2 with slopes m1m_1 and m2m_2 are perpendicular (L1⊥L2L_1 \perp L_2) if and only if their slopes are negative reciprocals:

L1⊥L2  ⟺  m1⋅m2=−1  ⟺  m2=−1m1L_1 \perp L_2 \iff m_1 \cdot m_2 = -1 \iff m_2 = -\frac{1}{m_1}
L_1 (m_1 = 1/2) L_2 (m_2 = −2) 90°

Derivation via Trigonometry

Let line L1L_1 have inclination angle θ1\theta_1, so m1=tan⁡θ1m_1 = \tan \theta_1. Because L2L_2 is perpendicular to L1L_1, its inclination is θ2=θ1+90∘\theta_2 = \theta_1 + 90^\circ. Using the trigonometric identity tan⁡(θ+90∘)=−cot⁡θ=−1tan⁡θ\tan(\theta + 90^\circ) = -\cot \theta = -\frac{1}{\tan \theta}:

m2=tan⁡θ2=tan⁡(θ1+90∘)=−1tan⁡θ1=−1m1m_2 = \tan \theta_2 = \tan(\theta_1 + 90^\circ) = -\frac{1}{\tan \theta_1} = -\frac{1}{m_1}

Multiplying both sides by m1m_1 yields m1m2=−1m_1 m_2 = -1.


4. Collinearity Proofs via Slopes

Three points AA, BB, and CC are collinear if and only if they lie on the exact same straight line.

A,B,C are collinear  ⟺  slope(AB)=slope(BC)A, B, C \text{ are collinear} \iff \text{slope}(AB) = \text{slope}(BC)

Because both segments share the common point BB, having identical directions ensures that they lie on the very same continuous straight line.


5. Step-by-Step Paper Notebook Method

Step 1:Compute slope: write m=y2−y1x2−x1. Wrap negative coordinates in parentheses.Step 2:To test parallelism: verify if m1=m2.Step 3:To test perpendicularity: calculate m1⋅m2. Check if the product equals −1.Step 4:To test collinearity: compute mAB and mBC. Conclude collinearity if mAB=mBC.\begin{aligned} \text{\bf Step 1:} &\quad \text{Compute slope: write } m = \frac{y_2 - y_1}{x_2 - x_1}. \text{ Wrap negative coordinates in parentheses.} \\ \text{\bf Step 2:} &\quad \text{To test parallelism: verify if } m_1 = m_2. \\ \text{\bf Step 3:} &\quad \text{To test perpendicularity: calculate } m_1 \cdot m_2. \text{ Check if the product equals } -1. \\ \text{\bf Step 4:} &\quad \text{To test collinearity: compute } m_{AB} \text{ and } m_{BC}. \text{ Conclude collinearity if } m_{AB} = m_{BC}. \end{aligned}

6. Comprehensive Worked Examples

Example 1: Finding Slope and Inclination

Problem Statement: Calculate the slope of the line passing through P(2,−3)P(2, -3) and Q(−4,3)Q(-4, 3), and determine its angle of inclination θ\theta.

Step-by-Step Solution:

  • Step 1: Apply the slope formula

    m=y2−y1x2−x1=3−(−3)−4−2=3+3−6=6−6=−1\begin{aligned} m &= \frac{y_2 - y_1}{x_2 - x_1} \\ &= \frac{3 - (-3)}{-4 - 2} \\ &= \frac{3 + 3}{-6} = \frac{6}{-6} = -1 \end{aligned}
  • Step 2: Determine inclination angle θ\theta

    tan⁡θ=−1,0∘≤θ<180∘\tan \theta = -1, \quad 0^\circ \le \theta < 180^\circ

    Since tan⁡45∘=1\tan 45^\circ = 1 and the slope is negative, θ\theta lies in the second quadrant:

    θ=180∘−45∘=135∘\theta = 180^\circ - 45^\circ = 135^\circ

The slope is m=−1m = -1 and the inclination is θ=135∘\theta = 135^\circ.


Example 2: Proving a Right Triangle on Paper

Problem Statement: Given the vertices A(2,1)A(2, 1), B(6,4)B(6, 4), and C(3,8)C(3, 8), use slopes to determine whether △ABC\triangle ABC is a right-angled triangle. If so, identify the right-angled vertex.

Step-by-Step Solution:

  • Step 1: Compute slope of ABAB

    mAB=4−16−2=34m_{AB} = \frac{4 - 1}{6 - 2} = \frac{3}{4}
  • Step 2: Compute slope of BCBC

    mBC=8−43−6=4−3=−43m_{BC} = \frac{8 - 4}{3 - 6} = \frac{4}{-3} = -\frac{4}{3}
  • Step 3: Test perpendicularity

    mAB⋅mBC=(34)⋅(−43)=−1212=−1m_{AB} \cdot m_{BC} = \left(\frac{3}{4}\right) \cdot \left(-\frac{4}{3}\right) = -\frac{12}{12} = -1

Because mAB⋅mBC=−1m_{AB} \cdot m_{BC} = -1, the side ABAB is perpendicular to side BCBC (AB⊥BCAB \perp BC).

Therefore, △ABC\triangle ABC is a right triangle with the right angle at vertex BB.


Example 3: Collinearity and Solving for an Unknown

Problem Statement: Find the value of kk such that the points A(−1,3)A(-1, 3), B(2,k)B(2, k), and C(5,−1)C(5, -1) are collinear.

Step-by-Step Solution:

  • Step 1: State the collinearity condition

    slope(AB)=slope(AC)\text{slope}(AB) = \text{slope}(AC)
  • Step 2: Calculate the known slope of ACAC

    mAC=−1−35−(−1)=−45+1=−46=−23m_{AC} = \frac{-1 - 3}{5 - (-1)} = \frac{-4}{5 + 1} = \frac{-4}{6} = -\frac{2}{3}
  • Step 3: Express the slope of ABAB in terms of kk

    mAB=k−32−(−1)=k−33m_{AB} = \frac{k - 3}{2 - (-1)} = \frac{k - 3}{3}
  • Step 4: Equate and solve for kk

    k−33=−23k−3=−2k=3−2=1\begin{aligned} \frac{k - 3}{3} &= -\frac{2}{3} \\ k - 3 &= -2 \\ k &= 3 - 2 = 1 \end{aligned}

The points are collinear when k=1k = 1.


7. Common Mistakes & Paper Traps

  1. Reversing Rise and Run: Computing x2−x1y2−y1\frac{x_2 - x_1}{y_2 - y_1} instead of y2−y1x2−x1\frac{y_2 - y_1}{x_2 - x_1}. Remember: yy is on top (Rise over Run).
  2. Order Mismatch in Subtraction: Calculating y2−y1x1−x2\frac{y_2 - y_1}{x_1 - x_2}. If you start with y2y_2 in the numerator, you MUST start with x2x_2 in the denominator!
  3. Missing Negative Sign in Perpendicularity: Stating that perpendicular slopes are reciprocals (m2=1m1m_2 = \frac{1}{m_1}) instead of negative reciprocals (m2=−1m1m_2 = -\frac{1}{m_1}).
  4. Vertical Line Zero vs. Undefined: Claiming vertical lines have "slope =0= 0". A horizontal line has slope 00; a vertical line has an undefined slope (÷0\div 0).

8. Pencil & Paper Practice

  1. Problem 1: A line passes through (3,−2)(3, -2) and (−1,6)(-1, 6). Find the slope of:
    • (a) the line itself.
    • (b) any line parallel to it.
    • (c) any line perpendicular to it.
  2. Problem 2: Determine whether the points P(−3,−2)P(-3, -2), Q(1,4)Q(1, 4), and R(5,10)R(5, 10) are collinear.
  3. Problem 3: The line joining (2,5)(2, 5) and (−3,−5)(-3, -5) is perpendicular to the line joining (4,−1)(4, -1) and (a,3)(a, 3). Find the value of aa.

Worked Solutions

  • Solution 1:

    • (a) Slope of the line:
      m=6−(−2)−1−3=8−4=−2m = \frac{6 - (-2)}{-1 - 3} = \frac{8}{-4} = -2
    • (b) Slope of parallel line: m∥=m=−2m_{\parallel} = m = -2.
    • (c) Slope of perpendicular line:
      m⊥=−1m=−1−2=12m_{\perp} = -\frac{1}{m} = -\frac{1}{-2} = \frac{1}{2}
  • Solution 2: Calculate slopes of consecutive segments:

    mPQ=4−(−2)1−(−3)=64=32m_{PQ} = \frac{4 - (-2)}{1 - (-3)} = \frac{6}{4} = \frac{3}{2}
    mQR=10−45−1=64=32m_{QR} = \frac{10 - 4}{5 - 1} = \frac{6}{4} = \frac{3}{2}

    Since mPQ=mQR=32m_{PQ} = m_{QR} = \frac{3}{2} and both segments share point QQ, the points PP, QQ, and RR are collinear.

  • Solution 3:

    • First slope:
      m1=−5−5−3−2=−10−5=2m_1 = \frac{-5 - 5}{-3 - 2} = \frac{-10}{-5} = 2
    • Second slope:
      m2=3−(−1)a−4=4a−4m_2 = \frac{3 - (-1)}{a - 4} = \frac{4}{a - 4}
    • Since the lines are perpendicular:
      m1⋅m2=−12⋅(4a−4)=−18a−4=−1−(a−4)=8−a+4=8  ⟹  a=−4\begin{aligned} m_1 \cdot m_2 &= -1 \\ 2 \cdot \left(\frac{4}{a - 4}\right) &= -1 \\ \frac{8}{a - 4} &= -1 \\ -(a - 4) &= 8 \\ -a + 4 &= 8 \implies a = -4 \end{aligned}

Test yourself

What is the slope of a line with an inclination angle of θ=60∘\theta = 60^\circ?

  1. 12\frac{1}{2}
  2. 32\frac{\sqrt{3}}{2}
  3. 13\frac{1}{\sqrt{3}}
  4. 3\sqrt{3}

If line L1L_1 has slope m1=−35m_1 = -\frac{3}{5}, what is the slope of any line L2L_2 perpendicular to L1L_1?

  1. −53-\frac{5}{3}
  2. 53\frac{5}{3}
  3. 35\frac{3}{5}
  4. −35-\frac{3}{5}

Which of the following sets of points is collinear?

  1. (0,0),(2,3),(4,7)(0, 0), (2, 3), (4, 7)
  2. (1,2),(3,6),(5,10)(1, 2), (3, 6), (5, 10)
  3. (1,1),(2,4),(3,8)(1, 1), (2, 4), (3, 8)
  4. (0,1),(1,3),(2,6)(0, 1), (1, 3), (2, 6)