Properties of differentiation

 We show some basic properties of differentiation, such as linearity, the product rule, the quotient rule, the chain rule, etc. We also introduce higher-order derivatives and differentiability classes.



Theorem (Properties of differentiation)

Let f(x) and g(x) be differentiable functions on an open interval I.

  1. (Linearity) ddx[kf(x)+lg(x)]=kf(x)+lg(x) where k,l are constants. 
  2. (Product rule) ddx[f(x)g(x)]=f(x)g(x)+f(x)g(x). 
  3. (Quotient rule) f(x)g(x) is differentiable on {xg(x)0,xI} and ddx[f(x)g(x)]=f(x)g(x)f(x)g(x)[g(x)]2.
Proof
  1. Exercise.
  2. Since f(x) is differentiable at x=a, it is continuous at x=a so f(x)f(a) as xa. For any aI, f(x)g(x)f(a)g(a)xa=f(x)g(x)f(x)g(a)+f(x)g(a)f(a)g(a)xa=f(x)g(x)g(a)xa+f(x)f(a)xag(a)f(a)g(a)+f(a)g(a) (xa).
  3. Note that f(x) and g(x) are both continuous at x=a. For any aI, f(x)g(x)f(a)g(a)=f(x)g(a)f(a)g(x)g(x)g(a)=[f(x)f(a)]g(x)f(x)[g(x)g(a)]g(x)g(a). The rest is exercise.

Exampletanx is differentiable for x(n+12)π and
ddxtanx=1cos2x.
In fact,
ddxtanx=ddx(sinxcosx)=(sinx)cosxsinx(cosx)cos2x=cos2x+sin2xcos2x=1cos2x.

Theorem (Chain rule)

Let f(x) be a differentiable function on an open interval I and g(x) be a differentiable function on an open interval J. Suppose that for all xI, f(x)J. Then the function composition (gf)(x) is differentiable on I and its derivative is given by
(gf)(x)=g(f(x))f(x).
Proof. For any aI, we have
(gf)(x)(gf)(a)xa=g(f(x))g(f(a))xa=g(f(x))g(f(a))f(x)f(a)f(x)f(a)xa.
Since f(x) is differentiable at x=a, it is continuous at x=a. Hence f(x)f(a) as xa.

Let b=f(a)J. g(y) is differentiable at y=b so that g(y)g(b)ybg(b)=g(f(a)) as yb. Thus
limxag(f(x))g(f(a))f(x)f(a)=g(f(a)).
f(x) is differentiable at x=a and
limxaf(x)f(a)xa=f(a).
Therefore,
limxa(gf)(x)(gf)(a)xa=g(f(a))f(a).
In particular, f(x) is differentiable at x=a. ■

Remark. If we set y=f(x) and z=g(y), we can express the chain rule as 
dzdx=dzdydydx.
Example. Let f(x) be a differentiable function and a be an arbitrary constant. The function f(ax) may be construed as a composition of y=ax and z=f(y). Therefore, its derivative is obtained as
ddxf(ax)=ddyf(y)dydx=f(y)a=af(ax).

Theorem (Derivative of inverse)

Let y=f(x) be a function on an open interval I that is differentiable and has the inverse f1(y). f1(y) is differentiable at y=f(x) and the derivative is given by
ddyf1(y)=1f(f1(y)).
Proof. Let y=f(x). Then,
x=f1(y)=f1(f(x))=(f1f)(x).
Differentiating both sides with respect to x and applying the chain rule to the right-hand side, we have
1=ddyf1(y)ddxf(x).
From this, we conclude
ddyf1(y)=1f(x)=1f(f1(y)).
Example. Let us show
ddxarcsinx=11x2 (1<x<1).
Let y=sinx for x(π2,π2). Then x=arcsiny. From the above theorem,
ddyarcsiny=1(sinx)=1cosx.
Since x(π2,π2), cosx>0 so that we can write
cosx=1sin2x.
By substituting y2=sin2x, we have
ddyarcsiny=11y2.
Example. Consider f(x)=xa where aR is arbitrary and x>0. Since
xa=ealogx,
we may consider xa as a composition of y=alogx and z=ey. Therefore its derivative is
ddxxa=ddyeyddx(alogx)=eyax=ealogxax=xaax=axa1.
Let f(x) be a differentiable function on an open interval I. Then its derivative f(x) is also a function on I. We may consider the differentiability of f(x), too.

Example. If f(x) is a polynomial function, then it is differentiable on the entire R and its derivative f(x) is also a polynomial function. Therefore f(x) is also differentiable on the entire R. □

Example (eg:x2). Consider the function f(x) defined by
f(x)={x2(x0),x2(x<0).
We can see that f(x)=2x for x>0 and f(x)=2x for x<0. Is f(x) defined at x=0?
If x>0, then
f(x)f(0)x0=x20x=x0 (x+0).
If x<0, then
f(x)f(0)x0=x20x=x0 (x0).
Therefore,
limx0f(x)f(0)x0=0
so that f(x) is differentiable at x=0 and f(0)=0. We can summarize the derivative as
f(x)=2|x|
for all xR.

However, f(x)=2|x| is not differentiable at x=0 as we have seen before. □

Definition (Higher order derivatives)

Let f(x) be a differentiable function. If the derivative f(x) is also differentiable, its derivative (f(x)) is called the second order derivative or simply second derivative and is denoted
f(x) or d2fdx2(x) or d2dx2f(x).
Similarly, we can define the third derivativeforth derivative, and so on. In general, the derivative obtained by differentiating f(x) n times is called the n-th (order) derivative of f(x) and is denoted
f(n)(x) or dnfdxn(x) or dndxnf(x).
Remark. It is often convenient to consider the function f(x) itself to be the ``0-th derivative'' and write f(0)(x). □

Definition (Differentiability classes)

Let f(x) be a function on an open interval I. Let n be a non-negative integer (n=0,1,2,).
  1. The function f(x) is said to be of class Cn if the derivatives f,f,,f(n) exist and are continuous.
  2. The function f(x) is said to be infinitely differentiable or smooth or of class C if it has derivatives of all orders. 
Examplef(x)=|x| is continuous on all R, but not differentiable at x=0. Therefore it is of class C0. □

Example. Polynomial functions, sinx, cosx, ex are of C. □

Example. The function in the above example (eg:x2) is of C1, but not of C2. □



Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic