Algebra 1Linear Functions2 of 7
Linear Functions · 2

Slope-Intercept Form

We want a way to describe any straight line on a grid with a simple equation, so we can draw the exact line from its equation or write the equation from its graph.

1

What y=mx+b\linevalue{y} = \slope{m}x + \intercept{b} Means

To pin down a specific non-vertical line, we need to know both where it crosses the vertical yy-axis and how much its height changes with each step to the right.

What y = mx + b Means
yy
1010
88
2\htmlClass{lc-blue}{2}
11
xx
−4-4
22
44
Text solution
Start on the yy-axis (x=0x = 0) Before taking any steps left or right, the line crosses the vertical yy-axis at its starting height.
y\displaystyle \linevalue{y} =3\displaystyle = \intercept{3}
Add 2\slope{2} for each step xx to the right Walking xx steps to the right adds 2\slope{2} to the height for every step taken.
y\displaystyle \linevalue{y} =2x+3\displaystyle = \slope{2}x + \intercept{3}

Writing m\slope{m} for how much the height changes with each step and b\intercept{b} for where the line begins on the vertical axis gives Slope-Intercept Form:

y=m⏟slopex+b⏟y-intercept\displaystyle \boxed{\linevalue{y} = \underbrace{\slope{m}}_{\text{slope}} x + \underbrace{\intercept{b}}_{y\text{-intercept}}}

In this family of parallel lines with slope 2\slope{2}, every line rises 2\slope{2} boxes for each step right, while the y-intercept b\intercept{y\text{-intercept } b} sets where the line crosses the vertical axis without changing its steepness.

In this family of parallel lines, the right 1, up 2 step stays the same while the ending number shows where the line crosses the vertical axis.
2

Graphing a Line from y=mx+b\linevalue{y} = \slope{m}x + \intercept{b}

Now we want to use the equation to draw a line on a grid, whether the slope is a fraction like in y=23x+1\linevalue{y} = \slope{\tfrac{2}{3}}x + \intercept{1} or a negative whole number like in y=−3x+4\linevalue{y} = \slope{-3}x + \intercept{4}.

Graphing a Line from y = mx + b
y=23x+1\linevalue{y} = \slope{\dfrac{2}{3}}x + \intercept{1}
yy
66
44
22
xx
00
−2-2
22
44
66
−2-2
xx
yy
00
y=23x+1\htmlClass{lc-violet}{y} = \htmlClass{lc-blue}{\tfrac{2}{3}}x + \htmlClass{lc-orange}{1}
(0,1)(0,\htmlClass{lc-orange}{1})
(3,3)\htmlClass{lc-violet}{(3,3)}
(6,5)\htmlClass{lc-violet}{(6,5)}
(−3,−1)\htmlClass{lc-violet}{(-3,-1)}
33
33
−3-3
+2\htmlClass{lc-blue}{+2}
+2\htmlClass{lc-blue}{+2}
−2\htmlClass{lc-blue}{-2}
xx
yy
00
y=−3x+4\htmlClass{lc-violet}{y} = \htmlClass{lc-blue}{-3}x + \htmlClass{lc-orange}{4}
(0,4)(0,\htmlClass{lc-orange}{4})
(1,1)\htmlClass{lc-violet}{(1,1)}
(2,−2)\htmlClass{lc-violet}{(2,-2)}
11
11
−3\htmlClass{lc-blue}{-3}
−3\htmlClass{lc-blue}{-3}
xx
yy
00
y=23x+1\htmlClass{lc-violet}{y} = \htmlClass{lc-blue}{\tfrac{2}{3}}x + \htmlClass{lc-orange}{1}
(0,1)(0,\htmlClass{lc-orange}{1})
(3,3)\htmlClass{lc-violet}{(3,3)}
(6,5)\htmlClass{lc-violet}{(6,5)}
(−3,−1)\htmlClass{lc-violet}{(-3,-1)}
33
33
−3-3
+2\htmlClass{lc-blue}{+2}
+2\htmlClass{lc-blue}{+2}
−2\htmlClass{lc-blue}{-2}
xx
yy
00
y=−3x+4\htmlClass{lc-violet}{y} = \htmlClass{lc-blue}{-3}x + \htmlClass{lc-orange}{4}
(0,4)(0,\htmlClass{lc-orange}{4})
(1,1)\htmlClass{lc-violet}{(1,1)}
(2,−2)\htmlClass{lc-violet}{(2,-2)}
11
11
−3\htmlClass{lc-blue}{-3}
−3\htmlClass{lc-blue}{-3}
Text solution
Plot the starting point b\intercept{b} on the vertical yy-axis For y=23x+1\linevalue{y} = \slope{\tfrac{2}{3}}x + \intercept{1}, place the starting dot on the vertical axis where x=0x = 0.
(0,1)\displaystyle (0, \intercept{1})
Run right by the bottom number, rise by the top number Running 33 boxes right adds 23\slope{\tfrac{2}{3}} three times, giving a rise of 2\slope{2} whole boxes onto a grid corner (and going backward 33 left and 2\slope{2} down gives (−3,−1)\linevalue{(-3, -1)} on the left side of the same line).
m=RiseRun=23  ⟹  (0+3,1+2)=(3,3)\displaystyle \begin{aligned}\slope{m} &= \frac{\slope{\text{Rise}}}{\text{Run}} = \slope{\frac{2}{3}} \\ &\implies (0 + 3, \intercept{1} + \slope{2}) = (3, 3)\end{aligned}
Write a whole-number slope over 11 For y=−3x+4\linevalue{y} = \slope{-3}x + \intercept{4}, put the whole number over 11 so you run 11 box right and go down 3\slope{3} boxes from (0,4)(0, \intercept{4}).
m=−31  ⟹  (0+1,4−3)=(1,1)\displaystyle \begin{aligned}\slope{m} &= \slope{\frac{-3}{1}} \\ &\implies (0 + 1, \intercept{4} - \slope{3}) = (1, 1)\end{aligned}

