# Differentiation Using Limits

#### Posted September 1, 2014

#### by Lensyl Urbano

We can use the idea of limits to come up with some general relationships between functions and their slopes. Take, for example, the last project where we found the slope of the function *y = x ^{2}* at the point where x = 3:

We found the slope of the tangent line at the point (3,9) by a series of approximations. First we took two points on the curve, (3,9) and (4,16) and found the slope between those two points.

The equation for slope can be written in any of these three ways:

we find the exact slope by taking points on the line closer and closer together (which means that Δx is getting smaller and smaller). In math-speak, we’re saying that we’re taking the limit of the slope equation as Δx approaches zero.

Since we’re taking Δx to zero we might as well ask what happens to the slope when Δx is equal to zero.

As we can see from the equation, we end up with zero on the denominator, which makes the whole thing undefined, which we really do not want.

But what if we can rearrange things to get the Δx out of the denominator?

Let’s rewrite the equation *y = x ^{2}* as a function:

So the point we’re interested in find the slope at is just *(x, f(x))*, which in this case happens to be *(3, 9)*, but we’re not going to be using the actual numbers anymore so we can come up with a more general relationship.

Now, and this is often the tricky part, the second point we use is going to have an *x* value of *x + Δx*:

which means that the value on the curve is *f(x+Δx)*:

So lets carefully observe the notation here. To find the slope of a line we can use the equation:

But with the function notation:

- y
_{1}= f(x) - y
_{2}= f(x+Δx)

so:

Now watch very carefully as I replace the function notation with the actual functions, specifically:

- f(x) = x
^{2} - f(x+Δx) = (x+Δx)
^{2}

to give:

and if you understand how this, we’re almost all there, because the rest is algebra.

We simplify the equation above by expanding the numerator.

now we can subtract the similar terms (*x ^{2}*) and divide through by

*Δx*to get:

But remember we don’t just want the slope, we want to find the slope where Δx approaches zero:

The problem before was that if we made *Δx = 0* the equation would be undefined. But now, however, as *Δx = 0* the second term in the equation just goes to zero:

leaving us just with the first term *2x*:

Remember that we were trying to do this at the point where *x = 3*. So if we put *x = 3* into this equation we get:

Which we know is the right answer because we did the very problem by hand already.

but now however we’ve come up with a more general equation for the slope. With it **we can easily find the slope of our curve at any point along the curve!**

For example, what is the slope of the curve when *x = 0*:

# Notation

Now it’s a bit cumbersome to write the limit as Δx goes to zero every time, so we’ll instead call our equation for the slope of the line the differential, and we’ll give it the notation as the function prime:

i.e. if we have a function *f(x) = x ^{2}*:

we write its differential as:

To confuse things (at least for the moment) there are a number of ways of writing the differential (the different methods are useful in different contexts), so you will see things like:

So now that we know how to find the differential using limits, we’ll practice finding the differential of polynomial functions and see if we can find a general pattern that allows us to bypass the whole limits thing altogether.

**Citing this post**: **Urbano**, L., 2014. Differentiation Using Limits, Retrieved May 27th, 2017, from *Montessori Muddle*: http://MontessoriMuddle.org/ .**Attribution (Curator's Code )**: Via: ᔥ Montessori Muddle; Hat tip: ↬ Montessori Muddle.