- Home
- GED Math Test Prep
- Linear Functions

# Slope intercept form: y = mx + b

- Intro Lesson: a19:10
- Intro Lesson: b10:45
- Intro Lesson: c12:32
- Lesson: 1a2:06
- Lesson: 1b1:54
- Lesson: 2a1:54
- Lesson: 2b2:48
- Lesson: 2c2:55
- Lesson: 3a0:32
- Lesson: 42:03
- Lesson: 51:01
- Lesson: 6a3:16
- Lesson: 6b10:14
- Lesson: 6c2:21

## Slope Intercept Form y = mx + b

__What is Slope Intercept Form__

Slope intercept form is one of the three forms we can use to express a straight line. The other forms are called point slope form and standard form, but we will mostly be using slope intercept form in this section. Using slope intercept form, we express the equation of a line to be:

You may know $x$ and $y$ to be coordinates of a point on a graph, but what are $m$ and $b$?

## What is b in y=mx+b?

The letter b is a number that represents when the line touches the y-axis. We also refer to this as the "y-intercept". For example, let's draw a straight line on the coordinate plane.

If you were to look closely at the y-axis, the straight line touches the y-axis at a specific place. Where is that place? That would be the number 3 because that is where the y-axis and the line intersect. This means we can conclude that b = 3.

## What is m in slope intercept form?

The letter m is a number that represents the slope of the line. Some people refer to the slope as rise over run. Recall that if we have two points, then we are able to find the slope of the two points by using the slope formula

The same idea works here. If we take any two points on a straight line, then we can find the slope of the line using the above formula! For example, let's use this line.

Notice the points (2, 3) and (0, 1) are on this graph. So why don't we use these two points to find the slope of the line? Using the formula, we would get:

That means the slope of this line is $1$!

You can also use the rise over run concept here as well. To go from the point (0, 1) to (2, 3), we have to go $2$ units right and $2$ units up. That means rise is $2$ and run is $2$, thus $\frac{2}{2} = 1$.

The special thing about slopes is that we can use **any** two points on the line to find it. So if you took two different points on this line, you would still get that the slope is $1$.

## How to write an equation in slope intercept form?

You may know what the slope intercept form looks like, but half the time you will be given equations that are **not** in that form. So it is your job to turn it into slope-intercept form. How do we do that? The goal is to always isolate the $y$ term. For example, let's say you're given the equation

To isolate $y$, we move the $6x + 4$ to the right side of the equation

Now the $2$ is in the way of $y$, so we are going to get rid of it by dividing both sides of the equation by $2$.

Since $y$ is isolated, you can see that it is in slope intercept form $y = mx + b$ where $m = -3$, and $b = -2$.

Now that we know the y intercept and slope really well, why don't we look at specific questions about finding them!

__How to find y intercept?__

**Question 1**: Using the linear equation $y = \frac{1}{2} x + 5$, find y intercept.

Notice here that the equation is already in the slope intercept form $y = mx + b$. We just need to find out what $b$ is. We can see that $b = 5$, so the y intercept is $5$.

Let's do a slightly harder question.

**Question 2**: Determine the y-intercept of $2x -
4y = 8$

Now this linear equation is not in slope intercept form, so we have to change it into that form first. Our goal is to isolate $y$ in this equation.

See that if we move the $2x$ to the right side of equation, we will have:

Now dividing both sides by $-4$, we will get:

Now switching the positions of the two terms gives us:

We can clearly see that the equation is in slope intercept form $y = mx + b$. Just by looking at the equation, we can see that $= -2$, and so the y intercept is $-2$. Let's do another similar question.

**Question 3**: Determine the y intercept of $4y - 8 = 0$.

This may look a bit weird because there is no $x$ term, but our goal remains the same. We are going to isolate $y$.

Moving the $-8$ to the right side of the equation gives us:

Dividing both sides of the equation by $4$ gives us