Connecting the grid corners gives the upward line through (0,1)(0, \intercept{1}) and (3,3)\linevalue{(3, 3)}, and the downward line through (0,4)(0, \intercept{4}) and (1,1)\linevalue{(1, 1)}.

Try changing the slope m\slope{m} below to see how the run and rise connect grid corners, and how a negative rise tilts the line downward.

From the starting point on the y-axis, the bottom number of the slope tells you how far to step right so your rise or fall lands cleanly on a grid corner.
3

Writing the Equation from a Graph

Now let's go the other way: we are given a graphed line and want to find its equation y=mx+b\linevalue{y} = \slope{m}x + \intercept{b}.

xx
yy
00
11
22
33
(0,−2)(0,\htmlClass{lc-orange}{-2})
(4,1)\htmlClass{lc-violet}{(4,1)}
44
+3\htmlClass{lc-blue}{+3}
Writing the Equation from a Graph
y=? x+?\linevalue{y} = \mathord{\slope{?}}\,x + \mathord{\intercept{?}}
yy
33
22
11
22
xx
00
44
Text solution
Find the yy-intercept b\intercept{b} on the yy-axis Look at the vertical axis (x=0x = 0) to see where the line crosses.
b\displaystyle \intercept{b} =−2\displaystyle = \intercept{-2}
Count rise and run to the next grid corner Skip the spots at x=1,2,3x = 1, 2, 3 where the line's height is between whole numbers, and count the boxes from (0,−2)(0, \intercept{-2}) to the grid corner at (4,1)\linevalue{(4, 1)}.
m\displaystyle \slope{m} =RiseRun\displaystyle = \frac{\slope{\text{Rise}}}{\text{Run}} =34\displaystyle = \slope{\frac{3}{4}}
Plug m\slope{m} and b\intercept{b} into y=mx+b\linevalue{y} = \slope{m}x + \intercept{b} Put both numbers into the equation, writing plus negative 2\intercept{2} simply as minus 2\intercept{2}.
y\displaystyle \linevalue{y} =34x−2\displaystyle = \slope{\frac{3}{4}}x \intercept{- 2}

So the equation of the graphed line is y=34x−2\linevalue{y} = \slope{\tfrac{3}{4}}x \intercept{- 2}.

