The rate of change...changes. When x is less than 0, y gets smaller as x gets larger. Conversely, when x is larger than 0, y gets larger as x gets larger. This means we can't calculate the slope of the curve as a whole. We can do two things however that are just as helpful. We can calculate the slope of the curve at a point, and we can create a formula representing the slope of the curve at a point.
The rate of change of a curve at a specific point is known as the derivative. The formal definition of a derivative refers to the slope of the tangent line of a curve. Mysterious? Maybe. Difficult to understand? Not really. The tangent line is very simple actually. It's simply a line that touches a curve at a single point without passing through that point. As a result, the tangent line is the best linear representation of a curve at a single point and thus, finding the slope of the tangent line gives you the slope of the curve at that point. Here's what the tangent line looks like for our graph at the point
The line just skims by the curve. Gently caressing our point while avoiding surrounding points.. Without it we are lost in a slopeless void. It's poetic really. To honor the tangent line, I present to you this haiku:
Gentle tangent line
So simple in your beauty
Thank you for your slope
Our goal then is to find the slope of the tangent line. The first step oddly enough is to find the tangent line.So simple in your beauty
Thank you for your slope
We'll start with the equation from above:
Each of these lines pass through exactly two points on the graph and are by definition, secant lines. These secant lines aren't helpful on their own, but with a little thought, we can intuit that the tangent line is actually the limit of these secant lines. That's a bit of a tricky concept, but it's one that is ultimately simple and rewarding when it finally clicks.
Think of it this way, as the points on the line get closer and closer to the value of our representative point, the secant lines get closer and closer to running parallel to the tangent line.
It's time then to generalize an equation for our secant lines. The secant line takes two points. The first of the points is
Since we know that the slope is
Now, we move back to the tangent line concept. We've already agreed that the secant lines get closer to the tangent line as the second point in the line gets closer to the first point. The ultimate goal then is for there to be no distance between the first and second point. This is hard to calculate geometrically, but it means we can use our already garnered knowledge of limits to fill in the gap.
So our goal is to find the value for the slope of the secant line as the value for
That's it. The above equation will show you the slope of a line tangent to the curve. That's a derivative. Pretty cool stuff. All that's left is to plug in our equation,
The derivative of our equation is therefor:
Which equals:
And simplifies to:
And further simplifies to:
Calculating our limit, we can conclude that the derivative of the function
So, when
That my friends, is the basis of differentiation. Enjoy.