Orchids Logo

Taylor Series

The Taylor Series represents any smooth (infinitely differentiable) function as a power series, which is a sum of polynomial terms based on its derivatives. This method is very useful in mathematics and science, as it allows many complicated functions to be replaced with simpler polynomial expressions.

For example, suppose you want to find values of functions like e^x, ln(x), or sin(x), but you don’t have a calculator. In that case, the Taylor series helps you estimate their values using only basic arithmetic and derivatives.

 

Table of Contents

Taylor series definition
Taylor’s Series Theorem
Sigma Notation of Taylor Series
Proof of Taylor Series
General Form of Taylor Series
Taylor Series of sin(x)
Taylor Series in Several Variables
Maclaurin Series
Applications of Taylor Series
Problems and Solutions
Conclusion
FAQs on Taylor and Maclaurin Series

 

Taylor Series Definition

The Taylor series definition tells us that:

If a function f(x) is infinitely differentiable at a point a, then it can be written as an infinite sum of its derivatives at that point.

Mathematically, it is written as:

f(x) = f(a) + f'(a)(x - a) + f''(a)/2! · (x - a)² + f'''(a)/3! · (x - a)³ + ...

This is called the Taylor series formula, and it’s central to understanding function approximation.

 

Taylors Series Theorem

The Taylor Series Theorem allows us to create the Taylor series. It gives us a formula that links a function to its polynomial approximation around a point a. 

The Taylor theorem formula is:  

f(x) = f(a) + f'(a)(x - a) + f''(a)/2! (x - a)² + f'''(a)/3! (x - a)³ + ... + f⁽ⁿ⁾(a)/n! (x - a)ⁿ + Rₙ(x)  

Here,  

  • f⁽ⁿ⁾(a) is the nth derivative of f at point a.  

  • Rₙ(x) is the remainder term, which represents the error after n terms.  

The more terms we include, the better the approximation becomes. If Rₙ(x) is very small, the Taylor polynomial is nearly equal to the actual function.

 

Sigma Notation Taylor Series

To write the Taylor series formula in a shorter way, we use sigma notation (∑). This helps when we write long series:

f(x) = ∑ (from n = 0 to ∞) [f⁽ⁿ⁾(a) / n!] · (x - a)ⁿ

This simply means we’re summing all the terms from n = 0 to infinity.

Example:

For exe^xex, the Taylor series is:

e^x = ∑ (from n = 0 to ∞) xⁿ / n!

= 1 + x + x²/2! + x³/3! + x⁴/4! + ...

This sigma notation is often used in calculus, programming, and applied mathematics.

 

Proof of Taylor Series

Let’s go step-by-step to understand the Taylor series proof. 

  1. Start with a function f(x) that is infinitely differentiable at a point a.

  2. Use its derivatives to form a polynomial:  

    • 1st derivative gives the linear term: f'(a)(x - a)  

    • 2nd derivative gives the quadratic term: f''(a)/2! (x - a)²  

    • Continue this process for higher derivatives.  

  3. The function can then be written as:  

f(x) = f(a) + f'(a)(x - a) + f''(a)/2! (x - a)² + ... + f⁽ⁿ⁾(a)/n! (x - a)ⁿ + Rₙ(x)  

  1. The remainder term Rₙ(x) can be made small by increasing the number of terms.  

  2. If Rₙ(x) approaches zero as n becomes very large, the function becomes equal to its Taylor series.0

So, this Taylor series proof shows us why the method works for smooth functions.

 

General Form Taylor Series

The general form of the Taylor series at a point aaa is:

f(x) = ∑ (from n = 0 to ∞) [f⁽ⁿ⁾(a) / n!] · (x - a)ⁿ

This formula shows us how to write any function as a power series, as long as all the derivatives exist and the series converges. 

This general form is very helpful for solving problems, making numerical methods, and modeling functions.

 

Taylor Series Sinx

Let’s now see an example. What is the Taylor series of sin(x) around 0?

Let’s compute the derivatives of sin(x):

f(x) = sin(x)

f'(x) = cos(x)

f''(x) = -sin(x)

f'''(x) = -cos(x)
... and so on.

Evaluating them at 0:

f(0) = 0

f'(0) = 1

f''(0) = 0

f'''(0) = -1
...

Putting into the formula:

sin(x) = x - x³/3! + x⁵/5! - x⁷/7! + ...

This is one of the most famous Taylor series examples, and is widely used in trigonometry and physics.

 

Taylor Series Several Variables

When a function has two or more variables, we can still use the Taylor series to approximate it.

Let’s say f(x, y) is a function of x and y.

Then the Taylor series around point (a, b) is:

f(x, y) = f(a, b) + fₓ(a, b)(x - a) + fᵧ(a, b)(y - b)

  • 1/2! [fₓₓ(a, b)(x - a)² + 2fₓᵧ(a, b)(x - a)(y - b) + fᵧᵧ(a, b)(y - b)²] + ...

Here,

  • fₓ means partial derivative with respect to x

  • fₓₓ, fᵧᵧ, fₓᵧ are second-order derivatives

This is very useful in machine learning, economics, and engineering for modeling functions with many variables.

 

Maclaurin Series

The Maclaurin series is a special type of Taylor series where the center point is 0 (i.e., a = 0). This makes calculations easier.

Maclaurin Series Formula:

f(x) = f(0) + f'(0)x + f''(0)/2! x² + f'''(0)/3! x³ + ...

This is used for many common functions such as e^x, sin(x), cos(x), ln(1 + x), etc.

Example: Maclaurin Series of 1/(1 - x)

Let’s find the Maclaurin series of f(x) = 1 / (1 - x)

We use the formula:

1 / (1 - x) = ∑ (from n = 0 to ∞) xⁿ
= 1 + x + x² + x³ + x⁴ + ...
(valid for |x| < 1)

This is a simple but very powerful Taylor series example, often used in calculus and computer programming.

 

Applications of Taylor Series

The Taylor series is more than just theory - it is used everywhere:

  • Calculators use it to compute sin, cos, log, exp, and more. 

  • Physics uses it to approximate energy, force, and motion. 

  • Engineering applies the Taylor series in simulations and design. 

  • Machine learning uses it for gradient-based optimization. 

  • Finance and economics apply it in interest rate models, stock market predictions, and cost estimations.

 

Problems Solutions

Problem 1: Find the Taylor Series for e^x at a = 0

Solution:
All derivatives of e^x are e^x, and e^0 = 1

So:
e^x = 1 + x + x²/2! + x³/3! + x⁴/4! + ...

 

Problem 2: Find the Maclaurin Series of cos(x)

Solution:
cos(x) = 1 - x²/2! + x⁴/4! - x⁶/6! + ...
= ∑ (from n = 0 to ∞) [(-1)ⁿ x²ⁿ / (2n)!]

 

Problem 3: Find the Taylor Series of ln(1 + x)

Solution:
ln(1 + x) = x - x²/2 + x³/3 - x⁴/4 + ...
= ∑ (from n = 1 to ∞) [(-1)ⁿ⁺¹ xⁿ / n]

 

Conclusion

The Taylor Series is a useful method for approximating complex functions with polynomials based on their derivatives. By understanding the Taylor series definition, formula, and theorem, we can express functions like sin⁡x\sin xsinx, e^x, and ln⁡(1+x) as infinite series. This approach makes calculations easier, especially when finding exact values is difficult. Whether using the general Taylor series or the specific Maclaurin series, this concept is important in mathematics, physics, engineering, and technology. In summary, the Taylor Series allows us to understand and work with functions more easily and accurately.

 

Related Links

Arithmetic Progression - Dive into arithmetic progression concepts, formulas, and practical examples to master this fundamental topic in sequences.

 

Frequently Asked Questions on Taylor and Maclaurin Series

1. Are Taylor series and Maclaurin series the same?

Ans: Yes, a Maclaurin series is a special case of a Taylor series centered at x = 0. In general:

  • Taylor Series: Expanded around any point a.

  • Maclaurin Series: Expanded around a = 0.

 

2. What is the Taylor series theorem?

Ans: The Taylor series theorem states that a function f(x) can be represented as an infinite sum of derivatives at a single point, provided all derivatives exist and the series converges to the function.

 

3. What is the general formula of the Taylor series?

Ans: The Taylor series of a function f(x) centered at a is:

f(x) = f(a) + f'(a)(x−a)/1! + f''(a)(x−a)²/2! + f'''(a)(x−a)³/3! + …

 

4. How to write a Maclaurin series?

Ans: The Maclaurin series is the Taylor series at a = 0:

f(x) = f(0) + f'(0)x/1! + f''(0)x²/2! + f'''(0)x³/3! + …

 

5. What is meant by the Maclaurin series?

Ans: The Maclaurin series is a power series that represents a function as an infinite sum of its derivatives evaluated at 0. It simplifies the Taylor series by assuming the expansion is around x = 0.

 

6. How to find nth derivative?

Ans: To find the n-th derivative of a function:

  • Differentiate the function n times using standard differentiation rules.

  • Evaluate at the point of expansion if using Taylor or Maclaurin series.

 

Explore key maths concepts like the Taylor series with Orchids The International School!

 

Share

We are also listed in