Taylor’s series and Maclaurin's series expansion of a function which are infinitely differentiable
(i) ex
Solution :
Let f(x) = ex
f(x) = ex f(0) = e0 f(0) = 1 |
f'(x) = ex f'(0) = e0 f'(0) = 1 |
f''(x) = ex f''(0) = e0 f''(0) = 1 |
(ii) sin x
Solution :
Let f(x) = sin x
f(x) = sin x f(0) = sin(0) f(0) = 0 |
f'(x) = cos x f'(0) = cos(0) f'(0) = 1 |
f''(x) = -sin x f''(0) = -sin (0) f''(0) = 0 |
f'''(x) = -cos x f'''(0) = -cos (0) f'''(0) = -1 |
f'v(x) = sin x fiv(0) = sin (0) fiv(0) = 0 |
fv(x) = cos x
fv(0) = cos (0)
fv(0) = 1
(iii) cos x
Solution :
Let f(x) = cos x
f(x) = cos x f(0) = cos(0) f(0) = 1 |
f'(x) = -sin x f'(0) = -sin(0) f'(0) = 0 |
f''(x) = -cos x f''(0) = -cos(0) f''(0) = -1 |
f'''(x) = sin x f'''(0) = sin(0) f'''(0) = 0 |
f'v(x) = cos x f'v(x) = cos(0) f'v(x) = 1 |
(iv) log (1-x) ; -1 ≤ x < 1
Solution :
f(x) = log (1-x)
f(0) = log (1-0) ==> 0
f'(x) = -1/(1-x)
f'(0) = -1
f''(x) = -1/(1-x)2
f''(0) = -1
f'''(x) = -2/(1-x)3
f'''(0) = -2
(v) tan-1 x ; -1 ≤ x ≤ 1
Solution :
f(x) = tan-1 x
f(0) = tan-1 (0) ==> 0
f'(x) = 1/(1+x2)
f'(x) = (1+x2)-1
f'(x) = 1 - x2 + x4 - x6 +...............
f'(0) = 1
f''(x) = 0 - 2x + 4x3 - 6x5 +...............
f''(0) = 0
f'''(x) = -2 + 12x2 - 30x4 +...............
f'''(0) = -2
f'v(x) = 24x - 120x3 +...............
f'v(0) = 0
fv(x) = 24 - 360x2 +...............
fv(0) = 24
(vi) cos2 x
Solution :
f(x) = cos2 x
f(0) = cos2 (0)
f(0) = 1
f'(x) = 2cos x (-sin x)
f'(x) = -sin 2x
f'(0) = -sin 2(0) = 0
f''(x) = -cos 2x (2)
f''(x) = -2cos 2x
f''(0) = -2cos 2(0) ==> -2
f'''(x) = 4sin 2x
f'''(0) = 4sin 2(0) ==> 0
f'v(x) = 8cos 2x
f'v(0) = 8cos 2(0) ==> 8
cos2x = 1 + (0x)/1! + (-2)x2/2! + 0x3/3! + 8x4/4! +.......
cos2x = 1 - x2 + x4/3 +.......
Problem 2 :
Write down the Taylor series expansion, of the function log x about x = 1 upto three non-zero terms for x > 0
Solution :
f(x) = log x
f(x) = f(1) + [(x-1)/1!] f'(1) + [(x-1)2/2!] f''(1)
+ [(x-1)3/3!] f'''(1) +................
f(x) = log x
f(1) = log 1 ==> 0
f'(x) = 1/x
f'(1) = 1/1 ==> 1
f''(x) = -1/x2
f''(1) = -1/12 ==> -1
f'''(x) = 1/x3
f'''(1) = 1/13 ==> 1
log x = 0 + [(x-1)/1!](1) + [(x-1)2/2!] (-1)
+ [(x-1)3/3!] (1) +................
log x = (x-1) - [(x-1)2/2] + [(x-1)3/6] (1) +................
Problem 3 :
Expand sin x in ascending powers x-π/4 upto three non zero terms.
Solution :
f(x) = sin x
x = x-π/4
f(π/4) = sin π/4 = 1/√2
f'(x) = cos x : f'(π/4) = 1/√2
f''(x) = -sin x : f''(π/4) = -1/√2
f(x) = f(π/4) + [(x-π/4)/1!] f'(π/4) + [(x-π/4)2/2!] f''(π/4) + [(x-π/4)3/3!] f'''(π/4) +................
f(x) = (1/√2) + (x-π/4) (1/√2) + [(x-π/4)2/2] (-1/√2)
+ [(x-π/4)3/6] (-1/√2) +................
f(x) = (1/√2)[1 + (x-π/4) - [(x-π/4)2/2]
- [(x-π/4)3/6] +................
Problem 4 :
Expand the polynomial f(x) = x2-3x+2 in powers of x-1.
Solution :
f(x) = x2-3x+2
f(1) = 12-3(1)+2 = 0
f'(x) = 2x-3
f'(1) = 2(1)-3 = -1
f''(x) = 2
f(x) = f(1)+[(x-1)/1!]f'(1)+[(x-1)2/2!]f''(1)
+[(x-1)3/3!]f'''(1)................
f(x) = 0+[(x-1)/1!](-1)+[(x-1)2/2!](2)
f(x) = -(x-1)+(x-1)2
Problem 5 :
a) Find the Maclaurin series for the function f(x) = ln(1 + x) and hence that for ln (1 + x)/x
b) By keeping the first four terms in the Maclaurin series for ln(1 + x)/x integrate the function ln (1 + x)/x from x = 0 and x = 1.
c) Estimate the magnitude and sign of the error made is evaluating the integral in this way.
d) Confirm that your results are consistent with alternating series estimation theorem by evaluating the integral on the GCD.
Solution :
a)
f(x) = ln (1 + x)
Let x = 0
f(0) = ln (1 + 0)/0
= 0 -----(1)
f'(x) = 1/(1 + x)
f'(0) = 1/(1 + 0)
f'(0) = 1 -----(2)
f'(x) = (1 + x)-1
f''(x) = -1(1 + x)-2
f''(0) = -1(1 + 0)-2
= -1 -----(3)
f'''(x) = -1(-2) (1 + x)-3
= 2 (1 + x)-3
f'''(0) = 2 (1 + 0)-3
= 2(1/1)3
= 2 -----(4)
f'v(x) = 2(-3) (1 + x)-4
= -6 (1 + x)-4
fiv(0) = -6 (1 + x)-4
= -6(1 + 0)-4
= -6 -----(5)
f(x) = f(0) + [f'(0)/1!]x + [f''(0)/2!] x2 + [f'''(0)/3!] x3 + ..........
ln (1 + x) = 0 + (1/1!)x + (-1/2!) x2 + (2/3!) x3 + (-6/4!) x4 + ...........
= x - (x2/2) + (2x3/6) + (-6x4/24) + ...........
ln (1 + x) = x - (x2/2) + (x3/3) - (x4/4) + ...........
ln (1 + x)/x = (x - (x2/2) + (x3/3) - (x4/4) + ...........)/x
= 1 - x/2 + (x2/3) - (x3/4) + ...........
b) Integrate the above expansion, we get
= x - x2/4 + x3/9 - x4/16 + ............
Applying the limits, we get
= 1 - 12/4 + 13/9 - 14/16 + ............
= 1 - 0.25 + 0.1111...- 0.0625 +......
= 0.7985.......
(c) The error is less in magnitude than the first term neglected i.e. 1/52 =0.0400 and has the same sign (i.e. positive) so the estimate is an underestimate.
(d)The value of the integral is 0.8225. The error is thus 0.8225 - 0.7986 = +0.0239.
Kindly mail your feedback to v4formath@gmail.com
We always appreciate your feedback.
©All rights reserved. onlinemath4all.com
Mar 05, 25 11:14 AM
Mar 05, 25 11:12 AM
Mar 05, 25 11:10 AM