Series Part 2
Series Part 2
SERIES
PART 2
Programme 12
1 Power series
Introduction: In the first programme (No. 11) on series, we saw how
important it is to know something of the convergence properties of any
infinite series we may wish to use and to appreciate the conditions in
which the series is valid.
This is very important, since it is often convenient to represent a
function as a series of ascending powers of the variable. This, in fact, is
just how a computer fmds the value of the sine of a given angle. Instead
of storing the whole of the mathematical tables, it sums up the terms of
a series representing the sine of an angle.
That is just one example. There are many occasions when we have
need to express a function of x as an infinite series of powers of x.
It is not at all difficult to express a function in this way, as you will soon
see in this programme.
2
Suppose we wish to express sine x as a series of ascending powers of x.
The series will be of the form
sin x =a + bx + ex 2 + dx 3 + ex 4 + ...
where a, b, c, etc., are constant coefficients, i.e. numerical factors of
some kind. Notice that we have used the 'equivalent' sign and not the
usual 'equals' sign. The statement is not an equation: it is an identity.
The right-hand side does not equal the left-hand side: the R.H.S. is the
L.H.S. expressed in a different form and the expression is therefore true
for any value of x that we like to substitute.
Can you pick out an identity from these?
(x + 4) 2 = 3x 2 - 2x + 1
(2x + 1) 2 = 4x 2 + 4x - 3
(x + 2) 2 = x 2 + 4x + 4
When you have decided, move on to frame 3.
327
Series 2
I(x + 2) 2 =x 2 + 4x + 41 3
Co"ect. This is the only identity of the three, since it is the only one in
which the R.H.S. is the L.H.S. written in a different form. Right. Now
back to our series:
sin x =a + bx + cx 2 + dx 3 + ex 4 + ...
To establish the series, we have to find the values of the constant coeffi-
cients a, b, c, d, etc.
Suppose we substitute x =0 on both sides.
Then sin 0 = a + 0 + 0 + 0 + 0 + ...
and since sin 0 = 0, we immediately get the value of a.
a= ................... .
4
Nowcan we substitute some other value forx, which will make all the
terms disappear except the second? If we could, we 'should then find the
value of b. Unfortunately, we cannot find any such substitution, so what
is the next step?
Here is the series once again:
sin x =a + bx + ex 2 + dx 3 + ex4 + ...
and so far we know that a= 0.
The key to the whole business is simply this:
Differentiate both sides with respect to x.
On the left, we get cos x.
On the right the terms are simply powers of x, so we get
cosx =................... .
328
Programme 12
6
ISubstitute x = 0 again I
Right: for then all the terms will disappear except the first and we shall
be able to find b.
cosx = b + c.2x + d.3x 2 + e.4x 3 + ...
Putx =0
cos 0 = I =b + 0 + 0 + 0 + 0 + ...
:. b =I
So far, so good. We have found the values of a and b. To find c and d
and all the rest, we merely repeat the process over and over again at each
successive stage.
329
Series 2
l substitute x =0 I 7
So we now get this, from the beginning:
sin x =a+ bx + cx 2 + dx 3 + ex 4 + fx 5 + ...
Put x =0. :. sin 0 =0 =a + 0 + 0 + 0 + . . . :. a =0
{
Diff. cos x = b + c.2x + d.3x 2 + e.4x 3 + [.5x 4 •••
All that now remains is to put these values for the constant coeffi-
cients back into the original series.
Now we have obtained the first few terms of an infinite series represent-
ing the function sin x, and you can see how the terms are likely to
proceed.
Write down the first six terms of the series for sin x.
330
Programme 12
8 . x 3 5 x 7 x 9 x 11
smx=x--x+---+--- +
3! 5! 7! 9! 11!
Provided we can differentiate a given function over and over again,
and find the values of the derivatives when we put x = 0, then this
method would enable us to express any function as a series of ascending
powers ofx.
However, it entails a considerable amount of writing, so we now
establish a general form of such a series, which can be applied to most
functions with very much less effort. This general series is known as
Maclaurin's series.
- 0
Put x- ... f"(O)-- c..
2 1 + 0 + 0 + . ..... c-~
_f"(O)
d~ {t!'Cx)}. by f"'(x)
331
Series 2
[!"(0) [!V(O)
d =3!- ·, e=-,-
10
4.
Now, in just the same way as we did with our series for sin x, we put
the expressions for a, b, c, . . . etc., back into the original series and get:
f(x) =................... .
_
f(x) - f(O)
, f"{O)
+I (O).x + 2! .x2 + 3 ! .x3
f"'(O)
+ ... 11
and this is usually written as
2 3
f(x) = f(O) + x.f'(O) -r ~! ./"(0) + ~! ./"'(0) .... I
332
Programme 12
12 Maclaurin's series
2 3
f(x) = f(O) + x. f'(O) + ~! . f"(O) + ~! .f"'(O) + ...
ODDODODDODOnDDODODDDDODODDDDDDDD DODDDu
Now we will use Maclaurin's series to find a series for sinh x. We have
to find the successive differential coefficients of sinh x and put x = 0 in
each. Here goes, then:
f(x) =sinhx f(O) = sinh 0 = 0
f'(x) = cosh x f'(O) =cosh 0 = 1
{"''(x) =sinhx =
f"(O) sinh 0 0 =
f"'(x) =cosh x f'"(O) .=cosh 0 = 1
fiV(x) = sinhx =
f!V(O) sinh 0 0 =
fY(x) =coshx fY(O) = cosh 0 = 1 etc.
13 Now let us find a series for ln(1 + x) in just the same way.
f(x) =ln(1 + x) :. f(O) = ................... .
1
f'(x)=-=(1 +x} 1
1+x
:. !'(O) =
-1
l"(x) =- (1 + x} 2 = - -2 :. /"(0) =
(1 + x)
f"'(x) = 2( 1 + x) 3
·
=(1- +2 x)
- 3 ... f"'(O) -- ....................
! W(x) = -3.2(1 + x)-4 =- (1.2d__
+x) 4
· fiv(o) --
•• •·••••••••••••••••••
- (14!+ x)s
fY(x)-- 4.3.2(1 + XJ 5- :. fY(O) = ................... .
You complete the work. Evaluate the differentials when x =0,
remembering that ln 1 = 0, and substitute back into Maclaurin's series to
obtain the series for ln(1 +x).
So, ln(l +x)= ....................
333
Series 2
x x x x 2
ln(l +x)=x-::..._+---+--
3 4 5
2 3 4 5
Note that in this series, the denominators are the natural numbers, not
factorials!
15
Example: Expand sin 2x as a series of ascending powers of x.
Maclaurin's series.:
2 3
f(x) = f(O) + x.f'(O) + ~! .f'!{O) + ~! ./"'(0) + ...
334
Programme 12
16
For f(x) = sin 2x :. f(O) = 0
f'(x) = 2 sin x cos x =sin 2x :. f'(O) = 0
f"(x) = 2 cos 2x :. /';(0) =2
f"'(x) = -4 sm 2x :. /'"{0) : ;: 0
pv(x) = -8 cos 2x :. fiv(O) = -8
[V(x) = 16 sin 2x :. [V(O) = 0
[Vi(x) =32 cos 2x :. [Vi(O) =32 etc.
2 3
f(x) = f(O) + x .f'(O) + ~! .f"(O) + ~! .["!{0) + ...
• . 2 _ x2 x3 x4 x5 x6
.. sm x- 0 + x(O) + 2 ! (2) +3! (O) + 4 ! (-8) + S! (O) + 6 ! (32)
Jx 2x 6
• • 2 _ 2 4
. . Slfi X -X - + 4S ...
Next we will find the series for tan x. This is a little heavier but the method
is always the same.
Move to frame 17.
335
Series 2
Standard series
18
By Maclaurin's series. we can build up a list of series representing many
of the common function.> - we have already found series for sin x, sinh x
and ln(l + x).
To find a series for cos x, we could apply the same technique all over
again. However, let us be crafty about it. Suppose we take the series for
sin x and differentiate both sides with respect to x just once, we get
. x3 x 5 x7
Sill X =X - 3 ! + S! - ? ! +
Diff. cos x
3x
=1 - 3f Sx 7! . . .
+ Sf - 7x
2 4 6
etc.
In the same way, we can obtain the series for cosh x. We already know
that
19
We get:
Diff.
giving:
Let us pause at this point and take stock of the series we have obtained.
We will make a list of them, so turn on to frame 20.
336
Programme 12
20 Summary
Here are the standard series that we have established so far.
x3 xs x7 x9
sinx =x-3!+5!-7!+9! ·· · II
x2 x4 x6 xs
cosx = 1 - 2! + 4!- 6! + 8! ... III
x3 2xs
tanx =x+-+-+ IV
3 15
. x3 xs x7
smhx =x+ 3 ! + 5 ! + 7 ! + v
x2 x4 x6 xs
cosh x =1 + 2 ! + 4 ! + 6 ! + 8 ! ... VI
x2 x3 x4 xs
ln(1 +x) =x -2 +3-4+5... VII
Make a note of these six series in your record book.
Then tum on to frame 21.
337
Series 2
I(
I-x,\11 = I - nx +
n(n- I) 2
2! x -
n(n- I) (n- 2) 3
3! x +· · ·
22
DDODDODDDDODDDDDDDDODDDDODDDDDDDDDDODO
Substituting the values for the derivatives, gives us that tan- 1x = .............. .
Then on to frame 24.
338
Programme 12
24 - x2 x3 x4 xs
tan 1x = 0 +x{l) +2! (0) +3! (-2) +41 (0) + S! (24) ...
and that
x2 x3 x4 }{ x2 x3 }
eX Jn ( 1 + X) = {1 + X + 2 ! + 3 ! + 4 ! . . . X - 2 + J - ...
339
Series 2
26
It is not at all difficult, provided you are careful to avoid missing any of
the products of the terms.
OODODODOODDODOOO OQODDOODDDODDODD DDOOOO
Take your time over it: then check your working with that in frame 27.
Here is the solution. Look through it carefully to see if you agree with
the result.
27
, J_ x 3 +x 2
1 "3! _ 3(1+1)_2x 3
X - 2! .X -X 6 2 - 3
340
Programme 12
28 Approximate values
This is a very obvious application of series and you will surely have done
some examples on this topic some time in the past. Here is just an example
or two to refresh your memory.
Example 1. Evaluate v'1·02 correct to 5 decimal places.
= 1 + 1co-o2) + 2 I.;
lc-l)
co-o2) 2
lc-lH-~)
+2 ~ _2 _3 2 co·02) 2 .•.
341
Series 2
.
Ltm
x-+0
{.tan x
x
- x}
3
.
t../ x3 2xs
(Y'
+ 3 + IT- -+-...
= L1m ---=---=.:;...
x-+o
)
--"---
x
3
-.1)
. { 1 2x 2 } 1
=~0 3+15 + ... =3
342
Programme 12
32 . {sinh
Example 2. To find Lim --
x~o
x}
X
.
Duect SU b stltUtiOn
· · 0 f X = 0 gtves
· - 0- 0 W h"lC h lS
sinh · 0 agam.
0 · S0 we Wl"II
express sinh x by its series, which is
sinhx = ....................... .
(If you do not remember, you will find it in your list of standard series
which you have been compiling. Look it up.)
Then on to frame 33.
33 x3 xs x1
sinh x = x + 31 + 51 + 7f + ...
34 Lim {sin?}= 1
x~o x
343
Series 2
35
Here is the working in detail:
. x3 xs x7
smhx =x +- + 5- , + 7 , +
3! . .
. { -1 , + xsl2 + x 4, + ... }
. {sinh x3 - x } = L1m
... L1m 3 7
x-+O X x-+Q · · ·
1 1
=3! =6
So there you are: they are all done the same way.
(i) Express the given function in terms of power series
(ii) Simplify the function as far as possible
(iii) Then determine the limiting value - which should now be possible.
DDDDOOOOOOOOOOOOOODODDDDODOOODOD DDDDDD
the indeterminate form ~ and when we do not know the series expansion
of the function concerned. What are we going to do then?
All is not lost! -for we do in fact have another method of finding
limiting values which, in many cases, is quicker than the series method.
It all depends upon the application of a rule which we must first
establish, so turn to the next frame for details thereof.
344
Programme 12
Y,
At a point K, i.e. x =(a+ h), KP = f(a +h) and KQ = g(a +h)
f(a +h)_ KP
g(a+h) -KQ
Now divide top and bottom by AK
f(a +h)_ KP/AK _tan PAK
g(a +h)- KQ/AK- tan QAK
Now Limf(x) =Lim f(a +h)= Lim tan PAK =~'(a)
x-+ag(x) h-+og(a+h) h-+O tanQAK g(a)
i.e. the limiting value of~~j as x-+ a (at which the function value by
direct substitution gives8) is given by the ratio of the differential coeffi-
cients of numerator and denominator at x =a (provided, of course, that
bothf'(a) and g'(a) are not zero themselves)!
:. Lim { f(x) }=f:(a) =Lim { ~'(x)}
x-+a g(x) g(a) x-+a g(x)
.. . {f(x)}-
. Lim . {f'(x)}
g(-) - L1m ,.-()
x-+a X x-+a g X
This is known as l 'Hopital 1s rule and is extremely useful for fmding
limiting values when the differential coefficients of the numerator and
denominator can easily be found.
Copy the rule into your record book. Now we will use it.
345
Series 2
x3 +x 2 -x-I}
Example 1. To find;~ { x 2 + 2x _ 3
3+2-I 4
= -=1
2+2 4
. . {x
.. Ltm
3 + x 2 - x- I } -I
2 2x 3
_
x~l X - -
and that is all there is to it!
Let us do another example, so, on to the next frame.
cosh x- ex}
Example 2. Determine Lim {
x~O X 38
We first of all try direct substitution, but we find that this leads us to
the result I ~ I, i.e. ~which is indeterminate. Therefore, apply l'Hopital's
rule
Lim{ f(x)}= Lim{®}
x~a g(x) x~a g(x)
i.e. differentiate top and bottom separately and substitute the given value
of x in the differential coefficients.
:. Lim{coshx-ex}= Lim{sinhx-ex}
x~o x x~o I
=0-1=-1
I
... L"tm {cosh x - ex } =-I
x~o x
Now you can do this one:
Ll·m { x -2 sin 3x}
2
Determine
x~O X +4x
346
Programme 12
. {x
L1m
x-+O
2
- sin 3x}
2
x +4x
L'
=1m
x-+o
{2x- 3 cos 3x}
2x+4
=0-3
- - =--3
0+4 ~
WARNING: l'Hopital's rule applies only when the indeterminate form
arises. If the limiting value can be found by direct substitution, the rule
will not work. An example will soon show this .
Consider . {x 2 +4x-3}
Ltm 5 - 2x
x-+2
. t su b stl'tutwn,
By dtree . t h e 1·1m1hng
. . value = 4 +5 _8 -4 3 = 9 . By l'H op1t. al' s
rule;~ {x ~x; 3 } =;~2 {2x~24 }= -4. As you will see, these results
2
;
do not agree.
Before using l 'Hopital 's rule, therefore, you must satisfy yourself that
direct substitution gives the indeterminate form g. If it does, you may
use the rule, but not otherwise.
40
Let us look at another example
. L'1m {X
Examp l e: Determme 2 X}
- sin
x-+0 X
.
By duect su b shtubon,
. . 1·lml't'mg vaIue 0 O =o·
= O- O
Apply l'Hopital's rule:
. {x-sinx}
L1m 2
L' {1-cosx}
=tm
x-+0X x-+0 2x
We now find, with some horror, that substitutingx = 0 in the differen-
g. So what do you
:s x}·
tial coefficients, again produces the indeterminate form
347
Series 2
. t
D1rec l U t·10n
SU b St"t · 0Q,
g1ves · 0Q'
- 0 I.e. c·Ind etermmate
· )
Note that we apply l'Hopital's rule again and again until we reach the
stage where the numerator or the denominator (or both) is not zero. We
shall then arrive at a definite limiting value of the function.
Turn on to frame 43.
348
Programme 12
43 Here are three Revision Examples for you to do. Work through all of
them and then check your working with the results set out in the next
frame. They are all straightforward and easy, so do not peep at the
official solutions before you have done them all.
Solutions:
44 (i) ~!i {
x3 - 2x 2 + 4x-
4x2 _ Sx + 1
3} (Substitution gives 0)
0
-_ L"Im {3x - 4x + 4 }-
2
3_ 1
---
x~l 8x-5 3
. . {x
.. x~l
Lim
3 - 2x 2 + 4x- 3 } _
4X 2 - 5X+ 1 -1
L" {tanx-x)
(ii)
x~~ sinx-xf (Substitution gives~)
. {sec 2x-1}
=Lim (still gives ~)
x~o cosx-1
-_ L"Im {-sin
--- x }-
- L.Im {-cos
--- x}-
---1
x~o 3x x~o 3 3
349
Series 2
Maclaurin's series and Taylor's series are very much alike in some
respects. In fact, Maclaurin's series is really a special case of Taylor's.
46
Maclaurin's x2 x3
series: f(x) = f(O) + x.f'(O) + 2 ! /"(0) + 3 ! f"'(O) + ...
Taylor's h2 h3
series: f(x +h)= f(x) + h.f'(x) + 2! f"(x) + 31 f"'(x) + ...
Copy the two series down together: it will help you learn them.
350
Programme 12
351
Series 2
You have now reached the end of the programme, except for the test 49
exercise which follows. The questions are all straightforward and you will
have no trouble with them. Work through all the questions at your own
speed. There is no need to hurry.
x~o 5x
(ii) Lim {tan x . tan: 1 x- x 2 }
x~O X
352
Programme 12
Further Problems-XII
x2 x4 x6
I. Prove that cosx = 1-- +---+ and that the series is valid
2! 4! 6!
for all values of x. Deduce the power series for sin 2 x and show that,
if xis small,
sin 2 x-x 2 cosx 1 x 2
x4 = 6+ 360 approximately.
4. Write down the expansions of (i) cos x and (ii) 1- 1 -, and hence
+x
show that
cos x x 2 x 3 l3x 4
--=1-x+---+ - -
1 +X 2 2 24
5. State the series forln(l + x) and the range of values of x for which it
is valid. Assuming the series for sin x and for cos x, find the series for
1nei: x) and In( cos x) as far as the term in x 4. Hence show that, if x
Lim {
ex+ e-x- 2}
x-+0 2 cos 2x- 2
353
Series 2
(1 + kx) (1 + ~r 1 ln(l + x)
contains no term in x 2 •
10. Evaluate (i) lim (sinh x - 3 tanh x}
x~o\ x
(ii) Lim (
x~l X
~- x1} (iii) lim { x : sin x}
x~o x +x
11. If u 7 and u 7 • 1 indicate the r 1 h term and the (r -l)th term respectively
of the expansion of (1 + x)n, determine an expression, in its simplest
form, for the ratio Ur . Hence show that in the binomial expansion
Ur-1
354
Programme 12
(i) j (1-x
1 + ):!): 1 +
X X + X2
2
(11.. ) y'{(l + 3x 2 )eX} _,_ 3x 25x 2
- 1 + -+-
' 1 -x 2 8
15. Prove that
H= ~ ((x2l)2- (x~/)2}
where 21 = length of magnet and M = moment. Show that, if lis
very small compared with x, then H :!): 2 ~.
X
20. If lis the length of a circular arc, a is the length of the chord of the
whole arc, and b is the length of the chord of half the arc, show that
(i) a = 2r sin ir and (ii) b = 2r sin :r, where r is the radius of the
. 1e. By expan d"Illg sill
cue . Ir an d Sill
2
. Ir as senes,
4 - 3-- a
. sh ow that I =Bb
approximat.ely.
355