Learning Objectives
- Write a linear equation in slope-intercept form.
- Identify the slope and yy-intercept given a linear equation.
- Write the linear equation of a graphed line.
- Graph a linear equation in slope-intercept form.
Key words
- Slope-intercept form: a linear equation in the form y=mx+by=mx+b
Slope-Intercept Form
When an equation is written in the form y=mx+by=mx+b it is said to be in slope-intercept form. Let’s see why it has that name. Consider the equation y=2x+3y=2x+3. If we set x=0x=0, then y=2(0)+3=3y=2(0)+3=3. This means that the point (0,3)(0,3) is the yy-intercept of the line formed by the equation.

Figure 1. Graph of y=2x+3y=2x+3
The graph in figure 1, also shows that the point (−2−1)(−2−1) lies on the graph. Consequently, the slope of the line is m=y2−y1x2−x1=3−(−1)0−(−2)=42=2m=y2−y1x2−x1=3−(−1)0−(−2)=42=2. This is the coefficient of xx in the equation y=2x+3y=2x+3. So with slope = mm and the yy-intercept =(0,b)=(0,b), the equation written in the form y=mx+by=mx+b immediately tells us the slope, mm, and the yy-intercept, (0,b)(0,b).
Slope-Intercept Form of a Linear Equation
In the equation y=mx+by=mx+b,
- mm is the slope of the graph.
- bb is the yy-coordinate of the yy-intercept (0,b)(0,b) of the graph.
Examples
Find the slope and yy-intercept of the line with the given equation:
1. y=−3x+7y=−3x+7
2. y=23x−15y=23x−15
3. 2x−3y=62x−3y=6
Solution
1. m=−3 and b=7 so the slope is −3 and the y-intercept is the point (0,7)m=−3 and b=7 so the slope is −3 and the y-intercept is the point (0,7)
2. m=23 and b=−15 so the slope is 23 and the y-intercept is the point (0,−15)m=23 and b=−15 so the slope is 23 and the y-intercept is the point (0,−15)
3. We first have to rearrange the equation to solve for yy:
2x−3y=6−3y=−2x+6y=23x−22x−3y=6−3y=−2x+6y=23x−2
So, m=23 and b=−2 so the slope is 23 and the y-intercept is the point (0,2)So, m=23 and b=−2 so the slope is 23 and the y-intercept is the point (0,2)
Try It
Find the slope and yy-intercept of the line with the given equation:
1. y=6x−1y=6x−1
2. y=47x−23y=47x−23
3. 5x−y=105x−y=10
We can also find the linear equation that represents te graph of a line If we know the slope and the yy-intercept.
Example
Write the equation of the line that has a slope of 1212 and a y-intercept of (0,−5)(0,−5).
Solution
Substitute the slope, mm, into y=mx+by=mx+b.
y=12x+by=12x+b
Substitute bb, into the equation.
y=12x−5y=12x−5
Answer
y=12x−5y=12x−5
Example
Write the equation of the line in the graph by identifying the slope and yy-intercept.
Solution
Identify the point where the graph crosses the yy-axis (0,3)(0,3). This means that b=3b=3. Identify one other point and draw a slope triangle to find the slope.
Slope: m=−23m=−23.
Substitute mm and bb into the slope-intercept equation.
y=mx+by=−23x+by=−23x+3
Answer
y=−23x+3
When we are given an equation in the slope-intercept form of y=mx+b, we can identify the slope and y-intercept and use these to graph the equation. When we have an equation in slope-intercept form we can graph it by first plotting the y-intercept, then using the slope to find a second point, and connecting the dots.
Example
Graph y=12x−4 using the slope-intercept equation.
Solution
First, plot the y-intercept.

Now use the slope to count up or down and over left or right to the next point. This slope is 12, so we can count up one and right two—both positive because both parts of the slope are positive.
Connect the dots.
NOTE: it is important for the equation to first be in slope-intercept form. If it is not, we have to solve it for y so we can identify the slope and the y-intercept.
Try It
Watch the video below for another example of how to write the equation of the line, when given a graph, by identifying the slope and y-intercept.
Candela Citations
- Slope-Intercept Form. Authored by: Hazel McKenna. Provided by: Utah Valley University. License: CC BY: Attribution
- Edited and adapted: Slope-Intercept Form of a Line. Authored by: Mathispower4u. License: Public Domain: No Known Copyright
- Edited and adapted: Beginning and Intermediate Algebra. Authored by: Tyler Wallace. License: CC BY: Attribution