How do I find the slope of a line?
In a linear function every step of 1 to the right changes y by the same amount. m is the slope, and n is where the line meets the y axis.
A live lesson where things move and you can try.
Example
y=2x−3
Answer: m=2,b=−3,x0=32
Try it yourself: Find the equation of the line through (1,2) and (3,8).
What happens in this lesson
Part 1
A line goes through A(1, 3) and B(3, 7). How much does it climb per step right?
A straight line goes through two points: one, three and three, seven. How much does the line climb for every one step right? Guess before we check.
Part 2
Build stairs from A to B: a step right, then up.
To see how much we climb in one step, we build stairs from point A to point B. Each stair is one step right, then up to the line.
The line passes through A. Move m until it also passes through B.
The blue line passes through point A. Move the slider m, and see how the line gets steeper. Until it passes through point B as well.
Now a falling line: (1, 8) and (3, 2). What is the slope?
Now a line that falls: from eight at one, to two at three. It goes down, so the climb is a negative number. What is the slope?
Part 3
The slope is 2, and the line passes through (1, 3). Where does it cross the vertical axis?
The slope is two, and the line passes through one, three. We walk one step left, to the vertical axis. Where does the line cross it? That is b.
Dani: the line through (0, 4), (2, 8) is y = 4x + 2. Right?
Dani wrote that the line through zero, four and two, eight is y equals four x plus two. What do you think?
The standard form: 2x + y = 4. How do we get y = mx + b?
Sometimes the line is written with y not alone: two x plus y equals four. To see the slope, we get y alone.
Part 4
A taxi: 5 to start, 3 per km: y = 3x + 5. Price after 4 km?
A taxi charges five shekels at the start, and three shekels for every kilometre. The line is y equals three x plus five. How much do we pay after four kilometres?
Last question, no map: the line through (0, −1) and (3, 5).
Last question, with no map. The line goes through zero, minus one, and three, five. What is its equation? And at the end we check a point.
Part 5
Which way will you pick? You can try several.
Part 6
Two points: slope, then b. Slope and a point: only b. ax + by = c: isolate y.
Part 7
Let's practice. There are three levels.
Part 8
Slope = rise over run. With m and a point you find b. For ax + by = c solve for y.
Two points, slope and point or ax + by = c: what did you like?
Two points
slope, then b
Three steps: slope, substitute, b.
Now you: (3 - 7) ÷ (4 - 2).
Slope and point
given m and a point
If m is known we only need b.
Now you.
ax + by = c
solve for y
Isolate y, then read off slope and b.
Now you.
Related lessons
Are you a teacher? Help us improve this lesson
Math Boss is free for kids, with no ads and no sign-up. Tell us what is unclear, which mistakes kids really make, and what you would explain differently.
Send feedback by email