Derivative and Derived Functions
Comment on the use of the following result and related form.
It is often the case when a function is given as a piecewise defined functions and the function in each piece of the domain has known derivative, students have a tendency to find the derivative by taking limits of the known derivative of each piece in some appropriate manner. This note is to show that some time this does give the right derivative at the point where the function on the left and right of it are given by distinct differentiable functions.
Proposition 1. If f is a function defined by
, where g and h are differentiable functions with g(a) = h(a). Then f is differentiable at x = a if and only if
g'(a) = h'(a).
Proof. Suppose f is differentiable at x = a. Then
.
Hence, because
since g is differentiable at x = a and
since h is differentiable at x = a
g'(a) = h'(a).
Conversely suppose g'(a) = h'(a). Then because
and
. Therefore f is differentiable at x = a.
Note that we only require that g be left differentiable at x = a and h be right differentiable at x = a. We can replace g'(a) = h'(a) by the left derivative of g at a = right derivative of h at a.
The result is used knowingly or unknowingly in the following form as follows:
(1) Since g and h are differentiable,
if
then f is not differentiable at x = a.
To use this, you will have to state clearly that your function f is defined as in Proposition 1. That is
, where g and h are differentiable functions with g(a) = h(a).
(i) For instance if
, since the derivative of
at x = 0 is -2 and the derivative of
at x = 0 is -12 and are thus not the same, f is not differentiable at x = 0.
(ii) If
, since the derivative of
at x = 0 is -6 and the derivative of
at x = 0 is 1/3 and are thus not the same, f is not differentiable at x = 0.
(iii) If
, since the derivative of
at x = 0 is 1/2 and the derivative of
at x = 0 is -12 and are thus not the same, f is not differentiable at x = 0.
Comment: I would advise using this result cautiously since you need to know very clearly when you can use it. Most students use this unaware of the condition in the proposition and may get confused. Use the difference quotient as in the sample solutions for test 2. Although it is a little longer but you are actually working directly with the definition of the derivative and limit.
Proposition 2. Suppose f is a function defined by
,where
, g is differentiable on
and h is differentiable on
.
(1) If
exist and
, then f is differentiable at x = a and f ' (a) = l.
(2) If
exist and
, then f is NOT differentiable at x = a.
Proof.
means that
given any e > 0 , there exist d > 0 such that a - d < x < a implies that | g'(x) - Ll| < e. ----- (1)
Let G(x) = g(x) for x < a and G(a) = c. Then G is continuous on
and differentiable on
and G'(x) = g'(x) for x < a . Let H(x) = h(x) for x > a and H(a) = c. Then H is continuous on
and differentiable on
and H'(x) = h'(x) for x > a . Therefore
. Now for any x such that a - d < x < a, by the Mean Value Theorem there exists y such that x < y < a with
Therefore
by (1). This means the left derivative of G at x = a is L i.e.
.
Similarly,
means that
given any e > 0 , there exist d > 0 such that a< x < a + d implies that | h'(x) - l| < e. ----- (2)
Now for any x such that a < x < a + d, by the Mean Value Theorem there exists y such that
a < y < x with
Therefore
by (2) This means the right derivative of H at x = a is l i.e.
.
(1) If L = l, by Proposition 1 f is differentiable at x = a and f ' (a) = l.
(2) If L ¹ l, by Proposition 1 f is not differentiable at x = a.
Comment: Proposition 2 Part (2) tends to be used incorrectly. The condition
"
exist " must be checked first and foremost.
For instance the function
is differentiable at x = 0, although
exists where g(x) = x3 and the limit
does not exist where
.
Advise using Proposition 2 cautiously too since you are not directly working with the definition of the derivative.
ã Ng Tze Beng