Partial Derivatives
Partial Derivatives
1
∂ ∂f ∂ 2f
( )= = fxy ,
∂y ∂x ∂y∂x
Remark: If fxy and fyx are continuous, then fxy = fyx ; otherwise they may
not be equal.
Example: If f (x, y) = x cos y − y 2 sin 2x then find fxx , fyy , fxy and fyx .
Remark: In the similar manner, higher order derivatives are defined. For
∂ 3f
example, = fyxx is the derivative of f taken once w.r.t y and twice
∂x2∂y
w.r.t x.
2 2
Example: f (x, y) = y 2 e(x +y ) −3 sinh(xy+3) −→ fyxx , fxyy , fxyx , fyxy , fxxx , fyyy ?
∂f ∂f ∂f
In general, if z = f (x1, x2, ..., xn) then df = dx1 + dx2 +...+ dxn .
∂x1 ∂x2 ∂xn
2
∂u ∂u ∂x1 ∂u ∂x2 ∂u ∂xn
then = + + ... + , for k = 1, 2, ..., p
∂rk ∂x1 ∂rk ∂x2 ∂rk ∂xn ∂rk
In particular, if u = F (x1, x2, ..., xn) and x1, x2, ..., xn depend on only one
variable s, then
du ∂u dx1 ∂u dx2 ∂u dxn
= + + ... + ,
ds ∂x1 ds ∂x2 ds ∂xn ds
dw ∂w dx ∂w dy
= +
dt ∂x dt ∂y dt
Example: If w = x2 sin(y 2 ) − ex+y and x = sin(t + 1), y = ln(t2), then find
dw
.
dt
B- Chain rule for functions of three independent variables, if w = f (x, y, z)
is differentiable of x, y, z; and x, y and z are differentiable functions of t then
dw ∂w dx ∂w dy ∂w dz
= + +
dt ∂x dt ∂y dt ∂z dt
√
Example: If w = yzx2 + sinh(ex+y−z ) − y −2 and x = t, y = cos(1 −
dw
t), z = t, then find .
dt
C- Chain rule for two independent variables (r and s) and three intermediate
variables (x, y, z); i.e. if w = f (x, y, z) and x = g(r, s), y = h(r, s), z =
k(r, s) then
∂w ∂w ∂x ∂w ∂y ∂w ∂z
= + + ,
∂r ∂x ∂r ∂y ∂r ∂z ∂r
∂w ∂w ∂x ∂w ∂y ∂w ∂z
= + + ,
∂s ∂x ∂s ∂y ∂s ∂z ∂s
r
Example: If w = x + 2y + z 2 and x = , y = r2 + ln(s), z = 2r, then
s
∂w ∂w
find and
∂r ∂s
3
1.6 Implicit Differentiation
A- If F (x, y) = 0 is differentiable, and y defines as a differentiable function
of x implicitly. Then at any point where Fy 6= 0,
dy Fx
=− ,
dx Fy
dy
For example, find if y 2 − x2 = sin(xy).
dx
Solution:y 2 − x2 − sin(xy) = 0, take F (x, y) = y 2 − x2 − sin(xy). Then
dy Fx −2x − y cos xy 2x + ycosxy
=− =− = .
dx Fy 2y − x cos xy 2y − x cos xy
B- If F (x, y, z) = 0 is differentiable, and z defines as a differentiable func-
tion of x and y implicitly. Then at any point where Fz 6= 0,
∂z Fx ∂z Fy
=− , =− ,
∂x Fz ∂y Fz
∂z ∂z
Example, if F (x, y, z) = x2 z + yz 2 + 2xy 2 − z 3 = 0, then find and .
∂x ∂y
1.7 Jacobians
If F (u, v) and G(u, v) are differentiable in a region, the Jacobian deter-
minant, or the Jacobian of F and G with respect to u and v is the second
order determinant defined by
∂F ∂F
F F
∂u ∂v u v
∂(F, G)
= =
∂(u, v) ∂G ∂G
Gu Gv
∂u ∂v
∂(F, G)
Example: If F (u, v) = u2 +v 2 and G(u, v) = uv−sin(u2) then find .
∂(u, v)
Similarly, the third order determinant is given bellow:
∂F ∂F ∂F
∂u ∂v ∂w Fu Fv Fw
∂(F, G, H) ∂G ∂G ∂G
= = Gu Gv Gw
∂(u, v, w) ∂u ∂v ∂w
H H H
∂H ∂H ∂H
u v w
∂u ∂v ∂w
4
This is called the Jacobian of F, G and H with respect to u, v and w.
Example: If M(u1 , u2, u3) = u1 − u23, N (u1, u2, u3) = u1u2 + u2u23 ,
2 ∂(M, N, P )
P (u1 , u2, u3) = 3u3 − u2, then calculate .
∂(u1, u2, u3) (1,−1,2)
Answer = 52.
∂f ∂f ∂f ∂f
∇f = i+ j= ,
∂x ∂y ∂x ∂y
obtained by evaluating the partial derivatives of f at P0 .
Similarly, the gradient of f (x, y, z) at a point P0 (x0, y0, z0 ) is the vector
∂f ∂f ∂f ∂f ∂f ∂f
∇f = i+ j+ k= , ,
∂x ∂y ∂z ∂x ∂y ∂z
Examples: Find ∇f at the given points:
1):f (x, y) = y − x, (2, 1)
2):f (x, y) = ln(x2 + y 2 ), (1, 1)
3): f (x, y, z) = x2 + y 2 − 2z 2 + z ln(x), (1, 1, 1)
4): f (x, y, z) = exyz − z 2 y, (2, 1, 3)
5
4. Product Rule: ∇(f g) = f ∇g + g∇f
f g∇f − f ∇g
5. Quotient Rule: ∇ =
g g2
Example: If f (x, y) = x − y and g(x, y) = 3y, ∇f = i − j, ∇g = 3j,
g
then find ∇(2f ), ∇(5g), ∇(3f + g), ∇(f g), ∇( ), ∇f 2, and ∇g 3 .
f
Tangent plane at the point P0 (x0, y0, z0) on the level surface f (x, y,
z) = c
of a differentiable function f is the plane through P0 normal to ∇f P0 . The
tangent plane is defined as follows:
fx (P0 )(x − x0 ) + fy (P0 )(y − y0 ) + fz (P0)(z − z0 ) = 0
6
x = x0 + fx (P0)t, y = y0 + fy (P0 )t, z = z0 + fz (P0 )t,
Example: Find the tangent plane and normal line of the surface
f (x, y, z) = x2 + y 2 + z − 9 = 0 at the point (1, 2, 4).
Solution: fx = 2x =⇒ fx (1, 2, 4) = 2,
fy = 2y =⇒ fy (1, 2, 4) = 4, and fz = 1 =⇒ fz (1, 2, 4) = 1 ,
3 Laplace Equations
4 Wave Equation
Example: Show that the following functions are all solutions of the wave
7
equation
1. w = sin(x + ct)
2. w = cos(2x + 2ct)
3. w = ln(2x + 2ct)
∂ ∂ ∂ ∂ ∂ ∂
∂y ∂z ∂x ∂z ∂x ∂y
= i −
j +
k
A1 A3
A2 A3 A1 A2
∂A ∂A2 ∂A ∂A1 ∂A ∂A1
3 3 2
= − i− − j+ − k.
∂y ∂z ∂x ∂z ∂x ∂y
8
5.1 Formulas Involving ∇