Pre-Algebra • Expressions, Equations & Inequalities

Slope & Intercept — I can interpret slope as a rate of change and intercept as an initial value in a context.

Learn how slope tells you the speed of change and intercept tells you where things start.

Middle School Math emblem with sigma notation, geometric shapes, and a ruler.
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

Historical Context & Motivation

People have been tracking change for thousands of years. Ancient farmers noticed how crops grew taller each week. Traders tracked how prices rose or fell over months. But for a long time, nobody had a simple math tool to describe how fast something changes or where it starts.

Over centuries, mathematicians built the ideas we now call slope and intercept. These two numbers let you describe any straight-line pattern with a simple equation.

~300 BC • Euclid Studies Lines

The Greek mathematician Euclid wrote about lines, angles, and shapes. He laid the groundwork for geometry, but he didn't yet use equations to describe lines.

1637 • Descartes Invents the Coordinate Plane

René Descartes, a French thinker, created the x-y coordinate plane. This let people draw lines using numbers and equations for the first time.

1800s • Slope-Intercept Form Becomes Standard

Mathematicians began writing equations in the form y = mx + b. The letter m stood for slope, and b stood for the y-intercept. This became the go-to way to describe straight lines.

Today • Slope & Intercept Are Everywhere

Scientists, business owners, and even phone apps use slope and intercept to predict trends—like how fast a city grows or how much a streaming service charges.

Here's the big question this lesson answers: when you see a straight-line pattern in real life, how do you figure out how fast things are changing and where they started? That's exactly what slope and intercept tell you.

SECTION 2

Core Principles & Definitions

Before we dive into calculations, let's nail down the key ideas. Every straight-line relationship has two important pieces of information hiding inside it.

1

Slope = Rate of Change

Slope tells you how much the output (y) changes every time the input (x) goes up by 1. Think of it as the "speed" of the line.
2

Y-Intercept = Starting Value

The y-intercept is the value of y when x equals 0. It's where the story begins—the initial amount before any changes happen.
3

Positive vs. Negative Slope

A positive slope means the line goes up from left to right (things increase). A negative slope means it goes down (things decrease).
4

Slope-Intercept Form: y = mx + b

This is the standard equation of a line. The letter m stands for slope. The letter b stands for the y-intercept.
✦

KEY TAKEAWAY

Think of slope and intercept like a taxi ride. The y-intercept is the base fare you pay just for getting in the cab. The slope is the cost per mile. Even if you drive zero miles, you still pay the base fare (that's the intercept). Each extra mile adds the same amount to your total (that's the slope).

SECTION 3

Visual Explanation

A picture really helps here. The diagram below shows a coordinate plane with a line that represents the equation y = 2x + 3. Notice how the line crosses the y-axis at the point (0, 3). That crossing point is the y-intercept. Then, every time x goes up by 1, y goes up by 2. That "rise over run" is the slope.

Graph of y = 2x + 30123451234xy(0, 3) ← y-interceptrun = 1rise = 2Slope (m) = rise ÷ runm = 2 ÷ 1 = 2b = 3
The purple dot marks the y-intercept at (0, 3). The dashed lines show the rise (how far up) and run (how far right) that make the slope.

In the graph above, the cyan line goes up from left to right. That tells you the slope is positive. The dashed pink line shows the rise (the vertical change), and the dashed yellow line shows the run (the horizontal change). Slope equals rise divided by run.

SECTION 4

Mathematical Framework

Now let's look at the formulas you'll use. There are really just two main equations to know.

SLOPE-INTERCEPT FORM

y=mx+by = mx + b

