Video Transcript
In this video, we will learn how to
find the Maclaurin series representation of common functions such as exponential and
trigonometric functions and binomial expansion. We’ll then see some important uses
of Maclaurin expansions, such as using the Maclaurin series expansion to estimate
certain values of functions, find Maclaurin expansions of different forms of common
functions, and to estimate integrals.
We know that this is the Taylor
series of a function 𝑓 at 𝑎. But when we center our
approximation at 𝑎 equals zero, we get this series which has a special name. We call this the Maclaurin
series. We use this to approximate
functions by firstly finding the first, second, third, and so on derivatives of 𝑓,
and then evaluating these at 𝑥 equals zero. We then substitute these values
back into the Maclaurin series and simplify. One application of the Maclaurin
series is that we can use our approximation to estimate our function for different
values of 𝑥. Let’s see an example.
Consider 𝑔 of 𝑥 equals 𝑒 to the
𝑥 power. There’s two parts to this
question. The first part says, find the
Maclaurin series of 𝑔 of 𝑥. And the second part says, use the
first three terms of this series to find an approximate value of 𝑒 to the power of
0.4 to two decimal places.
Let’s start by writing out the
Maclaurin series expansion for a general function 𝑓 of 𝑥. So, let’s begin by finding some of
the derivatives of our function 𝑔 of 𝑥. 𝑔 of 𝑥 equals 𝑒 to the 𝑥 power,
so 𝑔 of zero equals 𝑒 to the zero power, which is one. We differentiate 𝑒 to the 𝑥 to
get the first derivative. So, we recall the fact that the
derivative of 𝑒 to the power of 𝑥 with respect to 𝑥 is just 𝑒 to the power of
𝑥. So, 𝑔 prime of 𝑥 equals 𝑒 to the
𝑥 power. And so, it follows that 𝑔 prime of
zero is one. And in fact, we see that all the
derivatives of 𝑔 of 𝑥 are 𝑒 to the power of 𝑥.
So, now let’s make the
substitutions. As our function is defined as 𝑔 of
𝑥, we can replace 𝑓 with 𝑔 and begin to make some substitutions. We found that 𝑔 of zero is
one. And we found that 𝑔 prime of zero
is one. And we found that 𝑔 double prime
of zero is one. And 𝑔 triple prime of zero is
one. And this will continue in this way
for all the future terms. We can bring the 𝑥, the 𝑥
squared, and the 𝑥 cubed, and so on on to the top of the fraction. And then, we can spot that we can
actually write this as the sum from 𝑛 equals zero to ∞ of 𝑥 to the 𝑛th power over
𝑛 factorial. So, this gives us the Maclaurin
series expansion of 𝑒 to the 𝑥 power.
The second part of this question
asks us to use the first three terms of this series to find an approximate value of
𝑒 to the 0.4 power to two decimal places. Here are the first three terms of
our series. And we want to approximate 𝑒 to
the 𝑥 when 𝑥 equals 0.4. So, we replace 𝑥 with 0.4, and we
find that this is one plus 0.4 over one factorial. But we know that one factorial is
just one. So, this is 0.4. And 0.4 squared is 0.16. And that’s over two factorial,
which is two multiplied by one, which is two. But 0.16 over two is just 0.08. So, adding these up, we find that
our approximation is 1.48. We could then use a calculator to
check how good our approximation is. Using a calculator gives us the 𝑒
to the power of 0.4 is 1.4918 to four decimal places. So, we can see that even though we
only use the first three terms of our series, our approximation is actually quite
good.
Being able to find the Maclaurin
series expansion of common functions is really useful because this opens the door to
finding Maclaurin series of more difficult forms of common functions. For instance, in the last example,
we saw that the Maclaurin series of 𝑒 to the 𝑥 power is the sum from 𝑛 equals
zero to ∞ of 𝑥 to the 𝑛th power over 𝑛 factorial. So, if we want to find the
Maclaurin expansion of 𝑒 to the two 𝑥 power, rather than start from scratch to
find this expansion, we can replace 𝑥 in the series with two 𝑥. We must be careful here because,
remember, we’ve got to raise both of the terms in the parentheses to the power. And we then see that we can write
the series as the sum from 𝑛 equals zero to ∞ of two to the 𝑛th power multiplied
by 𝑥 to the 𝑛th power over 𝑛 factorial. Let’s now see another example.
Find the Maclaurin series of the
hyperbolic sin of three 𝑥 equals 𝑒 to the three 𝑥 power minus 𝑒 to the negative
three 𝑥 power over two.
Let’s start by writing out the
general form for the Maclaurin series expansion for a function 𝑓. To make things easier for
ourselves, let’s start by finding the Maclaurin series expansion for the hyperbolic
sin of 𝑥. We’ll then be able to substitute 𝑥
with three 𝑥 to get the Maclaurin series of the hyperbolic sin of three 𝑥. So, we’re going to need to take our
function, 𝑓 of 𝑥, to be the hyperbolic sin of 𝑥, and we’re going to need to
evaluate this at zero and its derivatives at zero. So, we’ll also have to remember
that the derivative with respect to 𝑥 of the hyperbolic sin of 𝑥 is the hyperbolic
cos of 𝑥. And the derivative of the
hyperbolic cos of 𝑥 with respect to 𝑥 is the hyperbolic sin of 𝑥.
Let’s create a table for the
derivatives of 𝑓 of 𝑥 equals the hyperbolic sin of 𝑥. So, when 𝑛 is zero, we just have
𝑓 of 𝑥, which is the hyperbolic sin of 𝑥. So, to evaluate this when 𝑥 is
zero, we use the fact that the hyperbolic sin of 𝑥 is equal to 𝑒 to the 𝑥 power
minus 𝑒 to the negative 𝑥 power over two. So, the hyperbolic sin of zero is
𝑒 to the zero power minus 𝑒 to the negative zero power over two. But as 𝑒 to the zero power is just
one, this is one minus one over two, which is zero. When 𝑛 is equal to one, we have
the first derivative of 𝑓, which we’ve seen already is the hyperbolic cos of
𝑥.
In order to evaluate this at zero,
we recall that the hyperbolic cos of 𝑥 is equal to 𝑒 to the 𝑥 power add 𝑒 to the
negative 𝑥 power over two. So, the hyperbolic cos of zero is
equal to 𝑒 to the zero power add 𝑒 to the negative zero power over two. But we know that 𝑒 to the zero
power is just one. So, this is one add one over two,
which is just one. When 𝑛 is two, we’re looking for
the second derivative of 𝑓 of 𝑥. We can get this by differentiating
the first derivative, which was the hyperbolic cos of 𝑥. And because the hyperbolic cos of
𝑥 differentiates to give us the hyperbolic sin of 𝑥, this is the hyperbolic sin of
𝑥. We know what this is; when we
evaluate it at zero, it just gives us zero.
And when 𝑛 is three, we want to
find the third derivative of 𝑓, which is the derivative of the second derivative,
which we found to be the hyperbolic sin. So, this is the hyperbolic cos of
𝑥, which we know when 𝑥 is zero, this is one. And We can start to see a bit of a
pattern here. Each derivative of 𝑓 evaluated at
zero alternates between zero and one. So, we’re going to use this table
to write out the Maclaurin series for the hyperbolic sin of 𝑥. When we substitute in our values,
we see that every other term is zero. We’re only left with the odd powers
of 𝑥. We want to write this as a series,
but we need to make sure we only end up with those odd powers of 𝑥.
So, our series is the sum from 𝑛
equals zero to ∞ of 𝑥 to the power of two 𝑛 add one over two 𝑛 add one
factorial. We can use this now to find the
Maclaurin series for the hyperbolic sin of three 𝑥. We do this by replacing 𝑥 with
three 𝑥. And we can see that this gives us
three 𝑥 over one factorial add three 𝑥 cubed over three factorial add three 𝑥 to
the fifth power over five factorial, and so on. And we can see that we can write
this as the sum from 𝑛 equals zero to ∞ of three 𝑥 raised to the power of two 𝑛
add one over two 𝑛 add one factorial.
One use of Maclaurin series is that
we can integrate functions which would normally be hard to integrate much more
easily if we can find the Maclaurin series expansion for the function. We can compute both definite and
indefinite integrals. If we do have limits of
integration, we can use the Maclaurin series expansion to estimate the value of the
integral. Let’s see an example.
Approximate the integral between
zero and one of sin of 𝑥 squared with respect to 𝑥 using the first two terms of an
appropriate series.
Let’s begin by writing out the
Maclaurin series expansion for a function 𝑓. Now, the question asks us to use an
appropriate series. But what would an appropriate
series be? Well, if we can find the Maclaurin
series expansion for sin of 𝑥 squared, we could then integrate from there. To find the Maclaurin series
expansion of a function, we need 𝑓 and a few derivatives of 𝑓. Sin of 𝑥 squared could get a
little bit complicated trying to find the derivatives. So, let’s start by finding the
Maclaurin series expansion of sin of 𝑥. We’ll let 𝑓 of 𝑥 equal sin of
𝑥. We’ll find the first five
derivatives of 𝑓 of 𝑥. To do this, we recall that the
derivative with respect to 𝑥 of sin of 𝑥 is cos of 𝑥. And the derivative with respect to
𝑥 of cos of 𝑥 is negative sin of 𝑥.
So, we differentiate sin of 𝑥 to
get the first derivative, which is cos of 𝑥. We differentiate the first
derivative to get the second derivative, which is negative sin of 𝑥. And we differentiate again to get
the third derivative, and so on. But what we actually need to do is
evaluate each of these at zero. Well, sin of zero is zero, and cos
of zero is one. So, negative cos of zero is
negative one. So, now we can write out the first
few terms of the Maclaurin series expansion of sin of 𝑥. We use the general form of
Maclaurin series expansion and replace 𝑓 and its derivatives with the ones that we
found. And we find that every other term
is zero. In fact, all the terms with
positive powers of 𝑥 disappear here. So, we’re left with only the odd
powers of 𝑥. And also notice how the terms
alternate between positive and negative.
So, this is the Maclaurin expansion
for sin of 𝑥. We’ll leave it in this form for now
and use it to find the Maclaurin series for sin of 𝑥 squared. So, let’s clear some space to do
this. We use the series expansion that we
found for sin of 𝑥 in order to find the Maclaurin series expansion for sin of 𝑥
squared. All we need to do is replace 𝑥
with 𝑥 squared. We then remember the index law that
tells us that 𝑥 raised to the power of 𝑛 raised to the power of 𝑚 is equal to 𝑥
raised to the power of 𝑛 multiplied by 𝑚. So, 𝑥 squared and then raised to
the power of three is 𝑥 raised to the sixth power. 𝑥 squared and then raised to the
fifth power is just 𝑥 raised to the 10th power.
So, we can rewrite the integral
between zero and one of sin of 𝑥 squared with respect to 𝑥 as the integral between
zero and one of 𝑥 squared minus 𝑥 to the sixth power over three factorial add 𝑥
to the 10th power over five factorial and so on with respect to 𝑥. A few things to notice at this
point is that I rewrote 𝑥 squared over one factorial as 𝑥 squared because one
factorial is just one and dividing by one gives us that same number. Also note that it’s okay that we’ve
only written out three terms here. Remember that in the question,
we’re asked to approximate this integral using only the first two terms. So, we’re actually only going to
need the first two terms here.
From here, It’s just a case of
integrating using integration rules that we know. We use the power rule for
integration, which tells us that we add one to the power and then divide by the new
power. So, 𝑥 squared integrates to 𝑥
cubed over three. 𝑥 to the sixth power over three
factorial just integrates to 𝑥 to the seventh power over seven multiplied by three
factorial. And 𝑥 to the 10th power over five
factorial integrates to 𝑥 to the 11th power over 11 multiplied by five factorial,
and so on. And we need to evaluate this for
our limits. We firstly substitute in our upper
limit, which is one. And then, we subtract our function
with zero substituted in.
But notice that if we substitute
zero, all of these terms will just be zero. So, we’d just be subtracting
zero. So, from here, let’s just simplify
what we’ve got. One raised to anything will just
give us one. So, all these numerators will be
one. We can also calculate our
denominators by remembering that the factorial of a number is the product of that
number and all the integers below it to one. And remember, we’ve been asked to
approximate this integral using only the first two terms. So, our approximation for this
integral is one over three minus one over 42, which we calculate to be 13 over
42.
There’s another really important
result that we get from the Maclaurin series expansion, and it comes from the
binomial theorem. We know that the binomial theorem
gives us a way of expanding 𝑎 plus 𝑏 to the 𝑘th power, where 𝑎 and 𝑏 are real
numbers and 𝑘 is a positive integer, where these are called the binomial
coefficients. For example, 𝑎 plus 𝑏 raised to
the power of two is 𝑎 squared plus two 𝑎𝑏 plus 𝑏 squared. Or, 𝑎 plus 𝑏 raised to the third
power is 𝑎 cubed plus three 𝑎 squared 𝑏 plus three 𝑎𝑏 squared plus 𝑏
cubed. So, this expands a polynomial when
𝑘 is a positive integer with a finite sum.
But there’s a special case of the
binomial theorem which comes from the case when 𝑎 equals one and 𝑏 equals 𝑥. So, this is one plus 𝑥 to the 𝑘th
power. In 1665, Isaac Newton generalize
this theorem for powers which are fractional or negative or both. However, when 𝑘 is not positive,
one plus 𝑥 to the 𝑘th power is no longer a polynomial, so we can’t find a finite
sum of terms that equals 𝑓 of 𝑥. So, when 𝑘 is fractional or
negative, this is not a finite sum anymore. It’s an infinite series. To find the series, we compute the
Maclaurin series of one plus 𝑥 to the 𝑘th power. To do this, we need to find 𝑓 and
derivatives of 𝑓 evaluated at zero. 𝑓 of 𝑥 is one plus 𝑥 to the 𝑘th
power. We differentiate this to get the
first derivative.
Using the chain rule, this is 𝑘
multiplied by one plus 𝑥 raised to the power of 𝑘 minus one. And we continue in this way to find
the second, third, and so on derivatives. But we need to evaluate each of
these at zero, which we do by substituting in 𝑥 equals zero. And then, we substitute these
values into our general form for Maclaurin series expansion, which gives us the
Maclaurin series expansion of one plus 𝑥 to the 𝑘th power. This gives us the important series
known as the binomial series. This can be shown to converge if
the absolute value of 𝑥 is less than one and diverge if the absolute value of 𝑥 is
greater than one. Therefore, the binomial expansion
is only valid when the absolute value of 𝑥 is less than one.
Let’s summarize the main points
from this lesson. Here is the Maclaurin series
expansion for a function 𝑓 of 𝑥. We can use the Maclaurin series
expansion of common functions such as the exponential function or trig functions to
approximate these functions for different values of 𝑥. We can use the Maclaurin series
expansion of common functions to find the Maclaurin series expansion of different
forms of the function with a simple substitution and manipulation. Maclaurin series expansions allow
us to approximate integrals which would normally be tricky to compute. And finally, Maclaurin series
expansion gives us the binomial series derived from the binomial theorem with 𝑎
equal to one and 𝑏 equal to 𝑥 and works for 𝑘 being negative or fractional or
both.