Algebra 1Linear Functions3 of 7
Linear Functions · 3

Point-Slope Form

When we know a line's slope and where it crosses the yy-axis, we can write its equation right away as y=mx+b\relationship{y} = \measurement{m}x + \relationship{b}. Now let's see how to write a line's equation when we only know its slope and some other point on it.

1

Building an Equation from a Point and a Slope

We want to find the equation of the line that passes through (4,5)\relationship{(4, 5)} with a slope of 2\measurement{2}.

Building an Equation from a Point and a Slope
4\htmlClass{lc-mute}{4}
8\htmlClass{lc-mute}{8}
12\htmlClass{lc-mute}{12}
4\htmlClass{lc-mute}{4}
8\htmlClass{lc-mute}{8}
12\htmlClass{lc-mute}{12}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(4,5)\htmlClass{lc-blue}{(4,5)}
m=2\htmlClass{lc-pink}{m}=\htmlClass{lc-pink}{2}
Text solution
Measure the horizontal and vertical changes from (4,5)\relationship{(4, 5)}Moving from our starting point (4,5)\relationship{(4, 5)} to any point (x,y)\relationship{(x, y)} on the line changes xx by x−4x - 4 and y\relationship{y} by y−5\measurement{y - 5}.
Change in x=x−4,Change in y=y−5\displaystyle \begin{aligned}\text{Change in } x &= x - 4, \\ \text{Change in } y &= \measurement{y - 5}\end{aligned}
Connect the changes using the slopeBecause a slope of 2\measurement{2} means the vertical change is always 2\measurement{2} times the horizontal change, we set the change in y\relationship{y} equal to 2\measurement{2} times the change in xx.
y−5⏟change in y\displaystyle \underbrace{\measurement{y - 5}}_{\text{change in } y} =2⏟slope⋅(x−4)⏟change in x\displaystyle = \underbrace{\measurement{2}}_{\text{slope}} \cdot \underbrace{(x - 4)}_{\text{change in } x}
Check with a second point on the lineMoving 33 steps right from (4,5)\relationship{(4, 5)} to x=7x = 7 increases the height by 2⋅3=6\measurement{2} \cdot 3 = 6 to y=11\relationship{y} = \relationship{11}, and plugging (7,11)\relationship{(7, 11)} into our equation shows that both sides give that same vertical change of 6\measurement{6}.
11−5=2(7−4)6=2(3)6=6\displaystyle \begin{aligned}\measurement{11 - 5} &= \measurement{2}(7 - 4) \\ 6 &= \measurement{2}(3) \\ 6 &= 6\end{aligned}

So y−5=2(x−4)\measurement{y - 5} = \measurement{2}(x - 4) is the equation of the line through (4,5)\relationship{(4, 5)} with slope 2\measurement{2}.

At every point (x,y)\relationship{(x, y)} along this line, the vertical change y−5\measurement{y - 5} from the starting point (4,5)\relationship{(4, 5)} is always twice the horizontal change x−4x - 4, and both changes equal 00 right at (4,5)\relationship{(4, 5)}.

Along a line with slope 2, the vertical change from the starting point is always twice the horizontal change.
2

Minus Signs and Negative Coordinates

Now let's see what happens to the signs in the equation when a coordinate of our starting point is negative. We want to find the equation of the line that passes through (−3,2)\relationship{(-3, 2)} with a slope of −4\measurement{-4}.

Minus Signs and Negative Coordinates
(−3,2)m\displaystyle \relationship{(-3,2)}\qquad \measurement{m}=−4\displaystyle =\measurement{-4}
Equation of the line?\displaystyle \text{Equation of the line?}
Text solution
Subtract each starting coordinateWriting the change from (−3,2)\relationship{(-3, 2)} to (x,y)\relationship{(x, y)} puts a minus sign in front of each coordinate of the starting point.
y−2\displaystyle \measurement{y - 2} =−4(x−(−3))\displaystyle = \measurement{-4}(x - (-3))
Simplify subtracting a negativeSubtracting −3-3 is the same as adding 33, turning x−(−3)x - (-3) into x+3x + 3.
y−2\displaystyle \measurement{y - 2} =−4(x+3)\displaystyle = \measurement{-4}(x + 3)

So the line through (−3,2)\relationship{(-3, 2)} with slope −4\measurement{-4} has the equation y−2=−4(x+3)\measurement{y - 2} = \measurement{-4}(x + 3), where x=−3x = -3 and y=2\relationship{y} = \relationship{2} are the exact values that make x+3x + 3 and y−2\measurement{y - 2} equal 00.