Now this may not look like it, but the equation is in slope intercept form. It's just that $m = 0$, so the entire $mx$ term has disappeared. Just rewrite the equation as

From observing, you can tell that $b = 2$, and so the y intercept is $2$. Let's do one more question.

**Question 4**: Determine (if possible) the y intercept of $5x - 15 = 0$.

This one is interesting because the equation has no $y$ term. So how are we supposed to put it in slope intercept form? Well, the only thing we can do right now is isolate for $x$, so let's try that for now.

Moving the $15$ to the right hand side of equation we have:

Dividing both sides of the equation gives:

Now we are going to draw this on a graph. Notice that in this equation, $x$ is forced to be $3$ and cannot be anything else. However, it doesn't say anything about $y$, so $y$ can be anything it likes. If we were to write a table of values, we get:

If we plot these points on a coordinate plane and draw the line, we have:

Notice how the line **never** touches the y-axis. This means the equation **does not** have a y intercept. Now that we covered all the cases of finding the y intercept, let's look at questions which ask us to find the slope!

__How to find the slope of an equation?__

**Question 5**: Find the slope of $y = \frac{3}{2}x + 1$

Notice here that this is in the slope intercept form $y = mx + b$, so by observing, we already know that $m = \frac{3}{2}$. Hence, the slope is $\frac{3}{2}$!

**Question 6**: Determine the slope of the linear equation $6x - 6y = 0$

As you can see, the equation is not in slope intercept form, so we have to convert it into that form first. Our goal is to isolate $y$.

Moving $6x$ to the right side of the equation gives:

Dividing both sides by $-6$ gives:

Notice that this is actually in slope intercept form $y = mx + b$. It's just that the y intercept $b$ in this case is $0$, and $x$ is the same as $1x$. So we can rewrite the equation to:

Now by observing, we see that $m = 1$. Since $m$ is the slope, then the slope must be $1$. Let's do a slightly harder one

**Question 7**: Determine the slope of $2y - 4 = 0$

Again, this is a little weird because we have no $x$ term. However, our goal to isolate $y$ stays the same.

Moving $-4$ to the right side of the equation we have:

Dividing both sides of the equation by $2$ gives:

See here that it is now in slope intercept form, except the term $mx$ is hidden because $m = 0$. So we can rewrite our equation as:

Since $m = 0$, then we have a zero slope. If you are wondering what a line with $0$ slope looks like, then here is a graph for you to see.

**Question 8**: Find (if possible) the slope of the linear equation $16 - 4x = 0$

In this case, $y$ cannot be isolated because there is no $y$ term. So the only thing we can do is to isolate $x$.

Moving $16$ to the right side of the equation gives:

Dividing both sides by $-4$, we get:

This is still not in slope intercept form, so our only hope of attaining the slope is to draw a graph of this line. Again, we see that $x$ is always forced to be $4$, but $y$ can be anything it likes because there is no $y$ term. If we were to write a table of values, we get:

If we plot these points on a coordinate plane and draw the line, we have:

This is a vertical line. So what is the slope of a vertical line? Let's try to figure that out by finding the rise and the run. See how this line is always rising infinitely, but there is no run whatsoever. So that means run is $0$. So if we calculate the slope, then we will get:

We cannot divide by $0$, so we actually have an undefined slope.

## What is an undefined slope?

An undefined slope is a slope that goes straight up in the graph. As seen in the graph above, the slope rises infinitely and has no run. As a result, we get an undefined slope because we cannot divide by $0$.

In general, we always get an undefined slope whenever we get a straight vertical line!

Let's look at some other unique questions!

__Finding equation from one point__

**Question 9**: A point (2, 6) passes through an equation of $y = -5x + b$. Find "$b$".

Notice here that (2, 6) is a coordinate that tells us when $x = 2$, then $y = 6$. So to solve for $b$, we simply plug the $x$ and $y$ values into the equation.

Isolating and solving for $b$ gives:

