Slope Intercept Form
Slope-intercept form is one of the most powerful tools in algebra for understanding linear equations. It gives you two key pieces of information at a glance: how steep a line is (the slope) and where it crosses the vertical axis (the y-intercept), making graphing a breeze.

What Exactly Is Slope-Intercept Form?
Slope-intercept form is a specific way of writing a linear equation, given by the formula
Let's break down what each part of this powerful equation means:
and : These are the variables. They represent the coordinates of any point that lies on the straight line. For any you plug in, the equation will give you the corresponding value. : This is the slope of the line. The slope tells you how steep the line is and in which direction it's going (uphill or downhill from left to right). : This is the y-intercept. The y-intercept is the point where the line crosses the y-axis. Its coordinate is always .
By simply looking at an equation like
How Does the Slope ('m') Work?
The variable
The "rise" tells you how many units to move up or down, while the "run" tells you how many units to move left or right. If you have any two points on a line,
There are four types of slope you'll encounter:
- Positive Slope (
): The line goes uphill as you move from left to right. For example, a slope of means you go up units for every unit you go to the right. - Negative Slope (
): The line goes downhill as you move from left to right. For example, a slope of means you go down units for every units you go to the right. - Zero Slope (
): The line is perfectly horizontal. There is no "rise" at all. - Undefined Slope: The line is perfectly vertical. There is no "run," which would mean dividing by zero in the slope formula. These lines cannot be written in slope-intercept form.
Find the slope of the line that passes through the points
Solution:
Let's label our points. Let
The slope of the line is
What Is the Y-Intercept ('b')?
The variable
Think about any point on the y-axis. What do all those points have in common? Their x-coordinate is always
- If you have the equation
, the y-intercept is . The line crosses the y-axis at the point . - If you have the equation
, the y-intercept is . The line crosses the y-axis at the point . - If you have the equation
, it might look like there's no . But you can rewrite it as . So, the y-intercept is , and the line crosses the y-axis at the origin, .
Identifying the y-intercept is the critical first step when you want to graph a line quickly from its slope-intercept form.
How Do You Graph an Equation Using Slope-Intercept Form?
Graphing a linear equation is incredibly fast and easy when it's in slope-intercept form,
- Identify and Plot the Y-Intercept (
): Look at the equation and find the value of . Plot this point on the y-axis. This is your starting point, . - Use the Slope (
) to Find a Second Point: Interpret the slope as "rise over run" ( ). Starting from your y-intercept, count the "rise" (up for positive, down for negative) and then the "run" (always to the right). Place your second point there. - Draw the Line: Use a ruler to draw a straight line that passes through the two points you've plotted. Extend the line across your entire graph and add arrows to both ends to show it continues forever.
Graph the linear equation
Solution:
- Step 1: Identify
and .
By comparing to , we can see that:- The slope is
. - The y-intercept is
.
- The slope is
- Step 2: Plot the y-intercept.
The y-intercept is , so our starting point is . Find on the y-axis and plot a point. - Step 3: Use the slope to find the next point.
The slope is . This means "rise , run ". Starting from our point , we count up units (to ) and then right units (to ). This brings us to our second point at . Plot this point. - Step 4: Draw the line.
Take a ruler and draw a straight line connecting and . Extend the line and add arrows. You have now successfully graphed the equation!
How Do You Write an Equation in Slope-Intercept Form?
Sometimes you'll be given information about a line and asked to write its equation in slope-intercept form. The goal is always the same: find the values for
Scenario 1: Given the Slope and Y-Intercept
This is the easiest case. If you are told a line has a slope of
Equation:
Scenario 2: Given Two Points
This is a more common and challenging problem. If you are given two points, you must first calculate the slope, and then use that slope and one of the points to solve for the y-intercept.
- Calculate the slope (
) using the slope formula: . - Write the partial equation
, substituting the slope you just found for . - Pick one of the original points
and substitute its coordinates into the partial equation for and . - Solve the resulting equation for
. - Write the final equation using the values you found for
and .
Write the equation of the line in slope-intercept form that passes through the points
Solution:
- Step 1: Find the slope (
).
Let and . So, our slope is . - Step 2: Write the partial equation.
We know , so our equation is . We still need to find . - Step 3: Substitute a point to solve for
.
Let's use the point . We will substitute and into our partial equation. - Step 4: Solve for
.
Add to both sides to isolate : So, our y-intercept is . - Step 5: Write the final equation.
Now we have our slope and our y-intercept . We put them together to get the final equation:

