Question
Question: How do you find the first five terms of the Taylor series for \(f\left( x \right)={{x}^{8}}+{{x}^{4}...
How do you find the first five terms of the Taylor series for f(x)=x8+x4+3 at x=1 ?
Solution
Taylor series is given as f(x)+1!f′(x)x+2!f′′(x)x2+3!f′′′(x)x3+........∞ where, f′(x),f′′(x),f′′′(x) are the first, second and third derivatives of the functionf(x). Here, 1!,2!,3! are the factorials of 1,2 and 3 respectively. Therefore, we shall calculate a few terms and then observe the pattern occurring to find our final solution.
Complete step by step solution:
We have to find the first five terms of this series for x=1.
Let us differentiate the function f(x)=x8+x4+3 now. We shall use the property of differentiation given as dxdxn=nxn−1 several times to differentiate the function.
⇒f′(x)=dxd(x8+x4+3)
⇒f′(x)=8x7+4x3 …………….. (1)
Again differentiating the function with respect to x, we get:
⇒f′′(x)=dxdf′(x)
⇒f′′(x)=dxd(8x7+4x3)⇒f′′(x)=56x6+12x2
⇒f′′(x)=56x6+12x2 …………………… (2)
Third time differentiating the function with respect to x, we get
⇒dxdf′′(x)=dxd(56x6+12x2)⇒f′′′(x)=dxd(56x6+12x2)
⇒f′′′(x)=336x5+24x
⇒f′′′(x)=336x5+24x ………………. (3)
Fourth time differentiating the function with respect to x, we get
⇒dxdf′′′(x)=dxd(336x5+24x)⇒f′′′′(x)=dxd(336x5+24x)
⇒f′′′′(x)=1680x4+24 ………………. (4)
From (1), (2), (3) and (4), we substitute the value of x equals to 1 to calculate the value of the first, second and third derivative of function at point x=1.
⇒f′(1)=8(1)7+4(1)3
⇒f′(1)=12
Now, f′′(1)=56(1)6+12(1)2
⇒f′′(1)=68
And, f′′′(1)=336(1)5+24(1)
⇒f′′′(1)=360
Also, f′′′′(1)=1680(1)4+24
⇒f′′′′(x)=1704
Also, f(1)=18+14+3
⇒f(1)=55
Hence, the value of the first, second, third and fourth derivative of function at point x=1is 12, 68, 360 and 1704 respectively.
The Taylor series is given as f(x)+1!f′(x)x+2!f′′(x)x2+3!f′′′(x)x3+........∞.
Now, we shall calculate the first five terms of this series at x=1 one-by-one.
First term: f(1)=55
Second term: 1!f′(x)x=1!f′(1)1
⇒1!f′(1)1=12
Third term: 2!f′′(x)x2=2!f′′(1)12
⇒2!f′′(1)12=268=34
Fourth term: 3!f′′′(x)x3=3!f′′′(1)13
⇒3!f′′′(1)13=6360=60
Fifth term: 4!f′′′′(x)x4=4!f′′′′(1)14
⇒4!f′′′′(1)14=241704=71
Therefore, the first five terms of the Taylor series for f(x)=x8+x4+3 at x=1 are 55, 12, 34, 60, 71.
Note:
Maclaurin series is a special case of Taylor series centered at x=0. It is given as f(0)+1!f′(0)x+2!f′′(0)x2+3!f′′′(0)x3+........∞ where, f′(0),f′′(0),f′′′(0) are the first, second and third derivatives of the functionf(x) at x=0. Likewise, 1!,2!,3! are the factorials of 1,2 and 3 respectively.