Find Slope and y-Intercept from Equation - Process

Interactive · 3 questions

y = mx + b

The slope-intercept form is a way to describe the equation of a straight line (a linear function). It appears in the form of y=mx+by = mx + b, where mm and bb are constants and yy and xx are variables. Scroll to the bottom of this explanation to see some examples of equations in slope intercept form.

In slope-intercept equations, yy and xx will always appear as yy and xx, because they are variables that describe the position of specific points on the graph. mm and bb describe features of the function that stay consistent no matter what xx and yy are.

Be careful: for an equation to be in lope-intercept form, the yy must be by itself on its side of the equation. If there is a constant right before the y,y, it must be divided out so that yy is isolated.

y=mx+b
m=slope
y and x=varibales
b=constant

Image source: by Anusha Rahman

Slope

mm is the slope of the line. In slope-intercept form, it is the constant right before the x.x. Slope can be positive or negative, so keep that in mind when you read slope-intercept equations.

What is the slope in the equation y=−14x+6y = -\frac{1}{4}x + 6

Choose one answer

Video · + 1 min read

(Video) Finding the Equation of a Line in Slope-Intercept Form

by Mahalo Math

Mahalo Math has a good video that explains the slope-intercept form of linear functions and equations.

Summary\large{\text{Summary}}

You need a minimum of two points to be able to define a line. So, suppose we have the points: (3,−5)and(6,2)(3,-5)\quad\text{and}\quad(6,2)

Using these points, we want to write the equation of the line in slope intercept form which looks like: y=mx+by=mx+b Here, mm is the slope and bb is the yy-intercept.

Slope-Intercept Form

Step 1: Find the Slope

The first step is to use the two points to find the slope. We plug the points (3,−5)({\color{#8925AE}{3}},{\color{#8925AE}{-5}}) and (6,2)({\color{#29A603}{6}},{\color{#29A603}{2}}) into: m=y2−y1x2−x1m=2−(−5)6−3m=73\begin{align} m&=\frac{y_2-y_1}{x_2-x_1}\\ m&=\frac{{\color{#29A603}{2}}-({\color{#8925AE}{-5}})}{{\color{#29A603}{6}}-{\color{#8925AE}{3}}}\\ m&=\frac{7}{3} \end{align}

The slope of the line between these points is 73\frac73. We can fill this in. y=73x+by={\color{#8925AE}{\frac73}}x+b

Step 2: Find the yy-intercept

The next step is to find the yy-intercept. To do this, we want to plug any one of the points on the line into the equation we have so far, y=73x+by=\frac73x+b, and solve for bb.

Let's plug in the point (3,−5)(3,-5) and see what we get. y=73x+b−5=73(3)+b−5=7+b−12=b\begin{align} y&=\frac73x+b\\ -5&=\frac73(3)+b\\ -5&=7+b\\ -12&=b \end{align}

Our line crosses the yy-axis at (0,−12)(0,-12). Using this we can complete the equation of our line. y=73x−12y=\frac73x-12

Graph of y = 7x/3 - 12.

Made using Desmos

Word Problem

A parking garage charges $b\$b, plus $m\color{#8925AE}{\$m} per hours parked. Carrie parks in the garage for 2\color{#8925AE}{2} hours and pays $5\color{#29A603}{\$5}. The next day, she parks for 5\color{#8925AE}{5} hours and pays $9.50\color{#29A603}{\$9.50}. Find m\color{#8925AE}{m}.

We know the formula for slope is: m=y2−y1x2−x1m=\frac{y_2-y_1}{x_2-x_1}

We can plug in the given numbers to find the slope. m=y2−y1x2−x1m=($9.50−$55−2)m=($4.503)m=1.5\begin{align} m&=\frac{y_2-y_1}{x_2-x_1}\\ m&=\left(\frac{{\color{#29A603}{\$9.50}}-{\color{#29A603}{\$5}}}{{\color{#8925AE}{5}}-{\color{#8925AE}{2}}}\right)\\ m&=\left(\frac{{\color{#29A603}{\$4.50}}}{{\color{#8925AE}{3}}}\right)\\ m&=\color{#8925AE}{1.5} \end{align}

So, the slope of the line that represents the parking fee at the garage is m=$1.50\color{#8925AE}{m=\$1.50}.

Video · + 1 min read

(Video) Graphing a Linear Equation Using Slope

by mathman1024

This video by mathman1024 walks you through reading linear equations for slope and yy-intercept, as well as using that information to graph them.

Summary\large{\text{Summary}}

The slope-intercept form of a line is: y=mx+by=mx+b where mm is the slope and bb is the yy-intercept. The yy-intercept is always where the line intersects the yy-axis, and will always appear as (0,b)(0,b) in coordinate form.

In the first video, mathman1024 looks at the equation: y=32x−1y=\frac32x-1 This equation is already in slope-intercept form, so we can tell that the slope is m=32m=\frac32 and the yy-intercept is b=−1b=-1 or (0,−1)(0,-1).

The steps mathman1024 uses to graph the line are:

  1. Find the slope, mm.
  2. Find the yy-intercept, bb.
  3. Plot the yy-intercept.
  4. Use the slope to plot additional points.
  5. Draw the line.
Graph of y = 3x/2 - 1.
y=32x−1y=\frac32x-1

=== Made using Desmos

(Video) Graphing a Linear Equation Using Slope

by mathman1024

This video works through a problem where the equation isn't in slope-intercept form. The equation is: 2x+5y=152x+5y=15

So, the first step is to transform the equation into slope-intercept form by getting it so that the yy is by itself. 2x+5y=152x − 2x+5y=15 − 2x5y=15−2x5y5=15−2x5y=3−25xy=−25x+3\begin{align} 2x+5y &=15\\ 2x\,{\color{#8925AE}{-\,2x}}+5y &=15\,{\color{#8925AE}{-\,2x}}\\ 5y &=15-2x\\ \frac{5y}{{\color{#8925AE}{5}}} &=\frac{15-2x}{\color{#8925AE}{5}}\\ y &=3-\frac25x\\ y &=-\frac25x+3 \end{align}

Now we can see that the slope is m=−25m=-\frac25 and the yy-intercept is the point (0,3)(0,3). Using the same steps from above the graph becomes:

Graph of y = -2x/5 + 3.
y=−25x+3y=-\frac25x+3

=== Made using Desmos

Practice Problem 1

Given the equation 10x+5y=2510x+5y=25, find the slope and yy-intercept.

Choose one answer

Video · + 1 min read

(Video) Writing Equations of Lines

by mathman1024

Mathman1024 demonstrates how to write linear equations in slope-intercept form in these two videos.

Summary\large{\text{Summary}}

The equation for slope-intercept form is: y=mx+by=mx+b In this form, mm is the slope of the line and the bb is the yy-intercept.

If you already know what the slope and yy-intercept of a line are, all you have to do is plug them into the format. Currently, we know: m=7y-int=(0,45)\begin{align} m&=7 \\ y\text{-int}&=\left(0,\frac45\right) \end{align} Now, plug in the information into the slope-intercept formula. The equation of this line would be: y=7x+45y=7x+\frac45

Test Yourself

Find the equation of a line using the following information: m=−32.4y-int=(0,103)\begin{align} m &= -32.4\\ y\text{-int} &= (0, 103) \end{align}

Choose one answer

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems