One of the most used tools in mathematics are functions, since they are the ones that allow you to model the behavior of many things. Most of the time, the functions that are used are very complex and that is why people usually work with simpler approximations.
There are many types of approximations, among them are Taylor polynomials. In this article, you will learn what a Taylor polynomial is, how it is calculated and how it can be used.
Test your knowledge with multiple choice flashcards
Sometimes to avoid working with very complex functions, people use approximations. The most commonly used approximation is the linear or first order approximation (see the article linear approximations and differentials, for more information about this).
Given a function , the linear approximation of at the point is given by the function
Let's look at a quick example.
For instance, let , then the linear approximation of at the point is given by
Figure 1. Graph of the function with its linear approximation.
As you can see in the graph, the linear approximation is accurate only for values very close to (in the case close to ).
So, how can you get a better approximation that works for values farther away?
Well, you can think of the following: the linear approximation works because you know the rate of change at a point, if you knew how the rate of change varies (i.e., the second derivative), that might provide you more information about what the function is like.
In general, if you knew how “all” the derivatives of the function behave, you could know exactly what the function is like. That is the idea behind Taylor polynomials.
Taylor Polynomials Formula
Let's state the definition of the Taylor polynomial.
Let be a function with at least derivatives at . Then, the order Taylor polynomial centered at is given by
This polynomial of degree has the property that
for , and approximates near .
Note that the first degree Taylor polynomial is the same as the linear approximation (also called the tangent line)!
There is a special case when because it is much easier to write.
Let be a function with at least derivativesat . Then, the order Maclaurin polynomial centered at is given by
It is worth mentioning that the Taylor polynomials allow you to approximate any function using powers of . How good an approximation is it? That will depend on how many derivatives you calculate, the more derivatives, the more accurate the approximation.
To learn how to calculate the error in the approximation, visit our article called Lagrange Error Bound.
Second Degree Taylor Polynomial
A particular case is when you want to approximate a function using the second derivative.
Let be a function with at least derivativesat . The second degree Taylor polynomial, or quadratic approximation, centered at is given by the function
To see how a quadratic approximation is better than a linear approximation, let's approximate the function at . First, let's calculate the derivatives and evaluate the functions at .
Table 1. Function and derivative values for at .
Thus, the first degree Taylor polynomial for at is
and the second degree Taylor polynomial for at is
Figure 2. Graph of the function with its first and second degree Taylor polynomial.
Note that approximations also allow you to estimate values of a function at points where it is difficult to evaluate. For example, you know that is equal to , but what about the value of ? Using the quadratic approximation, you get
❗❗ Remember that a Taylor polynomial centered at , only allows you to estimate values near .
Stay organized and focused with your smart to do list
You could also approximate a function using the third derivative.
Let be a function with at least derivativesat . The third degree Taylor polynomial, or cubic approximation, centered at is
Let's calculate the third degree Taylor polynomial for the function at .
Table 2. Derivatives and function values for .
Thus, its third degree Taylor polynomial centered at is
Figure 3. Graph of the function with its Taylor polynomial of third degree.
Taylor Polynomials Examples
Let's look at more examples of how to use Taylor polynomials to estimate values of a function.
Calculate the fourth degree Taylor polynomial for the function at and use it to approximate .
Solution:
Remember that a Taylor polynomial at is called a Maclaurin polynomial! First, calculate the first derivatives of and evaluate them at .
Table 3. Derivatives and function values for .
Then, the fourth degree Taylor polynomial around is
So, evaluating at , you have
Let's look at another example.
Calculate the value of using a quadratic approximation.
Solution:
In this case, you need to calculate the second degree Taylor polynomial of the function since you want a quadratic approximate of .
Since Taylor polynomials only allow you to approximate values close to the value at which they are centered, you need a value close to where you can actually find the square root easily. So let's take since .
Table 4. Table of derivatives and function values for .
Thus, the quadratic (another way of saying second degree) Taylor polynomial of centered at is
Using the approximation you get
❗❗ Note that the Taylor polynomial calculated in the previous example was not used because it was centered on , and is very far from , so using it would have given you a very bad approximation.
Taylor Polynomials - Key takeaways
Let be a function with at least derivatives at . Then, the order Taylor polynomial centered at is
If the Taylor polynomial is centered at , it is also known as a Maclaurin polynomial.
Taylor polynomials are used to approximate complex functions and allow you to calculate values that are difficult to compute.
Learn faster with the 9 flashcards about Taylor Polynomials
Sign up for free to gain access to all our flashcards.
Frequently Asked Questions about Taylor Polynomials
How do you find Taylor polynomials?
The formula is based on the derivatives of the function, the center point, and power functions. To see the whole formula, take a look at our Taylor Polynomials article.
What is Taylor's formula used for?
It is used to approximate a complex function with simpler functions and thus estimate the values of the function at points where it is difficult to evaluate.
What is the difference between Taylor series and Taylor polynomial?
A Taylor polynomial takes a fixed number n of derivatives to estimate a function, while a Taylor series takes all the derivatives to estimate a function.
What is the degree of a Taylor polynomial?
The degree of a Taylor polynomial is given by the highest derivative used to estimate the function.
How do you solve Taylor series problems?
Since Taylor series include all the derivatives of a function, it is necessary to find the pattern that the derivatives follow.
How we ensure our content is accurate and trustworthy?
At StudySmarter, we have created a learning platform that serves millions of students. Meet
the people who work hard to deliver fact based content as well as making sure it is verified.
Content Creation Process:
Lily Hulatt
Digital Content Specialist
Lily Hulatt is a Digital Content Specialist with over three years of experience in content strategy and curriculum design. She gained her PhD in English Literature from Durham University in 2022, taught in Durham University’s English Studies Department, and has contributed to a number of publications. Lily specialises in English Literature, English Language, History, and Philosophy.
Gabriel Freitas is an AI Engineer with a solid experience in software development, machine learning algorithms, and generative AI, including large language models’ (LLMs) applications. Graduated in Electrical Engineering at the University of São Paulo, he is currently pursuing an MSc in Computer Engineering at the University of Campinas, specializing in machine learning topics. Gabriel has a strong background in software engineering and has worked on projects involving computer vision, embedded AI, and LLM applications.
StudySmarter is a globally recognized educational technology company, offering a holistic learning platform designed for students of all ages and educational levels. Our platform provides learning support for a wide range of subjects, including STEM, Social Sciences, and Languages and also helps students to successfully master various tests and exams worldwide, such as GCSE, A Level, SAT, ACT, Abitur, and more. We offer an extensive library of learning materials, including interactive flashcards, comprehensive textbook solutions, and detailed explanations. The cutting-edge technology and tools we provide help students create their own learning materials. StudySmarter’s content is not only expert-verified but also regularly updated to ensure accuracy and relevance.