As you move the starting point into different quadrants, positive coordinates show up in the equation with a minus sign and negative coordinates show up with a plus sign, because the starting coordinates are always the values that make the changes in xx and yy equal 00.

In point-slope form, a positive coordinate gets a minus sign and a negative one gets a plus sign, because the change in x and y is zero right at the starting point.
3

Graphing Directly from Point-Slope Form

When we're given an equation in point-slope form, we can graph the line directly without rewriting the equation into y=mx+b\relationship{y} = \measurement{m}x + \relationship{b}. Let's graph the line

y+1\displaystyle \measurement{y + 1} =23(x−2)\displaystyle = \measurement{\tfrac{2}{3}}(x - 2)
Graphing Directly from Point-Slope Form
y+1\displaystyle \measurement{y+1}=23(x−2)\displaystyle =\measurement{\tfrac{2}{3}}(x-2)
Graph the line.\displaystyle \text{Graph the line.}
Text solution
Find the starting point where the changes are zeroWe read off the xx- and y\relationship{y}-values that make x−2x - 2 and y+1\measurement{y + 1} equal 00.
x−2=0  ⟹  x=2,y+1=0  ⟹  y=−1\displaystyle \begin{aligned}x - 2 &= 0 &\implies\quad x &= 2, \\ \measurement{y + 1} &= 0 &\implies\quad \relationship{y} &= \relationship{-1}\end{aligned}
Step from the starting point using the slopeStarting at (2,−1)\relationship{(2, -1)}, a slope of 23\measurement{\tfrac{2}{3}} means a change of +3+3 in xx goes with a change of +2\measurement{+2} in y\relationship{y}, taking us 33 steps right and 2\measurement{2} steps up to a second point on the line.
(2+3, −1+2)\displaystyle (2 + 3,\, -1 + 2) =(5,1)\displaystyle = \relationship{(5, 1)}

Drawing the line through (2,−1)\relationship{(2, -1)} and (5,1)\relationship{(5, 1)} completes the graph without any fraction calculations.

1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
y+1=23(x−2)\htmlClass{lc-pink}{y+1}=\htmlClass{lc-pink}{\tfrac{2}{3}}(x-2)
Starting point\text{Starting point}
(2,−1)\htmlClass{lc-blue}{(2,-1)}
+3+3
+2\htmlClass{lc-pink}{+2}
(5,1)\htmlClass{lc-blue}{(5,1)}
4

Converting to Slope-Intercept Form

If a question specifically asks for the answer in slope-intercept form, y=mx+b\relationship{y} = \measurement{m}x + \relationship{b}, we can rewrite our point-slope equation so that it measures from the yy-axis at x=0x = 0. Let's convert our first equation, y−5=2(x−4)\measurement{y - 5} = \measurement{2}(x - 4), into slope-intercept form.

Converting to Slope-Intercept Form
y−5\displaystyle \measurement{y-5}=2(x−4)\displaystyle =\measurement{2}(x-4)
Slope-Intercept Form?\displaystyle \text{Slope-Intercept Form?}
Text solution
Add the starting height to both sidesAdding 5\relationship{5} isolates y\relationship{y} and shows the height as the starting height of 5\relationship{5} plus the change from x=4x = 4.
y\displaystyle \relationship{y} =5+2(x−4)\displaystyle = \relationship{5} + \measurement{2}(x - 4)
Distribute the slope and combineMultiplying 2\measurement{2} into (x−4)(x - 4) gives 2x−8\measurement{2x - 8}, where −8\measurement{-8} is the change in yy when moving 44 steps backward from x=4x = 4 to x=0x = 0, and combining −8\measurement{-8} with 5\relationship{5} gives the yy-intercept.
y=5+2x−8y=2x−3\displaystyle \begin{aligned}\relationship{y} &= \relationship{5} + \measurement{2}x - 8 \\ \relationship{y} &= \measurement{2}x - \relationship{3}\end{aligned}

So in slope-intercept form the line is y=2x−3\relationship{y} = \measurement{2}x - \relationship{3}, which crosses the yy-axis at (0,−3)\relationship{(0, -3)}.

