Partial and Directional Derivatives, Differentiability: Rafikul Alam Department of Mathematics IIT Guwahati
Partial and Directional Derivatives, Differentiability: Rafikul Alam Department of Mathematics IIT Guwahati
Lecture 4:
Partial and Directional derivatives,
Differentiability
Rafikul Alam
Department of Mathematics
IIT Guwahati
Differential Calculus
Case I: f : A ⊂ Rn → R
Case II: f : A ⊂ R → Rn
Case III: f : A ⊂ Rn → Rm
Parametric curve r : R → Rn
Examples:
• r : R → Rn given by r(t) := a + tb parameterizes a line in
Rn passing through a in the direction of b.
Differentiability of r : R → Rn
Fact:
• r(t) = (r1 (t), . . . , rn (t)), where ri : (a, b) → R.
• r differentiable at t0 ⇒ r continuous at t0 .
Partial derivatives of f : R2 → R
Let f : R2 → R and (a, b) ∈ R2 . Then
∂f f (a + t, b) − f (a, b)
(a, b) := lim ,
∂x t→0 t
when exists, is called partial derivative of f at (a, b) w.r.t to
the first variable.
∂f
Other notations for (a, b) :
∂x
fx (a, b), ∂x f (a, b), ∂1 f (a, b).
∂f
Partial derivative (a, b) w.r.t. the second variable is defined
∂y
similarly.
Partial derivatives of f : Rn → R
Examples
• Consider f : R2 → R given by f (0, 0) := 0 and
f (x, y ) := xy /(x 2 + y 2 ) for (x, y ) 6= (0, 0). Then
∂1 f (0, 0) = ∂2 f (0, 0) = 0
even though f is NOT continuous at (0, 0).
Gradient of f : Rn → R
Directional derivatives of f : Rn → R
∂f
• Du f (a), also denoted by (a), is the rate of change of f
∂u
at a in the direction u.
Then
• Sum, product and chain rule similar to those of ∂i f (a)
hold for Du f (a).
Examples
p
1. Consider f : R2 → R given by f (x, y ) := |xy |. Then
∂1 f (0, 0) = 0 = ∂2 f (0, 0) and f is continuous at (0, 0).
However, Du f (0, 0) does NOT exist for u1 u2 6= 0.