4

Finding and Testing Points with the Equation

When a point is far off the grid, we can use the equation y=34x−2\linevalue{y} = \slope{\tfrac{3}{4}}x \intercept{- 2} to find the line's height at x=400x = 400 or test whether a point like (8,5)(8, 5) actually sits on the line.

Finding and Testing Points with the Equation
y=34x−2\linevalue{y} = \slope{\dfrac{3}{4}}x \intercept{-2}
yy
33
22
(4,1)\linevalue{(4,1)}
22
xx
00
(0,−2)(0,\intercept{-2})
x=400⟹y=  ?x = 400 \quad\Longrightarrow\quad \linevalue{y} =\;?
Text solution
Plug in x=400x = 400 to find the height Replace the number of steps xx with 400400 and divide 400400 by 44 first to simplify.
y=34(400)−2=300−2=298\displaystyle \begin{aligned} \linevalue{y} &= \slope{\frac{3}{4}}(400) \intercept{- 2} \\ &= 300 \intercept{- 2} \\ &= 298 \end{aligned}
Plug in x=8x = 8 to test (8,5)(8, 5) Find the line's height at x=8x = 8 and compare it to the point's yy-value of 55.
y=34(8)−2=6−2=4\displaystyle \begin{aligned} \linevalue{y} &= \slope{\frac{3}{4}}(8) \intercept{- 2} \\ &= 6 \intercept{- 2} \\ &= 4 \end{aligned}

At 400400 steps to the right, the line sits at height 298298. At x=8x = 8, the line is at height 44, so (8,5)(8, 5) is not on the line: it is 1\gap{1} box above it.

5

Slope-Intercept Form in Word Problems

Many real-world situations follow this exact start-and-step pattern. If you start with $50\$\intercept{50} in a jar and add $20\$\slope{20} every week, we want an equation for your total money y\linevalue{y} after xx weeks so we can predict how much you will have at week 1212.

Slope-Intercept Form in Word Problems
$20\slope{\$20}
per week\text{per week}
$50\intercept{\$50}
week 12:    $ ?\text{week } 12\text{:}\;\; \$\,?
Text solution
Find the starting amount b\intercept{b} and rate of change m\slope{m} At week 00 you begin with $50\$\intercept{50}, and each week xx adds $20\$\slope{20} to the total.
b=50,m=20\displaystyle \begin{aligned}\intercept{b} &= \intercept{50}, \\ \slope{m} &= \slope{20}\end{aligned}
Write the equation and plug in x=12x = 12 Put m\slope{m} and b\intercept{b} into y=mx+b\linevalue{y} = \slope{m}x + \intercept{b}, then plug in 1212 for xx.
y=20x+50=20(12)+50=240+50=290\displaystyle \begin{aligned} \linevalue{y} &= \slope{20}x + \intercept{50} \\ &= \slope{20}(12) + \intercept{50} \\ &= 240 + \intercept{50} \\ &= 290 \end{aligned}

So after 1212 weeks, you will have $290\$290 in the jar.

6

Solving for y\linevalue{y} to Find the Slope and yy-Intercept

Sometimes an equation has xx and y\linevalue{y} on the same side, like 2x+3y=62x + 3y = 6, and we want to find the line's slope and yy-intercept.

Solving for y to Find the Slope and y-Intercept
2x+3y=6y=  ?\displaystyle \begin{aligned}2x + 3y &= 6\\[.35em]\linevalue{y} &=\;?\end{aligned}
Text solution
Subtract the xx-term from both sides Subtract 2x2x from both sides and write −2x-2x in front of 66 (since −2x-2x has an xx and 66 is a plain number, they are not like terms and cannot be combined into 4x4x).
3y\displaystyle 3y =−2x+6\displaystyle = -2x + 6
Divide every term by the number multiplying y\linevalue{y} Divide every single term on both sides by 33 to get y\linevalue{y} completely by itself.
3y3=−23x+63y=−23x+2\displaystyle \begin{aligned} \frac{3y}{3} &= \frac{-2}{3}x + \frac{6}{3} \\ \linevalue{y} &= \slope{-\frac{2}{3}}x + \intercept{2} \end{aligned}

