[mathjax]
Taylor expansion around x = a is to express an arbitrary function f (x) in a form like the expression below.
When a = 0, it can be written as follows. This case is called “Maclaurin’s expansion” specially.
\(f^{(k)}(x)\) means the \(k\)th order derivative of the function \(f(x)\).
A Process of Taylor expansion
In this example, let us talk about from the first term of the Taylor expansion around x=a to the \(n\)th.
①Find the n th derivative from the first derivative of the function f (x). For example, in the case of n = 3, it is necessary to obtain the first derivative, the second derivative, and the third derivative.
②Substitute x = a into the every derivative obtained by f (x) and ①.
③Calculate the sum of derivatives obtained in ②.
Practice
f(x)=sinx, n=3 Maclaurin’s expansion
①First-order, second-order and third-order derivatives of sinx are cosx, -sinx, and -cosx, respectively.
②We get a=0 because we are thinking about McLoughlin deployment now. Therefore, substitute x = 0, and we get sin 0 = 0, cos 0 = 1, – sin 0 = 0 and – cos 0 = – 1.
③Calculate the sum of derivatives.
(0!=1、1!=1、2!=2・1、3!=3・2・1)
f(x)=cosx, n=3 Maclaurin’s expansion
Calculate in exactly the same way as for sinx.
Odd and even functions
Since sinx is an odd function, it includes odd functions \(x\) and \(x^3\). Similarly, since cosx is an even function, it includes the even function \(x^2\).
Conclusion
We confirmed the definition of Taylor expansion and its examples.