TExcelTAD
Home › School Analytical Trigonometry & Conic Sections › Line Equations: Slope-Intercept and Point-Slope Forms

Line Equations: Slope-Intercept and Point-Slope Forms

In Euclidean plane geometry, a straight line represents the shortest distance between any two points and extends indefinitely in two opposite directions. When we superimpose a Cartesian coordinate system over the paper, this geometric line transforms into an algebraic relation between xx and yy.

Every non-vertical straight line can be uniquely described by two fundamental characteristics:

  1. Its inclination or steepness, measured by the slope mm.
  2. Its position on the coordinate plane, determined by either its intersection with the yy-axis (the yy-intercept bb) or by any specific point (x0,y0)(x_0, y_0) through which it passes.

Mastering how to construct, manipulate, and interpret these forms on paper is the bedrock of analytical geometry.


1. Concepts & Formulas

The Geometric Meaning of Slope

The slope mm of a 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) is defined as the ratio of vertical change (the rise, Δy\Delta y) to horizontal change (the run, Δx\Delta x):

m=ΔyΔx=y2−y1x2−x1(x1≠x2)m = \frac{\Delta y}{\Delta x} = \frac{y_2 - y_1}{x_2 - x_1} \quad (x_1 \neq x_2)

The slope also equals the tangent of the angle of inclination α\alpha that the line forms with the positive xx-axis:

m=tan⁡α(α∈[0,π), α≠π2)m = \tan \alpha \quad \left(\alpha \in [0, \pi), \, \alpha \neq \frac{\pi}{2}\right)
  • If m>0m > 0, the line rises from left to right (α\alpha is acute).
  • If m<0m < 0, the line falls from left to right (α\alpha is obtuse).
  • If m=0m = 0, the line is perfectly horizontal (α=0∘\alpha = 0^\circ).
  • If Δx=0\Delta x = 0 (x1=x2x_1 = x_2), the line is vertical, and the slope is undefined (division by zero).
Line d: Ax + By + C = 0 Normal n = (A, B) M0(x0, y0)

Formula Box

Core Equations of a Straight Line

  1. Slope Formula:

    m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}
  2. Slope-Intercept Form:

    y=mx+by = mx + b

    where mm is the slope and (0,b)(0, b) is the yy-intercept.

  3. Point-Slope Form:

    y−y0=m(x−x0)y - y_0 = m(x - x_0)

    where mm is the slope and (x0,y0)(x_0, y_0) is any known point on the line.

  4. Special Axis-Parallel Lines:

    • Horizontal line through (x0,y0)(x_0, y_0): y=y0y = y_0 (slope m=0m = 0).
    • Vertical line through (x0,y0)(x_0, y_0): x=x0x = x_0 (slope mm is undefined).

2. Step-by-Step Paper Notebook Method

Method A: Writing the Equation Given Two Points A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2)

Follow these 4 disciplined steps in your notebook:

Line d: Ax + By + C = 0 Normal n = (A, B) M0(x0, y0)

3. Worked Notebook Examples

Example 1: Slope and Intercept Given Directly

Problem: Write the equation of a line with slope m=−34m = -\frac{3}{4} and yy-intercept (0,5)(0, 5). Then find the coordinates of the point on the line where x=8x = 8.

Step 1: Identify the given components

  • Slope: m=−34m = -\frac{3}{4}
  • yy-intercept: b=5b = 5

Step 2: Substitute into slope-intercept form

y=mx+by=−34x+5\begin{aligned} y &= mx + b \\ y &= -\frac{3}{4}x + 5 \end{aligned}

Step 3: Evaluate at x=8x = 8

y=−34(8)+5y=−6+5=−1\begin{aligned} y &= -\frac{3}{4}(8) + 5 \\ y &= -6 + 5 = -1 \end{aligned}

Final Answer:

  • Line equation: y=−34x+5y = -\frac{3}{4}x + 5
  • Point at x=8x = 8: (8,−1)(8, -1)

Example 2: Line Passing Through Two Points

Problem: Find the equation of the line passing through points P(−2,7)P(-2, 7) and Q(4,−5)Q(4, -5) in both point-slope and slope-intercept forms.

Step 1: Compute slope mm

m=y2−y1x2−x1m=−5−74−(−2)=−124+2=−126=−2\begin{aligned} m &= \frac{y_2 - y_1}{x_2 - x_1} \\ m &= \frac{-5 - 7}{4 - (-2)} = \frac{-12}{4 + 2} = \frac{-12}{6} = -2 \end{aligned}

Step 2: Write point-slope form using point P(−2,7)P(-2, 7)

y−y0=m(x−x0)y−7=−2(x−(−2))y−7=−2(x+2)\begin{aligned} y - y_0 &= m(x - x_0) \\ y - 7 &= -2(x - (-2)) \\ y - 7 &= -2(x + 2) \end{aligned}

Step 3: Convert to slope-intercept form y=mx+by = mx + b

y−7=−2x−4y=−2x−4+7y=−2x+3\begin{aligned} y - 7 &= -2x - 4 \\ y &= -2x - 4 + 7 \\ y &= -2x + 3 \end{aligned}

