Lecture 10S
Lecture 10S
Lecture 10S
Lecture 10
Shilpak Banerjee1
1 Assistant Professor
1
We already discussed
• Review of calculus of real valued functions of a single real variable.
◦ limits,
◦ continuity, and
◦ differentiation
• Partial derivatives: Functions of several variables.
◦ Terminologies from topology: Interior points, boundary points, open sets,
closed sets, bounded sets, unbounded sets.
◦ Level curves, level surfaces, contour maps,
◦ Limits and continuity,
◦ Partial Derivatives, Differentiability and their relation to continuity.
2
Partial derivatives: The
Chain Rule
dw ∂f dx ∂f dy
= +
dt ∂x dt ∂y dt
(x y d(cos t) ∂x2 y d sin t
2
= +
∂x dt ∂y dt
2
= (2xy)(− sin t) + (x )(cos t)
= −2 cos t sin2 t + cos3 t
= cos t cos 2t
5
824 Chapter 14: Partial Derivatives
One independent variable and threeHere we have three routes from w to The p
t instead of two, but finding dw > dt is intermedi
intermediate variables still the same. Read down each route, new equat
multiplying derivatives along the way;
then add. Example
If w = f (x, y, z) is differentiable and if Chain Rule
(a)
Figure 3: Source:(b)Thomas’s
[We can think of this as differentiating a
Figure 14.22 Composite function and branch diagrams for Theorem 7.
Calculus
function defined on a surface in 3D]
7
An example
Find ∂w/∂r and ∂w/∂r in terms of r and s if
w = x2 + y 2 + z 2 , x = r − s, y = r + s, z=r
∂w ∂f ∂x ∂f dy ∂f ∂z
= + + = 2(r − s) · 1 + 2(r + s) · 1 + 2r · 1 = 6r
∂r ∂x ∂r ∂y dr ∂z ∂r
∂w ∂f ∂x ∂f ∂y ∂f ∂z
= + + = 2(r − s) · (−1) + 2(r + s) · 1 + 2r · 0 = 4s
∂s ∂x ∂s ∂y ∂s ∂z ∂s
8
Exercises
• Write down a chain rule for two independent variable and two
intermediate variables.
• Write down a chain rule for two independent variable and four
intermediate variables.
9
Implicit differentiation
Suppose the function F (x, y) is differentiable and the equation F (x, y) = 0
defines y implicitly as a differentiable function of x, say y = h(x). How to find
dy/dx with out solving the equation?
Put w = F (x, y), then the equation F (x, y) = 0 implies w = 0 and hence using
chain rule,
dw dx dy
0= = Fx + Fy
dx dx dx
dy
= Fx + Fy
dx
So in conclusion
dy Fx
=−
dx Fy
10
An example
Find dy/dx when
y 2 − x2 − sin xy = 0
We can use the computation in the previous slide to write
dy Fx
=−
dx Fy
−2x − y cos xy
=−
2y − x cos xy
2x + y cos xy
=
2y − x cos xy
11
Partial derivatives:
Directional Derivatives
and Gradient Vectors
12
Directional derivative
The derivative of f at P0 (x0 , y0 ) in the
direction of the unit vector u = (u1 , u2 ) y
Line x = x 0 + su 1, y = y 0 + su 2
is the number Fi
sh
to
df Su
(Du f )P0 =
ds u,P0 u = u1i + u 2 j
motion along
f (x0 + su1 , y0 + su2 ) − f (x0 , y0 ) Direction of
along the lin
= lim increasing s
rate of chang
s→0 s
R u, we find th
different dire
P0(x 0, y0 )
Suppose
x P0(x0 , y0) is a
0
16