If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Intro to slope-intercept form

Learn about the slope-intercept form of two-variable linear equations, and how to interpret it to find the slope and y-intercept of their line.

What you should be familiar with before taking this lesson

What you will learn in this lesson

  • What is the slope-intercept form of two-variable linear equations
  • How to find the slope and the y-intercept of a line from its slope-intercept equation
  • How to find the equation of a line given its slope and y-intercept

What is slope-intercept form?

Slope-intercept is a specific form of linear equations. It has the following general structure. Drum roll ...
y=mx+b
Here, m and b can be any two real numbers. For example, these are linear equations in slope-intercept form:
  • y=2x+1
  • y=3x+2.7
  • y=10100x
On the other hand, these linear equations are not in slope-intercept form:
  • 2x+3y=5
  • y3=2(x1)
  • x=4y7
Slope-intercept is the most prominent form of linear equations. Let's dig deeper to learn why this is so.

The coefficients in slope-intercept form

Besides being neat and simplified, slope-intercept form's advantage is that it gives two main features of the line it represents:
  • The slope is m.
  • The y-coordinate of the y-intercept is b. In other words, the line's y-intercept is at (0,b).
For example, the line y=2x+1 has a slope of 2 and a y-intercept at (0,1):
A coordinate plane. The x- and y-axes each scale by one. The graph of the line is y equals two x plus one. The y-intercept, zero, one, is plotted and labeled. There is a horizontal dotted segment from zero, one to one, one. There is a vertical dotted segment from one, one to one, three. The dotted segments are labeled slope equals two.
The fact that this form gives the slope and the y-intercept is the reason why it is called slope-intercept in the first place!

Check your understanding

Problem 1
What is the slope of the line represented by y=5x7?
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

Problem 2
What is the slope of the line represented by y=x+9?
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

Problem 3
What is the y-intercept of the line represented by y=6x11?
Choose 1 answer:

Problem 4
What is the y-intercept of the line represented by y=4x?
Choose 1 answer:

Problem 5
What is the slope of the line represented by y=18x?
  • Your answer should be
  • an integer, like 6
  • a simplified proper fraction, like 3/5
  • a simplified improper fraction, like 7/4
  • a mixed number, like 1 3/4
  • an exact decimal, like 0.75
  • a multiple of pi, like 12 pi or 2/3 pi

Problem 6
Which lines have a y-intercept at (0,4)?
Choose all answers that apply:

Reflection question
How do we find the slope of a line that is given in slope-intercept form?
Choose 1 answer:

Challenge problem 1
A coordinate plane. The horizontal axis is labeled x. The vertical axis is labeled y. The graph of the line is falling from left to right and has a positive y-intercept.
Which of these can be the equation of the line?
Choose 1 answer:

Challenge problem 2
Write an equation of a line whose slope is 10 and y-intercept is (0,20).

Why does this work?

You might be wondering how it is that in slope-intercept form, m gives the slope and b gives the y-intercept.
Can this be some sort of magic? Well, it certainly is not magic. In math, there's always a justification. In this section we'll take a look at this property using the equation y=2x+1 as an example.

Why b gives the y-intercept

At the y-intercept, the x-value is always zero. So if we want to find the y-intercept of y=2x+1, we should substitute x=0 and solve for y.
y=2x+1=20+1Substitute x=0=0+1=1
We see that at the y-intercept, 2x becomes zero, and therefore we are left with y=1.

Why m gives the slope

Let's refresh our memories about what slope is exactly. Slope is the ratio of the change in y over the change in x between any two points on the line.
Slope=Change in yChange in x
If we take two points where the change in x is exactly 1 unit, then the change in y will be equal to the slope itself.
Slope=Change in y1=Change in y
Now let's look at what happens to the y-values in the equation y=2x+1 as the x-values constantly increase by 1 unit.
xy
01+02=1
11+12=1+2
21+22=1+2+2
31+32=1+2+2+2
41+42=1+2+2+2+2
We see that each time x increases by 1 unit, y increases by 2 units. This is because x determines the multiple of 2 in the calculation of y.
As stated above, the change in y that corresponds to x increasing by 1 unit is equal to the slope of the line. For this reason, the slope is 2.
Challenge problem 3
A coordinate plane. The x- and y-axes each scale by one. The graph of a line goes through the points zero, negative three and one, one. Both of these points are plotted and labeled.
Complete the equation of the line.
y=

Want to join the conversation?