2\htmlClass{lc-mute}{2}
4\htmlClass{lc-mute}{4}
6\htmlClass{lc-mute}{6}
8\htmlClass{lc-mute}{8}
−2\htmlClass{lc-mute}{-2}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
y=2x−3\htmlClass{lc-blue}{y}=\htmlClass{lc-pink}{2}x-\htmlClass{lc-blue}{3}
4 steps\text{4 steps}
back\text{back}
(4,5)\htmlClass{lc-blue}{(4,5)}
drops by\text{drops by}
2×4=8\htmlClass{lc-pink}{2\times4=8}
(0,−3)\htmlClass{lc-blue}{(0,-3)}
5

Finding the Equation from Two Points

Now suppose we aren't given the slope at all, only two points on the line. We want to find the equation of the line that passes through (1,4)\relationship{(1, 4)} and (3,10)\relationship{(3, 10)}.

Finding the Equation from Two Points
1\htmlClass{lc-mute}{1}
3\htmlClass{lc-mute}{3}
4\htmlClass{lc-mute}{4}
10\htmlClass{lc-mute}{10}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(1,4)\htmlClass{lc-blue}{(1,4)}
(3,10)\htmlClass{lc-blue}{(3,10)}
Text solution
Find the slope between the two pointsDividing the vertical change from 4\relationship{4} to 10\relationship{10} by the horizontal change from 11 to 33 gives the slope of the line.
Slope=10−43−1=62=3\displaystyle \begin{aligned}\measurement{\text{Slope}} &= \frac{\measurement{10 - 4}}{3 - 1} \\ &= \frac{6}{2} \\ &= \measurement{3}\end{aligned}
Write the point-slope equation using either pointPicking (1,4)\relationship{(1, 4)} as the starting point or picking (3,10)\relationship{(3, 10)} as the starting point gives two valid point-slope equations for the line.
y−4=3(x−1)ory−10=3(x−3)\displaystyle \begin{aligned}\measurement{y - 4} &= \measurement{3}(x - 1) \\ \text{or} \qquad \measurement{y - 10} &= \measurement{3}(x - 3)\end{aligned}
Simplify both to slope-intercept formDistributing 3\measurement{3} and isolating y\relationship{y} in both equations shows that they walk back to the exact same yy-intercept.
y−4=3x−3y=3x+1y−10=3x−9y=3x+1\displaystyle \begin{aligned}\measurement{y - 4} &= \measurement{3}x - 3 \\ \relationship{y} &= \measurement{3}x + \relationship{1} \\[0.8em] \measurement{y - 10} &= \measurement{3}x - 9 \\ \relationship{y} &= \measurement{3}x + \relationship{1}\end{aligned}

Both point-slope equations describe the same line, y=3x+1\relationship{y} = \measurement{3}x + \relationship{1}, just measured from two different points along it.

Along a fixed line, choosing different starting points changes the coordinates inside the point-slope equation while the simplified slope-intercept equation y=mx+b\relationship{y} = \measurement{m}x + \relationship{b} stays the same.

Every point on a line gives its own point-slope equation, and they all simplify to the same slope-intercept equation.
6

Using a Rate and a Data Point in Real Life

In real life, we usually measure something after it is already underway rather than at time x=0x = 0. Suppose a hose fills a swimming pool at a steady 15\measurement{15} gallons per minute, and at 2020 minutes there are 450\total{450} gallons in the pool. Let's write an equation for the total gallons y\total{y} at xx minutes, and use it to find the amount of water at 3030 minutes and at 00 minutes.

Using a Rate and a Data Point in Real Life
15  gal/min\htmlClass{lc-pink}{15}\;\text{gal/min}
20  min20\;\text{min}
450  gal\htmlClass{lc-green}{450}\;\text{gal}
Text solution
Build the equation from the known measurementUsing (20,450)\total{(20, 450)} as our starting point and 15\measurement{15} gallons per minute as the slope connects the change in gallons to the change in time from minute 2020.
y−450⏟change in gallons from 450\displaystyle \underbrace{\measurement{y - 450}}_{\text{change in gallons from } 450} =15⏟rate⋅(x−20)⏟change in minutes from 20\displaystyle = \underbrace{\measurement{15}}_{\text{rate}} \cdot \underbrace{(x - 20)}_{\text{change in minutes from } 20}
Find the water at 3030 minutesPlugging in x=30x = 30 measures 1010 minutes forward from minute 2020 and adds those new gallons to 450\total{450}.
y−450=15(30−20)y−450=15(10)y−450=150y=600\displaystyle \begin{aligned}\measurement{y - 450} &= \measurement{15}(30 - 20) \\ \measurement{y - 450} &= \measurement{15}(10) \\ \measurement{y - 450} &= 150 \\ \total{y} &= 600\end{aligned}
Find the water at 00 minutesPlugging in x=0x = 0 walks 2020 minutes backward from minute 2020 to find how much water was already in the pool at the start.
y−450=15(0−20)y−450=−300y=150\displaystyle \begin{aligned}\measurement{y - 450} &= \measurement{15}(0 - 20) \\ \measurement{y - 450} &= -300 \\ \total{y} &= 150\end{aligned}

