Taylor Series
From Math Images
| Taylor Series |
|---|
Contents |
Basic Description
Taylor polynomials are often used to approximate more complicated differentiable functions that are not periodic on the interval in question.Polynomials are often easier to work with than more complicated functions such as exponentials. It is easy to take derivatives of polynomials and take integrals of them. They are also easier than many other functions to use in many mathematical models of systems. Therefore, when a Taylor Polynomial can be substituted for a more complicated function in a wide range of mathematical problems.
Taylor Polynomials have to be centered around a particular input value. Generally, as one moves farther away from that input, the Taylor polynomial becomes a less accurate approximation. We can see that in the animation--the further away from the center, the further apart the two lines are.
A More Mathematical Explanation
- Note: understanding of this explanation requires: *Basic Calculus
Taylor Series Form for a Single Variable
Every function that is infinitely differentiable at a g [...]Taylor Series Form for a Single Variable
Every function that is infinitely differentiable at a given point has a Taylor series centered at that point.
The Taylor Series of a function is an infinite series involving the function's first and higher order derivatives, the function's value at the series' center, and constants.
For a function of a single variable,
, the Taylor Series,
, about a point
is given by
or in summation notation,
A Taylor Polynomial,
for a function is simply this series truncated at its nth term.
In summation notation, we denote these polynomials as
.
In the case of a=0, the series expansion is called a Maclaurin series.
Example Taylor Series
Let's let
, and let's find the first three Taylor Polynomials about the point 1. We see that
,
, and
.
Now we have
From this we are able to calculate the 1st, 2nd, and 3rd order Taylor polynomials.
The graph of this polynomial is shown in green in the image on the right, while the graph of the original function is shown in red.
We can see that near
, the polynomial is a good approximation for the original function, but that if we move to left or the right by even 0.2 units or so, the difference between the two functions can be seen in the graph.
Now we can calculate the second order polynomial.
This polynomial is plotted below in blue while
is shown in red. We can see that this quadratic function does a better job approximating the original function. It starts to become a poor approximation at distances between 0.3 and 0.4 away from one.
Now we can calculate the third polynomial:
This polynomial is plotted to the right in pink, and the original function is still in red. We can see that it is even closer to the original function: it only starts to separate from it around 0.5 and 1.6.
If we keep going in this process, we see that, like the animation that's the main image, the polynomial keeps getting closer to our original function. If we look at
(shown in purple below), we see that the two lines are even closer than for the previous polynomials.
Uses
Small Angle Approximation
Many problems in physics and engineering involve some function of an angle--most frequently a sine or a cosine function. While both of these functions are periodic, we often only care about small displacements from equilibrium (often this is set to be
).
Take for example, the simple pendulum. If we want to know the equations of motion, we have to solve the equation
where g is the acceleration due to gravity, L is the length of the pendulum and
is the angle the pendulum makes with the vertical axis (want to know where this equation comes from? Hyperphysics has an great explanation).
The thing about this seemingly simple equation is that it cannot be solved analytically. Putting in the constants and the initial position and speed of the pendulum, it can be solved using numerical approximation methods, but there is no exact, general solution.
Since we only care about values around zero, we can use a Taylor polynomial around zero. Let's calculate some derivatives and values.
.
As it turns out, in many cases the first order polynomial is enough, so we only need these values. Plugging into the formula for the polynomial gives
.
Now, substituting
for
in our equation gives
This differential equation can be solved, and we find the simple solution
where we've made the assumption that at time
the pendulum is released from
.
So we see that using a Taylor series allows us to solve this important, basic problem in physics.
Approximating
is an important number in mathematics. One of its notable properties is that
. Using this fact, we can write the Taylor Series of
. For simplicity, we center the series around zero.
Since here,
, we know that
. As it turns out, this is one of the easiest Taylor series to write. Let's start out by writing the third order polynomial:
.
In general, we have the series
.
Since
we can plug in
to find an approximate value for e.
Using the second order polynomial, we don't get a very good approximation, but as we increase the number of terms we use, we get a closer and closer approximation to the value of
.
.
Using these first seven terms gives a very accurate approximation of e.
Teaching Materials
- There are currently no teaching materials for this page. Add teaching materials.
Leave a message on the discussion page by clicking the 'discussion' tab at the top of this image page.


