The Taylor series formula is the representation of any function as an infinite sum of terms. These terms are calculated from the values of the function’s derivatives at a single point. This concept was formulated by the Scottish mathematician James Gregory. But, it was formally introduced by the English mathematician Brook Taylor in 1715. For the expansion of mathematical series, it is used extensively. In this topic, we will see the concept of Taylor series and Taylor Series Formula with examples.
Taylor Series Formula
What is Taylor Series?
A function can be approximated by using a finite number of terms in its Taylor series. Taylor’s theorem is providing quantitative estimates on the error. The polynomial formed by taking some initial terms of the Taylor series is popular as Taylor polynomial.
The Taylor series of a function is the limit of that function’s Taylor polynomials with the increase in degree if the limit exists. A function may not be equal to its Taylor series, although its Taylor series converges at every point.
We have two assumptions. First, assume that the function f(x) does in fact have a power series representation about x=a,
\(f\left( x \right) = \sum\limits_{n = 0}^\infty {{c_n}{{\left( {x – a} \right)}^n}} = {c_0} + {c_1}\left( {x – a} \right) + {c_2}{\left( {x – a} \right)^2} + {c_3}{\left( {x – a} \right)^3} + {c_4}{\left( {x – a} \right)^4} + \cdots\)
Next, we will assume that the function, f(x), has derivatives of every order and that we can find easily.
Formula for Taylor Series:
\(\begin{align*}f\left( x \right) & = \sum\limits_{n = 0}^\infty {\frac{{{f^{\left( n \right)}}\left( a \right)}}{{n!}}{{\left( {x – a} \right)}^n}} \\ & = f\left( a \right) + f’\left( a \right)\left( {x – a} \right) + \frac{{f”\left( a \right)}}{{2!}}{\left( {x – a} \right)^2} + \frac{{f”’\left( a \right)}}{{3!}}{\left( {x – a} \right)^3} + \cdots \end{align*}\)
To find out a condition that must be true in order for a Taylor series to exist for a function, we first define the nth degree Taylor polynomial of
f(x) as, \({T_n}\left( x \right) = \sum\limits_{i = 0}^n {\frac{{{f^{\left( i \right)}}\left( a \right)}}{{i!}}{{\left( {x – a} \right)}^i}}\)
This polynomial is of degree at most n. If we have to write some without the summation notation this would clearly be an nth degree polynomial.
Source:en.wikipedia.org
Theorem:
We now have the following Theorem.
Suppose that \(f\left( x \right) = {T_n}\left( x \right) + {R_n}\left( x \right)\)
Then if,
\(\mathop {\lim }\limits_{n \to \infty } {R_n}\left( x \right) = 0\)
For \(\left| {x – a} \right| < R\)
Then
\(f\left( x \right) = \sum\limits_{n = 0}^\infty {\frac{{{f^{\left( n \right)}}\left( a \right)}}{{n!}}{{\left( {x – a} \right)}^n}}\)
On \(\left| {x – a} \right| < R\)
Solved Examples for Taylor Series Formula
Q.1: Find the Taylor Series for
\(f\left( x \right) = {{\bf{e}}^x} about x = 0\)
Solution: To find the Taylor Series for a function we need to determine a general formula for
\({f^{\left( n \right)}}\left( a \right).\)
To get a formula for \({f^{\left( n \right)}}\left( 0 \right)\) we have to recognize that,
\({f^{\left( n \right)}}\left( x \right) = {{\bf{e}}^x}\hspace{0.5in}n = 0,1,2,3, \ldots\)
And therefore,
\({f^{\left( n \right)}}\left( 0 \right) = {{\bf{e}}^0} = 1\hspace{0.5in}n = 0,1,2,3, \ldots\)
Thus the Taylor series for
\(f\left( x \right) = {{\bf{e}}^x}\) about x=0 will be,
\({{\bf{e}}^x} = \sum\limits_{n = 0}^\infty {\frac{1}{{n!}}{x^n}} = \sum\limits_{n = 0}^\infty {\frac{{{x^n}}}{{n!}}}\)
I get a different answer for first example.
I got Q1 as 20.5
median 23 and
Q3 26