Docsity

Compute partial derivatives with Chain Rule, Exams of Pre-Calculus

Toggle sidebar
bg1
Compute partial derivatives with Chain Rule
Formulae: These are the most frequently used ones:
1. If w=f(x, y) and x=x(t) and y=y(t) such that f, x, y are all differentiable. Then
dw
dt =∂w
∂x
dx
dt +∂w
∂y
dy
dt .(1)
2. If w=f(x1, x2,· · · , xm) and for each i, (1 ≤i≤n), xi=xi(t1, t2,· · · , tn) such that
f, x1,· · · , xmare all differentiable. Then
∂w
∂ti
=∂w
∂x1
∂x1
∂ti
+· · · +∂w
∂xm
∂xm
∂ti
.(2)
Example (1) : Given w= ln(u+v+z), with u= cos2t,v= sin2tand z=t2, find
dw/dt both by using the chain rule and by expressing wexplicitly as a function of tbefore
differentiating.
Solution: First we apply Chain Rule (1):
dw
dt =∂w
∂u
du
dt +∂w
∂v
dv
dt +∂w
∂z
dz
dt =1
u+v+z(−2 cos tsin t+ 2 sin tcos t+ 2t) = 2t
u+v+z.
Next, we express was a function of tby substituting u, v and zinto wto get w= ln(cos2t+
sin2t+t2) = ln(1 + t2). Therefore, dw/dt = 2t/(1 + t2).
Example (2) : Given w=yz +z x +xy,x=s2−t2,y=s2+t2and z=s2t2, find ∂ w
∂s
and ∂w
∂t .
Solution: This is a partial derivative problem and so we apply Chain Rule (2).
∂w
∂s =∂w
∂x
∂x
∂s +∂w
∂y
∂y
∂s +∂w
∂z
∂z
∂s = (z+y)(2s)+(z+x)2s+ (x+y)2st2
∂w
∂t =∂w
∂x
∂x
∂t +∂w
∂y
∂y
∂t +∂w
∂z
∂z
∂t =−(z+y)(2t)+(z+x)2t+ (x+y)2s2t
Example (3) : Given p=f(x, y, z), x=x(u, v), y=y(u, v ) and z=z(u, v), write the
chain rule formulas giving the partial derivatives of the dependent variable pwith respect
to each independent variable.
Solution: This is a partial derivative problem and so we apply Chain Rule (2).
∂p
∂u =∂f
∂x
∂x
∂u +∂f
∂y
∂y
∂u +∂f
∂z
∂z
∂u
∂p
∂v =∂f
∂x
∂x
∂v +∂f
∂y
∂y
∂v +∂f
∂z
∂z
∂v
pf3

Partial preview of the text

Download Compute partial derivatives with Chain Rule and more Exams Pre-Calculus in PDF only on Docsity!

Compute partial derivatives with Chain Rule

Formulae: These are the most frequently used ones:

  1. If w = f (x, y) and x = x(t) and y = y(t) such that f, x, y are all differentiable. Then

dw dt

= ∂w ∂x

dx dt

  • ∂w ∂y

dy dt

  1. If w = f (x 1 , x 2 , · · · , xm) and for each i, (1 ≤ i ≤ n), xi = xi(t 1 , t 2 , · · · , tn) such that f, x 1 , · · · , xm are all differentiable. Then

∂w ∂ti

= ∂w ∂x 1

∂x 1 ∂ti

  • · · · + ∂w ∂xm

∂xm ∂ti

Example (1) : Given w = ln(u + v + z), with u = cos^2 t, v = sin^2 t and z = t^2 , find

dw/dt both by using the chain rule and by expressing w explicitly as a function of t before

differentiating.

Solution: First we apply Chain Rule (1):

dw dt =^

∂w ∂u

du dt +^

∂w ∂v

dv dt +^

∂w ∂z

dz dt =^

u + v + z (−2 cos^ t^ sin^ t^ + 2 sin^ t^ cos^ t^ + 2t) =^

2 t u + v + z.

