Professional Documents
Culture Documents
OBJECTIVES
At the end of this session, you will be able to understand:
Maclaurin’s Theorem
Some Important Expression
Taylor’s Theorems
Function of Two Variables
Total Differential Coefficients
x2 x3 xn n
f ( x) = f (0) + xf '(0) + f ''(0) + f '''(0) + ...... + f (0) + .......
2! 3! n!
Proof.
Suppose f ( x) = a0 + a1 x + a2 x 2 + a3 x 3 + ........................an x n + ................ (1)
In general,
1
Putting these values of constants in (1), we get
x2 x3 xn n
f ( x) = f (0) + xf '(0) + f ''(0) + f '''(0) + ...... + f (0) + .......
2! 3! n!
If we take f(x) = y; f(0) = (y)0; f’(0) = (y1)0, f”(0) = (y2)0, f’’’(0) = (y3)0;……..f’’(0) = (yn)0, then the
above theorem takes the form as
x2 x3 xn
y = (y)0 + x (y1)0 + ( y 2 ) 0 + ( y 3 ) 0 + ......... + ( y n ) 0 + ......
2! 3! n!
x2 x3 xn
or y = (y)0 + xy1(0) + y 2 (0) + y 3 (0) + ......... + y n (0) + ......
2! 3! n!
x x2 x3 xn
We get e = 1 + x + + + ...... + + .....
2! 3! n!
1 1
In general, f n (x) = sin x + nπ so that f n (x) = sin nπ
2 2
2
1 1 1
f n (0) = sin (2m + 1)π = sin mπ + π = (−1) m sin π = (−1) m
2 2 2
Substituting these values in Maclaurin’s series, we get
x3 x 2 m +1
Sinx = 0 + x.1 + 0 + (−1) + 0 + ...... + 0 + (−1) m + ......
3 (2m + 1)!
x3 x5 x 2 m +1
or Sinx = x - + − ...... + (−1) m + ......
3! 5! (2m + 1)!
x2 x4 x5 x 2m
Cosx = 1 - + − + ....... + (−1) m + .....
2! 4! 6! (2m)!
(−1) n −1 (n − 1)!
f n (x) =
( x + 1) n
Substituting the values of f (0), f ’(0),f ’’(0), etc. in Maclaurin’s series, we have
x2 xn n
f (x) = f(0) + x f ’(0) + f ' ' (0) + ..... + f (0) + ....,
2! n!
x2 x3 x4 xn
we get log (1 + x) = 0 + x.1 - .1!+ .2!− .3!+..... + (−1) n −1 (n − 1)!+.....
2! 3! 4! n!
x2 x3 x4 n −1 x
n
or log (1 + x) = x - + − + ...... + (−1) + .....
2 3 4 n
3
4. Expansion of (1 + x)n. (Binomial series):
Substituting the values of f (0), f ’(0), f ’’’(0) etc. in Maclaurin’s series for (x), we get
Solution:
(i) Let y = tanx. Then (y) 0 = tan0 = 0
y5 = 6y22 + 6y1y3 + 2y1y3 + 2yy4 = 6y22 + 8y1y3 + 2yy4 so that (y5)0 = 0+8 × 1 × 2 + 0 = 16
and so on.
4
(ii) Let y = log sec x. then (y) 0 = log sec 0 = log 1 = 0,
1
y1 = .sec xtanx = tanx so that ( y1 )0 = 0.
sec x
y2 = sec 2 x = 1 + tan 2 x = x = 1 + y 21 so that ( y2 )0 = 1 + ( y1 )02 = 1
y3 = 2 y1 y2 so that ( y3 )0 = 2( y1 )0 ( y2 )0 = 0,
y4 = 2 y22 + 2 y1 y3 so that ( y4 )0 = 2 × 12 + 0 = 2
y5 = 4 y2 y3 + 2 y2 y3 + 2 y1 y4 = 6 y2 y3 + 2 y1 y4 so that ( y5 )0 = 6 × 1 × 0 + 2 × 0 × 2 = 0
y6 = 6 y32 + 6 y2 y4 + 2 y2 y4 + 2 y1 y5 = 6 y32 + 8 y2 y4 + 2 y1 y5
so that , ( y6 )0 = 0 + 8 × 1 × 2 + 0 = 16, and so on.
x2 x3 x4
y = ( y ) 0 + x( y1 ) 0 + ( y 2 ) 0 + ( y3 ) 0 + ( y 4 ) 0 + ...........
2! 3! 4!
x2 x3 x4 x5 x6
∴ log sec x = 0 + x.0 + .1 + .0 + .2 + .0 + .16............
2! 3! 4! 4! 4!
2 4 6
x x x
= + + + ........
2 12 45
Solution.
In general,
5
n n
yn = (1 + 1) 2 cos( x + n tan −1 1) = (2) 2 cos( x + nπ / 4)
n 1
so that ( yn )0 = (2) 2 cos( nπ )
4
Now by Maclaurin’s theorem, we get
x2 xn
y = ( y )0 + x( y1 )0 + ( y2 )0 + ............. + ( yn )0 + ...................
2! n!
2 3 4
x x x x5 x6 x7
= 1 + x.1 + .0 + (−2) + (−22 ) + (−22 ) + .0 + 23 + ....
2! 3! 4! 5! 6! 7!
n
x 1
+ 2n 2 cos π n + ......
n! 4
2 x 3 2 2 x 4 2 2 x 5 23 x 7 n 1 x
n
= 1+ x − − − − + .......2 cos nπ + ...........
2
3! 4! 4! 7! 4 n!
6
Cor.1. Putting a = 0 in (5) we get
h2 hn
f (a + h) = f (a) + hf ' (a ) + f " (a ) + ........ + f " (0) + .........................
2! n!
Solution:
f ( x + h) = log sin( x + h)
1
∴ f ( x) = log sin x. Futher f '( x) = cos x = cot x,
sin x
f " = − cos ec 2 x, f '"( x) = 2 cos ec 2 x cot x,
.............................
.........................
x x2 x3
Example: Show that log( x + h) = log h + − + − .......... .....
h 2h 2 3h 3
Solution: Since we are to expand log ( x + h ) in power of x, therefore we are to use the from given in
Cor3. putting x for a in Cor3, we get.
7
x2
f ( x + h) = f ( x) + xf '(h) + f "(h) + ................ (1)
2!
Now f ( x + h) = log( x + h)
1 1 2
∴ f (h) = log h; f '(h) = ; f "(h) = − 2 ; f ''(h) = 3 ,.............
h h h
Putting these value in (1) we get
x x2 x3
log( x + h) = log h + − 2 + 3 + ..............
h 2h 3h
Taylor’s Theorem for function of two variables. “To expand f ( x + h , y+ k ) in powers of h and k,
in case f (x , y) and all its parietal derivatives are continuous in a certain domain of the point (x, y)”
Taking f (x+h ,y+k) as a function of one variable, say x i.e.x varies while y remains constant then
expanding by Taylor’s theorem we have
∂f ( x, y + k ) h 2 ∂f ( x, y + k
f ( x + h, y + k ) = f ( x , y + k ) + h + + ......(1)
∂v 2! ∂x 2
Further, expanding each term on the right hand side of (1) by Taylor’s theorem taking y as variable and
x as constant, we have
∂f ( x, y ) k 2 f ( x, y ) ∂ ∂f ( x, y )
f ( x + h, y + k ) = f ( x , y ) + k + + ...... + h f ( x, y ) + k + .......
∂y 2! ∂y 2
∂x ∂y
h2 ∂ 2 ∂f ( x, y )
+ 2
f ( x, y ) + k + ....... + ............
2! ∂y ∂y
∂f ∂f 1 ∂ 2 f ∂2 f ∂2 f
⇒ f ( x + h, y + k ) = f ( x, y ) + h + k + h 2 2 + 2hk + k 2 2 + ......
∂x ∂y 2! ∂x ∂x∂y ∂y
Or in symbolic from, we get
"
1 ∂ ∂
2
∂f ∂f ∂ 1 ∂
f ( x + h, y + k ) = f ( x, y ) + h + k f + h + k f + ..... + h + k f + ...... where
∂x ∂y 2! ∂x ∂y n ! ∂x ∂y
f = f(x ,y)
n
∂ ∂ n ∂ f
n
n −1 ∂n f n(n − 1) n − 2 2 ∂ n f n ∂ f.
n
h + k f = h + nh k n −1 + h k + ..... + k
∂x ∂y ∂x n ∂x ∂y 2! ∂x n −1∂ 2 y ∂y n
[by Binomial Theorem]
8
We now give an accurate statement of Taylor’s Theorem for function of two variables. If f (x, y)
th
possesses continuous partial derivates upto n order for all points (x,y) in the region
( a ≤ x ≤ a + h, b ≤ y ≤ b + k ) , then we have
2
∂ ∂ 1 ∂ ∂
f (a + h, b + k ) = f (a, b) + h + k f (a, b) + h + k f (a, b) + ..........
∂x ∂y 2! ∂x ∂y
n −1 n
1 ∂ ∂ 1 ∂ ∂
.... + h + k f (a, b) + h + k f (a + θ h, b + θ k )
(n − 1)! ∂x ∂y n ! ∂x ∂y
where 0 < θ < 1
∂u ∂u
If u = f( y ); then to show that du = dx + dy :
∂x ∂y
∂u ∂u ∂x ∂u ∂y
= +
∂t1 ∂x ∂t1 ∂y ∂t1
∂u ∂u ∂x ∂u ∂y
and = +
∂t2 ∂x ∂t2 ∂y ∂t2
9
Example: Expand f ( x, y ) = x y + 3 y − 2 in power of (x - 1) and ( y + 2 ) by Taylor’s theorem.
2
Given a = 1, b = -2
1
x 2 y + 3 y − 2 = 10[( x − 1)(−4) + ( y + 2)(4)] + [ x − 1) 2 (−4)
2!
1
+ 2( x − 1)( y + 2)(2) + ( y + 2) 2 (0)] + [( x − 1)3 (0)
3!
+ 3( x − 1) ( y + 2)(2) + 3( x − 1)( y + 2) 2 (0) + ( y + 2)3 (0)].
2
10
y1 = ae ax , ⇒ ( y1 )0 = ae0 = a,
y 2 = a 2 e ax ⇒ ( y2 )0 = a 2 e0 = a 2
............... ....................
............... .....................
yn = a n e ax ⇒ ( yn ) 0 = a n e 0 = a n .
x2 x3 xn
y = ( y )0 + x( y1 )0 + ( y2 )0 + ( y3 )0 + ....... + ( yn )0 + .............
2! 3! n!
2 3 n
x x x
⇒ e ax = 1 + xa + a 2 + a 3 + ....... + a n + ...........
2! 3! n!
Note: If a = 1, then
x 2 x3 xn
ex = 1 + x + + + ......... + ....
2! 3! n!
x2 x2
e sec x = ( y )0 + x( y1 )0 + ( y2 )0 + ( y3 )0 + ............
x
2! 3!
3
x2 x
= 1 + x.1 + .2 + .4 + ........
2! 3!
2
⇒ e x sec x = 1 + x + x 2 + x3 + ..........
3
11
Example: Use Maclaurin’s theorem to find the expansion of log(l + e ) in ascending powers of x to
x
the containing x 4 .
ex e0 1
y1 = , ( y1 ) 0 = =
1 + ex l + e0 2
(1 + e x )e x − e x .e x e x [1 + e x − e x ] ex 1
y2 = = = .
(l + e x ) 2 (1 + e x ) 2 (l + e x ) (1 + e x )
1 ex
= y1 = y1 1 − x
1 + ex 1+ e
1 1 1
⇒ y 2 = y1 (1 − y1 ), ( y2 )0 = ( y1 )0 [1 − ( y1 )0 ] = 1− =
2 2 2
y3 = y2 (1 − y1 ) + y1 (− y2 ), ( y3 )0 = ( y2 )0 − 2( y1 )0 ( y2 )0
1 1 1
= y2 − 2 y1 y2 = − 2. . = 0
2 2 4
y4 = y3 − 2 y3 y1 − 2 y2 2 , ( y4 )0 = ( y3 )0 − 2( y3 ) 0 ( y1 ) 0 − 2( y2 2 ) 0
1 1
= 0 − 0 − 2. =−
16 8
∴By Maclaurin’s theorem, we get
x2 x2
log(1 + e x ) = ( y ) 0 + x ( y1 ) 0 + ( y2 ) 0 + ( y 3 ) 0 + ........
2! 3!
1 x2 1 x2 x4 1
= log 2 + x. + . + .0 + . − + ............
2 2! 4 3! 4! 8
1 1 1 4
⇒ log(1 + e x ) = log 2 + x + x 2 − x + ..........
2 8 192
2 2 2 2
12
1 1 1 1 1
cos 2 x − sin 2 x cos x − sin x 1 − tan x
= 2 2 = 2 2 = 2
1 1
2
1 1 1
cos x + sin x cos x + sin x 1 + tan x
2 2 2 2 2
1
(by dividing Num. and Den. By cos x )
2
1 1 1
⇒ y1 = tan π − x ∴ ( y1 ) 0 = tan π = 1 ……(2)
4 2 4
1 1 1 1 1
y 2 = sec 2 π − x . − , ∴( y 2 ) 0 = − sec 2 π = −1 ……(3)
4 4 2 2 4
1 1 1 1 1 1 1
y3 = − 2sec 2 π − x − × tan π − x −
2 4 2 2 4 2 2
1 1 1 1 1
= − − sec 2 π − x × tan π − x
2 4 2 4 2
= − y 2 , y1 , ∴ ( y3 )0 = −( y2 )0 ( y1 )0 = +1 …….(4)
2
y4 = −[ y4 y1 + y2 2 ], ∴ ( y 4 ) 0 = −( y 3 ) 0 ( y1 ) − ( y 2 ) 0 = −1 − 1 = −2 …..(5)
…. …. ….. …..
…. …. ….. …..
13
1 2
y1 = ⇒ y1 (1 − x 2 ) = 1 …..(2)
(1 − x )2
2
y1 (−2 x) + 2 y1 y 2 (1 − x 2 ) = 0 ⇒ − xy1 + y 2 (1 − x 2 ) = 0
……(3)
⇒ y 2 (1 − x 2 ) − xy1 = 0
Differentiating (3) n times by Leibnitz’s theorem, we have
n(n − 1)
( )
⇒ y n + 2 1 − x 2 − ny n +1 (−2 x) +
2!
y n (−2) − y n +1 .x − ny n = 0
( yn+2 ) 0 - n2 ( yn)0 = 0
( y3 ) 0 − 1( y1 ) 0 = 0 ⇒ ( y3 ) 0 = ( y1 ) 0 ⇒ ( y3 ) 0 = 1
( y 4 ) 0 − 4( y 2 ) 0 = 0 ⇒ ( y 4 ) 0 = 4( y 2 ) 0 ⇒ ( y 4 ) 0 = 0.
( y 5 ) 0 − 9( y 3 ) 0 = 0 ⇒ ( y 5 ) 0 = 9( y 3 ) 0 ⇒ ( y 5 ) 0 = 9 = 3 2
( y6 ) 0 − 16( y 4 ) 0 = 0 ⇒ ( y6 ) 0 = 16( y 4 ) 0 ⇒ ( y 6 ) 0 = 0
2! 3! 4! 5! 6! 7!
3 2 5 2 2 7
x 3 .x 3 .5 .x
= x− + + . + .............
3! 5! 7!
14
1 1 1 3 1 1 3 5 1
⇒ sin −1 x = x + . x 3 + . . x 5 + . . . x 7 + .......
2 3 2 4 5 2 4 2 7
−1
Example: Expand (sin x)2 in ascending powers of x.
−1 2
Solution: Let y = (sin ) (y1) 0 = 0
1
y1 = 2 ( sin −1 x )
(1 − x ) 2
2
⇒ (1 − x 2 ) y1 = 4(sin −1 x) 2 = 4 y
( ) 2
⇒ 1 − x 2 y1 = 4 y ∴(y ) = 0 1 0
⇒ (1 − x )2 y y − 2 xy = 4 y
2 2
1 2 1 1
⇒ (1 − x )y − xy − 2 = 0
2
2 ∴(y ) = 2
1 2 0
n(n − 1)
y n + 2 (1 − x 2
) + ny n +1 ( −2 x ) + y n (2) − [ y n +1 x + ny n ] = 0
2!
⇒ (1 − x 2 ) y n + 2 − (2n + 1) xy n +1 − n 2 y n = 0
∴ ( y n + 2 ) = n2 ( y n ) 0 …(1)
( y3 )0 = 1. ( y1 )0 = 0 ( y4 )0 = 22. ( y2 )0 = 22.2;
( y5 )0 = 32. ( y3 )0 = 0 ( y6 )0 = 42. ( y4 )0 = 22.24.2;
Hence
−1 x2 x3
(sin x) = ( y0 ) + x( y1 )0 + ( y2 )0 + ( y3 )0 + ......
2
2! 3!
2 2 4 2 2 6
2.x 2 .2.x 4 .2 .2.x
= + + + ................ ......(2)
2! 4! 6!
Deductions:
15
2 sin 2 θ sin 4 θ 2 2.2 sin 6 θ
θ2 = + 2 2 .2 + 4 2. + .......
2! 4! 6!
(1 − x )
2 3! 5!
sin −1 x 2 3 2.4.x 5
⇒ = x+ x + + .........
(1 − x )2 3 3.5
Solution: First we observe that we are to expand sin-1 (x + h) in ascending powers of x. so let
16
Example: Use Taylor’s theorem to prove that
sin θ sin 2θ sin 3θ
tan-1(x + h) = tan-1x +(hsin θ ) − (h sin θ ) 2 + (h sin θ )3 − .....
1 2 3
sin nθ
….+(-1)n-1(hsin θ )n + ....., where 0 = cot-1x
n
h h2 hn
f ( x + h) = f (x) + f '( x) + f ''( x) + ..... + f ''( x) + .... …….(1)
1! 2! n!
f ’(x)= sin θ sin θ , f ’’(x) = -1! sin2 θ sin2 θ f ’’’(x) = 2! Sin3 θ sin3 θ .etc.
π
Example: Expand ex cosy near the point 1, by Taylor’s Theorem.
4
Solution: By Taylor’s theorem
2 3
∂ ∂ 1 ∂ ∂ 1 ∂ ∂
F(x + h, y + k) = F (x, y) + h + k F + h + k F + h + k F + .....(1)
∂x ∂y 2! ∂x ∂y 3! ∂x ∂y
π π π π
=F 1 + ( x − 1). + y − , where h = x -1, k = y - = F 1 + h + k
4 4 4 4
17
π e
F(x, y) = ex cosy ⇒ F 1. =
4 2
∂F ∂F π e
= e x cos y ⇒ 1. =
∂y ∂y 4 2
∂F ∂ F π
2
e
= −e x sin y ⇒ 1. =
∂x ∂x 2 4 2
∂2F ∂ F π
2
e
= e x cos y ⇒ 2
1. =
∂x 2
∂x 4 2
∂2F ∂ F π −e
2
= −e x cos y ⇒ 1. =
∂y 2
∂y 2 4 2
∂2F ∂2F π − e
= −e x cos y ⇒ 1. =
∂x∂y ∂x∂y 4 2
18
ADDITIONAL PROBLEMS:
19