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 its expansion, formula, Maclaurin Series, and others.
What is Taylor’s Series?
Taylor series is a powerful mathematical tool used to approximate complex functions with an infinite sum of terms derived from the function’s derivatives at a single point. Named after the mathematician Brook Taylor, the Taylor series is fundamental in calculus and has wide-ranging applications in engineering, physics, and computer science.
A Taylor series represents a function as an infinite sum of terms, calculated from the values of its derivatives at a single point
Taylor Series Expansion
Taylor series expansion of the real and composite function f(x) whose differentiation exists in a close neighborhood is,
[Tex]f(x) = f(a) + [f'(a)’/1!](x-a) + [f”(a)/2!](x-a)2 + [f”'(a)/3!](x-a)3 +…[/Tex]
Taylor Series in terms of sigma notation is,

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 neighborhood 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 differentiable
n is the number of times the function is differentiated
f(n) is the n derivative of the function f(x)
Taylor Series Theorem
The statement for the Taylor Series Theorem is
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
Taylor Theorem Proof
We know that power series is defined as,
[Tex]f(x) = ∑ a_nx^n = a0 + a_1x + a_2x^2 + a_3x^3 + … [/Tex] (i)
where, 0≤n<∞
for x = 0
f(x) = ao
The differentiation of the function f(x) from eq (i) is,
[Tex]f'(x) = a_1 + 2a_2x + 3a_3x^2 + 4a_4x^3 … [/Tex] (ii)
substituting x = 0 in f'(x)
f'(0) = a1
Differentiating eq (ii) again,
[Tex]f”(x) = 2a_2 + 6a_3x + 12a_4x^2 + …[/Tex]
substituting x = 0 in f”(x)
f”(0) = 2a2
f”(0)/2! = 2a2/2 = a2
similarly, f(n)(0)/n! = an
Now substituting all these values in eq(i)
[Tex]f(x) = f(0) + f'(0)x + f”(0)/2!(x)^2 + f”'(0)/3!x^3 + …[/Tex]
Generalizing the function f(x) we get,
[Tex]f(x) = b + b1(x-a) + b2(x-a)^2 + b3(x-a)^3 + …[/Tex]
Now taking x =a,
[Tex]b_n = f^{(n)}(a)/n![/Tex]
Substituting the value of bn in a generalized form of f(x)
[Tex]f(x) = f(a) + [f'(a)/1!](x-a) + [f”(a)/2!](x-a)^2 +…[/Tex]
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 of ex
The Taylor series for ex around a = 0 (Maclaurin series):
ex = 1 + x + [Tex]\frac{x^2}{2!}
[/Tex]+ [Tex]\frac{x^3}{3!}
[/Tex]+ …
ex = [Tex]e^x = \sum_{n=0}^{\infty} \frac{x^n}{n!}
[/Tex]
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,
[Tex]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[/Tex]
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,
[Tex]f(x) = f(0) + [f'(0)’/1!](x-0) + [f”(0)/2!](x)^2 + [f”'(0)/3!](x)^3 +…+ f^{(n)}(0)/n!(x)^n[/Tex]
This above series is known as the Maclaurin series.
Example: Maclaurin series of ex 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 ex is,
ex = 1 + x + x2/2! + x3/3! + x4/4! + . . .
Applications of Taylor Series in Engineering
Taylor series has wide applications and it is used in various engineering aspects. Some of the applications of the Taylor series are:
1. Numerical Analysis
In numerical analysis, the Taylor series is used to approximate functions and solve differential equations. It provides a way to estimate values of functions using polynomial approximations.
2. Signal Processing
In signal processing, the Taylor series helps in the analysis and synthesis of signals. It is used to approximate and filter signals, reducing computational complexity.
3. Control Systems
In control systems engineering, the Taylor series is used to linearize nonlinear systems around an operating point, simplifying the design and analysis of controllers.
4. Computational Physics
In computational physics, the Taylor series is used to solve complex physical models by approximating functions that describe physical phenomena, making simulations more efficient.
5. Machine Learning
In machine learning, the Taylor series is used in optimization algorithms to approximate gradient and Hessian matrices, aiding in the training of models.
People Also View:
Example 1: Find the expansion for the function, f(x) = x3 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) = x3
Centered at a = 2
f'(x) = 3x2
f”(x) = 6x
f”'(x) = 6
f””(x) = 0
Now the Taylor Series expansion of f(x) = x3 is,
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 + 0
f(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
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) = 4x
Centered at a = 1
f'(x) = 4
f”(x) = 0
Now the Taylor Series expansion of f(x) = 4x is,
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+ …
Putting a = 0
sin(x) = 0+1/1! (x – 0)−0/2! (x- 0)2– 1/3! (x – 0)3+ …
sin(x) = 1/x – 1/6x3 + …
Example 4: Taylor Series for e^x around x = 0
Solution:
The Taylor Series for e^x around x = 0 is:
e^x = 1 + x + (x^2/2!) + (x^3/3!) + (x^4/4!) + …
Let’s use this to approximate e^0.5 up to the 4th term:
e^0.5 ≈ 1 + 0.5 + (0.5^2/2!) + (0.5^3/3!) + (0.5^4/4!)
≈ 1 + 0.5 + 0.125 + 0.0208333 + 0.0026042
≈ 1.6484375
The actual value of e^0.5 is approximately 1.6487212, so our approximation is quite close.
Example 5: Taylor Series for sin(x) around x = 0
Solution:
The Taylor Series for sin(x) around x = 0 is:
sin(x) = x – (x^3/3!) + (x^5/5!) – (x^7/7!) + …
Let’s use this to approximate sin(π/6) up to the 4th term:
sin(π/6) ≈ (π/6) – ((π/6)^3/3!) + ((π/6)^5/5!) – ((π/6)^7/7!)
≈ 0.5236 – 0.0023 + 0.0000 – 0.0000
≈ 0.5213
The actual value of sin(π/6) is 0.5, so our approximation is quite good.
Related Articles:
Practice Questions on Taylor Series
1. Write the first four terms of the Taylor Series for cos(x) around x = 0.
2. Use the Taylor Series for ex to approximate e0.3 up to the third term.
3. What is the Taylor Series for ln(1+x) around x = 0? Write the first three terms.
4. Approximate √(1+x) near x = 0 using the first three terms of its Taylor Series.
5. Find the Taylor Series for 1/(1-x) around x = 0 and write the first four terms.
6. Use the Taylor Series for sin(x) to approximate sin(π/4) up to the third term.
7. Write the first three terms of the Taylor Series for tan(x) around x = 0.
8. Approximate cos(0.1) using the first four terms of its Taylor Series.
9. Find the Taylor Series for arctan(x) around x = 0 and write the first three terms.
10. Use the Taylor Series for ex to estimate the value of e to three decimal places.
Conclusion
The Taylor series is a fundamental tool in mathematics, providing powerful methods for approximating and analyzing functions. Its wide range of applications in engineering, physics, computer science, and beyond highlights its importance. Understanding and utilizing the Taylor series can significantly enhance problem-solving and analytical capabilities in various fields.
What are Taylor Series?
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.
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
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.
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.
What is difference between Taylor Series and Maclaurin Series?
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.
Similar Reads
Engineering Mathematics Tutorials
Engineering mathematics is a vital component of the engineering discipline, offering the analytical tools and techniques necessary for solving complex problems across various fields. Whether you're designing a bridge, optimizing a manufacturing process, or developing algorithms for computer systems,
3 min read
Matrix and Determinants
Matrices
Matrix is a rectangular array of numbers, symbols, points, or characters each belonging to a specific row and column. A matrix is identified by its order which is given in the form of rows ⨯ and columns. The numbers, symbols, points, or characters present inside a matrix are called the elements of a
15+ min read
Different Operations on Matrices
For an introduction to matrices, you can refer to the following article: Matrix Introduction In this article, we will discuss the following operations on matrices and their properties: Matrices AdditionMatrices SubtractionMatrices MultiplicationMatrices Addition: The addition of two matrices A m*n a
11 min read
Representation of Relation in Graphs and Matrices
Understanding how to represent relations in graphs and matrices is fundamental in engineering mathematics. These representations are not only crucial for theoretical understanding but also have significant practical applications in various fields of engineering, computer science, and data analysis.
8 min read
Determinant of Matrix with Solved Examples
The determinant of a matrix is a scalar value that can be calculated for a square matrix (a matrix with the same number of rows and columns). It serves as a scaling factor that is used for the transformation of a matrix. It provides important information about the matrix, such as whether the matrix
15+ min read
Properties of Determinants
Properties of Determinants are the properties that are required to solve various problems in Matrices. There are various properties of the determinant that are based on the elements, rows, and columns of the determinant. These properties help us to easily find the value of the determinant. Suppose w
11 min read
Row Echelon Form
A matrix is in Row Echelon form if it has the following properties: Any row consisting entirely of zeros occurs at the bottom of the matrix.For each row that does not contain entirely zeros, the first non-zero entry is 1 (called a leading 1).For two successive (non-zero) rows, the leading 1 in the h
4 min read
Eigenvalues and Eigenvectors
Eigenvectors are the directions that remain unchanged during a transformation, even if they get longer or shorter. Eigenvalues are the numbers that indicate how much something stretches or shrinks during that transformation. These ideas are important in many areas of math and engineering, including
15+ min read
System of Linear Equations
In mathematics, a system of linear equations consists of two or more linear equations that share the same variables. These systems often arise in real-world applications, such as engineering, physics, economics, and more, where relationships between variables need to be analyzed. Understanding how t
9 min read
Matrix Diagonalization
Prerequisite: Eigenvalues and eigenvectors Let A and B be two matrices of order n. B can be considered similar to A if there exists an invertible matrix P such that B=P^{-1} A P This is known as Matrix Similarity Transformation. Diagonalization of a matrix is defined as the process of reducing any
5 min read
LU Decomposition
LU decomposition of a matrix is the factorization of a given square matrix into two triangular matrices, one upper triangular matrix and one lower triangular matrix, such that the product of these two matrices gives the original matrix. It was introduced by Alan Turing in 1948, who also created the
7 min read
Finding Inverse of a Square Matrix using Cayley Hamilton Theorem in MATLAB
Matrix is the set of numbers arranged in rows & columns in order to form a Rectangular array. Here, those numbers are called the entries or elements of that matrix. A Rectangular array of (m*n) numbers in the form of 'm' horizontal lines (rows) & 'n' vertical lines (called columns), is calle
4 min read
Sequence and Series
Binomial Theorem
Binomial theorem is a fundamental principle in algebra that describes the algebraic expansion of powers of a binomial. According to this theorem, the expression (a + b)n where a and b are any numbers and n is a non-negative integer. It can be expanded into the sum of terms involving powers of a and
15+ min read
Sequences and Series
A sequence is an ordered list of numbers following a specific rule. Each number in a sequence is called a "term." The order in which terms are arranged is crucial, as each term has a specific position, often denoted as an, where n indicates the position in the sequence. For example: 2, 5, 8, 11, 14
7 min read
Finding nth term of any Polynomial Sequence
Given a few terms of a sequence, we are often asked to find the expression for the nth term of this sequence. While there is a multitude of ways to do this, In this article, we discuss an algorithmic approach which will give the correct answer for any polynomial expression. Note that this method fai
4 min read
Mathematics | Sequence, Series and Summations
Sequences, series, and summations are fundamental concepts of mathematical analysis and it has practical applications in science, engineering, and finance. Table of Content What is Sequence?Theorems on SequencesProperties of SequencesWhat is Series?Properties of SeriesTheorems on SeriesSummation Def
8 min read
Calculus
Limits in Calculus
Limits are used in calculus to define differential, continuity, and integrals, and they are defined as the approaching value of the function with the input approaching to ascertain value. Let's say we have a function f(x) = x2. In the graph given below, notice that as x⇢0, f(x) also tends to become
11 min read
Indeterminate Forms
Assume a function [Tex]F(x)=\frac{f(x)}{g(x)}[/Tex] which is undefined at x=a but it may approach a limit as x approaches a. The process of determining such a limit is known as evaluation of indeterminate forms. The L' Hospital Rule helps in the evaluation of indeterminate forms. According to this r
3 min read
Limits, Continuity and Differentiability
Limits, Continuity, and Differentiability are fundamental concepts in calculus, essential for analyzing and understanding the behavior of functions. These concepts are crucial for solving real-world problems in physics, engineering, and economics. Table of Content LimitsKey Characteristics of Limits
10 min read
Cauchy's Mean Value Theorem
Cauchy's Mean Value theorem provides a relation between the change of two functions over a fixed interval with their derivative. Cauchy Mean Value Theorem is a special case of Lagrange Mean Value Theorem. Cauchy's Mean Value theorem is also called the Extended Mean Value Theorem or the Second Mean V
8 min read
Lagrange's Mean Value Theorem
Lagrange's Mean Value Theorem (LMVT) is a fundamental result in differential calculus, providing a formalized way to understand the behavior of differentiable functions. This theorem generalizes Rolle's Theorem and has significant applications in various fields of engineering, physics, and applied m
9 min read
Rolle's Mean Value Theorem
Rolle's theorem one of the core theorem of calculus states that, for a differentiable function that attains equal values at two distinct points then it must have at least one fixed point somewhere between them where the first derivative of the function is zero. Rolle's Theorem and the Mean Value The
8 min read
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
10 min read
Maclaurin series
Prerequisite - Taylor theorem and Taylor series We know that formula for expansion of Taylor series is written as: [Tex]f(x)=f(a)+\sum_{n=1}^{\infty}\frac{f^n(a)}{n!}(x-a)^n[/Tex] Now if we put a=0 in this formula we will get the formula for expansion of Maclaurin series. T hus Maclaurin series expa
2 min read
Euler's Formula
Euler's formula holds a prominent place in the field of mathematics. It aids in establishing the essential link between trigonometric functions and complex exponential functions. It is a crucial formula used for solving complicated exponential functions. It is also known as Euler's identity. It has
5 min read
Chain Rule: Theorem, Formula and Solved Examples
Chain Rule is a way to find the derivative of composite functions. It is one of the basic rules used in mathematics for solving differential problems. It helps us to find the derivative of composite functions such as (3x2 + 1)4, (sin 4x), e3x, (ln x)2, and others. Only the derivatives of composite f
9 min read
Inverse functions and composition of functions
Inverse Functions - In mathematics a function, a, is said to be an inverse of another, b, if given the output of b a returns the input value given to b. Additionally, this must hold true for every element in the domain co-domain(range) of b. In other words, assuming x and y are constants, if b(x) =
3 min read
Definite Integral | Definition, Formula & How to Calculate
A definite integral is an integral that calculates a fixed value for the area under a curve between two specified limits. The resulting value represents the sum of all infinitesimal quantities within these boundaries. i.e. if we integrate any function within a fixed interval it is called a Definite
9 min read
Mathematics | Indefinite Integrals
Antiderivative - Definition :A function ∅(x) is called the antiderivative (or an integral) of a function f(x) of ∅(x)' = f(x). Example : x4/4 is an antiderivative of x3 because (x4/4)' = x3. In general, if ∅(x) is antiderivative of a function f(x) and C is a constant.Then, {∅
4 min read
Application of Derivative - Maxima and Minima | Mathematics
The Concept of derivative can be used to find the maximum and minimum value of the given function. We know that information about and gradient or slope can be derived from the derivative of a function. We try to find a point which has zero gradients then locate maximum and minimum value near it. It
3 min read
Summation Formula
In mathematics, the summation is the basic addition of a sequence of any numbers, called addends or summands; the result is their sum or total. In Mathematics numbers, functions, vectors, matrices, polynomials, and, in general, elements of any mathematical object can be associated with an operation
6 min read
Statistics and Numerical Methods
Mean, Variance and Standard Deviation
Mean, Variance and Standard Deviation are fundamental concepts in statistics and engineering mathematics, essential for analyzing and interpreting data. These measures provide insights into data's central tendency, dispersion, and spread, which are crucial for making informed decisions in various en
8 min read
Mathematics - Law of Total Probability
Probability theory is the branch of mathematics concerned with the analysis of random events. It provides a framework for quantifying uncertainty, predicting outcomes, and understanding random phenomena. In probability theory, an event is any outcome or set of outcomes from a random experiment, and
13 min read
Probability Distribution - Function, Formula, Table
A probability distribution describes how the probabilities of different outcomes are assigned to the possible values of a random variable. It provides a way of modeling the likelihood of each outcome in a random experiment. While a frequency distribution shows how often outcomes occur in a sample or
15+ min read
Bayes' Theorem
Bayes' Theorem is used to determine the conditional probability of an event. It is used to find the probability of an event, based on prior knowledge of conditions that might be related to that event. Bayes' Theorem and Conditional ProbabilityBayes theorem (also known as the Bayes Rule or Bayes Law)
11 min read
Conditional Probability
Conditional probability is one type of probability in which the possibility of an event depends upon the existence of a previous event. Conditional probability is the likelihood of an outcome occurring based on a previous outcome in similar circumstances. In probability notation, this is denoted as
15+ min read
Probability Distribution
Mathematics | Probability Distributions Set 1 (Uniform Distribution)
Prerequisite - Random Variable In probability theory and statistics, a probability distribution is a mathematical function that can be thought of as providing the probabilities of occurrence of different possible outcomes in an experiment. For instance, if the random variable X is used to denote the
4 min read
Mathematics | Probability Distributions Set 2 (Exponential Distribution)
The previous article covered the basics of Probability Distributions and talked about the Uniform Probability Distribution. This article covers the Exponential Probability Distribution which is also a Continuous distribution just like Uniform Distribution. Introduction - Suppose we are posed with th
5 min read
Mathematics | Probability Distributions Set 3 (Normal Distribution)
The previous two articles introduced two Continuous Distributions: Uniform and Exponential. This article covers the Normal Probability Distribution, also a Continuous distribution, which is by far the most widely used model for continuous measurement. Introduction - Whenever a random experiment is r
5 min read
Mathematics | Probability Distributions Set 4 (Binomial Distribution)
The previous articles talked about some of the Continuous Probability Distributions. This article covers one of the distributions which are not continuous but discrete, namely the Binomial Distribution. Introduction - To understand the Binomial distribution, we must first understand what a Bernoulli
5 min read
Mathematics | Probability Distributions Set 5 (Poisson Distribution)
The previous article covered the Binomial Distribution. This article talks about another Discrete Probability Distribution, the Poisson Distribution. Introduction -Suppose an event can occur several times within a given unit of time. When the total number of occurrences of the event is unknown, we c
4 min read
Covariance and Correlation
Covariance and correlation are the two key concepts in Statistics that help us analyze the relationship between two variables. Covariance measures how two variables change together, indicating whether they move in the same or opposite directions. In this article, we will learn about the differences
6 min read
Engineering Math Practice Problems