So there are 600600 gallons in the pool at 3030 minutes, and there were 150150 gallons in the pool at 00 minutes.

7

The Point-Slope Formula

To write this rule using letters, we call the known starting point (x1,y1)\relationship{(x_1, y_1)} and the slope m\measurement{m}.

The Point-Slope Formula
(x1,y1)\htmlClass{lc-blue}{(x_1,y_1)}
(x,y)\htmlClass{lc-blue}{(x,y)}
m\htmlClass{lc-pink}{m}
Point-Slope Form:y−y1⏟change in y\displaystyle \text{Point-Slope Form:} \qquad \underbrace{\measurement{y - y_1}}_{\text{change in } y} =m⏟slope⋅(x−x1)⏟change in x\displaystyle = \underbrace{\measurement{m}}_{\text{slope}} \cdot \underbrace{(x - x_1)}_{\text{change in } x}

The little 11 in x1x_1 and y1\relationship{y_1} is called a subscript. It isn't an operation; it just labels the fixed starting point you know, separating those numbers from the variables (x,y)\relationship{(x, y)} that stand for any point on the line.

Key concepts

Whenever you know a line's slope m\measurement{m} and a point (x1,y1)\relationship{(x_1, y_1)} on it, point-slope form writes the line by comparing every point (x,y)\relationship{(x, y)} to that starting point:

y−y1\displaystyle \measurement{y - y_1} =m(x−x1)\displaystyle = \measurement{m}(x - x_1)
When you have a point and a slope (or a rate and a data point)

Use the point you have as (x1,y1)\relationship{(x_1, y_1)}, such as (4,5)\relationship{(4, 5)} with slope 2\measurement{2} giving y−5=2(x−4)\measurement{y - 5} = \measurement{2}(x - 4), or 450\total{450} gallons at 2020 minutes with rate 15\measurement{15} giving y−450=15(x−20)\measurement{y - 450} = \measurement{15}(x - 20). If the known point is already on the yy-axis, like (0,3)\relationship{(0, 3)} with slope 2\measurement{2}, or a problem that gives the starting value at x=0x = 0, you don't need point-slope form at all; write y=2x+3\relationship{y} = \measurement{2}x + \relationship{3} directly.

When you have two points with different xx-coordinates

Find the slope m=change in ychange in x\measurement{m} = \tfrac{\measurement{\text{change in } y}}{\text{change in } x} between them first, then plug either point into point-slope form; for (1,4)\relationship{(1, 4)} and (3,10)\relationship{(3, 10)}, the slope is 10−43−1=3\tfrac{\measurement{10 - 4}}{3 - 1} = \measurement{3}, giving y−4=3(x−1)\measurement{y - 4} = \measurement{3}(x - 1).

Checking signs

The starting coordinates are the values that make each change equal 00, so signs inside the equation are opposite to the coordinates: (−3,2)\relationship{(-3, 2)} with slope −4\measurement{-4} is y−2=−4(x+3)\measurement{y - 2} = \measurement{-4}(x + 3).

When not to convert to y=mx+b\relationship{y} = \measurement{m}x + \relationship{b}

Leave the equation in point-slope form to graph it (for y+1=23(x−2)\measurement{y + 1} = \measurement{\tfrac{2}{3}}(x - 2), plot (2,−1)\relationship{(2, -1)} and step 33 right and 2\measurement{2} up) or to plug in an xx-value directly. Distribute and combine into y=mx+b\relationship{y} = \measurement{m}x + \relationship{b} when a question asks for slope-intercept form.

8

Practice

1

Write the equation in point-slope form of the line that passes through (3,7)\relationship{(3, 7)} with a slope of 5\measurement{5}.

Write the change in y\relationship{y} from 7\relationship{7} on the left, and set it equal to the slope 5\measurement{5} times the change in xx from 33. Watch out: Keep each coordinate with its own variable. Swapping the coordinates of (3,7)\relationship{(3, 7)} puts 33 with y\relationship{y} and 77 with xx, giving the wrong equation y−3=5(x−7)\measurement{y - 3} = \measurement{5}(x - 7).