y = the output (what you're measuring). m = the slope (rate of change). x = the input (like time or distance). b = the y-intercept (the starting value when x = 0).

SLOPE FORMULA

m=(y2−y1)÷(x2−x1)m = (y₂ − y₁) ÷ (x₂ − x₁)

Pick any two points on the line: (x₁, y₁) and (x₂, y₂). Subtract the y-values (that's the rise), then subtract the x-values (that's the run). Divide rise by run to get slope.

Let's break down what each part means in real life. Imagine you're saving money. If you already have $10 in your piggy bank and you add $5 each week, then b = 10 (your starting amount) and m = 5 (the rate you add money). Your equation would be y = 5x + 10, where x is the number of weeks.

FINDING THE Y-INTERCEPT

b=y−mxb = y − mx

If you know the slope (m) and one point on the line (x, y), you can rearrange the equation to find b. Just plug in the values and solve.

💡

Quick Tip

A slope of 0 means the line is perfectly flat—nothing is changing. The y-value stays the same no matter what x is. If you see a flat line on a graph, the rate of change is zero.

SECTION 5

What Slope & Intercept Mean in Context

The coolest thing about slope and intercept is that they always tell you something meaningful in a real-world situation. Let's see several examples to make this click.

SituationWhat Slope (m) MeansWhat Intercept (b) Means
A plant grows 2 cm per week, starting at 5 cmGrowth rate: 2 cm per weekStarting height: 5 cm
A phone plan costs $15/month plus $0.10 per textCost per text: $0.10Base monthly fee: $15
A bathtub drains 3 gallons per minute, starting with 60 gallonsDrain rate: −3 gallons per minute (negative because water decreases)Starting water: 60 gallons
You earn $8 per hour babysittingHourly pay rate: $8 per hour$0 (no money before you start working)

Examples of slope and intercept in everyday life

Comparing Two Phone PlansPlan A: y = 0.10x + 15 | Plan B: y = 0.05x + 25$0$10$20$30$40050100150200250Number of TextsTotal Cost ($)b = $15b = $25Plan A (steeper)Plan B (less steep)Steeper = higher rate
Plan A (cyan) starts cheaper at $15 but charges more per text. Plan B (pink) starts at $25 but charges less per text. The steeper line has a higher rate of change (larger slope).

Look at the two lines in the graph. Plan A has a steeper slope (0.10 per text vs. 0.05), so it climbs faster. But Plan B has a higher y-intercept ($25 vs. $15), so it starts at a higher cost. Eventually the lines cross—that's the point where both plans cost the same. After that, Plan A becomes more expensive because its rate of change is higher.

SECTION 6

Worked Example

Let's work through a full problem together. Read carefully and follow along!

The Lemonade Stand

  1. 1

    Step 1 — Read the Problem

    Maya opens a lemonade stand. She spent $8 on supplies before selling anything. She earns $2 for every cup she sells. Write an equation for her total profit (y) based on the number of cups sold (x). Then find her profit after selling 10 cups.
  2. 2

    Step 2 — Identify the Slope and Y-Intercept

    The slope (m) is the rate of change. Maya earns $2 per cup, so m = 2. The y-intercept (b) is the starting value. Before she sells any cups (x = 0), she is $8 in the hole. So b = −8.
    m = 2, b = −8
  3. 3

    Step 3 — Write the Equation

    Plug the slope and intercept into y = mx + b.
    y = 2x + (−8) → y = 2x − 8
  4. 4

    Step 4 — Substitute x = 10

    Maya sells 10 cups, so x = 10. Replace x with 10 in the equation: y = 2(10) − 8. First multiply: 2 × 10 = 20. Then subtract: 20 − 8 = 12.
    y = 12 → Maya's profit is $12 after selling 10 cups.
  5. 5

    Step 5 — Interpret the Answer

    The slope of 2 means Maya earns $2 for every additional cup she sells. The intercept of −8 means she started $8 behind because of her supply costs. After selling 10 cups, she has earned $20 total but subtracts the $8 she spent, leaving $12 in profit.

SECTION 7

Common Mistakes & How to Avoid Them

Even strong math students mix up slope and intercept sometimes. Here are the most common mistakes and how to dodge them.

MistakeWhy It HappensHow to Fix It
Mixing up m and bStudents forget which letter is which in y = mx + b.Remember: m = multiplied by x (it's the rate). b = by itself (it's the starting value with no x).
Forgetting the negative sign on slopeWhen a quantity decreases, the slope is negative. Students sometimes drop the minus sign.Ask yourself: is the quantity going up or down? If down, the slope must be negative.
Flipping rise and runStudents put the x-change on top instead of the y-change.Slope = rise (y-change on top) ÷ run (x-change on bottom). Think: 'rise up first, then run across.'
Thinking b is always positiveIn problems involving debt or loss, the starting value can be negative.Read the context! If you start owing money or below zero, b is negative.

Common mistakes when working with slope and intercept

✦

KEY TAKEAWAY

Think of slope and intercept like a recipe. The intercept (b) is the ingredient you start with (like flour already in the bowl). The slope (m) is how much of another ingredient you add each time (like adding one egg per batch). If you confuse them, your recipe—and your math—won't turn out right!

SECTION 8

Connection to Advanced Topics

Slope and intercept are not just a one-time topic. They are the foundation for many ideas you'll meet in algebra and beyond. Here's a sneak peek at how this concept grows.

What You Learn NowWhat You'll Learn Later
Slope as a constant rate of changeIn calculus, slope becomes the derivative—a rate of change that can vary at every point on a curve.
y = mx + b for one lineSystems of equations use two or more lines at once to find where they cross.
Positive and negative slopesIn statistics, the slope of a best-fit line shows the trend in real data—like whether temperatures are rising over decades.
y-intercept as a starting valueIn exponential models, the starting value works with a growth factor instead of a constant rate—like how a virus spreads.

How slope and intercept connect to future math courses

The good news? If you understand slope as a rate of change and intercept as a starting value right now, you'll already have a head start in algebra, statistics, and even calculus. These ideas never go away—they just get more powerful.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

In the equation y = 4x + 7, what does the 4 represent and what does the 7 represent?
Show answer
The 4 is the slope, which represents the rate of change. It means y increases by 4 every time x increases by 1. The 7 is the y-intercept, which represents the starting value. It's the value of y when x equals 0. In a real-world context, you might think of 7 as the initial amount before any changes happen.

Question 2: BASIC CALCULATION

A line passes through the points (0, 5) and (3, 14). Find the slope (m) and the y-intercept (b). Then write the equation in slope-intercept form.
Show answer
Use the slope formula: m = (y₂ − y₁) ÷ (x₂ − x₁) = (14 − 5) ÷ (3 − 0) = 9 ÷ 3 = 3. Since one of the points is (0, 5), the y-intercept is b = 5 (the y-value when x = 0). The equation is y = 3x + 5. This means for every 1 unit increase in x, y increases by 3, and the line starts at 5 on the y-axis.

Question 3: INTERMEDIATE

A line passes through (2, 11) and (5, 23). Find the slope and the y-intercept. Write the equation of the line.
Show answer
First, find the slope: m = (23 − 11) ÷ (5 − 2) = 12 ÷ 3 = 4. Next, find b using one of the points. Plug (2, 11) into y = mx + b: 11 = 4(2) + b → 11 = 8 + b → b = 3. The equation is y = 4x + 3. The slope of 4 means y goes up by 4 for every 1 that x goes up, and the y-intercept of 3 means the line crosses the y-axis at 3.

Question 4: APPLIED

A swimming pool has 200 gallons of water and is being drained at a rate of 15 gallons per minute. Write an equation for the amount of water (y) remaining after x minutes. How many gallons remain after 8 minutes? When will the pool be empty?
Show answer
The starting amount is 200 gallons, so b = 200. The water decreases by 15 gallons each minute, so the slope is m = −15 (negative because the amount is going down). The equation is y = −15x + 200. After 8 minutes: y = −15(8) + 200 = −120 + 200 = 80 gallons remain. To find when the pool is empty, set y = 0: 0 = −15x + 200 → 15x = 200 → x = 200 ÷ 15 ≈ 13.3 minutes. The pool empties in about 13 minutes and 20 seconds.

Question 5: CRITICAL THINKING

Two friends start saving money. Amir already has $30 saved and adds $5 per week. Bella has $0 saved but adds $8 per week. Write an equation for each person. After how many weeks will Bella have more money saved than Amir? Explain what the slope and intercept tell you about each person's savings.
Show answer
Amir: y = 5x + 30 (slope 5, intercept 30). Bella: y = 8x + 0, or y = 8x (slope 8, intercept 0). To find when they have the same amount, set the equations equal: 5x + 30 = 8x → 30 = 3x → x = 10 weeks. At 10 weeks, both have $80. After 10 weeks, Bella's steeper slope (8 vs. 5) means she saves faster, so she passes Amir. The intercept shows Amir's head start ($30 vs. $0), but the slope shows Bella catches up because her rate of change is higher. This is a great example of how a higher slope can overcome a lower starting value.

SUMMARY

Lesson Summary

Summary

Every straight-line relationship can be written as y = mx + b. The slope (m) is the rate of change—it tells you how much y changes for every 1-unit increase in x. A positive slope means things go up; a negative slope means they go down. You calculate slope using rise ÷ run, or (y₂ − y₁) ÷ (x₂ − x₁).

The y-intercept (b) is the initial value—the value of y when x equals 0. It's where the line crosses the y-axis and where the story begins. In real-life problems, always ask yourself: what does the slope mean in this context, and what does the intercept mean? That's the key skill that turns a math formula into a tool you can actually use.

Varsity Tutors • Pre-Algebra • Slope & Intercept