Answer on Question #64245 – Math – Differential Equations
Question
Taylor's expansion of f ( x ) = sin x f(x) = \sin x f ( x ) = sin x at x = 0 x = 0 x = 0 .
Solution
By the definition, Taylor expansion is given by
f ( x ) = ∑ n = 0 ∞ f ( n ) ( a ) ( x − a ) n n ! , f(x) = \sum_{n=0}^{\infty} \frac{f^{(n)}(a)(x - a)^n}{n!}, f ( x ) = n = 0 ∑ ∞ n ! f ( n ) ( a ) ( x − a ) n ,
where a a a is a point where the expansion is evaluated,
n ! = 1 ⋅ 2 ⋅ ⋯ ⋅ n n! = 1 \cdot 2 \cdot \cdots \cdot n n ! = 1 ⋅ 2 ⋅ ⋯ ⋅ n is the factorial of n n n ,
f ( n ) ( a ) f^{(n)}(a) f ( n ) ( a ) is the n n n th derivative of f f f evaluated at the point a a a .
In this problem
f ( x ) = sin ( x ) , f ( n ) ( a ) = sin ( a + n π 2 ) , a = 0 , f(x) = \sin(x), \quad f^{(n)}(a) = \sin\left(a + \frac{n\pi}{2}\right), \quad a = 0, f ( x ) = sin ( x ) , f ( n ) ( a ) = sin ( a + 2 nπ ) , a = 0 , f ( n ) ( 0 ) = sin ( n π 2 ) = { 1 , if n = 4 m + 1 , in is integer , 0 , if n = 2 m , m is integer , − 1 , if n = 4 m + 3 , m is integer . f^{(n)}(0) = \sin\left(\frac{n\pi}{2}\right) = \begin{cases} 1, & \text{if } n = 4m + 1, \text{ in is integer}, \\ 0, & \text{if } n = 2m, \quad \text{m is integer}, \\ -1, & \text{if } n = 4m + 3, \text{m is integer}. \end{cases} f ( n ) ( 0 ) = sin ( 2 nπ ) = ⎩ ⎨ ⎧ 1 , 0 , − 1 , if n = 4 m + 1 , in is integer , if n = 2 m , m is integer , if n = 4 m + 3 , m is integer .
In other words, the derivatives of even degree are zero.
General formula of expansion of f ( x ) = sin x f(x) = \sin x f ( x ) = sin x at x = 0 x = 0 x = 0 :
sin x = ∑ n = 0 ∞ ( − 1 ) n ( 2 n + 1 ) ! x 2 n + 1 = x − x 3 3 ! + x 5 5 ! − ⋯ \sin x = \sum_{n=0}^{\infty} \frac{(-1)^n}{(2n + 1)!} x^{2n+1} = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots sin x = n = 0 ∑ ∞ ( 2 n + 1 )! ( − 1 ) n x 2 n + 1 = x − 3 ! x 3 + 5 ! x 5 − ⋯
Answer: sin x = ∑ n = 0 ∞ ( − 1 ) n ( 2 n + 1 ) ! x 2 n + 1 = x − x 3 3 ! + x 5 5 ! − ⋯ \sin x = \sum_{n=0}^{\infty} \frac{(-1)^n}{(2n+1)!} x^{2n+1} = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots sin x = ∑ n = 0 ∞ ( 2 n + 1 )! ( − 1 ) n x 2 n + 1 = x − 3 ! x 3 + 5 ! x 5 − ⋯
Answer provided by www.AssignmentExpert.com