Series: Ravi S. Iyer, PH.D
Series: Ravi S. Iyer, PH.D
Series: Ravi S. Iyer, PH.D
Contents
1 Introduction
2 Expanding functions
2.2 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.1 cos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.2 sin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2.3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2.5 ( + )
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.2.4 ( + )
2.2.6 (1 )
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.2.7 log (1 ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.3 Taylors series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.4 Approximating using Taylor and Maclaurin series . . . . . . . . . . . . . 17
2.4.1 Applying Lagranges form of the residual . . . . . . . . . . . . . . 22
A A few important derivations
26
Series
1 Introduction
In this document we take the algebraic view of series and sequences and look at the
algebraic implications of sequences, series and convergence.
2 Expanding functions
Consider nonlinear functions such as log, exp, trigonometric functions, (1) etc. We
will try to express these as polynomials in their variable.
Draft
(1)
Series
() | = 0 = (0)
() | = 0 = (0)
(2) (0)
1 (2)
() | = 0 =
2!
2!
(3) (0)
1 (3)
() | = 0 =
3!
3!
() (0)
1 ()
() | = 0 =
!
!
() (0)
,
!
= 0, 1,
(2)
() =
() (0)
!
=0
(3)
Draft
Series
Therefore,
(0) = 1
Again, from equation 1, we have
(2) () = (2.1) 2 + (3.2.1)3 + (4.3.2.1)4 2 +
= 2! 2 + 3! 3 + 4! 4 2 +
Therefore,
(2) (0) = 2! 2
2 =
(2)
2!
Similarly,
(3) () = (3.2.1) 3 + (4.3.2.1)4 + (5.4.3.2.1)5 2 +
= 3! 3 + 4! 4 + 5! 5 2 +
Therefore,
(3) (0) = 3! .3
3 =
(3)
3!
2.2 Examples
2.2.1 cos
Consider the function () = cos , in the interval * . In this interval cos
is defined and continuously differentiable.
* Remember, is in radians.
Draft
Series
1 + 0. + (1).
2 4
+
+ ,
2! 4!
=0
2
3
4
+ 0. + 1. +
2!
3!
4!
(1)
2
(2)!
(4)
(5)
Consider equation 4. As the powers of are always even, it tells us that cos is an
even function, i.e., cos () = cos (), which is indeed a property of cos .
2.2.2 sin
Next, Consider the function () = sin , in the interval . In this interval
sin is defined and continuously differentiable.
Remember, is in radians.
Draft
Series
Figure 1: Using equation 5 to evaluate cos at 3 . The plot shows the partial sums
for different values of . Note that the partial sums quickly converge (by the 3rd
iteration) to the expected value (0.5).
Draft
Series
Figure 2: Evaluating cos . Note that the partial sums quickly converge (by the 6th
iteration) to the expected value (-1).
2
3
4
+ (1). + 0. +
2!
3!
4!
3 5 7
=
+
+ ,
3! 5! 7!
0 + 1. + 0.
=0
Draft
(1)
2+1
(2 + 1)!
(6)
(7)
Series
Consider equation 6. As the powers of are always odd, it tells us that sin is an odd
function, i.e., sin () = sin (), and this is indeed a property of sin .
Figure 3: Using equation 7 to evaluate sin at 3 . The plot shows the partial sums
for different values of . Note that the partial sums quickly converge to the expected
value ( 3
= 0.866 ).
2
2.2.3
Next, Consider the function () = . is defined and infinitely differentiable in
the complex plane .
As
= ,
( )
Draft
Series
(0) = 0 = 1
(1) (0) = 0 = 1
(2) (0) = 0 = 1
(3) (0) = 0 = 1
2 3
+
+
2! 3!
(8)
!
=0
(9)
+ +
+
+
(
) (
)
2! 4! 6!
3! 5! 7!
= 1 + +
=0
(1)
2
2+1
+
(1)
(2)!
(2 + 1)!
=0
= cos + sin
Let us rewrite the conclusion of the above derivation (after renaming the parameter
as ), we have
= cos + sin
(10)
Draft
Series
Eulers Identity
Evaluating equation 10 at = , we have
= cos + sin = 1 + .(0) = 1
Or,
+ 1 = 0
(11)
Let
, > 0.
From equation 11, we have
= 1
log () =
log ( )
= log () +
Summarizing, given , > 0
log () = log () +
(12)
2.2.4 ( + )
Let () = ( + ) , where 0, , , 0.
Draft
10
Series
Figure 4: Plot of log(). It lies on a plane parallel to the Real plane at a distance
along the positive imaginary axis.
Then,
(0)
(1) (0)
(2) (0)
.( 1) 2
() (0)
!
( )!
() (0)
= ( )
Draft
(13)
11
Series
So, the Maclaurin series for ( + ) is
( + ) =
()
=0
2.2.5 ( + )
Let () = ( + ) , where 0, , , , 0.
Then,
(0)
(1) (0)
(2) (0)
.( 1) 2
() (0)
( 1) ( + 1)
Please Note: () can disappear only if or = 0, both of which have been precluded in the problem statement.
From equation 2, we can compute the coefficients, , = 0, , . These are:
=
=
() (0)
!
1
( 1) ( + 1).
!
(14)
( + ) =
Draft
( 1) ( + 1)
!
=0
12
Series
The term
(1) (+1)
!
( + ) =
()
=0
2.2.6 (1 )1
Consider (1 )1 , 0.
This can be written as (() + 1)1 , and setting = 1, we can use the results from
section 2.2.5.
(1 )1 =
1
(1)
( )
=0
=1
= (1)
2!
= (1)(2)
3!
1
, for = 0, 1, .
)
= 1
(1).(2)
=
=1
2
(1).(2).(3)
=
= 1
3!
= (1) !(+1)
Draft
= (1)
(1).(2) ()
= (1)
!
13
Series
So,
(1 )1 =
.(1) .
=0
(1) .(1) .
=0
=0
= 1 + + 2 + 3 + + +
This is the geometric series with ratio . So, the nth partial sum is
=
1
1
2.2.7 log (1 )
Consider log (1 ). We will assume that > 0.
We will derive the polynomial expansion for log (1 ) in two different ways.
1. Using Maclaurin series expansion
Draft
14
Series
(0)
(1) (0)
= log (1)
=0
1
= 1
|
= 1
=0
= 1
= 2
= 6
= 24
=0
=0
=0
=0
() (0)
(1)!
= (1) (1)
|
=0
= (1)( 1)!
1
1
=
!
log (1 ) = 0
]
[=1
2 3 4
2
3
4
(15)
2. Using (1 )1
Consider (1 )1 . We have seen in section 2.2.6 that
(1 )1 = 1 + + 2 + 3 +
Draft
15
Series
1
log ) =
(
>0
Therefore,
1
log (1 ) ) = (1)
,
(
where, (1 ) > 0
Which means,
log (1 ) = (1)
= (1)
0 ( =0 )
= (1)
(
0
=0
= (1)
=
+1
+|
( +1
=0 )
=0
= (1)
+1
+1
=0
2 3 4
2
3
4
Draft
16
Series
To solve this problem, we shall resort to changing variables and shifting origins. Let
us consider expressing () as
() 0 + 1 ( ) + 2 ( )2 + + ( ) +
(16)
A function () is real analytic on an open set D in the real line if, for any
0 in D, one can express () as
() =
( 0 ) = 0 + 1 ( 0 ) + 2 ( 0 )2 + 3 ( 0 )3 +
(17)
=0
such that the coefficients 0 , 1 , are real numbers, and the series converges to () for all in some neighborhood of 0 .
() ()
( )
!
(18)
() =
() ()
( )
!
=0
(19)
Draft
17
Series
in approximating a function by its nth-degree Taylor polynomial is called the remainder or residual and is denoted by the function (). Taylor's theorem can be used
to obtain a bound on the size of the remainder.
Let () be the nth partial sum of the Taylor series expansion of the function ().
This is nothing but the nth-degree Taylor polynomial of () evaluated at = , with
() defined and infinitely differentiable in the neighborhood | | < .
() = () +
(2) ()
(1) ()
() ()
( ) +
( )2 + +
( )
1!
2!
!
(20)
Let us use this opportunity to show that lim () = 0. That is, in the neighborhood | | < , () indeed converges to the value of () as .
To do this, we will make use of the following result (theorem 2).
Theorem 1. Consider an open interval ( , + ). If (+1) () is continuous in (
, + ), then, for all ( , + ),
() =
1
( ) (+1) ()
!
P(1). For = 1,
1 () = () 1 () = () () (1) ()( )
For = 1, the integral in the theorem is
( ) (2) ()
18
Series
We get,
(1) ()()
= 0 ( ) (1) () () + ()
= () () (1) ()( )
= 1 ()
The theorem therefore holds good for = 1.
P(2). Let us suppose that the theorem is true for some = . That is,
() =
1
( ) (+1) ()
!
We will show that if it is true for = , then it is also true for = + 1. That
is,
+1 () =
1
( )+1 (+2) ()
( + 1)!
Draft
19
Series
We get,
1
( )+1 (+2) () =
( + 1)!
=
=
=
=
=
1
( )+1 (+1) ()] |=
=
( + 1)! [
+1
(1)( ) (+1) ()
( + 1)!
1
1
0
( )(+1) (+1) () +
( ) (+1)
( + 1)!
!
( )(+1) (+1) () + ()
( + 1)!
1
() ()
( )(+1) (+1) ()
( + 1)!
1
() () +
( )(+1) (+1) ()
(
)
( + 1)!
() +1 ()
= +1 ()
Hence the proof.
Let us illustrate the use of this result with an example. Let us prove that the Maclaurin series for cos is valid for all , < < .
We are required to prove that irrespective of the value of , the residual value tends
to 0 as the number of terms in the partial sum tends to . This is tantamount to
proving that for all , < < , | ()| 0, as .
By setting = 0 in the expression for () in theorem 2, we get
() =
1
( ) (+1) ()
!
0
Draft
(+1)
() | 1.
20
Series
We will use the following two identities involving absolute values in our proof. For
,
() |
| () |
and
|
()()
() | | () |
|
|
=
=
1
( ) (+1) () |
! |
0
1
( ) | (+1) () |
!
0
1
( )
!
0
1 +1
! ( + 1)
+1
( + 1)!
0
1
( ) (+1) () |
|
!
1
(+1)
(
)
() |
|
| |
!
0
0
1
( )
!
=
=
(as < 0)
1 ()+1
! ( + 1)
()+1
( + 1)!
In either case,
| () |
| |+1
( + 1)!
(21)
| |+1
(+1)!
0 as , irrespective
of the value of (see theorem 4). Hence the L.H.S also tends to 0 as , i.e.,
| () | 0, as .
Draft
21
Series
As the residual value tends to 0, cos is equal to the sum of its Maclaurin series.
Theorem 2 however is not very easy to work with, and an alternative expression of
the residual error is called for.
(+1) ()
( )+1
( + 1)!
This expression is called the Lagranges Form of the residual or remainder term.
Proof. The function () = ( ) does not change sign in the interval between and
. Therefore, from theorem 7, there exists a between and such that
( ) (+1) () = (+1) ()
= (+1) ()
= (+1) ()
( )
( )+1 =
| =
1
( )+1
+1
(22)
1
( ) (+1) ()
!
1 (+1) ( )+1
()
!
+1
+1
(
)
= (+1) ()
( + 1)!
=
22
Series
+1
( + 1)!
0 .
Here () = cos . Therefore, (+1) () is either sin or cos . In either case, | (+1) ()|
1. So,
+1
| ()| = |
(+1)
| |
() |
( + 1)!
+1
| |
( + 1)!
(24)
() = 3
1 2
(1) () = 3
3
2 5
(2)
() = 3
9
8
10
(3) () =
3
27
(8) = 2
(1) (8) =
1
12
(2) (8) =
1
144
2 () = (8) +
23
Series
(3) ()
( 8)3
3!
1 10 83
( 8)3
3! 27
5 83
( 8)3
81
Draft
24
Series
Therefore,
5 8
3
|2 () | = 81 3 | ( 8) |
Here, lies between 8 and , and 7 9 (see figure 5 ).
Now, 7 9 implies that 1 ( 8) 1, or, | 8 | 1.
Also, since > 7,
3 < 7 3 = 0.005577059.
Therefore,
5 8
5
3
|2 () | = 81 3 | ( 8) | < 81 0.005577059 1 = 0.000344263
3
Hence, if 7 9, the error in estimating
, evaluated at 8, using a second order
Draft
25
Series
1
=
log
+ 1
=1
Then is strictly monotone increasing. That is, for all , +1 > .
Proof. For all > 0, ,
+1
1
log
+ 1
=1
+1
<
1
log ( + 2)
+ 1
=1
= log ( + 2)
< log ( + 2)
(25)
+2
+1 =
1
log
+ 2
=1
+1
1
log + log ( + 2)
+ 2
=1
1
( + 1) + log ( + 2)]
=
+2 [
1
>
( + 1) + ] From (25)
+2 [
=
+1 >
(26)
| |+1
= 0
( + 1)!
lim
Draft
26
Series
( + 1) log ||
log , as
=1
(27)
Let
+1
1
log .
=
+ 1
=1
Then the L.H.S of expression 27 can be written as
( + 1) log || ( + 1) = ( + 1) (log || )
Now, is a strictly monotone increasing sequence of (see theorem 3), and log || is
a constant with respect to . So, for a given , there exists 0 such that, for all
> 0 , > log ||. So, for all , > 0 , (log || ) < 0. This means that as ,
the expression ( + 1) (log || ) .
Hence the proof.
Theorem 5 (Extreme Value Theorem). If a function () is continuous on a closed
interval [, ], then () has both a maximum and a minimum on [, ].
Proof. See
http://math.duke.edu/~cbray/Stanford/2002-2003/Math%2041/EVTProof.pdf
Theorem 7 (Weighted Mean Value Theorem for Integrals). If and are continuous
functions on [, ] and does not change sign in [, ], then there exits a number in
Draft
27
Series
[, ] such that
()() = ()
()
Proof. Because does not change sign, either 0 or 0. Without loss of generality, let us assume that () 0.
By the Extreme Value Theorem, has an absolute minimum (say, ) and an absolute
maximum (say, ) in the interval [ , ].
()
()
()()
()
(28)
()()
()
(29)
Then, by the Intermediate Value Theorem, there exists a number in [, ] such that
() =
()()
()
()
Draft
() =
()()
28
Series
Draft
29