# Taylor Series

Taylor Series is the series which is used to find the value of a function. It is the series of polynomials or any function and it contains the sum of infinite terms. Each successive term in the Taylor series expansion has a larger exponent or a higher degree term than the preceding term. We take the sum of the initial four, and five terms to find the approximate value of the function but we can always take more terms to get the precise value of the function.

In this article, we will learn about the Taylor Series expansion, formula, Maclaurin Series, and others in this article.

## Taylor Series Expansion

Taylor series expansion of the real and composite function f(x) whose differentiation exists in a close neighbourhood is,

f(x) = f(a) + [f'(a)’/1!](x-a) + [f”(a)/2!](x-a)^{2}+ [f”'(a)/3!](x-a)^{3}+…

Taylor Series in terms of sigma notation is,

## Taylor Series & Maclaurin Series

The above Taylor series expansion is given for a real values function f(x) where fâ€™(a), fâ€™â€™(a), fâ€™â€™â€™(a), etc., denotes the derivative of the function at point a. If the value of point â€˜aâ€™ is zero, then the Taylor series is also called the Maclaurin series.

## Taylorâ€™s Series Formula

Taylor’s series formula is used to find the value of any function around the particular value. Suppose we have to find the value of the real and composite function f(x) at point a, such that the differentiation of the function is defined in the closed neighbourhood of the function then the function is represented by the formula,

f(x) = f(a) + [f'(a)’/1!](x-a) + [f”(a)/2!](x-a)^{2}+ [f”'(a)/3!](x-a)^{3}+…+ f^{(n)}/n!(x-a)^{n}

where,f(x)is the real or complex value function that is infinitely differentiablenis the number of times the function is differentiatedfis the n derivative of the function f(x)^{(n)}

## Taylor Series Theorem Proof

The statement for the Taylor Series Theorem is

**Statement: **For a real or complex-valued function f(x) which is differentiable on the neighbourhood of a number the Taylor series is,

**f(x) = f(a) + [f'(a)’/1!](x-a) + [f”(a)/2!](x-a) ^{2} + [f”'(a)/3!](x-a)^{3} +…+ f^{(n)}(x)/n!(x-a)^{n}**

**Proof:**

We know that power series is defined as,

f(x) = âˆ‘ a

_{n}x^{n}= a_{0}+ a_{1}x + a_{2}x^{2}+ a_{3}x^{3}+ … (i)where, 0â‰¤n<âˆž

for x = 0

f(x) = a

_{o}The differentiation of the function f(x) from eq (i) is,

f'(x) = a

_{1}+ 2a_{2}x + 3a_{3}x^{2}+ 4a_{4}x^{3}… (ii)substituting x = 0 in f'(x)

f'(0) = a

_{1}Differentiating eq (ii) again,

f”(x) = 2a

_{2}+ 6a_{3}x + 12a_{4}x^{2}+ …substituting x = 0 in f”(x)

f”(0) = 2a

_{2}f”(0)/2! = 2a

_{2}/2 = a_{2}similarly, f

^{(n)}(0)/n! = a_{n}Now substituting all these values in eq(i)

f(x) = f(0) + f'(0)x + f”(0)/2!(x)

^{2}+ f”'(0)/3!x^{3}+ …Generalising the function f(x) we get,

f(x) = b + b

_{1}(x-a) + b_{2}(x-a)^{2}+ b_{3}(x-a)^{3}+ …Now taking x =a,

b

_{n}= f^{(n)}(a)/n!Substituting the value of b

