MATH 220 SUPPLEMENTAL NOTES 14
PARTIAL DERIVATIVES
DEFINITIONS AND NOTATION
|
DEFINITION: |
The partial derivative of f (x, y) with respect to x at the point (x 0, y0) is |
|
|
|
|
|
provided the limit exists. |
|
FACT: |
The slope of the curve z = f (x, y 0) at the point P (x 0, y 0, f (x 0, y 0)) in the plane y = y 0 is the value of the partial derivative of f with respect to x at (x 0, y 0). This slope is the slope of the tangent line to the curve in the plane y = y 0. |
|
FACT: |
The following notations are equal.
|
|
How do you find f x of a function f (x, y)? Well, first you treat the variable y like a constant. So when you take a derivative of y, you will get zero. The derivative of x is just like how we have been doing the past two semesters. |
|
EXAMPLE 1: |
Find f x for f (x, y) = x 2 - xy + y 2. |
|
SOLUTION: |
Before taking the partial derivative of f, notice the -xy term. Treat this term like you would -2x. The derivative of -2x is -2, so the derivative of -yx is -y. f x = 2x - y + 0 = 2x - y |
|
EXAMPLE 2: |
Find f x for f (x, y) = (xy - 1) 2. |
|
SOLUTION: |
Here we will have to use the chain rule. f x = 2(xy - 1)(y) = 2y(xy - 1) |
|
EXAMPLE 3: |
Find f x for f (x, y) = cos 2 (3x - y 2). |
|
SOLUTION: |
f x = (2cos (3x - y 2))(-sin (3x - y 2))(3) = -6cos (3x - y 2)sin (3x - y 2) |
|
EXAMPLE 4: |
|
|
SOLUTION: |
We will have to use the quotient rule to find this derivative.
|
|
DEFINITION: |
The partial derivative of f (x, y) with respect to y at the point (x 0, y0) is |
|
|
|
|
|
provided the limit exists. |
|
FACT: |
The slope of the curve z = f (x 0, y) at the point P (x 0, y 0, f (x 0, y 0)) in the plane x = x 0 is the value of the partial derivative of f with respect to y at (x 0, y 0). This slope is the slope of the tangent line to the curve in the plane x = x 0. |
|
FACT: |
The following notations are equal.
|
|
How do you find f y of a function f (x, y)? Well, first you treat the variable x like a constant. So when you take a derivative of x, you will get zero. The derivative of y is just like how we have been doing the past two semesters. |
|
EXAMPLE 5: |
Find f y for f (x, y) = x 2 - xy + y 2. |
|
SOLUTION: |
Before taking the partial derivative of f, notice the -xy term. Treat this term like you would -2y. The derivative of -2y is -2, so the derivative of -yx is -x. f y = 0 - x + 2y = -x + 2y |
|
EXAMPLE 6: |
Find f y for f (x, y) = (xy - 1) 2. |
|
SOLUTION: |
Here we will have to use the chain rule. f y = 2(xy - 1)(x) = 2x(xy - 1) |
|
EXAMPLE 7: |
Find f y for f (x, y) = cos 2 (3x - y 2). |
|
SOLUTION: |
f y = (2cos (3x - y 2))(-sin (3x - y 2))(-2y) = 4y cos (3x - y 2)sin (3x - y 2) |
|
EXAMPLE 8: |
|
|
SOLUTION: |
We will have to use the quotient rule to find this derivative.
|
|
Now let us find f x, f y, and f z for a function f (x, y, z). |
|
EXAMPLE 9: |
Find f x, f y, and f z for f (x, y, z) = xy + yz + xz. |
|
SOLUTION: |
When finding f x, treat y and z as constants. f x = y + 0 + z = y + z When finding f y, treat x and z as constants. f y = x + z + 0 = x + z When finding f z, treat x and y as constants. f z = 0 + y + x = y + x |
|
EXAMPLE 10: |
Find f x, f y, and f z for the following function.
|
|
SOLUTION: |
|
|
Recall that in calculus I, for a function to have a derivative at a point, the function had to be continuous at the point. This is not necessary for partial derivative. In fact, a function f (x, y) can have partial derivatives with respect to both x and y at a point without being continuous there. |
SECOND ORDER PARTIAL DERIVATIVES
|
|
|
EXAMPLE 11: |
Find all second order partial derivatives of f (x, y) = sin xy. |
|
|
SOLUTION: |
f x = y cos xy |
f y = x cos xy |
|
f x x = (-y sin xy)(y) = -y 2sin xy |
f y y = (-x sin xy)(x) = -x 2sin xy |
|
|
f x y = (-y sin xy)(x) = -xy sin xy |
f y x = (-x sin xy)(y) = -xy sin xy |
|
|
Notice that f x y = f y x. Is this a fluke? |
||
|
EXAMPLE 12: |
Find all second order partial derivatives of f (x, y) = x e y + y + 1. |
|
|
SOLUTION: |
f x = e y |
f y = x e y + 1 |
|
f x x = 0 |
f y y = x e y |
|
|
f x y = e y |
f y x = e y |
|
|
Again f x y = f y x. This is not a fluke, and here is the theorem that states why this happens. |
||
|
EULER'S THM: |
If f (x, y) and its partial derivatives f x, f y, f x y, and f y x are defined throughout an open region containing a point (a, b) and all are continuous at (a, b), then f x y (a, b) = f y x (a, b). |
|
EXAMPLE 13: |
Given w = ln (2x + 3y), verify w x y = w y x. |
|
|
SOLUTION: |
Therefore, w x y = w y x. |
|
|
EXAMPLE 14: |
Find the value of ¶ z /¶ x at the point (1, 1, 1) if the equation xy + z 3 x - 2yz = 0 defines z as a function of two independent variables x and y and the partial derivatives exist. |
|
|
SOLUTION: |
We are going to do implicit differentiation. Every time we take the derivative of z, tack on ¶ z /¶ x. y in this case is a constant.
|
|
The only thing difference between partial derivative and regular derivatives is the fact that with partial derivatives, you treat one of the variables like a constant, and take the derivative with respect to the other. Work through these examples making sure that you understand what is going on. If you have any questions, please feel free to contact me.
RETURN TO INDEX