Professional Documents
Culture Documents
Lecture 11S
Lecture 11S
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.
◦ Chain rule, directional derivatives and gradient.
2
Partial derivatives:
Directional Derivatives
and Gradient Vectors
3
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
7
the following rules in Exercise 40. Notice that these rules have the same form as the cor-
responding rules for derivatives of single-variable functions.
Algebra Rules for Gradients
Algebra Rules for Gradients
1. Sum Rule: ∇(ƒ + g) = ∇ƒ + ∇g
2. Difference Rule: ∇(ƒ - g) = ∇ƒ - ∇g
3. Constant Multiple Rule: ∇(kƒ) = k∇ƒ (any number k)
4. Product Rule: ∇(ƒg) = ƒ∇g + g∇ƒ Scalar multipliers on left
5. Quotient Rule:
ƒ
∇ agb =
g∇ƒ - ƒ∇g
g2
of gradients
Theorem
If f (x, y) be a differentiable function in an open region containing P0 = (x0 , y0 ),
then the directional derivative along the unit vector u is
df
= (∇f )P0 · u = |∇f | cos θ
ds u,P0
10
Properties of the directional derivative
• The function f increases most rapidly when cos θ = 1 or when θ = 0 and
u is the direction of ∇f . The derivative in this direction is
d d
f (g(t), h(t)) = c
dt dt
∂f dg ∂f dh
=⇒ + =0
∂x dt ∂y dt
dr
=⇒ h∇f, i = 0
dt
Here the tangent vector to r is
dr dg dh
= ,
dt dt dt
13
Tangent Line to a Level Curve
At every point (x0 , y0 ) in the domain of
a differentiable function f (x, y), the The level curve f (x, y) = f (x 0 , y 0 ) Equation
gradient of f is normal to the level
curve through (x0 , y0 ).
(x 0 , y 0 )
At e
∇ f (x 0 , y 0 )
We can write the equation of the dien
tangent line to a level curve as,
Equa
fx (x0 , y0 )(x−x0 )+fy (x0 , y0 )(y−y0 ) = 0 Figure
Figure 6: 14.31
Source:TheThomas’s
gradient of Calculus
a dif-
in topogr
ferentiable function of two variables at a
destinatio
point is always normal to the function’s
from Pro
level curve through that point.
perpendi
This
They14are
Partial
derivatives:Tangent
Planes and
Differentials
15
the grap
for a lin
the grad
Tangent plane to a level surface point on
ization
The tangent plane at the point
P0 (x0 , y0 , z0 ) on the level surface Tangen
f (x, y, z) = c of a differentiable ∇f
function f is the plane through P0 v2 If r(t)
differen
normal to ∇f |P0 . v1
P0
fx (P0 )(x − x0 )+fy (P0 )(y − y0 ) f (x, y, z) = c
+ fz (P0 )(z − z0 ) = 0 Since ƒ
0, so th
Figure
Figure 7: 14.33
Source:The gradient ∇ƒ
Thomas’s is
Calculus
The normal line of the surface at P0 is No
orthogonal to the velocity vector of every
the velo
the line through P0 parallel to ∇f |P0 . smooth curve in the surface through P0.
the plan
The velocity vectors at P0 therefore lie in a
x = x0 + fx (P0 )t, y = y0 + fy (P0 )t common plane, which we call the tangent
plane at P0 . De
z = z0 + fz (P0 )t
16ƒ(x
0ƒ 0ƒ
z = f(x, y) (x , y ), ƒy(x0 , y0), , ƒy .
0y 0 0 0y
Notice that we now have two tangent lines associated with the surface z = ƒ(x, y) at
Tangent plane to the surface z = f (x, y) x0
0
y0
the point P(x0, y0, ƒ(x0, y0)) (Figure 14.18). Is the plane they determine tangent to the sur-
face at P? We will see that it is for the differentiable functions defined at the end of this
x section, and we will learn how to find the tangent plane in Section 14.6. First we have to
(x0, y0) y learn more about partial derivatives themselves.
Let S be the surface z = (x , y f+ (x,
k) 0
y), where
0
y = y0 (x0, y0) x = x0
y
The tangent plane to S at P consists Figure 14.18 Figures 14.16 and 14.17 combined. The tangent
of all tangent lines at P to the curves Figure 8: Source: Thomas’s Calculus
lines at the point (x0 , y0 , ƒ(x0 , y0)) determine a plane that, in this
picture at least, appears to be tangent to the surface.
C that lie on S and pass throught P .
Calculations
The definitions of 0ƒ>0x and 0ƒ>0y give us two different ways of differentiating ƒ at17 a
point: with respect to x in the usual way while treating y as a constant and with respect to y
Equation of Tangent Plane
Let f (a, b) = c. Then P = (a, b, c). The equation of any plane passing through
P is given by
z − a = A(x − a) + B(y − b)
When y = b, the tangent plane represents the tange to the instercted curve at
P . Therefore, A = fx (a, b), the slope of the tangent line. Similarly, B = fy (a, b)
The equations of the tangent plane to the surface z = f (x, y) at the point
P (a, b, c) on S is
18
Tangent Plane: Linear Approximation
The equations of the tangent plane to the surface Can be written as
This formula holds for all points (x, y, f (x, y)) on the tangent plane at
(a, b, f (a, b)). Therefore, we can approximate f (x, y) for (x, y) close to (a, b),
we may take
19
Total Increment
We have the standard linear approximation as
20
Increment Theorem
22
Differentiability, Continuity and Partial
Derivatives
23
Thanks
shilpak@iittp.ac.in
24