y−7=5(x−3)\measurement{y - 7} = \measurement{5}(x - 3)
2

Write the equation in point-slope form of the line that passes through (−6,−2)\relationship{(-6, -2)} with a slope of −3\measurement{-3}.

Subtract −6-6 from xx and −2\relationship{-2} from y\relationship{y}, then check that x=−6x = -6 and y=−2\relationship{y} = \relationship{-2} make the two changes equal 00. Watch out: Copying the minus signs from (−6,−2)\relationship{(-6, -2)} directly into the equation without subtracting the negatives gives y−2=−3(x−6)\measurement{y - 2} = \measurement{-3}(x - 6), which passes through (6,2)\relationship{(6, 2)} instead of (−6,−2)\relationship{(-6, -2)}.

y+2=−3(x+6)\measurement{y + 2} = \measurement{-3}(x + 6)
3

To graph the line y−4=35(x+1)\measurement{y - 4} = \measurement{\tfrac{3}{5}}(x + 1) without converting forms, find the starting point given by the equation and the second point you reach by moving 55 steps to the right.

First find the xx- and y\relationship{y}-values that make x+1=0x + 1 = 0 and y−4=0\measurement{y - 4} = 0; from that point, use the slope 35\measurement{\tfrac{3}{5}} to see how much y\relationship{y} changes when xx increases by 55. Watch out: Reading the signs inside the equation without flipping them gives the wrong starting point (1,−4)\relationship{(1, -4)}, which then leads to the wrong second point (6,−1)\relationship{(6, -1)}.

Starting point (−1,4)(-1, 4); second point (4,7)(4, 7)
4

Rewrite the equation y−3=−2(x−5)\measurement{y - 3} = \measurement{-2}(x - 5) in slope-intercept form.

Multiply −2\measurement{-2} by both xx and −5-5 first, then add 3\relationship{3} to both sides to get y\relationship{y} by itself. Watch out: Multiplying −2\measurement{-2} by −5-5 gives +10+10; leaving it negative as −10-10 leads to the wrong answer y=−2x−7\relationship{y} = \measurement{-2}x - \relationship{7}.

y=−2x+13\relationship{y} = \measurement{-2}x + \relationship{13}
5

Find the equation of the line that passes through (2,−1)\relationship{(2, -1)} and (6,11)\relationship{(6, 11)}. Give your answer in point-slope form using either point, and then simplify it to slope-intercept form.

Calculate the slope change in ychange in x\tfrac{\measurement{\text{change in } y}}{\text{change in } x} between (2,−1)\relationship{(2, -1)} and (6,11)\relationship{(6, 11)} first, then choose one of the two points as your starting point. Watch out: Make sure the xx- and y\relationship{y}-coordinates in your equation come from the same point. Mixing y\relationship{y} from (2,−1)\relationship{(2, -1)} with xx from (6,11)\relationship{(6, 11)} gives y+1=3(x−6)\measurement{y + 1} = \measurement{3}(x - 6), which simplifies to y=3x−19\relationship{y} = \measurement{3}x - \relationship{19}.

y+1=3(x−2)\measurement{y + 1} = \measurement{3}(x - 2) or y−11=3(x−6)\measurement{y - 11} = \measurement{3}(x - 6); y=3x−7\relationship{y} = \measurement{3}x - \relationship{7}
6

A tank is being drained at a steady rate of 8\measurement{8} gallons per minute. When you check it at 1515 minutes, there are 200\total{200} gallons of water in the tank. Write an equation in point-slope form for the gallons of water y\total{y} at xx minutes, find how much water is left at 2525 minutes, and find how much water was in the tank at 00 minutes.

Use (15,200)\total{(15, 200)} as your starting point, and pay attention to whether a draining tank means the rate of change is +8\measurement{+8} or −8\measurement{-8}. Watch out: Using +8\measurement{+8} instead of −8\measurement{-8} treats the tank as filling rather than draining, which gives y−200=8(x−15)\measurement{y - 200} = \measurement{8}(x - 15), 280280 gallons at 2525 minutes, and 8080 gallons at 00 minutes.

y−200=−8(x−15)\measurement{y - 200} = \measurement{-8}(x - 15); 120120 gallons at 2525 minutes; 320320 gallons at 00 minutes