Next, we express w as a function of t by substituting u, v and z into w to get w = ln(cos^2 t +

sin^2 t + t^2 ) = ln(1 + t^2 ). Therefore, dw/dt = 2t/(1 + t^2 ).

Example (2) : Given w = yz + zx + xy, x = s^2 − t^2 , y = s^2 + t^2 and z = s^2 t^2 , find ∂w∂s

and ∂w∂t.

Solution: This is a partial derivative problem and so we apply Chain Rule (2).

∂w ∂s

= ∂w ∂x

∂x ∂s

  • ∂w ∂y

∂y ∂s

  • ∂w ∂z

∂z ∂s

= (z + y)(2s) + (z + x)2s + (x + y)2st^2 ∂w ∂t =^

∂w ∂x

∂x ∂t +^

∂w ∂y

∂y ∂t +^

∂w ∂z

∂z ∂t =^ −(z^ +^ y)(2t) + (z^ +^ x)2t^ + (x^ +^ y)2s

(^2) t

Example (3) : Given p = f (x, y, z), x = x(u, v), y = y(u, v) and z = z(u, v), write the

chain rule formulas giving the partial derivatives of the dependent variable p with respect

to each independent variable.

Solution: This is a partial derivative problem and so we apply Chain Rule (2).

∂p ∂u =^

∂f ∂x

∂x ∂u +^

∂f ∂y

∂y ∂u +^

∂f ∂z

∂z ∂u ∂p ∂v =^

∂f ∂x

∂x ∂v +^

∂f ∂y

∂y ∂v +^

∂f ∂z

∂z ∂v

Example (4) : Given x^3 + y^3 + z^3 = xyz, find ∂z∂x and ∂z∂y as functions of x, y and z.

Solution: As z is an implicit function of x and y, implicit differentiation must be used.

Just view z = z(x, y) everywhere z occurs when we differentiate both sides of the equation.

(Step 1) View z = z(x, y) and differentiate both sides of the equation with respect to x to

get

3 x^2 + 3z^2 ∂z∂x = yz + xy ∂z∂x.

(Step 2) Solve for ∂z∂x in the resulting equation above.

zx = ∂z ∂x

= yz^ −^3 x

2 3 z^2 − xy

Do the same for y.

(Step 1) View z = z(x, y) and differentiate both sides of the equation with respect to y to

get

3 y^2 + 3z^2 ∂z ∂y

= xz + xy ∂z ∂y

(Step 2) Solve for ∂z∂y in the resulting equation above.

zy = ∂z ∂y

= xz^ −^3 y

2 3 z^2 − xy

Example (5) : Given x^3 + y^3 + z^3 = xyz as the equation of a surface, find an equation of

the plane tangent to this surface at the point P (1, − 1 , −1).

Solution 1: View z = z(x, y), and so the vector n = (zx, zy, −1) at P will be a normal

vector of the tangent plane. From Example (4) above, we have, at P (1, − 1 , −1),

zx =

yz − 3 x^2 3 z^2 − xy

∣∣ ∣∣ ∣(x,y,z)=(1,− 1 ,−1)^ =^

3(−1)^2 − 1(−1) =^

4 =^ −^

zy = xz^ −^3 y

2 3 z^2 − xy

∣∣ ∣∣ ∣(x,y,z)=(1,− 1 ,−1)^ =^

3(−1)^2 − 1(−1)

= −^4

Hence the equation of the tangent plane is

−

2 (x^ −^ 1)^ −^ (y^ + 1)^ −^ (z^ + 1) = 0,^ or (x^ −^ 1) + 2(y^ + 1) + 2(z^ + 1) = 0. Solution 2: One can also set F (x, y, z) = x^3 + y^3 + z^3 − xyz and view the equation of the

surface is F (x, y, z) = 0. In this case, the vector u = (Fx, Fy, Fz ) at P (1, − 1 , −1) can be a

normal vector of the tangent plane. We compute the partial derivatives:

Fx =

∂F

∂x = 3x

(^2) − yz, Fy = ∂F ∂y = 3y

(^2) − xz, Fz = ∂F ∂z = 3z

(^2) − xy.