To calculate result you have to disable your ad blocker first.

# Maclaurin Series Calculator

To use the Maclaurin series calculator, type the function, select the variable, input the order, and click calculate button

## Maclaurin series calculator

Use the Maclaurin series calculator to approximate a function near** x=0**.

## Introduction to Maclaurin Series

A **Maclaurin series** is a specific type of Taylor series that helps us represent a function as an infinite sum of terms, where each term is derived from the function's derivatives at zero.

Named after the Scottish mathematician `Colin Maclaurin`

, the Maclaurin series is widely used in mathematics, physics, and engineering to approximate functions near the point **x = 0**.

**What is a Maclaurin Series?**

A Maclaurin series is a way to represent a function as an infinite sum of terms, with each term involving an increasing power of the variable (x) and the corresponding derivative of the function at x = 0. Mathematically, a Maclaurin series can be written as:

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

Here, **f(x)** is the function, and** f'(0), f''(0), **and **f'''(0)** are the first, second, and third derivatives of the function evaluated at **x = 0**, respectively.

**How to calculate the Maclaurin series?**

To find the Maclaurin series of a function manually, follow these steps:

**Find the derivatives of the function:**Calculate the first, second, third, and so on derivatives of the function with respect to the variable**x.****Evaluate the derivatives at x = 0:**Determine the values of the derivatives at**x = 0**.**Write the Maclaurin series:**Construct the Maclaurin series using the values of the derivatives at**x = 0**and the factorial of the order of each term.

The general formula for a Maclaurin series is:

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

Now let's go through two examples to demonstrate the manual calculation of the Maclaurin series:

**Example 1:**

Find the Maclaurin series for the function **f(x) = e^x **up to the **4th **order.

**Derivatives:**

`f(x) = e^x, f'(x) = e^x, f''(x) = e^x, f'''(x) = e^x, f⁴(x) = e^x`

**Evaluate the derivatives at x = 0**:

`f(0) = e^0 = 1, f'(0) = e^0 = 1, f''(0) = e^0 = 1, f'''(0) = e^0 = 1, f⁴(0) = e^0 = 1`

**Write the Maclaurin series up to the 4th order:**

`f(x) ≈ 1 + x + x²/2! + x³/3! + x⁴/4!`

**Example 2: **

Find the Maclaurin series for the function **f(x) = sin(x)** up to the 5th order.

**Derivatives:**

`f(x) = sin(x), f'(x) = cos(x), f''(x) = -sin(x), f'''(x) = -cos(x), f⁴(x) = sin(x), f⁵(x) = cos(x)`

**Evaluate the derivatives at x = 0:**

`f(0) = sin(0) = 0, f'(0) = cos(0) = 1, f''(0) = -sin(0) = 0, f'''(0) = -cos(0) = -1, f⁴(0) = sin(0) = 0, f⁵(0) = cos(0) = 1`

**Write the Maclaurin series up to the 5th order:**

`f(x) ≈ 0 + x + 0 - x³/3! + 0 + x⁵/5!`

`f(x) ≈ x - x³/3! + x⁵/5!`

In both examples, we followed the same steps to find the Maclaurin series manually. Keep in mind that the more terms you include in the Maclaurin series, the better the approximation of the function near **x = 0.**

## Applications of Maclaurin Series

The Maclaurin series has a wide range of applications, including:

**Function Approximation:** Maclaurin series are used to approximate functions near **x = 0**, especially when the original function is difficult to work with directly.

**Numerical Analysis:** The Maclaurin series plays a critical role in numerical methods, such as numerical integration and solving differential equations.

**Physics and Engineering:** Maclaurin series are used to model and analyze complex systems and phenomena in various fields, including fluid dynamics, solid mechanics, and signal processing.