(Self-check with point Q(4,−5)Q(4, -5): −2(4)+3=−8+3=−5-2(4) + 3 = -8 + 3 = -5, matches perfectly!)

Final Answer:

  • Point-slope form: y−7=−2(x+2)y - 7 = -2(x + 2)
  • Slope-intercept form: y=−2x+3y = -2x + 3

Example 3: Horizontal and Vertical Lines

Problem:

  1. Write the equation of the line passing through M(5,−3)M(5, -3) parallel to the xx-axis.
  2. Write the equation of the line passing through M(5,−3)M(5, -3) perpendicular to the xx-axis.

Step 1: Line parallel to xx-axis (horizontal)

  • A horizontal line has slope m=0m = 0.
  • Every point on this line has the exact same yy-coordinate: y=yM=−3y = y_M = -3.
  • Equation:
y=−3y = -3

Step 2: Line perpendicular to xx-axis (vertical)

  • A vertical line is parallel to the yy-axis; its run is zero (Δx=0\Delta x = 0), so its slope is undefined.
  • Every point on this line has the exact same xx-coordinate: x=xM=5x = x_M = 5.
  • Equation:
x=5x = 5

Final Answer:

  • Horizontal line: y=−3y = -3
  • Vertical line: x=5x = 5

4. Common Mistakes & Paper Traps

[!WARNING]

  1. Inverted Slope Ratio: Writing m=ΔxΔy=x2−x1y2−y1m = \frac{\Delta x}{\Delta y} = \frac{x_2 - x_1}{y_2 - y_1} instead of ΔyΔx\frac{\Delta y}{\Delta x}. Always repeat: Rise over Run (Δy\Delta y on top!).
  2. Double Minus Sign Slip: When calculating x2−x1x_2 - x_1 with x1=−3x_1 = -3, students often write 4−3=14 - 3 = 1 instead of 4−(−3)=4+3=74 - (-3) = 4 + 3 = 7. Use parentheses on paper.
  3. Attempting y=mx+by = mx + b for Vertical Lines: A vertical line cannot be written in the form y=mx+by = mx + b because mm does not exist as a real number. Its equation is strictly x=cx = c.
  4. Unmatched Point-Slope Coordinates: When using y−y0=m(x−x0)y - y_0 = m(x - x_0), taking x0x_0 from point AA and y0y_0 from point BB. Both coordinates must belong to the exact same point.

5. Pencil & Paper Practice

Try these exercises on a fresh sheet of paper before looking at the solutions.

Practice 1

Find the slope-intercept equation of the line passing through A(3,1)A(3, 1) with slope m=23m = \frac{2}{3}.

Practice 2

Find the equation of the line passing through C(−1,−4)C(-1, -4) and D(3,8)D(3, 8).

Practice 3

A line has equation 2y−6x+10=02y - 6x + 10 = 0. Isolate yy to determine its slope mm and yy-intercept bb.


Worked Solutions

Solution to Practice 1:

y−y0=m(x−x0)y−1=23(x−3)y−1=23x−2y=23x−2+1y=23x−1\begin{aligned} y - y_0 &= m(x - x_0) \\ y - 1 &= \frac{2}{3}(x - 3) \\ y - 1 &= \frac{2}{3}x - 2 \\ y &= \frac{2}{3}x - 2 + 1 \\ y &= \frac{2}{3}x - 1 \end{aligned}

Answer: y=23x−1y = \frac{2}{3}x - 1.


Solution to Practice 2:

m=8−(−4)3−(−1)=8+43+1=124=3y−y0=m(x−x0)y−8=3(x−3)y−8=3x−9y=3x−1\begin{aligned} m &= \frac{8 - (-4)}{3 - (-1)} = \frac{8 + 4}{3 + 1} = \frac{12}{4} = 3 \\ y - y_0 &= m(x - x_0) \\ y - 8 &= 3(x - 3) \\ y - 8 &= 3x - 9 \\ y &= 3x - 1 \end{aligned}

Answer: y=3x−1y = 3x - 1.


Solution to Practice 3:

2y−6x+10=02y=6x−10y=62x−102y=3x−5\begin{aligned} 2y - 6x + 10 &= 0 \\ 2y &= 6x - 10 \\ y &= \frac{6}{2}x - \frac{10}{2} \\ y &= 3x - 5 \end{aligned}

Answer: Slope m=3m = 3, yy-intercept (0,−5)(0, -5).


Test yourself

What is the slope of the line passing through the points A(−3,5)A(-3, 5) and B(1,−3)B(1, -3)?

  1. −2-2
  2. 22
  3. −12-\frac{1}{2}
  4. −4-4

Which equation represents a straight line with slope m=−12m = -\frac{1}{2} passing through the point P(4,1)P(4, 1)?

  1. y=−12x−1y = -\frac{1}{2}x - 1
  2. y=−12x+3y = -\frac{1}{2}x + 3
  3. y=−12x+2y = -\frac{1}{2}x + 2
  4. y=2x−7y = 2x - 7

What is the equation of the vertical line passing through K(−7,12)K(-7, 12)?

  1. y=12y = 12
  2. x=12x = 12
  3. x=−7x = -7
  4. y=−7y = -7