Once y\linevalue{y} is alone, we see that the slope is −23\slope{-\tfrac{2}{3}} (not 22) and the yy-intercept is 2\intercept{2} (not 66).

7

Special Cases: Missing Terms, Horizontal, and Vertical Lines

Now let's handle short equations where part of y=mx+b\linevalue{y} = \slope{m}x + \intercept{b} looks like it is missing, such as y=2x\linevalue{y} = \slope{2}x, y=x−3\linevalue{y} = x \intercept{- 3}, and y=4\linevalue{y} = \intercept{4}, along with vertical lines like x=3\fixedposition{x} = \fixedposition{3}, which cannot be written in y=mx+b\linevalue{y} = \slope{m}x + \intercept{b} form at all.

Special Cases: Missing Terms, Horizontal, and Vertical Lines
y=2x\linevalue{y} = \slope{2}x
yy
66
44
22
xx
00
−2-2
22
44
−2-2
−4-4
xx
yy
00
11
33
−2-2
22
y=4\htmlClass{lc-violet}{y} = \htmlClass{lc-orange}{4}
slope=0\text{slope} = \htmlClass{lc-blue}{0}
(0,4)(0,\htmlClass{lc-orange}{4})
xx
yy
00
11
−2-2
22
x=3\htmlClass{lc-green}{x} = \htmlClass{lc-green}{3}
slope undefined\text{slope undefined}
(3,−2)(\htmlClass{lc-green}{3},-2)
(3,0)(\htmlClass{lc-green}{3},0)
(3,1)(\htmlClass{lc-green}{3},1)
(3,2)(\htmlClass{lc-green}{3},2)
no y-intercept\text{no }y\text{-intercept}
xx
yy
00
11
33
−2-2
22
y=4\htmlClass{lc-violet}{y} = \htmlClass{lc-orange}{4}
slope=0\text{slope} = \htmlClass{lc-blue}{0}
(0,4)(0,\htmlClass{lc-orange}{4})
xx
yy
00
11
−2-2
22
x=3\htmlClass{lc-green}{x} = \htmlClass{lc-green}{3}
slope undefined\text{slope undefined}
(3,−2)(\htmlClass{lc-green}{3},-2)
(3,0)(\htmlClass{lc-green}{3},0)
(3,1)(\htmlClass{lc-green}{3},1)
(3,2)(\htmlClass{lc-green}{3},2)
no y-intercept\text{no }y\text{-intercept}
Text solution
No number at the end (y=2x\linevalue{y} = \slope{2}x) Adding 0\intercept{0} does not change the equation, so the line starts at the origin (0,0)(0, \intercept{0}) and goes right 11, up 2\slope{2}.
y\displaystyle \linevalue{y} =2x+0\displaystyle = \slope{2}x + \intercept{0}
No number written in front of xx (y=x−3\linevalue{y} = x \intercept{- 3}) An xx by itself means 1x\slope{1}x, so the line starts at (0,−3)(0, \intercept{-3}) and goes right 11, up 1\slope{1}.
y\displaystyle \linevalue{y} =11x−3\displaystyle = \slope{\frac{1}{1}}x \intercept{- 3}
No xx-term at all (y=4\linevalue{y} = \intercept{4}) The xx-term is multiplied by 0\slope{0}, so the line starts at height 4\intercept{4} and rises 0\slope{0} for every step right, making a flat horizontal line.
y\displaystyle \linevalue{y} =0x+4\displaystyle = \slope{0}x + \intercept{4}
A vertical line (x=3\fixedposition{x} = \fixedposition{3}) The line x=3\fixedposition{x} = \fixedposition{3} never crosses the yy-axis and has zero run (making its slope undefined because we can't divide by 00), so it cannot be written as y=mx+b\linevalue{y} = \slope{m}x + \intercept{b}. Instead, every point on the line simply has x\fixedposition{x} fixed at 3\fixedposition{3}.
x\displaystyle \fixedposition{x} =3\displaystyle = \fixedposition{3}

It is easy to mix up y=4\linevalue{y} = \intercept{4} and x=3\fixedposition{x} = \fixedposition{3} because the horizontal axis is the xx-axis. If you ever aren't sure, plot two quick points that fit the equation: (0,4)(0, \intercept{4}) and (1,4)(1, \intercept{4}) sit at the same height, which draws a flat horizontal line for y=4\linevalue{y} = \intercept{4}, whereas (3,0)(\fixedposition{3}, 0) and (3,1)(\fixedposition{3}, 1) stack straight up and down for x=3\fixedposition{x} = \fixedposition{3}.

Tilt the line flat or straight up and down below to see the rise drop to 0\slope{0} for a horizontal line, or the line run parallel to the yy-axis with every point at the same x\fixedposition{x} for a vertical line.

Tilt the line to see why a flat line only needs a y\linevalue{y}-number in its equation, and a vertical line only needs an x\fixedposition{x}-number.

Key concepts

Every non-vertical line can be written in Slope-Intercept Form:

y\displaystyle \linevalue{y} =m⏟slopex+b⏟y-intercept\displaystyle = \underbrace{\slope{m}}_{\text{slope}} x + \underbrace{\intercept{b}}_{y\text{-intercept}}

Think of the equation as two instructions: b\intercept{b} is where the line begins on the vertical yy-axis (or the starting amount at x=0x = 0 in a word problem, like starting with $50\$\intercept{50} in y=20x+50\linevalue{y} = \slope{20}x + \intercept{50}), and m=RiseRun\slope{m} = \tfrac{\slope{\text{Rise}}}{\text{Run}} is how the line moves from there. To graph y=23x+1\linevalue{y} = \slope{\tfrac{2}{3}}x + \intercept{1}, start at (0,1)(0, \intercept{1}), run right by the bottom number 33, and rise by the top number 2\slope{2} to hit the grid corner (3,3)\linevalue{(3, 3)}; for a whole-number slope like y=−3x+4\linevalue{y} = \slope{-3}x + \intercept{4}, put the slope over 11 (−31\slope{\tfrac{-3}{1}}) to go right 11, down 3\slope{3}. Going the other way from a graph, find b\intercept{b} on the yy-axis first and use another point whose coordinates you can read exactly to count rise over run.

Do not read m\slope{m} and b\intercept{b} off an equation until y\linevalue{y} is completely alone on one side: in 2x+3y=62x + 3y = 6, subtract 2x2x and divide every term by 33 first to get y=−23x+2\linevalue{y} = \slope{-\tfrac{2}{3}}x + \intercept{2}. When pieces look missing, fill in the unwritten numbers: y=2x\linevalue{y} = \slope{2}x is y=2x+0\linevalue{y} = \slope{2}x + \intercept{0} (starts at the origin), y=x−3\linevalue{y} = x \intercept{- 3} is y=1x−3\linevalue{y} = \slope{1}x \intercept{- 3} (slope 1\slope{1}), and y=4\linevalue{y} = \intercept{4} is y=0x+4\linevalue{y} = \slope{0}x + \intercept{4} (a flat horizontal line with slope 0\slope{0}). Finally, y=mx+b\linevalue{y} = \slope{m}x + \intercept{b} cannot be used for a vertical line because its slope is undefined. An equation like x=3\fixedposition{x} = \fixedposition{3} keeps x\fixedposition{x} at 3\fixedposition{3} for every point on the line.

8

Practice

1

To graph y=−4x+5y = -4x + 5, where do you place the starting dot on the yy-axis, how do you write the slope as rise over run, and what point do you land on after taking 11 step to the right?

What number can you put underneath a whole-number slope so it has a run to the right?

Place the starting dot on the yy-axis Set x=0x = 0 to start on the vertical axis (putting the dot on the horizontal axis gives (5,0)(5, 0)).
(0,5)\displaystyle (0, \intercept{5})
Write the slope as rise over run and step right 11 Put −4\slope{-4} over 11 so you run 11 right and go down 4\slope{4} (going up 44 instead of down 4\slope{4} would land at (1,9)(1, 9)).
m=−41  ⟹  (0+1,5−4)=(1,1)\displaystyle \begin{aligned}\slope{m} &= \slope{\frac{-4}{1}} \\ &\implies (0 + 1, \intercept{5} - \slope{4}) = (1, 1)\end{aligned}
Start at (0,5)(0, \intercept{5}) on the yy-axis, write the slope as −41\slope{\tfrac{-4}{1}} (right 11, down 4\slope{4}), and land at (1,1)(1, 1).
2

You are graphing y=35x−1\linevalue{y} = \slope{\tfrac{3}{5}}x \intercept{- 1}. Starting from the yy-intercept at (0,−1)(0, \intercept{-1}), what grid-corner point do you reach by taking one full rise-over-run step forward to the right, and what grid-corner point do you reach by going one full step backward to the left?

In RiseRun=35\tfrac{\slope{\text{Rise}}}{\text{Run}} = \slope{\tfrac{3}{5}}, use the bottom number for your horizontal step and the top number for your vertical step, then reverse both directions to go backward.

Step forward to the right From (0,−1)(0, \intercept{-1}), run right 55 and rise up 3\slope{3} (swapping rise and run by going right 33 and up 55 gives (3,4)(3, 4)).
(0+5,−1+3)\displaystyle (0 + 5, \intercept{-1} + \slope{3}) =(5,2)\displaystyle = (5, 2)
Step backward to the left Reverse both directions by going left 55 and down 3\slope{3} (going left 55 while still going up 33 lands off the line at (−5,2)(-5, 2)).
(0−5,−1−3)\displaystyle (0 - 5, \intercept{-1} - \slope{3}) =(−5,−4)\displaystyle = (-5, -4)
Going right 55 and up 3\slope{3} lands at (5,2)(5, 2); going backward left 55 and down 3\slope{3} lands at (−5,−4)(-5, -4).
3

A graphed line crosses the vertical yy-axis at −4-4. At x=1x = 1 and x=2x = 2, the line's height is between whole numbers. At x=3x = 3, it passes through the grid corner (3,−2)(3, -2). Write the equation of this line in slope-intercept form.

Count how many boxes you rise up from height −4-4 to height −2-2, and put that over the run from x=0x = 0 to x=3x = 3.

Find b\intercept{b} and count rise over run to (3,−2)\linevalue{(3, -2)} Going from −4\intercept{-4} up to −2-2 is a rise of +2\slope{+2} over a run of 33 (using the yy-coordinate −2-2 directly as the rise gives y=−23x−4y = -\tfrac{2}{3}x - 4, and putting run over rise gives y=32x−4y = \tfrac{3}{2}x - 4).
b=−4,m=23\displaystyle \begin{aligned}\intercept{b} &= \intercept{-4}, \\ \slope{m} &= \slope{\frac{2}{3}}\end{aligned}
y\displaystyle \linevalue{y} =23x−4\displaystyle = \slope{\frac{2}{3}}x \intercept{- 4}
4

Does the line y=34x−2\linevalue{y} = \slope{\tfrac{3}{4}}x \intercept{- 2} pass through the point (60,42)(60, 42)? If not, is (60,42)(60, 42) above or below the line, and by how many boxes?

Plug x=60x = 60 into the equation to find the line's height at that xx, then compare 4242 to the line's height.

Find the line's height at x=60x = 60 Divide 6060 by 44 to get 1515, then multiply by 33 and subtract 22.
y=34(60)−2=45−2=43\displaystyle \begin{aligned} \linevalue{y} &= \slope{\frac{3}{4}}(60) \intercept{- 2} \\ &= 45 \intercept{- 2} \\ &= 43 \end{aligned}
Compare the point's height of 4242 to the line's height of 4343 (don't flip the comparison and say 4242 is 11 box above 4343).
No. At x=60x = 60, y=34(60)−2=43\linevalue{y} = \slope{\tfrac{3}{4}}(60) \intercept{- 2} = 43, so (60,42)(60, 42) is 1\gap{1} box below the line.
5

A candle burns down 22 centimeters every hour from a starting height of 1818 centimeters. Write an equation in slope-intercept form for the candle's height yy after xx hours, and find its height after 77 hours.

Because the candle gets shorter each hour, should the rate of change m\slope{m} be positive or negative?

Write the equation with starting height 18\intercept{18} and rate −2\slope{-2} Use m=−2\slope{m} = \slope{-2} since the height goes down by 2\slope{2} cm per hour (using +2+2 instead of −2\slope{-2} gives y=2x+18y = 2x + 18 and a height of 3232 cm).
y\displaystyle \linevalue{y} =−2x+18\displaystyle = \slope{-2}x + \intercept{18}
Plug in x=7x = 7 hours
y=−2(7)+18=−14+18=4\displaystyle \begin{aligned} \linevalue{y} &= \slope{-2}(7) + \intercept{18} \\ &= -14 + \intercept{18} \\ &= 4 \end{aligned}
y=−2x+18\linevalue{y} = \slope{-2}x + \intercept{18}; after 77 hours, the height is 44 centimeters.
6

Rewrite the equation 5x+2y=85x + 2y = 8 in slope-intercept form, and give the line's slope and yy-intercept.

Subtract the xx-term from both sides first, then divide every term on both sides by the number multiplying yy.

Subtract 5x5x from both sides Keep the minus sign on −5x-5x when subtracting it from both sides (dropping the minus sign gives y=52x+4y = \tfrac{5}{2}x + 4).
2y\displaystyle 2y =−5x+8\displaystyle = -5x + 8
Divide every term by 22 Divide both −5x-5x and 88 by 22 (forgetting to divide the 88 by 22 leaves a yy-intercept of 88).
2y2=−52x+82y=−52x+4\displaystyle \begin{aligned} \frac{2y}{2} &= \frac{-5}{2}x + \frac{8}{2} \\ \linevalue{y} &= \slope{-\frac{5}{2}}x + \intercept{4} \end{aligned}
y=−52x+4\linevalue{y} = \slope{-\tfrac{5}{2}}x + \intercept{4}; the slope is −52\slope{-\tfrac{5}{2}} and the yy-intercept is 4\intercept{4}.
7

Find the slope mm and yy-intercept bb of each line: (a) y=6xy = 6x and (b) y=x−5y = x - 5.

In (a), what number is added at the end when none is written? In (b), how many xx's are in front of −5- 5?

Write in the unwritten 0\intercept{0} and 1\slope{1} In (a), y=6x\linevalue{y} = \slope{6}x is y=6x+0\linevalue{y} = \slope{6}x + \intercept{0}. In (b), an xx by itself means 1x\slope{1}x (saying the slope is 00 because no number is written in front of xx would make the equation y=−5y = -5).
y\displaystyle \linevalue{y} =1x−5\displaystyle = \slope{1}x \intercept{- 5}
(a) m=6\slope{m} = \slope{6}, b=0\intercept{b} = \intercept{0}; (b) m=1\slope{m} = \slope{1}, b=−5\intercept{b} = \intercept{-5}.
8

Line A is a horizontal line passing through (0,−3)(0, -3). Line B is a vertical line passing through (4,−1)(4, -1), (4,0)(4, 0), and (4,2)(4, 2). Write the equation and give the slope of each line.

Check which coordinate, the height yy or the left-to-right position xx, stays at a single number for all points on the line.

Fix yy for the horizontal line and xx for the vertical line Line A stays at height y=−3\linevalue{y} = \intercept{-3} with zero rise, while Line B keeps x=4\fixedposition{x} = \fixedposition{4} for every point with zero run (don't swap the letters to x=−3x = -3 and y=4y = 4 or call the vertical line's slope 00).
Line A: y=−3 (m=0),Line B: x=4 (slope undefined)\displaystyle \begin{aligned}\text{Line A: } \linevalue{y} &= \intercept{-3} \text{ (}\slope{m} = \slope{0}\text{)}, \\ \text{Line B: } \fixedposition{x} &= \fixedposition{4} \text{ (slope undefined)}\end{aligned}
Line A has equation y=−3\linevalue{y} = \intercept{-3} and slope 0\slope{0}; Line B has equation x=4\fixedposition{x} = \fixedposition{4} and undefined slope.