1, what is Taylor expansion
In mathematics, Taylor series represents a function with an infinite term addition-series, and these added terms are obtained by the derivative of the function at a certain point. Taylor series are named after Brooke Taylor, an English mathematician who published Taylor's formula in 1715. The Taylor series obtained by the derivative of the function at the zero point of the independent variable is also called the McLaughlin series, named after the Scottish mathematician Colin McLaughlin.
- Wikipedia
Taylor's Mean Value Theorem 1:
If the function \(f(x)\) has a \(n\) order derivative at \(x_0\), then there is a neighborhood of \(x_0\), for the neighborhood Any \(x\), have
in
Formula (1-1) is called the function \(f(x)\) at \(x_0\) (or expanded by the power of \((x-x_0)\)) with Pei The \(n\) order Taylor formula of the Arno residual term, the expression (1-2) of \(R_n(x)\) is called the Peano residual term.
Taylor's Mean Value Theorem 2:
If the function \(f(x)\) has (n+1) derivatives in a certain neighborhood \(U(x_0)\) of \(x_0\), then for any \ (x\in U(x_0)\), there is
in
Formula (2-1) is called the function \(f(x)\) at \(x_0\) (or expanded by the power of \((x-x_0)\)) with pull The \(n\) order Taylor formula of the Grange residual term, the expression (2-2) of \(R_n(x)\) is called the Lagrange residual term.
2, commonly used Taylor formula
$$e^x=1+x+\frac{x^2}{2!}+o(x^3)$$
$$\sqrt{1+x}=1+\frac{x}{2}-\frac{x^2}{8}+\frac{x^3}{16}+o(x^3)$$
$$\frac{1}{1-x}=1+x+x^2+x^3+o(x^3)$$
$$\frac{1}{1+x}=1-x+x^2-x^3+o(x^3)$$
$$\sin x=x-\frac{x^3}{3! }+\frac{x^5}{5!}+o(x^5)$$
$$\cos x=1-\frac{x^2}{2!}+\frac{x^4}{4!}+o(x^4)$$
$$\tan x=x+\frac{x^3}{3}+\frac{2x^5}{15}+o(x^5)$$
$$\arctan x=x-\frac{x^3}{3}+\frac{x^5}{5}+o(x^5) \\$$
3. Precautions
If and only when \(x\) is small, the first few items of Taylor's formula can be used to estimate the original formula.
For example:
\(a=e^{0.3}\), \(b=\frac{\ln{1.5}}{2}+1\), \(c=\sqrt{1.5}\) .
Using the first three terms of Taylor's formula, \(a\approx1.35\), \(b\approx1.16\), \(c\approx1.25\), easy to get \(a >c>b\).
In my experience, Taylor's formula works best when the value difference is around 0.1.
What if the value difference is large?
For example: \(a=\sin4\), \(b=\ln{4}\), \(c=4^{-\frac{1}{4}}\).
Obviously,
\(a<0\),\(b>1\),\(0<c<1\),\(b>c>a\)
At this time, if you use Taylor's formula, you will find that the result is not very consistent with the true value. This is because \(x\) has reached 3 and 4, which is no longer applicable.
Use Taylor Formula to Solve Irrational Comparing Problem in NCEE
Comments