Escolar Documentos
Profissional Documentos
Cultura Documentos
Structure
6.1 Introduction
Ohlcc~~\c\
6.2 Second and Third Order Derivatives
6.3 nth Order Derivatives.
6.4 Leibniz Theorem
6.5 Taylor's Series and Maclaurin's Series
6.6 Summary
6.7 Solutions and Answers
6.1 INTRODUCTION
r
In the first block you have differentiated a number of functions. You know that the
derivative f' of a differentiable function f is again a function and is called the derived
function off.
We have already seen in Unit 3 that the concept of differentiation was motivated by some
physical concepts (like the velocity of a moving particle) and also by geometrical notions
(like the slope of a tangent to a curve). The second and higher'order derivatives are also
s~milarlymotivated by some physical considerations (like the acceleration) and some
geometrical ideas (like the curvature of a curve). which we shall study in the remaining
units of this block.
We shall introduce higher order derivatives in Sec.1 and 2. Leibniz Theorem which is
glven in Sec.4 gives us a formula for finding the higher derivatives of a product of twn
functions. In the later sections, we shall study some useful formulas, called seties
expansions. The significance of these expansions will become clearer in Unit 14.
Objectives
After reading this unit you should be able to.
calculate higher order derivatives of a given function f
use the Leibniz formula to find thc nth derivatives of products of functions
expand a function using Taylor's Maclaurin's series.
Consider the function f(x) = x4. You know that f'(x) = 4x3. Now, this f' is again a
polynomial function and hence, can be differentiated (see Example 5, Unit 3). We shall
denote the derivative off' by f". Thus,
f"(x) = 12x2.This f"(x) is called the second derivative of the function f a t the point x. It
d2y
is also denoted by -7 (read as d square y by d x square) or yz or f(2'or D ~ ~ .
..A dx
Let us differentiate f". We get f'"(x) = 24x, where f"' denotes the derivative off", or the
d3y
third derivative off. Other notations for f"'(x) are - or y3 or f'3' or D3y.Differentiating
dx
d4y
f"', we get the fourth derivative of f, f'4' (x) = --- = y4 = 24.
1 dx4
Thus, repeatedly differentiating (if possible) a given function f, we get the second, third.
fourth, ..... derivatives off. These are called the higher order derivatives off.
1
dny
If n is any positive integer, then the nthderivative off is denoted by f'"' or by - (read as
dxn
d n y by d x n) or bv v, or Dny.
Drawing Curves Note that in the notation f'"' the bracket is necessary to distinguish it from f", that is, f
raised to the power n.'~hisprocess of differentiating again and again, in succession, is
called successive differentiation.
We have already seen that there are functions f that are not differentiable. In other words
f' need not always exist. Similarly even when f' exists it is possible that f" does not exist
(see Example 3 near the end of this section). In general, for each positive integer n there
are functions f sbch that f'" exists, but f'""' does not exist. However, many functions that
we consider in these sections possess all higher derivatives.
A twice differentiable function is a function f such that f" exists. Let n be a positive
integer. A function f such that f'"' exists is called an n-times differentiable function. Iff'")
exists for every positive integer n, then f is said to be an infinitely differentiable function.
Now we give some simple examples of higher defivatives.
Example 1 If we are given that the third derivative of the function
f(x) = ax3 + bx + c has the value 6 at the point x = 1, can we find the value of a'!
Here, f(x) = ax3 + bx + c
The example below gives a function f for which f' exists but does not exist.
Therefore ((0) = 0.
Thus, f'(x) = 2 1x1 for all x in R.
We have already seen in Ejtample 7, Unit 3 that the absolute value function 1x1 fails to be
A:FFa-s.r+;nC.ln nt CI T h ~ r o f n r nf' i c nn+rliffprentiahle a t x = 0. That is. ft2)(0)
does not exi- '
Try some exercises before going any further. Higher Order'Derivatives
1 *
E "'
E 2) Find f ( s/4) for the following functions.
a) f(x) = sec x
+
b) f(x) = sin 2 x cos 2 x
E E 3) Prove that thekollowing functions satisfy the differential equations shown against
them.
a) y = sin x ; Y4 =Y
(b) y = c ~ xs ; (y212 + (yd2 = 1
I Drawing Curves
E E 4) Find the value of integer k in each of the following
a) f(x) = sin k x and f'*' ( r / 6 ) = 2 0
+
b) f(x) = xk+ kx2 1 and f'?' (1) = 12
Let n be a natural number. We have already defined the nth derivative of a function in
Sec.2.
When a function f is given by a formula, it is often necessary to express its nthderivative
also by a formula using f and n. Usually, one can guess q"' after working out f"', f"' and
fI3'. However, a rigorous proof would require an application of the principle of
mathematical induction.
In the examples below we shall derive formulas for the nthderivative of various functions.
Study them carefully as we shall be using them in later sections.
But, first let us recall the principle of mathematical induction.
If (P,) is a sequence of propositions (sthtements) satisfying
i) PNis true (usually N = 1).
ii) The truth of P, implies the truth of P,+I,i 2 N.
dnxm
- = (m0, if(mn -> 1)m...... (m - n + 1) xm-"if n Im
dy"
Note that the product m (m - 1) ..... (m - n + 1) has n factors. When n = 1, only one
factor, namely, m is taken.
(
dxm
Thus P I - = mxm-'
dy
Suppose we have proved for some n that P, is true. This means that the nth derivative of
-
xmis
I
= Oifn=m
Oifn>m.
constant, because xm " = x" = I;
+
therefore the (n 1)'"erivative is
zero.
I
t
This means that the truth of P, implies the truth of P.+I. Therefore, by the principle of
mathematical induction, P, is true for all n L 1. Hence our result is true for all natural
numbers n.
I
1 Remark 1 When n = m, the nthderivative of xmis
If
I
+
= m (m - 1) .....(m - n 1) xm-"= m (m - 1) .,...3.2.1. This is the same as m!.
I I
Example 5 If f(x) = In (1 + x), let us find f'"' (x).
. 1
Differentiating f(x) = In (1 + x), we get f'(x) = -.
I
l+x
1
Differentiating again, f'2' (x) = -
+ x12 (1
2
Differentiating once again, f(3'(x) =
(1 + x)3
Can you guess f'"' (x) now? If you have guessed correctly, you must have arrived at these
conclusions.
i) The denominator off'"' (x) is (1 + x)".
ii) Its sigh is positive or negative according as n is odd or even.
iii) Its numerator has (n - l)! Do not think that it is merely (n - 1). There is a
factorial symbol too. To be convinced of this, calculate f'4' (x) and see.
(- I)"-' X (n - I,)!
Therefore our guess is fn'(x) = ..... (1)
(1 x)" +
This guess remains t o be proved. A proof is necessary because there could exist many
other formulas for f'"'(x) that coincide with the correct answer when n = 1 , 2 or 3. For
example, if we omit the factorial symbol, we get one such formula. But we have already
mentioned that this formula does not hold for f'4'(x). So, let's try to prove (1).
We first note that it is true for n = 1, 2 and 3 as we have seen in the beginning.
Assume that it is true for n = m, that is,
ffm+l'(x)= (- ~ ) ~ - l . ( -
m l)!
-m - (- I)"'-' (- 1) X m (m - l)!
(1 + x)"" +
(1 x)m"
- (- 1)"' (m)! -
- (- l)m+i-l(m 1 + - I)!
(1 + x)"" (1 + x)""
This proves the guess for n = m -f 1. Thus, assuming the truth of the formula (I) for
+
n = m, we arrive at the truth of this formula for n = m 1. Therefore by the principle of
mathematical induction, our suessed answer is correct for all positive integers n.
Thus, when f(x) = In (1 + x).
Drawing Curves E E 5) If y = (1 + x)', where r is a real number, find y, where n is a natural number
(n < r).
Example 6 If f(x) = cos 2x, let us use the principle of mathematical induction to find a
formula for f'"' (0).
We first find f'"' (x) when n = 1,2, 3,4.
We have f(x) = cos 2x.
Diffe~entiatingthis successively, we get
f'''(x) = - 2 sin 2x
f'='(x) = - 4 COS 2x
f'3)(x)= . 8 sin 2~
f ' 4 ) ( ~=) 16 cos 2~
So here again we see that the truth of the formula (3) for n = m implies its truth for
n=m+l.
Therefore by the principle of mathematical induction, we see that the guessed,formula for
fIn'(x) is true for all natural numbers n.
Now substitute x = 0. We obtain
f'"'(0) = 2" cos n r / 2
This is the required answer.
We can also use this method to Drove a general result about the nth derivative of a s3m of
two functions.
Example 7 If fand g are two functions from R to R and if both of them are n-times
differentiable, we can prove that
(f + g)'"' = f'"' + g'n'.
We shall prove this result by induction.
+
When n = 1, this means (f g)' = f' g' +
This has already been proved in Unit 3.
+
Suppose (f g)'"' = f'"' +
g'"' is true.
Differentiating this we get
[(f + g)('n)]' = [f(") + g'"'l' = [f(""]' + [g("'y \
E E 7) If f(x) = sin x, prove that f'"'(x) = sin [x + nn/2] holds for every natural number
n.
E +
E 8) If y = sin (ax b), prove that for every positive integer n, we have
+ +
y, = an sin [(nn/2) ax b]
E E 9) Prove that the n'h derivative of the polynomial hdction Higher Order Derivatives
+ + + +
f(x) = ao a ~ x azxZ ... a d is the constant function n! an.
I
...h:-' -.v nublishr$ ;q 1684. +
expansion of (x y)". The order of the derivative of u goes on decreasing one at a time,
and the order of the derivative of v goes on increasing one at a time. The number of terms
i s n + 1.
Remark 4 We omit the proof of this theorem and merely indicate how this can be pfoved
by induction on n. Firstly, when n = 1, the above formula is the same as the already
known product formula, and therefore is true. Assuming that it is true for n = m, we can
prove it for n = m +
1, by applying the product rule for each term of the expansion of
(uv), and by using the combinatorial identities mentioned. (See E 17) for more details.
We start with a simple and direct application of the formula.
Example 8 If f(x) = x sin x, let us find the fourth derivative of f, using Leibniz Theorem.
We first observe that for n = 4, the Leibniz Theorem states
+ +
( u . v ) ~= C(4,O) U ~ V+ C(4,l) U ~ V I C(4,2) ~ 2 ~ C(4,3)
2 u1v3 + C(4,4) UV4
+ + + +
= U ~ V 4 ~ 3 ~ 6 ~1 2 ~ 4 U2 I V ~ U V ~ .
v4 = sin x
b
(1 - x2) yn+2 - C(n,l) ~xY,, - C(n,2) 2 y.
L
That is,
t ) - (2n -I-1) X Y ~ + I- nZyn= 0
-(I - M ~yn+2
The following exercises will give you some practice in applying Leibniz Theorem;
$11 E
E 13)Find the third derivative of sin'x using Leibniz Theorem. Find the same dlrectly also
I
.it
..r ~, .,
8
. .
El E 14)If f(x) = x ex,find the sixth derivative of f, using Leibniz formula.
iv) ~inomial'series:
..
(1 + x)'= 1 + rx + r(r - 1) x2 + ..... provided 1x1 < 1
We observe that each of them is of the form
f(x) = a. + + + +
+ a, x + a2x2 a3x3 ..... a.xn ....,where 80, al, a2, ....,an,.... are
some constants.
We ask ourselves the questions; Is there anything else common to these four examples? Is
it possible to express a,a,, ..., a,, ... in terms of the function f? Our answer is : Yes. In all
these examples,
Brook Taylor (1685-173 1) and We shall prove this for the above four instances, in the examples worked out below. This
Colin Maclaurin ( 1698- 1746) were expansion is called Taylor's series for f around zero. It is also known as Maclaurin's
both disciples of Newton, Taylor series for f. The name "Taylor's Series for f around zero" suggests that there may be a
first published his series in a paper Taylor's series for f around xo(xo # 0). But in this course we shall restrict ourselves d l y to
in 1715. Maclaurin used Taylor's the series around zero. This series expansion makes sense only when f is infinitely
series as a fundamental tool in his
work on calculus, differentiable at zero. It is valid for many important functions (though not for all functions).
You will learn more about the validity of these series in the course on real analysis. In this
section, you should train yourselves to write down ~aclaurin'sseries for many functions.
We have said above that the function f should be infinitely differentiable, that is, it should
have derivatives of all orders. How do we check this condition? or
some functions it is not
difficult. For example, we have
dn nlr dn n' l ~
dxn
+
- (sin x) = sin (x - - (cos x) = cos (x - )'
2 dxn 2
+
dn
- (coshx)
dxn
= - (ex :) e-x = y1 [ex + (- l)ne-x]
In these cases, we can say that the derivatives of all orders exist for all values of x and we
can confidently use Taylor's series.
~ p f 10e Let us verify that the known series expansion of ex is the same as its
Maclaurin's series.
Maclaurin's series for ex is
Where f(x) = ex
NOW.f(0) = eO= 1
~ l s o((x)
, = e". ((0) = 1.
In fact, we know that f'"'(x) = ex for all natural numbers n, which means f'"'(0) = e0 = 1
for all natural numbers n. Substituting these values of f(O), ((o), ....., f'"'(0) in Maclaurin's
series we get
We note that this is the same as the already known logarithmic series.
Example 12 Now let us write down Maclaurin's series (or Taylor's series around zero) for
l / ( l - x).
1 1
Let f(x) = l-x . Then f(0) = 1 - 0 = 1-
i Note that this agrees with what we already know, namely that the sum of the geometric
i + + + +
wries 1 x + xZ ..... xn ..... is 1/(1 - x).
k
t
Exrunple 13 Suppose we want to wnte down Taylor's series for (1 + x)' around zero,
where r is a fued real number.
Let f(%) = (1+ .')x Then f(0) = 1
f'(x)= r (1 + x)" ;((0) = r
f'?(x) = r(r - 1) (1 t x)" ;f"'(0) = r (r - 1)
Drawing Curves We can prove by induction that
Note : This is the same as the binomial series that we already know. This expansion is
valid only when I x 1 < 1. The reason for this will be clear when you study the course
"Real Analysis". When r = - 1, this bihomial series becomes
Example 14 Let us write down Maclaurin's series for the function sin x.
Let f(x) = sin x. Then we have already seen in E 7)
0 if n is even
1 if n is divisible by 4
- 1 otherwise
nr
f(n)
(01
-
- sin -5-
We see that, as n varies over 0, 1,2, 3, 4, $ 6 , 7 ....,
f'"'(0) takes the values 0, 1,0, - 1,O. 1, 0, - 1, .....
Therefore Maclaurin's series for sin x is
1 0 (- 1) 0
+
sin x = 0 - x - x2 -x3 + + +- x4 + --...
I! 2! 3! 4!
Example 15 To find Taylor's series for cos 2x around zero, let us write f(x) = cos 2x. We
have already seen in Example 6 that
c) cos X
d) 1/(1-2x)
Drawing Curves
I:,
I"
E E 20) Write down the first three non-zero terms in Maclaurin's series of tbe following.
a) sin 3 x
I
b) In (1 - x) 1,
--
b) sin x
( + -1)
I E E 22)If Maclaurin's series for sin x is differentiated term by term, do you get Maclaurin's
series for cos x?
Higher Order Derivatives
E E 23)If Maclaurin's series for ex is differentiated term by term, we get the same series
again. Prove this.
E +
E 24)Consider the function y = a tan-' bx where a and b are fixed real numbers. We
+
are given that its Taylor's series around zero is 2 3 x - 9 x3 ...+
Find the values of a and b.
Drawing Curves E E 25)Find the coefficient of x3 in Taylor's series around zero for the function sin-' x.
Though we have obtained infinite series for many functions, it is necessary to give a note
of caution. These infinite series need not be valid for all values of x, and as such, these
have to be used with care. In the course on real analysis,you will be able to study the
conditions under which these series are valid.
6.6 SUMMARY
E 3) a) y = sin x =3 y4 = sin x = y
b) y = cos x *
yl = - sin x, y2 = - cos x, y3 = sin x
* + +
(y2)2 (y3)2= cos2 x sin2 x = 1.
m! a"
b, -( (m - n)!
(ax + b)"-" if n Im
d3(sin2x)
dx3
d3
-
= --J (sin x. sin x) - cos x sin x - 3 sin x cos x
dx
- 3 sin x cos x - cos x sin x = - 8 sin x cos x
d
-(sin2x) = 2 sin x cos x
dx
d2
a - (sin2x) = 2(cos2 x - sin2 X)
dx2
d3
=+- - (sin2x) = - 8 sin x cos x
dx3
(- iln+lx3
E 15)
xn
[(n - l)! - 3 C(n, 1) (n - 2)! + 6C(n, 2) (n - 3)!
E 24) We take that tan-' bx a!w$ys takes values between -~ 2 +/2. Then, a = 2,
/ and
b=3