## Partial Derivatives.

### May 15, 2010

When we have a regular ol’ graph on the xy-axis, it’s not that hard to start taking derivatives. You know how this goes:

- Pick a point.
- Pick a point close to it.
- Make a secant line.
- Pick a point closer and make another line.
- Eventually, our secant lines will converge to a tangent line at our original point, if the function is sufficiently nice.

In general, then, if a derivative exists, it will be given by

But this formula is astoundingly beautiful if we have that our function is a polynomial. Suppose that . Then what do we get?

And we can make this a lot nastier by doing a binomial expansion. But suffice it to note that every term without any will get canceled out, and every remaining term has at least one in it. Factoring this one out and canceling it from the top and the bottom, then taking the limit as we have that the only things which are left are those terms which had *exactly one * in them after we expanded the binomial. These terms are exactly those of the form

for each power. But, of course,

This gives us exactly these terms:

which is a really sweet deal. So, for polynomials, the deal is to just “pull down the power”, “multiply”, and “subtract 1 from the power.”

**But something crazy happens when we have more than two variables.** Specifically, this time, we’re going to be talking about what happens when our function is a surface in the xyz plane — or, in other words, without loss of generality (and up to a rotation) we’ve got a function .

For example, this graph is .

Now, let’s try to take a derivative! Let’s follow those steps that we wrote down before. Okay, picking a point isn’t that hard. Any point will do. Now, let’s pick a point and make a secant line. Okay, good, now, let’s take a few of them, closer to our original point. Okay, wait a second now. What if we take our points coming in from some other direction? Will we get the same thing? Look at one of those points on the right side of the graph “going down the hill.” If we choose our points going “up and down the hill”, our “derivative” will be something like –2. But if we choose them going “to the left and right” of our point on the hill, the derivative will just be 0, as the secant lines are all horizontal. We’ve got two totally different derivatives for a single point. What do we do?

Well, we can do the next best thing. Let’s find the derivative in the x-direction (by choosing only colinear points parallel to the x-axis), and similarly for the y- and z-direction. We call these *partial derivatives* and they’re defined nearly the same way as other derivatives. We usually write them as for the x-direction, and similarly for the other directions.

You might think it’s really tough to find this kind of derivative given some function! But you’d be wrong. *Dead wrong*. It’s really easy! Here’s the algorithm:

- Given some function , in order to find the partial derivative in the x-direction we let the variable y stand as a constant, and then take the derivative as usual.
- To find the partial in the y-direction, let the variable x stand as a constant, and then take the derivative as usual.

Yeah, that’s it. Let’s just do three examples to solidify this:

- Let . Then . Similarly .
- Let . Then . Similarly .
- Let . Then . Similarly .

Good. Take note that the partial derivatives in either directions are still functions of x and y; that is, the derivatives in either direction will most likely depend on both the x and the y coordinate of the point we’re taking the partial derivative at!

But this is cute. We have a way to see “approximately” what the stuff around our point looks like. At the very least, we can see in the x and y direction. This is like standing on a hill and only being able to look directly forwards or backwards, left or right, but never on a diagonal.

Our next post we will remedy this problem, and show how to take a derivative in a general direction (hint: there’s a way to write it as a partial in the x and y direction!). We will also talk about how to find maximums and minimums on surfaces — when they exist, what they look like, and what the determinant has to do with them! Exciting stuff, truly.