Академический Документы
Профессиональный Документы
Культура Документы
Partial Derivatives
Mathematics 54 - Elementary Analysis 2
1 / 20
Partial Derivatives
Mathematics 54 - Elementary Analysis 2
2 / 20
Introduction
Let z = f (x, y ) be dened at (a, b). If we x y = b, then f (x, b) becomes a function of x alone.
The slope of the above tangent line to this curve at (a, b) is given by d f (x, b) =: fx (a, b). x=a dx
3 / 20
Introduction
Similarly, if we x x = a, then f (a, y ) becomes a function of y alone.
The slope of the above tangent line to this curve at (a, b) is given by d =: fy (a, b). f (a , y ) y =b dy These derivatives will be how differentiation on multivariate functions is dened.
4 / 20
Partial Derivatives
The partial derivative of f with respect to x at any point (x, y ) is fx (x, y ) = lim provided that this limit exists. f (x + x , y ) f (x , y ) , x
x 0
The partial derivative of f with respect to y at any point (x, y ) is fy (x, y ) = lim provided that this limit exists. f (x, y + y ) f (x, y ) , y
y 0
5 / 20
Partial Derivatives
Example Find fx (x, y ) given that f (x, y ) = 2x2 y 2 + 2y + 4x. Solution. Consider
f (x + x, y ) f (x, y ) x = = = = 2(x + x)2 y 2 + 2(y ) + 4(x + x) (2x2 y 2 + 2y + 4x) x 2x2 y 2 + 4x(x) y 2 + 2(x)2 y 2 + 2y + 4x + 4x 2x2 y 2 2y 4x x 4x(x) y 2 + 2(x)2 y 2 + 4x x 4xy 2 + 2y 2 x + 4
Thus, f x (x , y ) = =
x 0 2
lim (4xy 2 + 2y 2 x + 4)
4xy + 4.
6 / 20
Partial Derivatives
Remark. The partial derivatives of f at (a, b) are also given by f (x, b) f (a, b) 1 fx (a, b) = lim x a xa f (a, y ) f (a, b) 2 fy (a, b) = lim y b yb
7 / 20
Partial Derivatives
Example Find fx (1, 1) and fy (1, 1) given that f (x, y ) = 3x + 4xy 2 . y
Solution. For fx , let us use the denition. We have 3(1) 3(1 + x) + 4(1 + x)(1)2 + 4(1)(1)2 1 1 x 3 + 3x + 4x 3 x 7x x 7.
f (1 + x, 1) f (1, 1) x
= = = =
Example. (continued...) Find fx (1, 1) and fy (1, 1) given that f (x, y ) = 3x + 4xy 2 . y
For fy , let us use the previous remark. Consider 3 + 4y 2 7 y y1 3 + 4y 3 7y y y1 (2y + 3)(2y 1)(y 1) y (y 1) (2y + 3)(2y 1) . y
f (1, y ) f (1, 1) y1
(2y + 3)(2y 1) = 5. y
9 / 20
Partial Derivatives
Remark. The partial derivative with respect to a variable can also be obtained by applying theorems for ordinary differentiation while treating the other variables constant. Example Determine the partial derivative of f (x, y ) = 2x2 y 2 + 2y + 4x with respect to x.
f x (x , y )
= =
(2y 2 )
10 / 20
Partial Derivatives
3 d 3 d (x ) + 4 y 2 (x ) = + 4 y 2 . y dx dx y 3 2 Thus, fx (1, 1) = + 4(1) = 7. 1 First, fx (x, y ) = d 1 d 3x + 4x (y 2 ) = 2 + 8xy . dy y dy y 3(1) Hence, fy (1, 1) = + 8(1)(1) = 5. 12 Similarly, fy (x, y ) = 3x
11 / 20
Partial Derivatives
Notations. Let z = f (x, y ). The following denotes the partial derivatives of f with respect to x: f x (x , y ) Dx f (x, y ) f (x , y ) x z x f (x , y ) y z y
Dy f (x, y )
12 / 20
Partial Derivatives
Example Evaluate Solution. sin2 (2x 3y ) y = = = 2 sin(2x 3y ) y 2 sin(2x 3y ) cos(2x 3y )(3) 6 sin(2x 3y ) cos(2x 3y ) sin2 (2x 3y ). y
Note. fx and fy are also called the derivatives of f in the x- and y -directions, respectively. Moreoever, they can also be interpreted as rates of change.
13 / 20
x i 0
Also, fxi (x1 , x2 , . . . , xn ) is obtained by performing ordinary differentiation with respect to xi while treating the other variables constant. Notation. Let u = f (x1 , x2 , . . . , xn ). The following are the other notations for the partial derivative with respect to xi : Dxi f (x1 , x2 , . . . , xn ) u xi
14 / 20
15 / 20
= = = =
The above derivatives are called the second order partial derivatives of f . Remark. Analogous denitions can be made for functions of three or more variables and for third or higher order partial derivatives.
16 / 20
1 3 w (3) = = f y (x , y ) = 2x + 3y 2x + 3y y
2 w 6 = fxy (x, y ) = 2(2x + 3y )1 = (2)(2x + 3y )2 (3) = y x y (2x + 3y )2 Remark. The above example shows that fxy = fyx .
17 / 20
Example No function f (x, y ) exists such that fx (x, y ) = 3x + 2y and fy (x, y ) = 4x + 5y . Indeed, if such a function exists, then fxy = fyx . But fxy (x, y ) = 2 and fyx (x, y ) = 4, which are both continuous, yet are not equal.
For fxzx , recall that fzx = fxz for all (x, y , z) in the domain of f . Thus, fxzx = fzxx = 2 . x2
19 / 20
Exercises
x Find fx and fy for f (x, y ) = tan(3x y ) + . y Find gx and gy for g (x, y ) = xy . Find hx and hy for h(x, y ) = x y x2 y .
20 / 20