Hit the slopes and learn how the steepness of a line is calculated. Calculate the slopes between points and draw the tangents of curves on graphs in this lesson.

## Hills and Slope

Which is more of a workout: running in downtown Chicago, or running in downtown San Francisco? Both cities have traffic and some fantastic waterways to enjoy, but San Francisco has very steep hills!To get an idea of how steep a hill is, it might make sense to look at how much the elevation changes over a set distance.

This is known as a **slope**. So let’s say in San Francisco that you’re going over a city block that’s like Mt. Everest.

We can define this with something called a slope. So let’s say that we have a hill where the elevation increases 6 feet over a distance of only 2 feet. This sounds like mountain goat territory! In fact, this means that for each foot that we travel forward, we have to go 3 feet up: 6 feet up / 2 feet forward = 3 feet up per 1 foot forward. This is our slope, or, how much the elevation changes over a distance of 1, and I’d say it’s very steep.In Chicago, let’s say that the elevation changes 5 feet over a distance of 50 feet.

This sounds much more reasonable. Now this means that for every foot you move forward, you only have to go up 0.1 feet, or a little over an inch, because 5 feet up / 50 feet forward = 0.

1. Our slope in Chicago is 0.1. We might say that in San Francisco if our slope is 3, it’s very steep; it’s mountain goat territory. In Chicago, our slope is shallow; it’s very small. What happens if we have a negative slope, like -4? Then we would have an elevation change of -4 feet over a distance of 1 foot. That’s a steep drop!

## Slope as Lines on a Graph

What is the slope of the line given by the equation *y*= 2*x* + 4? First, let’s graph this by plotting a few points and connecting them with a smooth curve. I have the points (0,4), (1,6), (2,8). Now let’s calculate the slope between the first two points.

The slope *m*= (6 – 4) / (1 – 0) = 2. What if we calculate the slope between the last two points? The slope *m*= (8 – 6) / (2 – 1) = 2. The slopes are the same! Well, that makes sense because the graph here is a straight line.

## Tangents

What about the slope of the curve given by the equation *y*=*x*^2? The graph of this curve looks like this. Slope has no meaning here. Would we calculate the slope between the bottom of the curve and a point where *x* is greater than 1? Less than 1? Here the slope has no meaning in particular, so what do we look at instead? For graphs that are not straight lines, there is no single slope.

Instead we look at something called the tangent. The **tangent** is the slope of a curve at a single point on that curve. At any point along the curve, there is a line that touches the curve, but does not cross the curve. Up here, the tangent has a very negative, steep slope. Here, it’s more shallow. Here, the slope of the tangent is zero.Let’s look at the slope of the tangents for another equation.

Here we have *y*= *x* * sin(*x*).

Let’s imagine I’m walking up the slope of this equation. At first, the slope is very steep, so I’m having a really difficult time walking up it.

As I get closer to the top of the hill, it gets a little easier. When I get to the top of the hill, I’m just standing there, and the slope of the tangent is zero. I move forward and start to go downhill as it levels off, and I can just stand there. I can walk up the second hill and stand again before falling down when the slope gets very steep and negative.

## Lesson Summary

The **slope** of a line is a number that describes how steep it is.

A larger number corresponds to a steeper slope, like the hills in San Francisco, and a smaller number corresponds to a more shallow slope, like the so-called hills in Chicago. Positive slopes are pointed upward, and negative slopes are pointed downward. We calculate the slope by finding the change in *y* over the change in *x*. This is like saying the change in elevation, or height, over the distance we move forward. Finally, **tangents** are slopes at single points along curves. We use these when the curve doesn’t have a single slope, and the slope is changing at every point.