Back
Slope — Lesson
📐 Algebra · Geometry

Understanding Slope

Learn what slope is, how to calculate it, and where you'll find it in real life.

🏔️ What Is Slope?

Imagine you're walking down a street. If the street is flat, you don't feel any effort. If it goes uphill, your heart beats faster. If it goes downhill, you have to slow yourself down. That feeling is slope.

📖 Definition
The slope of a line measures how steep it is. It tells us how much the line rises or falls for every one unit it moves to the right.
Three lines with different slopes: positive, zero, and negative

📏 The Formula

Slope is calculated using two points on the line. We represent it with the letter m.

Slope Formula
m = rise / run = Δy / Δx
= (y₂ − y₁) / (x₂ − x₁)
↑ Rise (Δy)
How much the line goes up or down. It's the difference between the y values.
→ Run (Δx)
How far the line moves to the right. It's the difference between the x values.
💡 Why "m"?
It's thought the letter m comes from the French word "monter", meaning to climb. Easy to remember!

🧭 Types of Slope

There are four types of slope. Learn to recognize them at a glance:

Positive
m > 0 · Goes up ↗
Negative
m < 0 · Goes down ↘
Zero
m = 0 · Flat →
Undefined
m = ∞ · Vertical ↕
⚠️ Undefined Slope
When a line is perfectly vertical, we'd be dividing by zero (Δx = 0), which is impossible. That's why we say the slope is undefined — it simply doesn't exist.

🧮 How to Calculate It: Step by Step

Let's use points A(1, 2) and B(4, 8) as an example.

1
Identify the two points.
Point 1: (x₁, y₁) = (1, 2)  |  Point 2: (x₂, y₂) = (4, 8)
2
Calculate the rise (Δy).
Δy = y₂ − y₁ = 8 − 2 = 6
3
Calculate the run (Δx).
Δx = x₂ − x₁ = 4 − 1 = 3
4
Divide rise ÷ run.
m = 6 ÷ 3 = 2
5
Interpret the result.
m = 2 means that for every 1 unit you move to the right, the line rises 2 units.
Points A(1,2) and B(4,8) with the rise and run marked

🎮 Explore Slope

Move the sliders to see how the line and its slope change in real time.

🔬 Slope Lab

Adjust the points (x₁,y₁) and (x₂,y₂) and watch the line update.

m = ?

🌍 Slope in the Real World

Slope isn't just math on paper — it's all around you every day:

🛣️

Roads

"Steep grade ahead" warning signs show the slope of a road.

m = 0.08

Ramps

Wheelchair ramps must have a gentle slope by law to be accessible.

m = 1/12
📈

Business

The slope of a sales graph shows whether a business is growing or shrinking.

m = growth rate
🏠

Roofs

Architects calculate roof pitch (slope) so rainwater drains properly.

m = 4/12

💡 Memory Trick

Always forget which goes on top — rise or run?

"First you RISE up the stairs, then you RUN down the hall"

Rise (Δy) always goes on top of the fraction. Run (Δx) always goes on the bottom. Just like climbing stairs!

Math Lesson · Slope · Algebra
Insert math as
Block
Inline
Additional settings
Formula color
Text color
#333333
Type math using LaTeX
Preview
\({}\)
Nothing to preview
Insert