Recall that $b$ is also known as the y-intercept, so the y intercept is $16$ as well!

__Finding slope from two points__

**Question 10**: Given two points (6, 1) and (-10, 9), find the slope of the line.

Recall that to find the slope of the line, we use the slope equation

Hence using this formula gives us:

What if we are supposed to find the entire equation of a line instead?

__Equation of a line given two points__

**Question 11**: Given two points (-6, 1) and (2, 6), find the slope intercept form equation.

We are basically trying to find the equation in the form of $y = mx + b$. In order to do this, we need to look for $m$ and $b$.

Recall that to find $m$, we use the slope equation

Hence using this formula gives us:

So now we have the equation

Now we have to look for $b$. To solve $b$, we pick either of the given points and plug it into the equation. We can do that because both points lie on the line, and **any points** on the line would satisfy the equation. Let's use the point (2, 6). See that:

Isolating $b$ gives:

Putting this in decimal form, we get that $b = 4.75$. Hence, our slope intercept form equation is:

The last thing to cover in this section is to find the domain and range of a line.

__How to find domain and range?__

To find the **domain** of a line, we are basically asking ourselves this question: what can $x$ be? If $x$ can be those values, then we add them into the domain.

The same thing goes for **range**. What can $y$ be? If $y$ can be those values, then we add them in the range. Let's do an example.

**Question 12**: Find the domain and range of the equation $y = 2x + 1$.

Notice that if we draw the graph of this line, then we will get:

What can $x$ be in this line? Notice that $x$ can be **anything** because with any $x$ value, we can get a point that is on the line. The **same** goes for **y**. We can always pick a $y$ value that gives us a point on a line. So we say that

where R means "all real numbers". Let's do a harder one.

**Question 13**: Find the domain and range of the equation $y = -2$.

Now if we draw this line on a graph, we will get:

Notice that $x$ can be anything because with any $x$ value, we can get a point that is on the line as long as $y = -2$. However, look at $y$. You see that $y$ is forced to $-2$ and cannot be anything else. The moment you pick another $y$ value (like $1$), then that point is going to be out of the line. So that means:

**Question 14**: Find the domain and range of the equation $x = 1$.

Now if we draw this line on a graph, we will get:

You see that $x$ is forced to $1$ and cannot be anything else. The moment you pick another $x$ value (like $2$), then that point is going to be out of the line.However, look at $y$. Notice that $y$ can be anything because with any $y$ value, we can get a point that is on the line as long as $x = 1$

So that means:

If you had a lot of problems drawing the graphs to obtain the domain and range, I recommend you use this calculator.

https://www.desmos.com/calculator/2rnqgoa6a4It teaches you how to graph a linear equation. All you have to do is type the values of $m$ and $b$ in. Then it will automatically draw the line for you! This is also useful when you are trying to find the slope intercept form.

##### Do better in math today

##### Don't just watch, practice makes perfect

### Slope intercept form: y = mx + b

#### Lessons

- Introductiona)Overview: Slopes of linesb)What is Slope intercept form?
- What is so important about it?

c)Slope intercept form VS. General form VS. Slope-point form - 1.Determine the Slope-Y-int form from the graph.a)

b)

- 2.Determine the slope, Y-int, domain, and range of the following linear function.a)$y = {3 \over 2}x +1$b)$3x - 5y = 8$c)$4x - 15 = 0$
- 3.Given the slope & Y-Int, write the equation in the slope -intercept forma)$m = 7, b = -2$
- 4.A point $(2,6)$ passes through an equation of $y = -5x + b$. Find "$b$".
- 5.A point $(1,4)$ passes through an equation of $y = mx - 5$. Find "$m$".
- 6.Given two points through a line, find the slope-intercept forma)$(-6, 1)$ & $(2, 6)$b)$({-4 \over 7}, 4)$ & $(2, {3 \over4})$c)$(6, 1)$ & $(-10, 9)$