What About Horizontal and Vertical Lines?
Two special types of lines, horizontal and vertical lines, have unique equations. It's important to understand how they relate to the
Horizontal Lines
A horizontal line is perfectly flat. It has no steepness, meaning it doesn't rise or fall as you move from left to right. Therefore, its slope is always zero.
- Slope:
If we plug
This simplifies to:
This makes sense! A horizontal line crosses the y-axis at some point
Vertical Lines
A vertical line goes straight up and down. Its slope is considered undefined. Why? Let's take two points on a vertical line, like
Since we cannot divide by zero, the slope is undefined. Because a vertical line has an undefined slope, it is impossible to write the equation of a vertical line in slope-intercept form.
Instead, a vertical line is defined by its x-coordinate, which is constant for every point on the line. Its equation is always in the form:
Where
What Are Common Mistakes with Slope-Intercept Form?
Slope-intercept form is straightforward, but a few common mistakes can trip students up. Be on the lookout for these pitfalls!
- Mixing Up Rise and Run: A very common error is to calculate the slope as
instead of . Always remember: you rise (change in ) before you run (change in ). - Ignoring Negative Signs: Forgetting a negative sign on the slope or the y-intercept is easy to do but will completely change your line. An equation like
is very different from . Double-check your signs! - Mishandling Negative Slopes when Graphing: A negative slope like
can be confusing. Remember that the negative sign can apply to either the numerator OR the denominator, but not both. So, you can either go down 4, right 5 OR up 4, left 5. Both will land you on the correct line. A common mistake is going down and left, which would actually create a positive slope. - Forgetting the Y-Intercept is a Point: The value
is a number, but the y-intercept is a point on the graph with coordinates . Don't just look for the number on the x-axis; it must be on the y-axis. - Confusing
and : Remember that is a horizontal line (zero slope), while is a vertical line (undefined slope). They are not interchangeable. - Incorrectly Rearranging Equations: When an equation is not in slope-intercept form, like
, you must solve for correctly. A common mistake is to just move the over and not divide everything by . The correct rearrangement is , which then becomes .
Quick Reference Summary
Feeling overwhelmed? Keep this simple table handy. It breaks down the slope-intercept formula into its essential parts for a quick review.
| Component | Variable | What It Represents | Key Details |
|---|---|---|---|
| Equation Form | A linear equation | The most direct way to see a line's properties. | |
| Slope | The steepness and direction of the line. | Calculated as | |
| Y-Intercept | The point where the line crosses the y-axis. | The coordinates of this point are always | |
| X-Coordinate | The independent variable. | Represents the horizontal position on the graph. | |
| Y-Coordinate | The dependent variable. | Represents the vertical position on the graph. Its value depends on |
Frequently Asked Questions
What is the main advantage of slope-intercept form?
The main advantage is that it makes graphing lines very fast. You can immediately see the y-intercept to plot your first point, and then use the slope to find a second point without needing to create a table of values.
Can any linear equation be written in slope-intercept form?
Almost any linear equation can be written in slope-intercept form. The only exception is a vertical line, like
What does a slope of 0 mean?
A slope of
How do I handle a whole number slope like m=3 when graphing?
To use a whole number slope for 'rise over run', simply write it as a fraction over 1. For example, a slope of
What if a linear equation is not in y = mx + b form?
If an equation is in a different form, like
Is the y-intercept always positive?
No, the y-intercept (b) can be positive, negative, or zero. A negative y-intercept, like
Does the slope-intercept form work for curved lines?
No, slope-intercept form is exclusively for linear equations, which produce straight lines. Curved lines are described by other types of equations, such as quadratic equations (e.g.,
What's the difference between slope and y-intercept?
The slope (m) describes the steepness and direction of the entire line. The y-intercept (b) is a specific location; it is the single point where the line crosses the vertical y-axis.