2 The Maclaurin series
Consider a function which can be differentiated at as often as we please. For example would fit into this category but would not.
Let us assume that can be represented by a power series in :
where are constants to be determined.
If we substitute then, clearly
The other constants can be determined by further differentiating and, on each differentiation, substituting . For example, differentiating once:
so, putting , we have .
Continuing to differentiate:
so
Further:
so
Continuing in this way we easily find that (remembering that )
where means the value of the derivative at and means .
Bringing all these results together we have:
Key Point 14
Maclaurin Series
If can be differentiated as often as required:
Example 4
Find the Maclaurin expansion of .
Solution
Here and, differentiating a number of times:
Evaluating each of these at :
Substituting into , gives:
The reader should confirm (by finding the radius of convergence) that this series is convergent for all values of . The geometrical approximation to by the first few terms of its Maclaurin series are shown in Figure 6.
Figure 6 :
Task!
Find the Maclaurin expansion of .
(Note that we cannot find a Maclaurin expansion of the function since does not exist at and so cannot be differentiated at .)
Find the first four derivatives of :
Now obtain :
Hence, obtain the Maclaurin expansion of :
(This was obtained in Section 16.4, page 37.)
Now obtain the radius of convergence and consider the situation at the boundary values:
. Also at the series is convergent (alternating harmonic series) and at the series is divergent. Hence this Maclaurin expansion is only valid if . The geometrical closeness of the polynomial terms with the function for is displayed in Figure 7:
Figure 7 :
Note that when so the alternating harmonic series converges to , as stated in Section 16.2, page 17.
The Maclaurin expansion of a product of two functions: is obtained by multiplying together the Maclaurin expansions of and of and collecting like terms together. The product series will have a radius of convergence equal to the smaller of the two separate radii of convergence.
Example 5
Find the Maclaurin expansion of .
Solution
Here, instead of finding the derivatives of , we can more simply multiply together the Maclaurin expansions for and which we already know:
and
The resulting power series will only be convergent if . Multiplying:
(You must take care not to miss relevant terms when carrying through the multiplication.)
Task!
Find the Maclaurin expansion of up to powers of . Hence write down the expansion of to powers of .
First, write down the expansion of :
Now, by multiplication, find the expansion of :
Now obtain the expansion of using a suitable trigonometric identity:
As an alternative approach the reader could obtain the power series expansion for by using the trigonometric identity .
Example 6
Find the Maclaurin expansion of up to powers of .
Solution
The first two derivatives of are
giving
This leads directly to the Maclaurin expansion as
Example 7
The relationship between the wavelength, , the wave period, , and the water depth, , for a surface wave in water is given by:
In a particular case the wave period was 10 s and the water depth was 6.1 m. Taking the acceleration due to gravity, , as determine the wave length.
[Hint: Use the series expansion for developed in Example 6.]
Solution
Substituting for the wave period, water depth and we get
The series expansion of is given by
Using the series expansion of we can approximate the equation as
Multiplying through by the equation becomes
This equation can be rewritten as
Solving this as a quadratic in we get m.
Using Newton-Raphson iteration this can be further refined to give a wave length of 73.9 m.