_{n}in a generalised form of f(x)f(x) = f(a) + [f'(a)/1!](x-a) + [f”(a)/2!](x-a)

^{2}+…This proves the Taylor Series

## Taylor Series of Sin x

Let’s take the function f(x) = sin x

fâ€™(x) = cos x

fâ€™â€™(x) = -sin x

fâ€™â€™â€™(x) = -cos x

fâ€™â€™â€™â€™(x) = sin x

……

**Taylor series for sin x at x = 0 is,**

## Taylor Series of Cos x

Let’s take the function f(x) = cos x

fâ€™(x) = -sin x

fâ€™â€™(x) = -cos x

fâ€™â€™â€™(x) = sin x

fâ€™â€™â€™â€™(x) = -cos x

……

**Taylor series for cos x at x = 0 is,**

## Taylor Series in Several Variables

Taylor series can also be represented for the function of several variables. The general form of the Taylor series in several variables is,

## Maclaurin Series

We know that the Taylor series is,

f(x) = f(a) + [f'(a)’/1!](x-a) + [f”(a)/2!](x-a)^{2} + [f”'(a)/3!](x-a)^{3} +…+ f^{(n)}(x)/n!(x-a)^{n}

If the Taylor series is centred at x = 0, i.e. the value of f(x) is found at x = 0 then this series is called the Maclaurin Series.

Then the Maclaurin Series is,

f(x) = f(0) + [f'(0)’/1!](x) + [f”(0)/2!](x)^{2}+ [f”'(0)/3!](x)^{3}+…+ f^{(n)}(0)/n!(x)^{n}

This above series is known as the Maclaurin series.

**Example: Maclaurin series of e ^{x} is,**

**Solution:**

We know that the Maclaurin series expansion is,

f(x) = f(0) + [f'(0)’/1!](x) + [f”(0)/2!](x)

^{2}+ [f”'(0)/3!](x)^{3}+…+ f^{(n)}(0)/n!(x)^{n}The Maclaurin series of e

^{x}is,e

^{x}= 1 + x + x^{2}/2! + x^{3}/3! + x^{4}/4! + ….

## Applications of Taylor Series

Taylor series has wide applications and it is used in various mathematical concepts. Some of the applications of the Taylor series are,

- Taylor series is used to evaluate the value of a whole function in each point if the functional values and derivatives are identified at a single point.
- The representation of Taylor series reduces many mathematical proofs.
- The sum of partial series can be used as an approximation of the whole series.
- Multivariate Taylor series is used in many optimization techniques.
- This series is used in the power flow analysis of electrical power systems.

**Read More,**

## Examples Using Taylor Series Formula

**Example 1: Find the expansion for the function, f(x) = x ^{3} centred at a = 2 using the Taylor Series Formula.**

**Solution:**

We know that Taylor Series Formula is

f(x) = f(a) + [f'(a)’/1!](x-a) + [f”(a)/2!](x-a)

^{2}+ [f”'(a)/3!](x-a)^{3}+…+ f^{(n)}(x)/n!(x-a)^{n}Given function, f(x) = x

^{3}Centered at a = 2

f'(x) = 3x

^{2}f”(x) = 6x

f”'(x) = 6

f””(x) = 0

Now the Taylor Series expansion of

f(x) = xis,^{3}f(x) = f(2) + [f'(2)’/1!](x-2) + [f”(2)/2!](x-2)

^{2}+ [f”'(2)/3!](x-2)^{3}+ f””(a)/4!(x-2)^{4}f(x) = 8 + 12(x-2) + 6(x-2)

^{2}+ (x-2)^{3}+ 0f(x) = (x-2)

^{3}+ 6(x-2)^{2 }+ 12x – 16

**Example 2: Find the expansion for the function, f(x) = 4x centred at a = 1 using the Taylor Series Formula.**

**Solution:**

We know that Taylor Series Formula is

^{2}+ [f”'(a)/3!](x-a)^{3}+…+ f^{(n)}(x)/n!(x-a)^{n}Given function, f(x) = 4x

Centered at a = 1

f'(x) = 4

f”(x) = 0

Now the Taylor Series expansion of

f(x) = 4xis,f(x) = f(1) + [f'(1)’/1!](x-1) + [f”(1)/2!](x-1)

^{2}f(x) = 4 + 4(x-1) + 0

f(x) = 4x

**Example 3: Find the Taylor series expansion for function, f(x) = sin x, centred at x = 0.**

**Solution:**

f(x) = sin x

Using Taylor series formula,

f(x) = f(a) + fâ€²(a)(x âˆ’ a) + fâ€²â€²(a)/2! Ã— (x âˆ’ a)

^{2}+ fâ€²â€²â€²(a)/3! Ã— (x âˆ’ a)^{3}+ f^{(4)}(a)/4! Ã— (x âˆ’ a)^{4}+ … + f^{(n)}(a)/n! Ã— (x âˆ’ a)^{n}Derivatives of the six x are,

f(x) = sin (x)

f'(x) = cos (x)

f”(x) = -sin (x)

f”'(x) = -cos (x)Now,

sin(x) = sin(a)+cos(a)/1! (x – a)âˆ’sin(a)/2! (x – a)

^{2}-cos(a)/3! (x – a)^{3}+ …Puttinga = 0

sin(x) = 0+1/1! (x – 0)âˆ’0/2! (x- 0)

^{2}– 1/3! (x – 0)^{3}+ …sin(x) = 1/x – 1/6x

^{3}+ …

## FAQs on Taylor Series Formula

### Q1: What are Taylor Series?

**Answer:**

Taylor series is the expansion of any real or complex valued function. It is used to define the value of a function when the value of its derivatives at a particular point is defined.

It is widely used in Computer Science, Calculus, and other branches of science.

### Q2: What is Taylor Series Formula?

**Answer:**

The Taylor series formula for the expansion of a function f(x) is,

f(x) = f(a) + fâ€²(a)(x âˆ’ a) + fâ€²â€²(a)/2! Ã— (x âˆ’ a)^{2}+ fâ€²â€²â€²(a)/3! Ã— (x âˆ’ a)^{3}+ f^{(4)}(a)/4! Ã— (x âˆ’ a)^{4}+ … + f^{(n)}(a)/n! Ã— (x âˆ’ a)^{n}

### Q3: Who Invented Taylor Series Formula?

**Answer:**

Scottish mathematician James Gregory was the first to give an idea about the Taylor series and it was finally perfected by English mathematician Brook Taylor in 1715.

### Q4: Who Invented Taylor Series Formula?

**Answer:**

Scottish mathematician James Gregory was the first to explain the concept of the Taylor series and it was later fully developed by English mathematician Brook Taylor in the year 1715.

### Q5: What is difference between Taylor Series and Maclaurin Series?

**Answer:**

Taylor series is a series which is used to represent the value of a function with respect to the infinite sum of the derivative of the polynomial or other function with respect to a fixed point.

While the Maclaurian series is a special case of the Taylor series and it is the expansion of the function with respect to zero as the single point.

## Please

Loginto comment...