algebraunstuck.com

Unit 3 · Linear functions & graphing lines

Point-slope form

About 13 minFree, no account needed
Goal
Write the equation of a line from a point and a slope, or from two points.

If a line has slope mm and passes through (x1,y1)(x_1, y_1), then y−y1=m(x−x1)y - y_1 = m(x - x_1). That is point-slope form. Distribute and get yy alone to turn it into y=mx+by = mx + b.

Example 1

Slope 2 through (3, 1): plug in, distribute, solve for y

m=2,(3,1)m=\mv{m}{2},\quad(\mv{x}{3},\mv{y}{1})
  1. Point-slope form: y − y₁ = m(x − x₁)

    y−1=2(x−3)y-\mv{y}{1}=\mv{m}{2}(x-\mv{x}{3})
  2. Distribute the 2

    y−1=2x−6y-1=2x-6
  3. Add 1 to both sides

    y=2x−5y=2x-5

Check: x = 3 gives y = 6 − 5 = 1 ✓

Given two points, find the slope first. Then plug either point into point-slope form, or straight into y=mx+by = mx + b and solve for bb. Both give the same line.

Example 2

Two points: keep the subtraction order the same

(−1,4), (3,−2)y=mx+b\begin{aligned}&(-\mv{x1}{1},\mv{y1}{4}),\ (3,-2)\\&y=\mv{slope}{m}x+b\end{aligned}
  1. Slope is change in y divided by change in x

    m=−2−43−(−1)=−32m=\frac{-2-\mv{y1}{4}}{3-(-\mv{x1}{1})}=-\mv{slope}{\frac32}
  2. Plug (−1, 4) into y = mx + b

    4=−32(−1)+b=32+b\mv{y1}{4}=-\mv{slope}{\frac32}(-\mv{x1}{1})+b=\frac32+b
  3. Subtract 3/2 to find the intercept

    b=52b=\mv{y1}{\frac52}
  4. Put the slope and intercept into the equation

    y=−32x+52y=-\mv{slope}{\frac32}x+\mv{y1}{\frac52}

Check: x = −1 gives 4; x = 3 gives −2 ✓

Practice

10 practice problems with hints, then a mastery check of 8 questions, right on this page.