Slope-Intercept Form (y = mx + b)

Learn to write, graph, and interpret linear equations in slope-intercept form, the most useful form for understanding how lines behave.

Advanced20 minLesson

Definition

The slope-intercept form of a linear equation is , where:
  • is the slope (rate of change, or how steep the line is)
  • is the y-intercept (where the line crosses the y-axis)
  • and are the variables
This form makes it easy to graph a line: start at point on the y-axis, then use the slope to find more points.

Try it now

What is the slope of ?

Worked Examples

Find the slope and y-intercept of

1

Compare to the standard form

Matches the pattern

2

Identify m (the coefficient of x)

Slope is

3

Identify b (the constant term)

Y-intercept is

Common Mistakes

Confusing slope and y-intercept

Why it's wrong: Students often mix up which number is m and which is b

Correct: In , the slope (m) is always the coefficient of x, and b is the constant at the end

Forgetting negative signs

Why it's wrong: In , students might say b = 5 instead of b = -5

Correct: Rewrite as to see that

Plotting slope backwards

Why it's wrong: With slope , going right 2 and up 3 instead of up 2 and right 3

Correct: Slope = rise/run, so numerator is vertical change, denominator is horizontal change

Not starting at y-intercept

Why it's wrong: Starting to graph from origin instead of the y-intercept

Correct: Always start at point on the y-axis, then use slope to find other points

Incorrect conversion from standard form

Why it's wrong: When solving for y, dividing incorrectly

Correct: Subtract 3x first: , then divide ALL terms by 2:

Interactive Visual

Linear Function Explorer

y = x
Slope (m)1
Y-Intercept (b)0
b
run
rise

Equation Solver

Ready to solve some equations?

Equation type:Two-step

Follow along as we solve the equation step by step.

Balance Scale

x + 3=7
x
3
7
Apply to both sides:

Solution: x = 4

Interactive Sandbox

Interactive Grapher

Try these examples:

y = 2x + 1

m=2, b=1

Practice Problems

18 problems
Problem 1 of 18
Easy

What is the slope of ?

Why It Matters

Understanding slope-intercept form is one of the most practical math skills you will ever learn. It appears everywhere in real life:
Financial Planning: When you have a cell phone plan with a monthly fee plus per-minute charges, or a gym membership with a signup fee plus monthly dues, you are dealing with linear relationships. The slope-intercept form helps you compare plans and make smart decisions.
Science and Engineering: Scientists use linear equations to model everything from chemical reactions to population growth. Engineers use them to design ramps, roads, and structures with the correct incline.
Everyday Predictions: If you know how much something costs per unit plus a base fee, you can predict the total cost for any quantity. This applies to taxi fares, electricity bills, catering costs, and countless other situations.

Real World Applications

Cell Phone Plans

Cell phone plans often have a base monthly fee plus a charge per gigabyte of data used. Understanding slope-intercept form helps you compare plans and predict your bill.

Example:

A plan costs 20 dollars per month plus 5 dollars per GB. The equation is where x is GB used and y is total cost.

1Try It Yourself

You are comparing two phone plans. Plan A costs 30 dollars per month plus 3 dollars per GB of data. You used 8 GB last month.

What was your total bill with Plan A?

Step 1: Write the mathematical expression

Write the equation in the form: base cost + (cost per GB times GB used)

Taxi Fare Calculator

Taxi fares typically include a flat pickup fee plus a rate per kilometer or mile. This is a perfect example of slope-intercept form in action.

Example:

A taxi charges 4 euros pickup fee plus 2 euros per km. For a 10 km trip: euros.

2Try It Yourself

A taxi service charges 5 euros as a base fare plus 1.50 euros per kilometer. You need to travel 12 kilometers.

What will the total fare be?

Step 1: Write the mathematical expression

Write the fare formula: base fare + (rate per km times distance)

Gym Membership

Gym memberships often have a one-time registration fee plus monthly dues. The slope represents the monthly rate, and the y-intercept is the signup cost.

Example:

A gym charges 50 dollars to join plus 25 dollars per month. After 6 months: dollars total.

3Try It Yourself

A fitness center charges an 80 dollar registration fee plus 35 dollars per month. You want to calculate your total cost after 4 months.

What is the total amount you will have paid?

Step 1: Write the mathematical expression

Write the total cost formula: registration fee + (monthly fee times months)

Key Takeaways

  • 1The slope-intercept form is , where m is slope and b is y-intercept
  • 2Slope (m) tells you how steep the line is and whether it goes up or down
  • 3Y-intercept (b) is where the line crosses the y-axis, at point
  • 4Positive slope means the line rises from left to right
  • 5Negative slope means the line falls from left to right
  • 6To graph: start at , then use slope (rise over run) to find more points
  • 7You can convert any linear equation to slope-intercept form by solving for y

Frequently Asked Questions

In the equation , m represents the slope (the rate of change, or how steep the line is), and b represents the y-intercept (where the line crosses the y-axis). The slope tells you how much y changes for each unit increase in x.
In the equation , m represents the slope (the rate of change, or how steep the line is), and b represents the y-intercept (where the line crosses the y-axis). The slope tells you how much y changes for each unit increase in x.
Start by plotting the y-intercept at point on the y-axis. Then use the slope: if , move up (or down if negative) by the rise and right by the run to find another point. Connect the points with a straight line.
A negative slope means the line goes downward from left to right. As x increases, y decreases. For example, in , the line falls 2 units for every 1 unit you move to the right.
To convert from standard form () to slope-intercept form, solve for y. Subtract the x term from both sides, then divide all terms by the coefficient of y. For example: becomes .
A fractional slope works the same way. For , rise 2 units and run 3 units. For negative fractions like , fall 1 unit and run 4 units (or rise 1 and run 4 to the left).
Yes! Lines with the same slope are parallel - they never intersect. For example, and both have slope 2 but different y-intercepts, so they are parallel lines.

Glossary

Slope-Intercept Form
The equation , where m is the slope and b is the y-intercept
Slope
The rate of change of a line, calculated as rise over run (). It describes how steep the line is.
Y-Intercept
The point where a line crosses the y-axis, written as where b is the constant in slope-intercept form
Linear Equation
An equation whose graph is a straight line, with variables raised only to the first power
Coefficient
The number multiplied by a variable. In , the coefficient of x is 3
Rise
The vertical change between two points on a line (change in y)
Run
The horizontal change between two points on a line (change in x)
Parallel Lines
Lines that have the same slope but different y-intercepts; they never intersect

Formula Card

Slope-Intercept Form

m = slope, b = y-intercept

Slope Formula

Calculate slope from two points

Finding Y-Intercept

Find b when you know a point and slope

More in This Topic