The derivative rules for multivariable functions stated Theorem 10 on page 151 are analogous to derivative rules from single variable calculus. Example 1 (page 152) illustrates the quotient rule. Recall from single-variable calculus that if f(x) and g(t) are each a differentiable function from R 1 to R 1 , and h = f(g(t)), then the chain rule tells us that dh df df dg — = — = — — or h (t) = f (t) = f (g(t)) g (t) . dt dt dx dt Now suppose f(x,y) is a differentiable function from R 2 to R 1 and c(t) = (x(t),y(t)) is a differentiable function (path) from R 1 to R 2 . Consider the derivative of h(t) = f(c(t)) = foc(t) = f(x(t),y(t)) with respect to t, that is, dh df — = — . dt dt y x (x , y) (x+x , y+y) f change in f in x direction — x x f change in f in y direction — y y
The derivative rules for multivariable functions stated Theorem 10 on page 151 are analogous to derivative rules from single variable calculus. Example 1 (page 152) illustrates the quotient rule. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
The derivative rules for multivariable functions stated Theorem 10 on page 151 are analogous to derivative rules from single variable calculus. Example 1 (page 152) illustrates the quotient rule.
Recall from single-variable calculus that if f(x) and g(t) are each a differentiable function from R1 to R1, and h = f(g(t)), then the chain rule tells us that dh df df dg
— = — = — — or h (t) = f (t) = f (g(t)) g (t) .dt dt dx dt
Now suppose f(x,y) is a differentiable function from R2 to R1 and c(t) = (x(t),y(t)) is a differentiable function (path) from R1 to R2. Consider the derivative of h(t) = f(c(t)) = foc(t) = f(x(t),y(t)) with respect to t, that is,dh df— = — .dt dt y
x(x , y)
(x+x , y+y)
fchange in f in x direction — x
x
fchange in f in y direction — y
y
y
x(x , y)
(x+x , y+y)
fchange in f in x direction — x
x
fchange in f in y direction — y
y
dxchange in x — t
dt
dychange in y — t
dt
x =
y =
f dx — — t x dt
f dy — — t y dt
f = total change in f =(change in f in x direction) + (change in f in y direction) f dy
+ — — t y dt
f dx— — tx dt
f h — = —
t t
f dy+ — — y dt
f dx— —x dt
Taking the limit of both sides as t 0, it can be shown that
dh f dx f dy— = — — + — — =dt x dt y dt
f h— = —=t t
f dy+ — — y dt
f dx— —x dt
Taking the limit of both sides as t 0, it can be shown that
dh f dx f dy f dz— = — — + — — + — — =dt x dt y dt z dt
This chain rule can be extended in the natural way to a situation where f is a differentiable function from Rn to R1 and c(t) is a differentiable function (path) from R1 to Rn.
For instance if h(t) = f(x(t),y(t),z(t)) , then
dxf f —— — dtx y
dy—dt
dx—dt
dyf f f —— — — dtx y z
dz—dt
= Df(x,y) c (t)
= Df(x,y,z) c (t)
f(u,v) = u2ev – uv3 x = cos t , y = sin t
Find dh/dt where h(t) = f(x(t),y(t)) .
Using the chain rule, we havedh f dx f dy— = — — + — — =dt x dt y dt
(2xey – y3)(–sin t) + (x2ey – 3xy2)(cos t) =
–2(cos t)(sin t)esin t + sin4t + (cos3t)esin t – 3(cos2t)(sin2t) .
Note how the same result can be obtained by first expressing h(t) = f(x(t),y(t)) in terms of t and then differentiating.
u = xeyz x = et , y = t , z = sin t
Find du/dt .
Using the chain rule, we havedu u dx u dy u dz— = — — + — — + — — =dt x dt y dt z dt
u = xeyz x = et , y = t , z = sin t
Find du/dt .
Using the chain rule, we havedu u dx u dy u dz— = — — + — — + — — =dt x dt y dt z dt
eyzet + xzeyz(1) + xyeyz(cos t) =
et(sin t)et + et(sin t)et(sin t) + et t et(sin t) cos t =
(1 + sin t + t cos t) et(1+sin t) .
Note how the same result can be obtained by first expressing u in terms of t and then differentiating.
Suppose f(u,v) is a differentiable function from R2 to R1, and g(x,y) = [u(x,y) , v(x,y)] is a differentiable function from R2 to R2. Then, the derivative matrix for h(x,y) = f(u(x,y),v(x,y)) = fg(x,y) is
_ _| h h || — — ||_ x y _|
_ _| f u f v f u f
v | = | — — + — — — — + — — |
|_ u x v x u yv y _|
D(f g) =
= Df Dgf f
= — —u v
u u— —x y
v v— —x y
Suppose f(u,v) = [f1(u,v) , f2(u,v)] is a differentiable function from R2 to R2, and g(x,y) = [u(x,y) , v(x,y)] is a differentiable function from R2 to R2. Then, the derivative matrix for h(x,y) = [h1(x,y),h2(x,y)] = f(u(x,y),v(x,y)) = [f1g(x,y), f2g(x,y)] = fg(x,y) is_ _
| h1 h1 || — — || x y || || h2 h2 || — — ||_ x y _|
_ _ _ _| f1 f1 | | u u || — — | | — — |
= | u v | | x y || | | || | | || f2 f2 | | v v || — — | | — — ||_ u v _| |_ x y _|
= Df Dg
D(f g) =
Look at the general chain rule stated in Theorem 11 on page 153.
f(u,v) = uv g(x,y) = (x2 – y2 , x2 + y2)
Find the derivative matrix for h(x,y) = f(u(x,y),v(x,y)) = fg(x,y).
_ _ _ _ _ _| h h | | f f | | u u || — — | = | — — | | — — | |_ x y _| | u v | | x y |
|_ _| | || || v v || — — ||_ x y _|
_ _ _ _| | | || v u | | 2x –2y |
= | | | ||_ _| | | =
| || 2x 2y || ||_ _|
Using the chain rule, we havef : R R g : R R h : R R2 1 2 2 2 1
Since f(u,v,w) = u2 + v2 – w and g(x,y,z) = (x2y , y2 , e–xz) , it is easy to see that h(x,y,z) = x4y2 + y4 – e–xz , after which it is easy to see that_ _ _ _
| h h h | | | | — — — | = | 4x3y2 + ze–xz 2x4y + 4y3 xe–xz | .|_ x y z _| |_ _|