Professional Documents
Culture Documents
−1 1
(√ , √ )
2 2
−1 −1 1 1
b
(1, 1) (√ , √ ) (√ , √ )
2 2 2 2
1 −1
(√ , √ )
2 2
f (c + h) − f (c)
f 0 (c) := lim .
h→0 h
Differentiation of a function of two real variables
Let D ⊂ R2 , and f : D → R. Suppose (x0 , y0 ) is an interior point
of D. We have considered partial derivatives, and more generally,
directional derivatives of f at (x0 , y0 ). Each of them gives us an
information about the rate of change in f at (x0 , y0 ) in a given
direction. Let us see how we can obtain complete information
about the rate of change in f at (x0 , y0 ).
Let us recall the one variable situation. If D ⊂ R, f : D → R, and
c is an interior point of D, then the derivative of f at c is
f (c + h) − f (c)
f 0 (c) := lim .
h→0 h
Analogously, we would have liked to define the ‘derivative’ of f at
(x0 , y0 ) by
Differentiation of a function of two real variables
Let D ⊂ R2 , and f : D → R. Suppose (x0 , y0 ) is an interior point
of D. We have considered partial derivatives, and more generally,
directional derivatives of f at (x0 , y0 ). Each of them gives us an
information about the rate of change in f at (x0 , y0 ) in a given
direction. Let us see how we can obtain complete information
about the rate of change in f at (x0 , y0 ).
Let us recall the one variable situation. If D ⊂ R, f : D → R, and
c is an interior point of D, then the derivative of f at c is
f (c + h) − f (c)
f 0 (c) := lim .
h→0 h
Analogously, we would have liked to define the ‘derivative’ of f at
(x0 , y0 ) by
f (x0 + h, y0 + k) − f (x0 , y0 )
lim .
(h,k)→(0,0) (h, k)
But this does not make sense since division by a vector (h, k) ∈ R2
is not defined even when (h, k) 6= (0, 0).
But this does not make sense since division by a vector (h, k) ∈ R2
is not defined even when (h, k) 6= (0, 0).
We note that if f : D → R, c is an interior point of D and α ∈ R,
then f 0 (c) = α ∈ R if and only if
f (c + h) − f (c) − αh
lim = 0,
h→0 h
But this does not make sense since division by a vector (h, k) ∈ R2
is not defined even when (h, k) 6= (0, 0).
We note that if f : D → R, c is an interior point of D and α ∈ R,
then f 0 (c) = α ∈ R if and only if
f (c + h) − f (c) − αh
lim = 0,
h→0 h
that is,
f (c + h) − f (c) − αh
lim = 0.
h→0 |h|
But this does not make sense since division by a vector (h, k) ∈ R2
is not defined even when (h, k) 6= (0, 0).
We note that if f : D → R, c is an interior point of D and α ∈ R,
then f 0 (c) = α ∈ R if and only if
f (c + h) − f (c) − αh
lim = 0,
h→0 h
that is,
f (c + h) − f (c) − αh
lim = 0.
h→0 |h|
f (x0 + h, y0 + k) − f (x0 , y0 ) − αh − βk
lim = 0.
(h,k)→(0,0) k(h, k)k
Differentiability and Total Derivative
Suppose D ⊂ R2 and (x0 , y0 ) is an interior point of D. Consider a
funtion f : D → R.
Definition
We say that f is differentiable at (x0 , y0 ) if there is (α, β) ∈ R2
such that
Differentiability and Total Derivative
Suppose D ⊂ R2 and (x0 , y0 ) is an interior point of D. Consider a
funtion f : D → R.
Definition
We say that f is differentiable at (x0 , y0 ) if there is (α, β) ∈ R2
such that
f (x0 + h, y0 + k) − f (x0 , y0 ) − αh − βk
lim √ = 0.
(h,k)→(0,0) h2 + k 2
Differentiability and Total Derivative
Suppose D ⊂ R2 and (x0 , y0 ) is an interior point of D. Consider a
funtion f : D → R.
Definition
We say that f is differentiable at (x0 , y0 ) if there is (α, β) ∈ R2
such that
f (x0 + h, y0 + k) − f (x0 , y0 ) − αh − βk
lim √ = 0.
(h,k)→(0,0) h2 + k 2
f (x0 + h, y0 ) − f (x0 , y0 ) − αh
lim = 0,
h→0 |h|
f (x0 , y0 + k) − f (x0 , y0 ) − βk
lim = 0,
k→0 |k|
f (x0 , y0 + k) − f (x0 , y0 ) − βk
lim = 0,
k→0 |k|
f (x0 , y0 + k) − f (x0 , y0 ) − βk
lim = 0,
k→0 |k|
f (x0 , y0 + k) − f (x0 , y0 ) − βk
lim = 0,
k→0 |k|
f (x0 , y0 + k) − f (x0 , y0 ) − βk
lim = 0,
k→0 |k|
Examples:
How to check differentiability?
To check the differentiability of a function of two variables, we may
see whether f violates one of the necessary conditions for
differentiability. Also, we may see whether f satisfies a sufficient
condition for differentiability. Alternatively, we may turn to the
definition of differentiability itself.
Examples:
p
(i) Let f (x, y ) := x 2 + y 2 for (x, y ) ∈ R2 .
How to check differentiability?
To check the differentiability of a function of two variables, we may
see whether f violates one of the necessary conditions for
differentiability. Also, we may see whether f satisfies a sufficient
condition for differentiability. Alternatively, we may turn to the
definition of differentiability itself.
Examples:
p
(i) Let f (x, y ) := x 2 + y 2 for (x, y ) ∈ R2 .
Then f is continuous at (0, 0).
How to check differentiability?
To check the differentiability of a function of two variables, we may
see whether f violates one of the necessary conditions for
differentiability. Also, we may see whether f satisfies a sufficient
condition for differentiability. Alternatively, we may turn to the
definition of differentiability itself.
Examples:
p
(i) Let f (x, y ) := x 2 + y 2 for (x, y ) ∈ R2 .
Then f is continuous at (0, 0). But (D D u f )(0, 0) does not exist for
any unit vector u . Hence f is not differentiable at (0, 0).
How to check differentiability?
To check the differentiability of a function of two variables, we may
see whether f violates one of the necessary conditions for
differentiability. Also, we may see whether f satisfies a sufficient
condition for differentiability. Alternatively, we may turn to the
definition of differentiability itself.
Examples:
p
(i) Let f (x, y ) := x 2 + y 2 for (x, y ) ∈ R2 .
Then f is continuous at (0, 0). But (D D u f )(0, 0) does not exist for
any unit vector u . Hence f is not differentiable at (0, 0).
Examples:
p
(i) Let f (x, y ) := x 2 + y 2 for (x, y ) ∈ R2 .
Then f is continuous at (0, 0). But (D D u f )(0, 0) does not exist for
any unit vector u . Hence f is not differentiable at (0, 0).
Examples:
p
(i) Let f (x, y ) := x 2 + y 2 for (x, y ) ∈ R2 .
Then f is continuous at (0, 0). But (D D u f )(0, 0) does not exist for
any unit vector u . Hence f is not differentiable at (0, 0).
h2 k 2 − 0 − 0·h − 0·k k2 h
0≤ √ =h 4 2
√ ≤ |h| → 0
(h4 + k 2 ) h2 + k 2 (h + k ) h2 + k 2
f (h, k) |hk|
Q(h, k) := √ =√ ≤ |h| → 0
2
h +k 2 h2 + k 2
as (h, k) → (0, 0).
(vi) Let f (x, y ) := |xy | for (x, y ) ∈ R2 . Then f is continuous at
D u f )(0, 0) = 0 = (∇f )(0, 0) · u for every unit vector u .
(0, 0), and (D
On the other hand, fx (0, y0 ) does not exist if y0 6= 0 and fy (x0 , 0)
does not exist if x0 6= 0. For (h, k) 6= (0, 0),
f (h, k) |hk|
Q(h, k) := √ =√ ≤ |h| → 0
2
h +k 2 h2 + k 2
as (h, k) → (0, 0). Hence f is differentiable at (0, 0).
(vi) Let f (x, y ) := |xy | for (x, y ) ∈ R2 . Then f is continuous at
D u f )(0, 0) = 0 = (∇f )(0, 0) · u for every unit vector u .
(0, 0), and (D
On the other hand, fx (0, y0 ) does not exist if y0 6= 0 and fy (x0 , 0)
does not exist if x0 6= 0. For (h, k) 6= (0, 0),
f (h, k) |hk|
Q(h, k) := √ =√ ≤ |h| → 0
2
h +k 2 h2 + k 2
as (h, k) → (0, 0). Hence f is differentiable at (0, 0).
(vii) Let f (x, y ) := x 3 y /(x 4 + y 2 ) for (x, y ) 6= (0, 0), and
f (0, 0) := 0.
(vi) Let f (x, y ) := |xy | for (x, y ) ∈ R2 . Then f is continuous at
D u f )(0, 0) = 0 = (∇f )(0, 0) · u for every unit vector u .
(0, 0), and (D
On the other hand, fx (0, y0 ) does not exist if y0 6= 0 and fy (x0 , 0)
does not exist if x0 6= 0. For (h, k) 6= (0, 0),
f (h, k) |hk|
Q(h, k) := √ =√ ≤ |h| → 0
2
h +k 2 h2 + k 2
as (h, k) → (0, 0). Hence f is differentiable at (0, 0).
(vii) Let f (x, y ) := x 3 y /(x 4 + y 2 ) for (x, y ) 6= (0, 0), and
f (0, 0) := 0. Then (D D u f )(0, 0) = 0 = (∇f )(0, 0) · u for every unit
vector u .
(vi) Let f (x, y ) := |xy | for (x, y ) ∈ R2 . Then f is continuous at
D u f )(0, 0) = 0 = (∇f )(0, 0) · u for every unit vector u .
(0, 0), and (D
On the other hand, fx (0, y0 ) does not exist if y0 6= 0 and fy (x0 , 0)
does not exist if x0 6= 0. For (h, k) 6= (0, 0),
f (h, k) |hk|
Q(h, k) := √ =√ ≤ |h| → 0
2
h +k 2 h2 + k 2
as (h, k) → (0, 0). Hence f is differentiable at (0, 0).
(vii) Let f (x, y ) := x 3 y /(x 4 + y 2 ) for (x, y ) 6= (0, 0), and
f (0, 0) := 0. Then (D D u f )(0, 0) = 0 = (∇f )(0, 0) · u for every unit
vector u . Also, f is continuous at (0, 0).
(vi) Let f (x, y ) := |xy | for (x, y ) ∈ R2 . Then f is continuous at
D u f )(0, 0) = 0 = (∇f )(0, 0) · u for every unit vector u .
(0, 0), and (D
On the other hand, fx (0, y0 ) does not exist if y0 6= 0 and fy (x0 , 0)
does not exist if x0 6= 0. For (h, k) 6= (0, 0),
f (h, k) |hk|
Q(h, k) := √ =√ ≤ |h| → 0
2
h +k 2 h2 + k 2
as (h, k) → (0, 0). Hence f is differentiable at (0, 0).
(vii) Let f (x, y ) := x 3 y /(x 4 + y 2 ) for (x, y ) 6= (0, 0), and
f (0, 0) := 0. Then (D D u f )(0, 0) = 0 = (∇f )(0, 0) · u for every unit
vector u . Also, f is continuous at (0, 0). Further, fx and fy are not
continuous at (0, 0). (Check!)
(vi) Let f (x, y ) := |xy | for (x, y ) ∈ R2 . Then f is continuous at
D u f )(0, 0) = 0 = (∇f )(0, 0) · u for every unit vector u .
(0, 0), and (D
On the other hand, fx (0, y0 ) does not exist if y0 6= 0 and fy (x0 , 0)
does not exist if x0 6= 0. For (h, k) 6= (0, 0),
f (h, k) |hk|
Q(h, k) := √ =√ ≤ |h| → 0
2
h +k 2 h2 + k 2
as (h, k) → (0, 0). Hence f is differentiable at (0, 0).
(vii) Let f (x, y ) := x 3 y /(x 4 + y 2 ) for (x, y ) 6= (0, 0), and
f (0, 0) := 0. Then (D D u f )(0, 0) = 0 = (∇f )(0, 0) · u for every unit
vector u . Also, f is continuous at (0, 0). Further, fx and fy are not
continuous at (0, 0). (Check!) For (h, k) 6= (0, 0),
f (h, k) h3 k
Q(h, k) := √ = √ 6→ 0
h2 + k 2 (h4 + k 2 ) h2 + k 2
f (h, k) |hk|
Q(h, k) := √ =√ ≤ |h| → 0
2
h +k 2 h2 + k 2
as (h, k) → (0, 0). Hence f is differentiable at (0, 0).
(vii) Let f (x, y ) := x 3 y /(x 4 + y 2 ) for (x, y ) 6= (0, 0), and
f (0, 0) := 0. Then (D D u f )(0, 0) = 0 = (∇f )(0, 0) · u for every unit
vector u . Also, f is continuous at (0, 0). Further, fx and fy are not
continuous at (0, 0). (Check!) For (h, k) 6= (0, 0),
f (h, k) h3 k
Q(h, k) := √ = √ 6→ 0
h2 + k 2 (h4 + k 2 ) h2 + k 2
It should be noted that the identities in (i), (ii), and (iii) above are
valid when the concerned (partial) derivatives are evaluated at
appropriate points and when, for instance, each of the (partial)
derivatives exists in a neighbourhood of the relevant point and is
continuous at that point.
The conclusions of Chain Rules (i), (ii) and (iii) can be written in
terms of the gradient (∇f )(x0 , y0 ) of f at (x0 , y0 ) as follows:
∂(g ◦f ) dg ∂z ∂(g ◦f ) dg ∂z
= = (cos xy )y and = = (cos xy )x.
∂x dz ∂x ∂y dz ∂y
Examples illustrating the Chain Rules:
(i) Define f : R2 → R and g : R → R by f (x, y ) := xy for
(x, y ) ∈ R2 , and g (z) := sin z for z ∈ R. By the Chain Rule, the
composite function (g ◦f )(x, y ) := sin(xy ) is differentiable at every
point of R2 , and
∂(g ◦f ) dg ∂z ∂(g ◦f ) dg ∂z
= = (cos xy )y and = = (cos xy )x.
∂x dz ∂x ∂y dz ∂y
∂(g ◦f ) dg ∂z ∂(g ◦f ) dg ∂z
= = (cos xy )y and = = (cos xy )x.
∂x dz ∂x ∂y dz ∂y
∂(g ◦f ) dg ∂z ∂(g ◦f ) dg ∂z
= = (cos xy )y and = = (cos xy )x.
∂x dz ∂x ∂y dz ∂y