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.

Lesson 7: Writing slope-intercept equations

# Slope-intercept form review

Review slope-intercept form and how to use it to solve problems.

## What is slope-intercept form?

Slope-intercept is a specific form of linear equations in two variables:
$y=mx+b$
When an equation is written in this form, $m$ gives the slope of the line and $b$ gives its $y$-intercept.

## Finding slope-intercept equation from features or graph

### Example 1: Equation from slope and intercept

Suppose we want to find the equation of the line whose slope is $-1$ and $y$-intercept is $\left(0,5\right)$. Well, we simply plug $m=-1$ and $b=5$ into slope-intercept form!
$y=-1x+5$

### Example 2: Equation from two points

Suppose we want to find the line that passes through the points $\left(0,-4\right)$ and $\left(3,-1\right)$. First, we notice that $\left(0,-4\right)$ is the $y$-intercept. Second, we use the two points to find the slope:
Now we can write the equation in slope-intercept:
$y=1x-4$
Problem 1
Write the equation of the line whose slope is $5$ and $y$-intercept is $\left(0,-7\right)$.
$y=$

Want to try more problems like this? Check out these exercises:

## Finding features and graph from slope-intercept equation

When we have a linear equation in slope-intercept form, we can quickly find the slope and $y$-intercept of the corresponding line. This also allows us to graph it.
Consider, for example, the equation $y=2x+3$. We can quickly tell that the corresponding line has a slope of $2$ and its $y$-intercept is $\left(0,3\right)$. Now we can graph the line:
Problem 1
What is the slope of the line $y=3x-1$?
What is the $y$-intercept of the line?
$\left(0,$
$\right)$

Want to try more problems like this? Check out these exercises:

## Want to join the conversation?

• How do you an equation into slope intercept from slope and y intercept?
• It's quite easy.
Slope-intercept form: y = mx + b
The "m" is the slope. The "b" is the y-intercept.
So, if the problem tells you the slope = 3/4 and the y-intercept is -5, then you can create the equation by:
-- swap out "m" and put in 3/4
-- swap out "b" and put in -5
You get the equation: y = 3/4 (x) - 5
Hope this helps.
• This has no use in the real world.
• Slope? It can be used later to calculate really important things.
• I still don't know how to graph, this is so hard... :(
• y=mx+b

y=y
m=any number
x=x
b=any number
b is the y intercept, which is when x is zero what y is.
Did this help? Or do you not understand how to graph from a slope intercept form?
• I don't understand this.
• you said that two years ago i want to see if you will respond to my reply what grade are u in
• this was great practice thx
• how do you find the slope
• Here's my explanation :)
The slope of the line is another way of saying How steep is this line?
To find an exact number for that, we use the concept rise over run.
First, you find two points on the line, (Let's say our points are (3,3) and (4,5))
Next you find out how much the line runs, aka how much it goes sideways within the two points we picked. To do that, you take the point with the greatest x value, and subtract the x value of the other point:
4-3=1
Now let's find the rise aka how much the line goes up within the two points we picked. To do that, we take the y value of our first point, and subtract the y value of our second point:
5-3=2
Now we have our Rise (2) and our Run (1), so let's put Rise over Run:
2/1
simplify
2
And we have the slope of the line!
• how can i graph lines without having the y intercept on the graph?
• You can graph any line from its equation by finding and graphing any 2 points that satisfy the equation.

Alternatively, if you know the slope and any point on the line you can graph the point and use the slope to find more points on the line.

You can find more details in the lessons at this link: https://www.khanacademy.org/math/algebra/two-var-linear-equations
• Does anyone know a good way to solve the linear equations word problems? I don't know how how to find the b in y=mx+b
(1 vote)
• The b is the value of the quantity represented by y in the word problem, when the quantity represented by x in the word problem is zero.

For example, if x represents time, then the b can be thought of as the initial (or starting) value of the quantity represented by y.

For example, if y represents the total monthly charge for x kilowatt-hours electricity, and the company charges a constant rate per kilowatt-hour plus a constant monthly service fee, then the b represents the service fee.

Have a blessed, wonderful day!