SlideShare a Scribd company logo
1 of 68
Approximations Using Taylor Expansions
We have the Taylor's Remainder Theorem:
Approximations Using Taylor Expansions
We have the Taylor's Remainder Theorem:
Approximations Using Taylor Expansions
Let f(x) be an infinitely differentiable function over
some open interval that contains [a, b]
We have the Taylor's Remainder Theorem:
Approximations Using Taylor Expansions
Let f(x) be an infinitely differentiable function over
some open interval that contains [a, b]
a
( )[ ]
b
f(x) is infinitely differentiable in here
We have the Taylor's Remainder Theorem:
Approximations Using Taylor Expansions
Let f(x) be an infinitely differentiable function over
some open interval that contains [a, b] and pn(x) be
the n'th Taylor-poly expanded at a,
a
( )[ ]
b
f(x) is infinitely differentiable in here
We have the Taylor's Remainder Theorem:
Approximations Using Taylor Expansions
Let f(x) be an infinitely differentiable function over
some open interval that contains [a, b] and pn(x) be
the n'th Taylor-poly expanded at a,
then there exists a "c" between a and b
a
( )[ ]
bc
f(x) is infinitely differentiable in here
We have the Taylor's Remainder Theorem:
Approximations Using Taylor Expansions
Let f(x) be an infinitely differentiable function over
some open interval that contains [a, b] and pn(x) be
the n'th Taylor-poly expanded at a,
then there exists a "c" between a and b such that
f(b) = pn(b) + (b – a)n+1
(n + 1)!
f(n+1)(c)
a
( )[ ]
bc
f(x) is infinitely differentiable in here
We have the Taylor's Remainder Theorem:
Approximations Using Taylor Expansions
Let f(x) be an infinitely differentiable function over
some open interval that contains [a, b] and pn(x) be
the n'th Taylor-poly expanded at a,
then there exists a "c" between a and b such that
f(b) = pn(b) + (b – a)n+1
(n + 1)!
f(n+1)(c)
a
( )[ ]
bc
f(x) is infinitely differentiable in here
We use the remainder formula to control the error
when we use Taylor polynomials to approximate f(b).
An approximation is said to be accurate to n decimal
places if the error is less than 0.5 x 10-n.
Approximations Using Taylor Expansions
An approximation is said to be accurate to n decimal
places if the error is less than 0.5 x 10-n. Therefore,
1 decimal place of accuracy  error < 0.05
Approximations Using Taylor Expansions
An approximation is said to be accurate to n decimal
places if the error is less than 0.5 x 10-n. Therefore,
1 decimal place of accuracy  error < 0.05
Approximations Using Taylor Expansions
2 decimal places of accuracy  error < 0.005
An approximation is said to be accurate to n decimal
places if the error is less than 0.5 x 10-n. Therefore,
1 decimal place of accuracy  error < 0.05
Approximations Using Taylor Expansions
2 decimal places of accuracy  error < 0.005
3 decimal places of accuracy  error < 0.0005
An approximation is said to be accurate to n decimal
places if the error is less than 0.5 x 10-n. Therefore,
1 decimal place of accuracy  error < 0.05
Approximations Using Taylor Expansions
2 decimal places of accuracy  error < 0.005
3 decimal places of accuracy  error < 0.0005
Example A. The Mac-polynomial of ex is
x + 2!1 +
x2
+ .. ++ 3!
x3
n!
xn
pn(x) =
Find an n such that pn(1) approximates e1 with an
accuracy to 4 decimal places.
An approximation is said to be accurate to n decimal
places if the error is less than 0.5 x 10-n. Therefore,
1 decimal place of accuracy  error < 0.05
Approximations Using Taylor Expansions
2 decimal places of accuracy  error < 0.005
3 decimal places of accuracy  error < 0.0005
Example A. The Mac-polynomial of ex is
x + 2!1 +
x2
+ .. ++ 3!
x3
n!
xn
pn(x) =
Find an n such that pn(1) approximates e1 with an
accuracy to 4 decimal places.
f(n+1)(c)
(n+1)!
bn+1 isThe error term Rn(b) = ec
(n+1)!
1n+1
for some c between 0 and b = 1.
Approximations Using Taylor Expansions
Assuming that we know that e < 3, then the error
ec
(n+1)!Rn(1) = <
3
(n+1)!
Approximations Using Taylor Expansions
Assuming that we know that e < 3, then the error
ec
(n+1)!Rn(1) = <
3
(n+1)!
For n large enough such that
we will have pn(1) accurate to 4 decimal places.
0.00005 > 3
(n+1)! > Rn(1)
Approximations Using Taylor Expansions
Assuming that we know that e < 3, then the error
ec
(n+1)!Rn(1) = <
3
(n+1)!
For n large enough such that
we will have pn(1) accurate to 4 decimal places.
0.00005 > 3
(n+1)!
By trying different values for n (trial and error),
we find that 0.00005 > 3/9!
> Rn(1)
Approximations Using Taylor Expansions
Assuming that we know that e < 3, then the error
ec
(n+1)!Rn(1) = <
3
(n+1)!
For n large enough such that
we will have pn(1) accurate to 4 decimal places.
0.00005 > 3
(n+1)!
By trying different values for n (trial and error),
we find that 0.00005 > 3/9! or that (n+1) = 9,
hence n = 8 is large enough for the requires
accuracy.
> Rn(1)
Approximations Using Taylor Expansions
Assuming that we know that e < 3, then the error
ec
(n+1)!Rn(1) = <
3
(n+1)!
For n large enough such that
we will have pn(1) accurate to 4 decimal places.
0.00005 > 3
(n+1)!
By trying different values for n (trial and error),
we find that 0.00005 > 3/9! or that (n+1) = 9,
hence n = 8 is large enough for the requires
accuracy.
Therefore p8(1) = 1 + 1 + 1/2! + 1/3! + .. + 1/8!
 2.7183  e approximates e accurately to
at least 4 places.
> Rn(1)
Approximations Using Taylor Expansions
Example B. Approximate cos(3o) to an accuracy of 3
decimal places.
Approximations Using Taylor Expansions
Example B. Approximate cos(3o) to an accuracy of 3
decimal places.
Set b = 3o as π/60.
Approximations Using Taylor Expansions
Example B. Approximate cos(3o) to an accuracy of 3
decimal places.
1 –pn(x) =
Expanding around 0, the Mac-poly of cos(x) is
+ 4!
x4
6!
x6
8!
x8
+–2!
x2
..
Set b = 3o as π/60.
Approximations Using Taylor Expansions
Example B. Approximate cos(3o) to an accuracy of 3
decimal places.
1 –pn(x) =
with the error term Rn( ) =
(n+1)!
Expanding around 0, the Mac-poly of cos(x) is
+ 4!
x4
6!
x6
8!
x8
+–2!
x2
..
Set b = 3o as π/60.
π
60
( )n+1,cos(n+1)(c)π
60
,and at b = π/60,
Approximations Using Taylor Expansions
Example B. Approximate cos(3o) to an accuracy of 3
decimal places.
1 –pn(x) =
with the error term Rn( ) =
(n+1)!
Expanding around 0, the Mac-poly of cos(x) is
+ 4!
x4
6!
x6
8!
x8
+–2!
x2
..
Set b = 3o as π/60.
π
60
( )n+1,
where c is some number between 0 and π/60.
cos(n+1)(c)π
60
,and at b = π/60,
Approximations Using Taylor Expansions
Example B. Approximate cos(3o) to an accuracy of 3
decimal places.
1 –pn(x) =
with the error term Rn( ) =
(n+1)!
Expanding around 0, the Mac-poly of cos(x) is
+ 4!
x4
6!
x6
8!
x8
+–2!
x2
..
Set b = 3o as π/60.
π
60
( )n+1,
where c is some number between 0 and π/60.
|cosn+1(c)| < 1,
cos(n+1)(c)π
60
,and at b = π/60,
Approximations Using Taylor Expansions
Example B. Approximate cos(3o) to an accuracy of 3
decimal places.
1 –pn(x) =
with the error term Rn( ) =
(n+1)!
Expanding around 0, the Mac-poly of cos(x) is
+ 4!
x4
6!
x6
8!
x8
+–2!
x2
..
Set b = 3o as π/60.
π
60
( )n+1,
where c is some number between 0 and π/60.
|cosn+1(c)| < 1, hence |Rn( )| <
cos(n+1)(c)π
60
,and at b = π/60,
π
60 (n+1)!
(π/60)n+1
.
Approximations Using Taylor Expansions
Example B. Approximate cos(3o) to an accuracy of 3
decimal places.
1 –pn(x) =
with the error term Rn( ) =
(n+1)!
Expanding around 0, the Mac-poly of cos(x) is
+ 4!
x4
6!
x6
8!
x8
+–2!
x2
..
Set b = 3o as π/60.
π
60
( )n+1,
where c is some number between 0 and π/60.
|cosn+1(c)| < 1, hence |Rn( )| <
cos(n+1)(c)π
60
,and at b = π/60,
π
60 (n+1)!
(π/60)n+1
.
We want 0.0005 > (n+1)!
(π/60)n+1
.
Approximations Using Taylor Expansions
Example B. Approximate cos(3o) to an accuracy of 3
decimal places.
1 –pn(x) =
with the error term Rn( ) =
(n+1)!
Expanding around 0, the Mac-poly of cos(x) is
+ 4!
x4
6!
x6
8!
x8
+–2!
x2
..
Set b = 3o as π/60.
π
60
( )n+1,
where c is some number between 0 and π/60.
|cosn+1(c)| < 1, hence |Rn( )| <
cos(n+1)(c)π
60
,and at b = π/60,
π
60 (n+1)!
(π/60)n+1
.
We want 0.0005 > (n+1)!
(π/60)n+1
.
By trial and error n = 2 is sufficient.
Approximations Using Taylor Expansions
Example B. Approximate cos(3o) to an accuracy of 3
decimal places.
1 –pn(x) =
with the error term Rn( ) =
(n+1)!
Expanding around 0, the Mac-poly of cos(x) is
+ 4!
x4
6!
x6
8!
x8
+–2!
x2
..
Set b = 3o as π/60.
π
60
( )n+1,
where c is some number between 0 and π/60.
|cosn+1(c)| < 1, hence |Rn( )| <
cos(n+1)(c)π
60
,and at b = π/60,
π
60 (n+1)!
(π/60)n+1
.
We want 0.0005 > (n+1)!
(π/60)n+1
.
By trial and error n = 2 is sufficient. So p2( )π/60
= 1 – (π/60)2/2
Approximations Using Taylor Expansions
Example B. Approximate cos(3o) to an accuracy of 3
decimal places.
1 –pn(x) =
with the error term Rn( ) =
(n+1)!
Expanding around 0, the Mac-poly of cos(x) is
+ 4!
x4
6!
x6
8!
x8
+–2!
x2
..
Set b = 3o as π/60.
π
60
( )n+1,
where c is some number between 0 and π/60.
|cosn+1(c)| < 1, hence |Rn( )| <
cos(n+1)(c)π
60
,and at b = π/60,
π
60 (n+1)!
(π/60)n+1
.
We want 0.0005 > (n+1)!
(π/60)n+1
.
By trial and error n = 2 is sufficient. So p2( )π/60
= 1 – (π/60)2/2  0.998629 gives us the desired result.
Differentiation and Integration of Power Series
Example C. Given the Mac series of
Differentiation and Integration of Power Series
Σk=0 (2k+1)!
(–1)kx2k+1
x –
3!
x3
+ 5!
x5
+ .. =7!
x7
–
Σ
k=0 (2k)!
(–1)kx2k
+ 4!
x4
6!
x6
8!
x8
+1 – – – .. =2!
x2
sin(x) =
cos(x) =
Example C. Given the Mac series of
[sin(x)]' = [
Differentiation and Integration of Power Series
Σk=0 (2k+1)!
(–1)kx2k+1
x –
3!
x3
+ 5!
x5
+ .. =7!
x7
–
Σ
k=0 (2k)!
(–1)kx2k
+ 4!
x4
6!
x6
8!
x8
+1 – – – .. =2!
x2
sin(x) =
cos(x) =
x –
3!
x3
+ 5!
x5
+ .. ]'7!
x7
–
The derivative of the power series of sin(x) is
Example C. Given the Mac series of
[sin(x)]' = [
Differentiation and Integration of Power Series
Σk=0 (2k+1)!
(–1)kx2k+1
x –
3!
x3
+ 5!
x5
+ .. =7!
x7
–
Σ
k=0 (2k)!
(–1)kx2k
+ 4!
x4
6!
x6
8!
x8
+1 – – – .. =2!
x2
sin(x) =
cos(x) =
x –
3!
x3
+ 5!
x5
+ .. ]'7!
x7
–
+ 4!
x4
6!
x6
+ …= 1 – –2!
x2
= cos(x)
The derivative of the power series of sin(x) is
Example C. Given the Mac series of
[sin(x)]' = [
Differentiation and Integration of Power Series
Σk=0 (2k+1)!
(–1)kx2k+1
x –
3!
x3
+ 5!
x5
+ .. =7!
x7
–
Σ
k=0 (2k)!
(–1)kx2k
+ 4!
x4
6!
x6
8!
x8
+1 – – – .. =2!
x2
sin(x) =
cos(x) =
x –
3!
x3
+ 5!
x5
+ .. ]'7!
x7
–
+ 4!
x4
6!
x6
+ …= 1 – –2!
x2
= cos(x)
The derivative of the power series of sin(x) is
∫sin(x)dx = ∫xdx – ∫ dx
3!
x3
+ ∫ dx5!
x5
–…
The antiderivative of the power series of sin(x) is
Example C. Given the Mac series of
[sin(x)]' = [
Differentiation and Integration of Power Series
Σk=0 (2k+1)!
(–1)kx2k+1
x –
3!
x3
+ 5!
x5
+ .. =7!
x7
–
Σ
k=0 (2k)!
(–1)kx2k
+ 4!
x4
6!
x6
8!
x8
+1 – – – .. =2!
x2
sin(x) =
cos(x) =
x –
3!
x3
+ 5!
x5
+ .. ]'7!
x7
–
+ 4!
x4
6!
x6
+ …= 1 – –2!
x2
= cos(x)
The derivative of the power series of sin(x) is
∫sin(x)dx = ∫xdx – ∫ dx
3!
x3
+ ∫ dx5!
x5
–…
The antiderivative of the power series of sin(x) is
4!
x4
6!
x6
= +
2!
x2
– – … + c
Example C. Given the Mac series of
[sin(x)]' = [
Differentiation and Integration of Power Series
Σk=0 (2k+1)!
(–1)kx2k+1
x –
3!
x3
+ 5!
x5
+ .. =7!
x7
–
Σ
k=0 (2k)!
(–1)kx2k
+ 4!
x4
6!
x6
8!
x8
+1 – – – .. =2!
x2
sin(x) =
cos(x) =
x –
3!
x3
+ 5!
x5
+ .. ]'7!
x7
–
+ 4!
x4
6!
x6
+ …= 1 – –2!
x2
= cos(x)
The derivative of the power series of sin(x) is
∫sin(x)dx = ∫xdx – ∫ dx
3!
x3
+ ∫ dx5!
x5
–…
The antiderivative of the power series of sin(x) is
4!
x4
6!
x6
= +
2!
x2
= –cos(x) + constant– – … + c
Example C. Given the Mac series of
[sin(x)]' = [
Differentiation and Integration of Power Series
Σk=0 (2k+1)!
(–1)kx2k+1
x –
3!
x3
+ 5!
x5
+ .. =7!
x7
–
Σ
k=0 (2k)!
(–1)kx2k
+ 4!
x4
6!
x6
8!
x8
+1 – – – .. =2!
x2
sin(x) =
cos(x) =
x –
3!
x3
+ 5!
x5
+ .. ]'7!
x7
–
+ 4!
x4
6!
x6
+ …= 1 – –2!
x2
= cos(x)
The derivative of the power series of sin(x) is
∫sin(x)dx = ∫xdx – ∫ dx
3!
x3
+ ∫ dx5!
x5
–…
The antiderivative of the power series of sin(x) is
4!
x4
6!
x6
= +
2!
x2
= –cos(x) + constant– – … + c
Both have infinite radius of convergence.
Differentiation and Integration of Power Series
Theorem (Derivative and integral of Taylor series) :
Σk=0
∞
Differentiation and Integration of Power Series
Let f(x) = P(x) = the Taylor series = ck(x – a)k for
all x in the interval (a – R, a + R) where R is the
radius of convergence, then
Theorem (Derivative and integral of Taylor series) :
Σk=0
∞
Differentiation and Integration of Power Series
Let f(x) = P(x) = the Taylor series = ck(x – a)k for
all x in the interval (a – R, a + R) where R is the
radius of convergence, then
Theorem (Derivative and integral of Taylor series) :
I. the Taylor series of f '(x) is P'(x) = [ck(x – a)k]'
with radius of convergence R and f '(x) = P'(x) for
all x in the interval (a – R, a + R).
Σk=0
∞
Σk=0
∞
Differentiation and Integration of Power Series
Let f(x) = P(x) = the Taylor series = ck(x – a)k for
all x in the interval (a – R, a + R) where R is the
radius of convergence, then
Theorem (Derivative and integral of Taylor series) :
I. the Taylor series of f '(x) is P'(x) = [ck(x – a)k]'
with radius of convergence R and f '(x) = P'(x) for
all x in the interval (a – R, a + R).
Σk=0
∞
II. the Taylor series of ∫f(x)dx is ∫P(x)dx= ∫ck(x – a)kdx
with radius of convergence R and ∫f(x)dx = ∫P(x)dx for
all x in the interval (a – R, a + R).
Σk=0
∞
Σk=0
∞
Differentiation and Integration of Power Series
Let f(x) = P(x) = the Taylor series = ck(x – a)k for
all x in the interval (a – R, a + R) where R is the
radius of convergence, then
Theorem (Derivative and integral of Taylor series) :
I. the Taylor series of f '(x) is P'(x) = [ck(x – a)k]'
with radius of convergence R and f '(x) = P'(x) for
all x in the interval (a – R, a + R).
Σk=0
∞
III. ∫ f(x)dx = ∫ ck(x – a)kdx with the series converging
absolutely and (c, d) is any interval in (a – R, a + R).
Σk=0
∞
c
d
c
d
II. the Taylor series of ∫f(x)dx is ∫P(x)dx= ∫ck(x – a)kdx
with radius of convergence R and ∫f(x)dx = ∫P(x)dx for
all x in the interval (a – R, a + R).
Σk=0
∞
The function y = ∫ sin(x)/x dx is non–elementary.
Differentiation and Integration of Power Series
x
sin(x)y =
(0,1)
The function y = ∫ sin(x)/x dx is non–elementary.
Hence to graph y = ∫ sin(x)/x dx we may estimate its
function value using its Mac-expansion.
Differentiation and Integration of Power Series
x
sin(x)y =
(0,1)
The function y = ∫ sin(x)/x dx is non–elementary.
Hence to graph y = ∫ sin(x)/x dx we may estimate its
function value using its Mac-expansion.
Differentiation and Integration of Power Series
Example D. Find the Mac series of ∫ dx. Graph it.x
sin(x)
x
sin(x)y =
(0,1)
The function y = ∫ sin(x)/x dx is non–elementary.
Hence to graph y = ∫ sin(x)/x dx we may estimate its
function value using its Mac-expansion.
Differentiation and Integration of Power Series
Example D. Find the Mac series of ∫ dx. Graph it.x
sin(x)
The Mac series of isx
sin(x)
x –
3!
x3
+ 5!
x5
+ ..7!
x7
–( ) / x
x
sin(x)y =
(0,1)
The function y = ∫ sin(x)/x dx is non–elementary.
Hence to graph y = ∫ sin(x)/x dx we may estimate its
function value using its Mac-expansion.
Differentiation and Integration of Power Series
Example D. Find the Mac series of ∫ dx. Graph it.x
sin(x)
The Mac series of isx
sin(x)
x –
3!
x3
+ 5!
x5
+ ..7!
x7
–( ) / x
= 1 –
3!
x2
+ 5!
x4
+ ..7!
x6
– Σk=0
=
x
sin(x)y =
(0,1)
(2k+1)!
(–1)kx2k
The function y = ∫ sin(x)/x dx is non–elementary.
Hence to graph y = ∫ sin(x)/x dx we may estimate its
function value using its Mac-expansion.
Differentiation and Integration of Power Series
Example D. Find the Mac series of ∫ dx. Graph it.x
sin(x)
The Mac series of isx
sin(x)
x –
3!
x3
+ 5!
x5
+ ..7!
x7
–( ) / x
= 1 –
3!
x2
+ 5!
x4
+ ..7!
x6
– Σk=0
=
So the Mac series of ∫ dx =x
sin(x) Σ ∫k=0 (2k+1)!
(–1)kx2k
dx
x
sin(x)y =
(0,1)
(2k+1)!
(–1)kx2k
The function y = ∫ sin(x)/x dx is non–elementary.
Hence to graph y = ∫ sin(x)/x dx we may estimate its
function value using its Mac-expansion.
Differentiation and Integration of Power Series
Example D. Find the Mac series of ∫ dx. Graph it.x
sin(x)
The Mac series of isx
sin(x)
x –
3!
x3
+ 5!
x5
+ ..7!
x7
–( ) / x
= 1 –
3!
x2
+ 5!
x4
+ ..7!
x6
– Σk=0
=
So the Mac series of ∫ dx =x
sin(x) Σ ∫k=0 (2k+1)!
(–1)kx2k
dx
= Σk=0 (2k+1)(2k+1)!
(–1)kx2k+1
x
sin(x)y =
(0,1)
(2k+1)!
(–1)kx2k
The function y = ∫ sin(x)/x dx is non–elementary.
Hence to graph y = ∫ sin(x)/x dx we may estimate its
function value using its Mac-expansion.
Differentiation and Integration of Power Series
Example D. Find the Mac series of ∫ dx. Graph it.x
sin(x)
The Mac series of isx
sin(x)
x –
3!
x3
+ 5!
x5
+ ..7!
x7
–( ) / x
= 1 –
3!
x2
+ 5!
x4
+ ..7!
x6
– Σk=0
=
So the Mac series of ∫ dx =x
sin(x) Σ ∫k=0 (2k+1)!
(–1)kx2k
dx
= Σk=0 (2k+1)(2k+1)!
(–1)kx2k+1
= x –
3*3!
x3
+ –
5*5!
x5
7*7!
x7
x
sin(x)y =
(0,1)
sin(x)
(2k+1)!
(–1)kx2k
+ ..
The function y = ∫ sin(x)/x dx is non–elementary.
Hence to graph y = ∫ sin(x)/x dx we may estimate its
function value using its Mac-expansion.
Differentiation and Integration of Power Series
Example D. Find the Mac series of ∫ dx. Graph it.x
sin(x)
The Mac series of isx
sin(x)
x –
3!
x3
+ 5!
x5
+ ..7!
x7
–( ) / x
= 1 –
3!
x2
+ 5!
x4
+ ..7!
x6
– Σk=0
=
So the Mac series of ∫ dx =x
sin(x) Σ ∫k=0 (2k+1)!
(–1)kx2k
dx
= Σk=0 (2k+1)(2k+1)!
(–1)kx2k+1
= x –
3*3!
x3
+ –
5*5!
x5
7*7!
x7
x
sin(x)y =
(0,1)
x
sin(x)y = ∫ dx
(2k+1)!
(–1)kx2k
+ ..
Here is its graph.
Differentiation and Integration of Power Series
Example E. Find ∫ e–x dx accurate to 3 decimal places.x=0
1
2
Differentiation and Integration of Power Series
Example E. Find ∫ e–x dx accurate to 3 decimal places.x=0
1
∫ e–x dx is not an elementary function.
2
2
Differentiation and Integration of Power Series
Example E. Find ∫ e–x dx accurate to 3 decimal places.x=0
1
∫ e–x dx is not an elementary function. We have to
use Mac-expansion to obtain the answer we want.
2
2
Differentiation and Integration of Power Series
Example E. Find ∫ e–x dx accurate to 3 decimal places.
ex = n!
xn
x=0
1
∫ e–x dx is not an elementary function. We have to
use Mac-expansion to obtain the answer we want.
2
2
Σk=0
e–x = n!
(–x2)n
Σk=0
2
Differentiation and Integration of Power Series
Example E. Find ∫ e–x dx accurate to 3 decimal places.
ex = n!
xn
x=0
1
∫ e–x dx is not an elementary function. We have to
use Mac-expansion to obtain the answer we want.
2
2
Σk=0
e–x = n!
(–x2)n
Σk=0
2
x2
+ 2!
x4
3!
x6
4!
x8
+= 1 – – – ..
Differentiation and Integration of Power Series
Example E. Find ∫ e–x dx accurate to 3 decimal places.
ex = n!
xn
x=0
1
∫ e–x dx is not an elementary function. We have to
use Mac-expansion to obtain the answer we want.
2
2
Σk=0
e–x = n!
(–x2)n
Σk=0
2
x2
+ 2!
x4
3!
x6
4!
x8
+= 1
Hence ∫ e–x dx =2
n!
(–x2)n
Σ ∫ dx =k=0
– – – ..
Differentiation and Integration of Power Series
Example E. Find ∫ e–x dx accurate to 3 decimal places.
ex = n!
xn
x=0
1
∫ e–x dx is not an elementary function. We have to
use Mac-expansion to obtain the answer we want.
2
2
Σk=0
e–x = n!
(–x2)n
Σk=0
2
x2
+ 2!
x4
3!
x6
4!
x8
+= 1
Hence ∫ e–x dx =2
n!
(–x2)n
Σ ∫ dx =k=0 (2n+1)n!Σk=0
(–1)nx2n+1
– – – ..
Differentiation and Integration of Power Series
Example E. Find ∫ e–x dx accurate to 3 decimal places.
ex = n!
xn
x=0
1
∫ e–x dx is not an elementary function. We have to
use Mac-expansion to obtain the answer we want.
2
2
Σk=0
e–x = n!
(–x2)n
Σk=0
2
x2
+ 2!
x4
3!
x6
4!
x8
+= 1
Hence ∫ e–x dx =2
n!
(–x2)n
Σ ∫ dx =k=0 (2n+1)n!Σk=0
= c + x
(–1)nx2n+1
3
x3
+
5*2!
x5
+ ..7*3!
x7
= P(x)
– – – ..
– –
Differentiation and Integration of Power Series
Example E. Find ∫ e–x dx accurate to 3 decimal places.
ex = n!
xn
x=0
1
∫ e–x dx is not an elementary function. We have to
use Mac-expansion to obtain the answer we want.
2
2
Σk=0
e–x = n!
(–x2)n
Σk=0
2
x2
+ 2!
x4
3!
x6
4!
x8
+= 1
Hence ∫ e–x dx =2
n!
(–x2)n
Σ ∫ dx =k=0 (2n+1)n!Σk=0
= c + x
(–1)nx2n+1
3
x3
+
5*2!
x5
+ ..7*3!
x7
= P(x)
∫ e–x dx = P(1) – P(0)x=0
1
2
– – – ..
– –
Therefore
Differentiation and Integration of Power Series
Example E. Find ∫ e–x dx accurate to 3 decimal places.
ex = n!
xn
x=0
1
∫ e–x dx is not an elementary function. We have to
use Mac-expansion to obtain the answer we want.
2
2
Σk=0
e–x = n!
(–x2)n
Σk=0
2
x2
+ 2!
x4
3!
x6
4!
x8
+= 1
Hence ∫ e–x dx =2
n!
(–x2)n
Σ ∫ dx =k=0 (2n+1)n!Σk=0
= c + x
(–1)nx2n+1
3
x3
+
5*2!
x5
+ ..7*3!
x7
= P(x)
∫ e–x dx = P(1) – P(0)x=0
1
= 1 3
1
+ 5*2!
1
+ ..
7*3!
1
2
– – – ..
– –
– –
Therefore
which is a "decreasing" alternating series.
Differentiation and Integration of Power Series
∫ e–x dxx=0
1
= 1 3
1
+ 5*2!
1
+7*3!
12
– –Hence
is a convergent alternating series.
1
9*4!
–
1
11*5!
+
13*6! …
1
Differentiation and Integration of Power Series
∫ e–x dxx=0
1
= 1 3
1
+ 5*2!
1
+7*3!
12
– –Hence
is a convergent alternating series.
Furthermore the sum of a "decreasing" alternating
series S satisfies that |S| < |a1=1st term|.
1
9*4!
–
1
11*5!
+
13*6! …
1
Differentiation and Integration of Power Series
∫ e–x dxx=0
1
= 1 3
1
+ 5*2!
1
+7*3!
12
– –Hence
is a convergent alternating series.
Furthermore the sum of a "decreasing" alternating
series S satisfies that |S| < |a1=1st term|.
To estimate the sum to the 3rd decimal place means
the error must be < 0.0005.
1
9*4!
–
1
11*5!
+
13*6! …
1
Differentiation and Integration of Power Series
∫ e–x dxx=0
1
= 1 3
1
+ 5*2!
1
+7*3!
12
– –Hence
is a convergent alternating series.
Furthermore the sum of a "decreasing" alternating
series S satisfies that |S| < |a1=1st term|.
To estimate the sum to the 3rd decimal place means
the error must be < 0.0005.
By trial and error, we find that < 0.0005.13*6!
1
1
9*4!
–
1
11*5!
+
13*6! …
1
Differentiation and Integration of Power Series
∫ e–x dxx=0
1
= 1 3
1
+ 5*2!
1
+7*3!
12
– –Hence
is a convergent alternating series.
Furthermore the sum of a "decreasing" alternating
series S satisfies that |S| < |a1=1st term|.
To estimate the sum to the 3rd decimal place means
the error must be < 0.0005.
By trial and error, we find that < 0.0005.13*6!
1
1
9*4!
–
1
11*5!
+
13*6! …
1
So by the tail-series theorem,
1
– .. < 0.0005+
13*6!
1
15*7!
1
17*8!
–
Differentiation and Integration of Power Series
∫ e–x dxx=0
1
= 1 3
1
+ 5*2!
1
+7*3!
12
– –Hence
is a convergent alternating series.
Furthermore the sum of a "decreasing" alternating
series S satisfies that |S| < |a1=1st term|.
To estimate the sum to the 3rd decimal place means
the error must be < 0.0005.
By trial and error, we find that < 0.0005.13*6!
1
1
9*4!
–
1
11*5!
+
13*6! …
1
So by the tail-series theorem,
1
– .. < 0.0005+
13*6!
1
15*7!
1
17*8!
–
This means the sum of the front terms
1 3
1
+ 5*2!
1
+7*3!
1
– –
1
9*4!
–
1
11*5!
 0.74673
is accurate to 3 decimal places.

More Related Content

What's hot

Lecture 4 the limit of a function
Lecture 4   the limit of a functionLecture 4   the limit of a function
Lecture 4 the limit of a functionnjit-ronbrown
 
Lesson 16: Inverse Trigonometric Functions (slides)
Lesson 16: Inverse Trigonometric Functions (slides)Lesson 16: Inverse Trigonometric Functions (slides)
Lesson 16: Inverse Trigonometric Functions (slides)Matthew Leingang
 
Graphs of trigonometry functions
Graphs of trigonometry functionsGraphs of trigonometry functions
Graphs of trigonometry functionslgemgnani
 
Simplifying radical expressions, rational exponents, radical equations
Simplifying radical expressions, rational exponents, radical equationsSimplifying radical expressions, rational exponents, radical equations
Simplifying radical expressions, rational exponents, radical equationsJessica Garcia
 
Integration of Trigonometric Functions
Integration of Trigonometric FunctionsIntegration of Trigonometric Functions
Integration of Trigonometric FunctionsRaymundo Raymund
 
3.5 Rational Functions
3.5 Rational Functions3.5 Rational Functions
3.5 Rational Functionssmiller5
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical inductionrey castro
 
Remainder and Factor Theorem
Remainder and Factor TheoremRemainder and Factor Theorem
Remainder and Factor TheoremTrish Hammond
 
Solves problems involving linear functions.pptx
Solves problems involving linear functions.pptxSolves problems involving linear functions.pptx
Solves problems involving linear functions.pptxMa. Loiel Salome Nabelon
 
3.2 Domain and Range
3.2 Domain and Range3.2 Domain and Range
3.2 Domain and Rangesmiller5
 
Math 8 Curriculum Guide rev.2016
Math 8 Curriculum Guide rev.2016Math 8 Curriculum Guide rev.2016
Math 8 Curriculum Guide rev.2016Chuckry Maunes
 
Evaluating functions
Evaluating functionsEvaluating functions
Evaluating functionsEFREN ARCHIDE
 
Rules of inference
Rules of inferenceRules of inference
Rules of inferenceLakshmi R
 

What's hot (20)

Lecture 4 the limit of a function
Lecture 4   the limit of a functionLecture 4   the limit of a function
Lecture 4 the limit of a function
 
The laws of exponents
The laws of exponentsThe laws of exponents
The laws of exponents
 
Polynomials Mathematics Grade 7
Polynomials Mathematics Grade 7Polynomials Mathematics Grade 7
Polynomials Mathematics Grade 7
 
Lesson 16: Inverse Trigonometric Functions (slides)
Lesson 16: Inverse Trigonometric Functions (slides)Lesson 16: Inverse Trigonometric Functions (slides)
Lesson 16: Inverse Trigonometric Functions (slides)
 
Graphs of trigonometry functions
Graphs of trigonometry functionsGraphs of trigonometry functions
Graphs of trigonometry functions
 
Simplifying radical expressions, rational exponents, radical equations
Simplifying radical expressions, rational exponents, radical equationsSimplifying radical expressions, rational exponents, radical equations
Simplifying radical expressions, rational exponents, radical equations
 
Integration of Trigonometric Functions
Integration of Trigonometric FunctionsIntegration of Trigonometric Functions
Integration of Trigonometric Functions
 
3.5 Rational Functions
3.5 Rational Functions3.5 Rational Functions
3.5 Rational Functions
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical induction
 
Rational Expressions
Rational ExpressionsRational Expressions
Rational Expressions
 
Remainder and Factor Theorem
Remainder and Factor TheoremRemainder and Factor Theorem
Remainder and Factor Theorem
 
Solves problems involving linear functions.pptx
Solves problems involving linear functions.pptxSolves problems involving linear functions.pptx
Solves problems involving linear functions.pptx
 
3.2 Domain and Range
3.2 Domain and Range3.2 Domain and Range
3.2 Domain and Range
 
Math 8 Curriculum Guide rev.2016
Math 8 Curriculum Guide rev.2016Math 8 Curriculum Guide rev.2016
Math 8 Curriculum Guide rev.2016
 
Triple integrals and applications
Triple integrals and applicationsTriple integrals and applications
Triple integrals and applications
 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
 
M17 t1 notes
M17 t1 notes M17 t1 notes
M17 t1 notes
 
Law of cosines
Law of cosinesLaw of cosines
Law of cosines
 
Evaluating functions
Evaluating functionsEvaluating functions
Evaluating functions
 
Rules of inference
Rules of inferenceRules of inference
Rules of inference
 

Similar to 32 approximation, differentiation and integration of power series x

Similar to 32 approximation, differentiation and integration of power series x (20)

Quadrature
QuadratureQuadrature
Quadrature
 
Convergence
ConvergenceConvergence
Convergence
 
Numerical Analysis and Its application to Boundary Value Problems
Numerical Analysis and Its application to Boundary Value ProblemsNumerical Analysis and Its application to Boundary Value Problems
Numerical Analysis and Its application to Boundary Value Problems
 
NUMERICAL METHOD
NUMERICAL METHODNUMERICAL METHOD
NUMERICAL METHOD
 
Probability Assignment Help
Probability Assignment HelpProbability Assignment Help
Probability Assignment Help
 
Vivek
VivekVivek
Vivek
 
Differential Equations Assignment Help
Differential Equations Assignment HelpDifferential Equations Assignment Help
Differential Equations Assignment Help
 
Imc2020 day1&amp;2 problems&amp;solutions
Imc2020 day1&amp;2 problems&amp;solutionsImc2020 day1&amp;2 problems&amp;solutions
Imc2020 day1&amp;2 problems&amp;solutions
 
Excel Homework Help
Excel Homework HelpExcel Homework Help
Excel Homework Help
 
CMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & QuantifiersCMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & Quantifiers
 
Appendex b
Appendex bAppendex b
Appendex b
 
Calculus Assignment Help
Calculus Assignment HelpCalculus Assignment Help
Calculus Assignment Help
 
Calculus Homework Help
Calculus Homework HelpCalculus Homework Help
Calculus Homework Help
 
Differential Equations Homework Help
Differential Equations Homework HelpDifferential Equations Homework Help
Differential Equations Homework Help
 
v39i11.pdf
v39i11.pdfv39i11.pdf
v39i11.pdf
 
Probability and Statistics Assignment Help
Probability and Statistics Assignment HelpProbability and Statistics Assignment Help
Probability and Statistics Assignment Help
 
Binomial Theorem, Recursion ,Tower of Honai, relations
Binomial Theorem, Recursion ,Tower of Honai, relationsBinomial Theorem, Recursion ,Tower of Honai, relations
Binomial Theorem, Recursion ,Tower of Honai, relations
 
Lemh1a1
Lemh1a1Lemh1a1
Lemh1a1
 
Lemh1a1
Lemh1a1Lemh1a1
Lemh1a1
 
Binomial
BinomialBinomial
Binomial
 

More from math266

10 b review-cross-sectional formula
10 b review-cross-sectional formula10 b review-cross-sectional formula
10 b review-cross-sectional formulamath266
 
3 algebraic expressions y
3 algebraic expressions y3 algebraic expressions y
3 algebraic expressions ymath266
 
267 1 3 d coordinate system-n
267 1 3 d coordinate system-n267 1 3 d coordinate system-n
267 1 3 d coordinate system-nmath266
 
X2.8 l'hopital rule ii
X2.8 l'hopital rule iiX2.8 l'hopital rule ii
X2.8 l'hopital rule iimath266
 
X2.7 l'hopital rule i
X2.7 l'hopital rule iX2.7 l'hopital rule i
X2.7 l'hopital rule imath266
 
33 parametric equations x
33 parametric equations x33 parametric equations x
33 parametric equations xmath266
 
35 tangent and arc length in polar coordinates
35 tangent and arc length in polar coordinates35 tangent and arc length in polar coordinates
35 tangent and arc length in polar coordinatesmath266
 
36 area in polar coordinate
36 area in polar coordinate36 area in polar coordinate
36 area in polar coordinatemath266
 
34 polar coordinate and equations
34 polar coordinate and equations34 polar coordinate and equations
34 polar coordinate and equationsmath266
 
31 mac taylor remainder theorem-x
31 mac taylor remainder theorem-x31 mac taylor remainder theorem-x
31 mac taylor remainder theorem-xmath266
 
30 computation techniques for mac laurin expansions x
30 computation techniques for  mac laurin expansions x30 computation techniques for  mac laurin expansions x
30 computation techniques for mac laurin expansions xmath266
 
L'hopital rule ii
L'hopital rule iiL'hopital rule ii
L'hopital rule iimath266
 
L'Hopital's rule i
L'Hopital's rule iL'Hopital's rule i
L'Hopital's rule imath266
 
29 taylor expansions x
29 taylor expansions x29 taylor expansions x
29 taylor expansions xmath266
 
28 mac laurin expansions x
28 mac laurin expansions x28 mac laurin expansions x
28 mac laurin expansions xmath266
 
27 power series x
27 power series x27 power series x
27 power series xmath266
 
26 alternating series and conditional convergence x
26 alternating series and conditional convergence x26 alternating series and conditional convergence x
26 alternating series and conditional convergence xmath266
 
25 the ratio, root, and ratio comparison test x
25 the ratio, root, and ratio  comparison test x25 the ratio, root, and ratio  comparison test x
25 the ratio, root, and ratio comparison test xmath266
 
24 the harmonic series and the integral test x
24 the harmonic series and the integral test x24 the harmonic series and the integral test x
24 the harmonic series and the integral test xmath266
 
23 improper integrals send-x
23 improper integrals send-x23 improper integrals send-x
23 improper integrals send-xmath266
 

More from math266 (20)

10 b review-cross-sectional formula
10 b review-cross-sectional formula10 b review-cross-sectional formula
10 b review-cross-sectional formula
 
3 algebraic expressions y
3 algebraic expressions y3 algebraic expressions y
3 algebraic expressions y
 
267 1 3 d coordinate system-n
267 1 3 d coordinate system-n267 1 3 d coordinate system-n
267 1 3 d coordinate system-n
 
X2.8 l'hopital rule ii
X2.8 l'hopital rule iiX2.8 l'hopital rule ii
X2.8 l'hopital rule ii
 
X2.7 l'hopital rule i
X2.7 l'hopital rule iX2.7 l'hopital rule i
X2.7 l'hopital rule i
 
33 parametric equations x
33 parametric equations x33 parametric equations x
33 parametric equations x
 
35 tangent and arc length in polar coordinates
35 tangent and arc length in polar coordinates35 tangent and arc length in polar coordinates
35 tangent and arc length in polar coordinates
 
36 area in polar coordinate
36 area in polar coordinate36 area in polar coordinate
36 area in polar coordinate
 
34 polar coordinate and equations
34 polar coordinate and equations34 polar coordinate and equations
34 polar coordinate and equations
 
31 mac taylor remainder theorem-x
31 mac taylor remainder theorem-x31 mac taylor remainder theorem-x
31 mac taylor remainder theorem-x
 
30 computation techniques for mac laurin expansions x
30 computation techniques for  mac laurin expansions x30 computation techniques for  mac laurin expansions x
30 computation techniques for mac laurin expansions x
 
L'hopital rule ii
L'hopital rule iiL'hopital rule ii
L'hopital rule ii
 
L'Hopital's rule i
L'Hopital's rule iL'Hopital's rule i
L'Hopital's rule i
 
29 taylor expansions x
29 taylor expansions x29 taylor expansions x
29 taylor expansions x
 
28 mac laurin expansions x
28 mac laurin expansions x28 mac laurin expansions x
28 mac laurin expansions x
 
27 power series x
27 power series x27 power series x
27 power series x
 
26 alternating series and conditional convergence x
26 alternating series and conditional convergence x26 alternating series and conditional convergence x
26 alternating series and conditional convergence x
 
25 the ratio, root, and ratio comparison test x
25 the ratio, root, and ratio  comparison test x25 the ratio, root, and ratio  comparison test x
25 the ratio, root, and ratio comparison test x
 
24 the harmonic series and the integral test x
24 the harmonic series and the integral test x24 the harmonic series and the integral test x
24 the harmonic series and the integral test x
 
23 improper integrals send-x
23 improper integrals send-x23 improper integrals send-x
23 improper integrals send-x
 

Recently uploaded

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 

Recently uploaded (20)

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 

32 approximation, differentiation and integration of power series x

  • 2. We have the Taylor's Remainder Theorem: Approximations Using Taylor Expansions
  • 3. We have the Taylor's Remainder Theorem: Approximations Using Taylor Expansions Let f(x) be an infinitely differentiable function over some open interval that contains [a, b]
  • 4. We have the Taylor's Remainder Theorem: Approximations Using Taylor Expansions Let f(x) be an infinitely differentiable function over some open interval that contains [a, b] a ( )[ ] b f(x) is infinitely differentiable in here
  • 5. We have the Taylor's Remainder Theorem: Approximations Using Taylor Expansions Let f(x) be an infinitely differentiable function over some open interval that contains [a, b] and pn(x) be the n'th Taylor-poly expanded at a, a ( )[ ] b f(x) is infinitely differentiable in here
  • 6. We have the Taylor's Remainder Theorem: Approximations Using Taylor Expansions Let f(x) be an infinitely differentiable function over some open interval that contains [a, b] and pn(x) be the n'th Taylor-poly expanded at a, then there exists a "c" between a and b a ( )[ ] bc f(x) is infinitely differentiable in here
  • 7. We have the Taylor's Remainder Theorem: Approximations Using Taylor Expansions Let f(x) be an infinitely differentiable function over some open interval that contains [a, b] and pn(x) be the n'th Taylor-poly expanded at a, then there exists a "c" between a and b such that f(b) = pn(b) + (b – a)n+1 (n + 1)! f(n+1)(c) a ( )[ ] bc f(x) is infinitely differentiable in here
  • 8. We have the Taylor's Remainder Theorem: Approximations Using Taylor Expansions Let f(x) be an infinitely differentiable function over some open interval that contains [a, b] and pn(x) be the n'th Taylor-poly expanded at a, then there exists a "c" between a and b such that f(b) = pn(b) + (b – a)n+1 (n + 1)! f(n+1)(c) a ( )[ ] bc f(x) is infinitely differentiable in here We use the remainder formula to control the error when we use Taylor polynomials to approximate f(b).
  • 9. An approximation is said to be accurate to n decimal places if the error is less than 0.5 x 10-n. Approximations Using Taylor Expansions
  • 10. An approximation is said to be accurate to n decimal places if the error is less than 0.5 x 10-n. Therefore, 1 decimal place of accuracy  error < 0.05 Approximations Using Taylor Expansions
  • 11. An approximation is said to be accurate to n decimal places if the error is less than 0.5 x 10-n. Therefore, 1 decimal place of accuracy  error < 0.05 Approximations Using Taylor Expansions 2 decimal places of accuracy  error < 0.005
  • 12. An approximation is said to be accurate to n decimal places if the error is less than 0.5 x 10-n. Therefore, 1 decimal place of accuracy  error < 0.05 Approximations Using Taylor Expansions 2 decimal places of accuracy  error < 0.005 3 decimal places of accuracy  error < 0.0005
  • 13. An approximation is said to be accurate to n decimal places if the error is less than 0.5 x 10-n. Therefore, 1 decimal place of accuracy  error < 0.05 Approximations Using Taylor Expansions 2 decimal places of accuracy  error < 0.005 3 decimal places of accuracy  error < 0.0005 Example A. The Mac-polynomial of ex is x + 2!1 + x2 + .. ++ 3! x3 n! xn pn(x) = Find an n such that pn(1) approximates e1 with an accuracy to 4 decimal places.
  • 14. An approximation is said to be accurate to n decimal places if the error is less than 0.5 x 10-n. Therefore, 1 decimal place of accuracy  error < 0.05 Approximations Using Taylor Expansions 2 decimal places of accuracy  error < 0.005 3 decimal places of accuracy  error < 0.0005 Example A. The Mac-polynomial of ex is x + 2!1 + x2 + .. ++ 3! x3 n! xn pn(x) = Find an n such that pn(1) approximates e1 with an accuracy to 4 decimal places. f(n+1)(c) (n+1)! bn+1 isThe error term Rn(b) = ec (n+1)! 1n+1 for some c between 0 and b = 1.
  • 15. Approximations Using Taylor Expansions Assuming that we know that e < 3, then the error ec (n+1)!Rn(1) = < 3 (n+1)!
  • 16. Approximations Using Taylor Expansions Assuming that we know that e < 3, then the error ec (n+1)!Rn(1) = < 3 (n+1)! For n large enough such that we will have pn(1) accurate to 4 decimal places. 0.00005 > 3 (n+1)! > Rn(1)
  • 17. Approximations Using Taylor Expansions Assuming that we know that e < 3, then the error ec (n+1)!Rn(1) = < 3 (n+1)! For n large enough such that we will have pn(1) accurate to 4 decimal places. 0.00005 > 3 (n+1)! By trying different values for n (trial and error), we find that 0.00005 > 3/9! > Rn(1)
  • 18. Approximations Using Taylor Expansions Assuming that we know that e < 3, then the error ec (n+1)!Rn(1) = < 3 (n+1)! For n large enough such that we will have pn(1) accurate to 4 decimal places. 0.00005 > 3 (n+1)! By trying different values for n (trial and error), we find that 0.00005 > 3/9! or that (n+1) = 9, hence n = 8 is large enough for the requires accuracy. > Rn(1)
  • 19. Approximations Using Taylor Expansions Assuming that we know that e < 3, then the error ec (n+1)!Rn(1) = < 3 (n+1)! For n large enough such that we will have pn(1) accurate to 4 decimal places. 0.00005 > 3 (n+1)! By trying different values for n (trial and error), we find that 0.00005 > 3/9! or that (n+1) = 9, hence n = 8 is large enough for the requires accuracy. Therefore p8(1) = 1 + 1 + 1/2! + 1/3! + .. + 1/8!  2.7183  e approximates e accurately to at least 4 places. > Rn(1)
  • 20. Approximations Using Taylor Expansions Example B. Approximate cos(3o) to an accuracy of 3 decimal places.
  • 21. Approximations Using Taylor Expansions Example B. Approximate cos(3o) to an accuracy of 3 decimal places. Set b = 3o as π/60.
  • 22. Approximations Using Taylor Expansions Example B. Approximate cos(3o) to an accuracy of 3 decimal places. 1 –pn(x) = Expanding around 0, the Mac-poly of cos(x) is + 4! x4 6! x6 8! x8 +–2! x2 .. Set b = 3o as π/60.
  • 23. Approximations Using Taylor Expansions Example B. Approximate cos(3o) to an accuracy of 3 decimal places. 1 –pn(x) = with the error term Rn( ) = (n+1)! Expanding around 0, the Mac-poly of cos(x) is + 4! x4 6! x6 8! x8 +–2! x2 .. Set b = 3o as π/60. π 60 ( )n+1,cos(n+1)(c)π 60 ,and at b = π/60,
  • 24. Approximations Using Taylor Expansions Example B. Approximate cos(3o) to an accuracy of 3 decimal places. 1 –pn(x) = with the error term Rn( ) = (n+1)! Expanding around 0, the Mac-poly of cos(x) is + 4! x4 6! x6 8! x8 +–2! x2 .. Set b = 3o as π/60. π 60 ( )n+1, where c is some number between 0 and π/60. cos(n+1)(c)π 60 ,and at b = π/60,
  • 25. Approximations Using Taylor Expansions Example B. Approximate cos(3o) to an accuracy of 3 decimal places. 1 –pn(x) = with the error term Rn( ) = (n+1)! Expanding around 0, the Mac-poly of cos(x) is + 4! x4 6! x6 8! x8 +–2! x2 .. Set b = 3o as π/60. π 60 ( )n+1, where c is some number between 0 and π/60. |cosn+1(c)| < 1, cos(n+1)(c)π 60 ,and at b = π/60,
  • 26. Approximations Using Taylor Expansions Example B. Approximate cos(3o) to an accuracy of 3 decimal places. 1 –pn(x) = with the error term Rn( ) = (n+1)! Expanding around 0, the Mac-poly of cos(x) is + 4! x4 6! x6 8! x8 +–2! x2 .. Set b = 3o as π/60. π 60 ( )n+1, where c is some number between 0 and π/60. |cosn+1(c)| < 1, hence |Rn( )| < cos(n+1)(c)π 60 ,and at b = π/60, π 60 (n+1)! (π/60)n+1 .
  • 27. Approximations Using Taylor Expansions Example B. Approximate cos(3o) to an accuracy of 3 decimal places. 1 –pn(x) = with the error term Rn( ) = (n+1)! Expanding around 0, the Mac-poly of cos(x) is + 4! x4 6! x6 8! x8 +–2! x2 .. Set b = 3o as π/60. π 60 ( )n+1, where c is some number between 0 and π/60. |cosn+1(c)| < 1, hence |Rn( )| < cos(n+1)(c)π 60 ,and at b = π/60, π 60 (n+1)! (π/60)n+1 . We want 0.0005 > (n+1)! (π/60)n+1 .
  • 28. Approximations Using Taylor Expansions Example B. Approximate cos(3o) to an accuracy of 3 decimal places. 1 –pn(x) = with the error term Rn( ) = (n+1)! Expanding around 0, the Mac-poly of cos(x) is + 4! x4 6! x6 8! x8 +–2! x2 .. Set b = 3o as π/60. π 60 ( )n+1, where c is some number between 0 and π/60. |cosn+1(c)| < 1, hence |Rn( )| < cos(n+1)(c)π 60 ,and at b = π/60, π 60 (n+1)! (π/60)n+1 . We want 0.0005 > (n+1)! (π/60)n+1 . By trial and error n = 2 is sufficient.
  • 29. Approximations Using Taylor Expansions Example B. Approximate cos(3o) to an accuracy of 3 decimal places. 1 –pn(x) = with the error term Rn( ) = (n+1)! Expanding around 0, the Mac-poly of cos(x) is + 4! x4 6! x6 8! x8 +–2! x2 .. Set b = 3o as π/60. π 60 ( )n+1, where c is some number between 0 and π/60. |cosn+1(c)| < 1, hence |Rn( )| < cos(n+1)(c)π 60 ,and at b = π/60, π 60 (n+1)! (π/60)n+1 . We want 0.0005 > (n+1)! (π/60)n+1 . By trial and error n = 2 is sufficient. So p2( )π/60 = 1 – (π/60)2/2
  • 30. Approximations Using Taylor Expansions Example B. Approximate cos(3o) to an accuracy of 3 decimal places. 1 –pn(x) = with the error term Rn( ) = (n+1)! Expanding around 0, the Mac-poly of cos(x) is + 4! x4 6! x6 8! x8 +–2! x2 .. Set b = 3o as π/60. π 60 ( )n+1, where c is some number between 0 and π/60. |cosn+1(c)| < 1, hence |Rn( )| < cos(n+1)(c)π 60 ,and at b = π/60, π 60 (n+1)! (π/60)n+1 . We want 0.0005 > (n+1)! (π/60)n+1 . By trial and error n = 2 is sufficient. So p2( )π/60 = 1 – (π/60)2/2  0.998629 gives us the desired result.
  • 32. Example C. Given the Mac series of Differentiation and Integration of Power Series Σk=0 (2k+1)! (–1)kx2k+1 x – 3! x3 + 5! x5 + .. =7! x7 – Σ k=0 (2k)! (–1)kx2k + 4! x4 6! x6 8! x8 +1 – – – .. =2! x2 sin(x) = cos(x) =
  • 33. Example C. Given the Mac series of [sin(x)]' = [ Differentiation and Integration of Power Series Σk=0 (2k+1)! (–1)kx2k+1 x – 3! x3 + 5! x5 + .. =7! x7 – Σ k=0 (2k)! (–1)kx2k + 4! x4 6! x6 8! x8 +1 – – – .. =2! x2 sin(x) = cos(x) = x – 3! x3 + 5! x5 + .. ]'7! x7 – The derivative of the power series of sin(x) is
  • 34. Example C. Given the Mac series of [sin(x)]' = [ Differentiation and Integration of Power Series Σk=0 (2k+1)! (–1)kx2k+1 x – 3! x3 + 5! x5 + .. =7! x7 – Σ k=0 (2k)! (–1)kx2k + 4! x4 6! x6 8! x8 +1 – – – .. =2! x2 sin(x) = cos(x) = x – 3! x3 + 5! x5 + .. ]'7! x7 – + 4! x4 6! x6 + …= 1 – –2! x2 = cos(x) The derivative of the power series of sin(x) is
  • 35. Example C. Given the Mac series of [sin(x)]' = [ Differentiation and Integration of Power Series Σk=0 (2k+1)! (–1)kx2k+1 x – 3! x3 + 5! x5 + .. =7! x7 – Σ k=0 (2k)! (–1)kx2k + 4! x4 6! x6 8! x8 +1 – – – .. =2! x2 sin(x) = cos(x) = x – 3! x3 + 5! x5 + .. ]'7! x7 – + 4! x4 6! x6 + …= 1 – –2! x2 = cos(x) The derivative of the power series of sin(x) is ∫sin(x)dx = ∫xdx – ∫ dx 3! x3 + ∫ dx5! x5 –… The antiderivative of the power series of sin(x) is
  • 36. Example C. Given the Mac series of [sin(x)]' = [ Differentiation and Integration of Power Series Σk=0 (2k+1)! (–1)kx2k+1 x – 3! x3 + 5! x5 + .. =7! x7 – Σ k=0 (2k)! (–1)kx2k + 4! x4 6! x6 8! x8 +1 – – – .. =2! x2 sin(x) = cos(x) = x – 3! x3 + 5! x5 + .. ]'7! x7 – + 4! x4 6! x6 + …= 1 – –2! x2 = cos(x) The derivative of the power series of sin(x) is ∫sin(x)dx = ∫xdx – ∫ dx 3! x3 + ∫ dx5! x5 –… The antiderivative of the power series of sin(x) is 4! x4 6! x6 = + 2! x2 – – … + c
  • 37. Example C. Given the Mac series of [sin(x)]' = [ Differentiation and Integration of Power Series Σk=0 (2k+1)! (–1)kx2k+1 x – 3! x3 + 5! x5 + .. =7! x7 – Σ k=0 (2k)! (–1)kx2k + 4! x4 6! x6 8! x8 +1 – – – .. =2! x2 sin(x) = cos(x) = x – 3! x3 + 5! x5 + .. ]'7! x7 – + 4! x4 6! x6 + …= 1 – –2! x2 = cos(x) The derivative of the power series of sin(x) is ∫sin(x)dx = ∫xdx – ∫ dx 3! x3 + ∫ dx5! x5 –… The antiderivative of the power series of sin(x) is 4! x4 6! x6 = + 2! x2 = –cos(x) + constant– – … + c
  • 38. Example C. Given the Mac series of [sin(x)]' = [ Differentiation and Integration of Power Series Σk=0 (2k+1)! (–1)kx2k+1 x – 3! x3 + 5! x5 + .. =7! x7 – Σ k=0 (2k)! (–1)kx2k + 4! x4 6! x6 8! x8 +1 – – – .. =2! x2 sin(x) = cos(x) = x – 3! x3 + 5! x5 + .. ]'7! x7 – + 4! x4 6! x6 + …= 1 – –2! x2 = cos(x) The derivative of the power series of sin(x) is ∫sin(x)dx = ∫xdx – ∫ dx 3! x3 + ∫ dx5! x5 –… The antiderivative of the power series of sin(x) is 4! x4 6! x6 = + 2! x2 = –cos(x) + constant– – … + c Both have infinite radius of convergence.
  • 39. Differentiation and Integration of Power Series Theorem (Derivative and integral of Taylor series) :
  • 40. Σk=0 ∞ Differentiation and Integration of Power Series Let f(x) = P(x) = the Taylor series = ck(x – a)k for all x in the interval (a – R, a + R) where R is the radius of convergence, then Theorem (Derivative and integral of Taylor series) :
  • 41. Σk=0 ∞ Differentiation and Integration of Power Series Let f(x) = P(x) = the Taylor series = ck(x – a)k for all x in the interval (a – R, a + R) where R is the radius of convergence, then Theorem (Derivative and integral of Taylor series) : I. the Taylor series of f '(x) is P'(x) = [ck(x – a)k]' with radius of convergence R and f '(x) = P'(x) for all x in the interval (a – R, a + R). Σk=0 ∞
  • 42. Σk=0 ∞ Differentiation and Integration of Power Series Let f(x) = P(x) = the Taylor series = ck(x – a)k for all x in the interval (a – R, a + R) where R is the radius of convergence, then Theorem (Derivative and integral of Taylor series) : I. the Taylor series of f '(x) is P'(x) = [ck(x – a)k]' with radius of convergence R and f '(x) = P'(x) for all x in the interval (a – R, a + R). Σk=0 ∞ II. the Taylor series of ∫f(x)dx is ∫P(x)dx= ∫ck(x – a)kdx with radius of convergence R and ∫f(x)dx = ∫P(x)dx for all x in the interval (a – R, a + R). Σk=0 ∞
  • 43. Σk=0 ∞ Differentiation and Integration of Power Series Let f(x) = P(x) = the Taylor series = ck(x – a)k for all x in the interval (a – R, a + R) where R is the radius of convergence, then Theorem (Derivative and integral of Taylor series) : I. the Taylor series of f '(x) is P'(x) = [ck(x – a)k]' with radius of convergence R and f '(x) = P'(x) for all x in the interval (a – R, a + R). Σk=0 ∞ III. ∫ f(x)dx = ∫ ck(x – a)kdx with the series converging absolutely and (c, d) is any interval in (a – R, a + R). Σk=0 ∞ c d c d II. the Taylor series of ∫f(x)dx is ∫P(x)dx= ∫ck(x – a)kdx with radius of convergence R and ∫f(x)dx = ∫P(x)dx for all x in the interval (a – R, a + R). Σk=0 ∞
  • 44. The function y = ∫ sin(x)/x dx is non–elementary. Differentiation and Integration of Power Series x sin(x)y = (0,1)
  • 45. The function y = ∫ sin(x)/x dx is non–elementary. Hence to graph y = ∫ sin(x)/x dx we may estimate its function value using its Mac-expansion. Differentiation and Integration of Power Series x sin(x)y = (0,1)
  • 46. The function y = ∫ sin(x)/x dx is non–elementary. Hence to graph y = ∫ sin(x)/x dx we may estimate its function value using its Mac-expansion. Differentiation and Integration of Power Series Example D. Find the Mac series of ∫ dx. Graph it.x sin(x) x sin(x)y = (0,1)
  • 47. The function y = ∫ sin(x)/x dx is non–elementary. Hence to graph y = ∫ sin(x)/x dx we may estimate its function value using its Mac-expansion. Differentiation and Integration of Power Series Example D. Find the Mac series of ∫ dx. Graph it.x sin(x) The Mac series of isx sin(x) x – 3! x3 + 5! x5 + ..7! x7 –( ) / x x sin(x)y = (0,1)
  • 48. The function y = ∫ sin(x)/x dx is non–elementary. Hence to graph y = ∫ sin(x)/x dx we may estimate its function value using its Mac-expansion. Differentiation and Integration of Power Series Example D. Find the Mac series of ∫ dx. Graph it.x sin(x) The Mac series of isx sin(x) x – 3! x3 + 5! x5 + ..7! x7 –( ) / x = 1 – 3! x2 + 5! x4 + ..7! x6 – Σk=0 = x sin(x)y = (0,1) (2k+1)! (–1)kx2k
  • 49. The function y = ∫ sin(x)/x dx is non–elementary. Hence to graph y = ∫ sin(x)/x dx we may estimate its function value using its Mac-expansion. Differentiation and Integration of Power Series Example D. Find the Mac series of ∫ dx. Graph it.x sin(x) The Mac series of isx sin(x) x – 3! x3 + 5! x5 + ..7! x7 –( ) / x = 1 – 3! x2 + 5! x4 + ..7! x6 – Σk=0 = So the Mac series of ∫ dx =x sin(x) Σ ∫k=0 (2k+1)! (–1)kx2k dx x sin(x)y = (0,1) (2k+1)! (–1)kx2k
  • 50. The function y = ∫ sin(x)/x dx is non–elementary. Hence to graph y = ∫ sin(x)/x dx we may estimate its function value using its Mac-expansion. Differentiation and Integration of Power Series Example D. Find the Mac series of ∫ dx. Graph it.x sin(x) The Mac series of isx sin(x) x – 3! x3 + 5! x5 + ..7! x7 –( ) / x = 1 – 3! x2 + 5! x4 + ..7! x6 – Σk=0 = So the Mac series of ∫ dx =x sin(x) Σ ∫k=0 (2k+1)! (–1)kx2k dx = Σk=0 (2k+1)(2k+1)! (–1)kx2k+1 x sin(x)y = (0,1) (2k+1)! (–1)kx2k
  • 51. The function y = ∫ sin(x)/x dx is non–elementary. Hence to graph y = ∫ sin(x)/x dx we may estimate its function value using its Mac-expansion. Differentiation and Integration of Power Series Example D. Find the Mac series of ∫ dx. Graph it.x sin(x) The Mac series of isx sin(x) x – 3! x3 + 5! x5 + ..7! x7 –( ) / x = 1 – 3! x2 + 5! x4 + ..7! x6 – Σk=0 = So the Mac series of ∫ dx =x sin(x) Σ ∫k=0 (2k+1)! (–1)kx2k dx = Σk=0 (2k+1)(2k+1)! (–1)kx2k+1 = x – 3*3! x3 + – 5*5! x5 7*7! x7 x sin(x)y = (0,1) sin(x) (2k+1)! (–1)kx2k + ..
  • 52. The function y = ∫ sin(x)/x dx is non–elementary. Hence to graph y = ∫ sin(x)/x dx we may estimate its function value using its Mac-expansion. Differentiation and Integration of Power Series Example D. Find the Mac series of ∫ dx. Graph it.x sin(x) The Mac series of isx sin(x) x – 3! x3 + 5! x5 + ..7! x7 –( ) / x = 1 – 3! x2 + 5! x4 + ..7! x6 – Σk=0 = So the Mac series of ∫ dx =x sin(x) Σ ∫k=0 (2k+1)! (–1)kx2k dx = Σk=0 (2k+1)(2k+1)! (–1)kx2k+1 = x – 3*3! x3 + – 5*5! x5 7*7! x7 x sin(x)y = (0,1) x sin(x)y = ∫ dx (2k+1)! (–1)kx2k + .. Here is its graph.
  • 53. Differentiation and Integration of Power Series Example E. Find ∫ e–x dx accurate to 3 decimal places.x=0 1 2
  • 54. Differentiation and Integration of Power Series Example E. Find ∫ e–x dx accurate to 3 decimal places.x=0 1 ∫ e–x dx is not an elementary function. 2 2
  • 55. Differentiation and Integration of Power Series Example E. Find ∫ e–x dx accurate to 3 decimal places.x=0 1 ∫ e–x dx is not an elementary function. We have to use Mac-expansion to obtain the answer we want. 2 2
  • 56. Differentiation and Integration of Power Series Example E. Find ∫ e–x dx accurate to 3 decimal places. ex = n! xn x=0 1 ∫ e–x dx is not an elementary function. We have to use Mac-expansion to obtain the answer we want. 2 2 Σk=0 e–x = n! (–x2)n Σk=0 2
  • 57. Differentiation and Integration of Power Series Example E. Find ∫ e–x dx accurate to 3 decimal places. ex = n! xn x=0 1 ∫ e–x dx is not an elementary function. We have to use Mac-expansion to obtain the answer we want. 2 2 Σk=0 e–x = n! (–x2)n Σk=0 2 x2 + 2! x4 3! x6 4! x8 += 1 – – – ..
  • 58. Differentiation and Integration of Power Series Example E. Find ∫ e–x dx accurate to 3 decimal places. ex = n! xn x=0 1 ∫ e–x dx is not an elementary function. We have to use Mac-expansion to obtain the answer we want. 2 2 Σk=0 e–x = n! (–x2)n Σk=0 2 x2 + 2! x4 3! x6 4! x8 += 1 Hence ∫ e–x dx =2 n! (–x2)n Σ ∫ dx =k=0 – – – ..
  • 59. Differentiation and Integration of Power Series Example E. Find ∫ e–x dx accurate to 3 decimal places. ex = n! xn x=0 1 ∫ e–x dx is not an elementary function. We have to use Mac-expansion to obtain the answer we want. 2 2 Σk=0 e–x = n! (–x2)n Σk=0 2 x2 + 2! x4 3! x6 4! x8 += 1 Hence ∫ e–x dx =2 n! (–x2)n Σ ∫ dx =k=0 (2n+1)n!Σk=0 (–1)nx2n+1 – – – ..
  • 60. Differentiation and Integration of Power Series Example E. Find ∫ e–x dx accurate to 3 decimal places. ex = n! xn x=0 1 ∫ e–x dx is not an elementary function. We have to use Mac-expansion to obtain the answer we want. 2 2 Σk=0 e–x = n! (–x2)n Σk=0 2 x2 + 2! x4 3! x6 4! x8 += 1 Hence ∫ e–x dx =2 n! (–x2)n Σ ∫ dx =k=0 (2n+1)n!Σk=0 = c + x (–1)nx2n+1 3 x3 + 5*2! x5 + ..7*3! x7 = P(x) – – – .. – –
  • 61. Differentiation and Integration of Power Series Example E. Find ∫ e–x dx accurate to 3 decimal places. ex = n! xn x=0 1 ∫ e–x dx is not an elementary function. We have to use Mac-expansion to obtain the answer we want. 2 2 Σk=0 e–x = n! (–x2)n Σk=0 2 x2 + 2! x4 3! x6 4! x8 += 1 Hence ∫ e–x dx =2 n! (–x2)n Σ ∫ dx =k=0 (2n+1)n!Σk=0 = c + x (–1)nx2n+1 3 x3 + 5*2! x5 + ..7*3! x7 = P(x) ∫ e–x dx = P(1) – P(0)x=0 1 2 – – – .. – – Therefore
  • 62. Differentiation and Integration of Power Series Example E. Find ∫ e–x dx accurate to 3 decimal places. ex = n! xn x=0 1 ∫ e–x dx is not an elementary function. We have to use Mac-expansion to obtain the answer we want. 2 2 Σk=0 e–x = n! (–x2)n Σk=0 2 x2 + 2! x4 3! x6 4! x8 += 1 Hence ∫ e–x dx =2 n! (–x2)n Σ ∫ dx =k=0 (2n+1)n!Σk=0 = c + x (–1)nx2n+1 3 x3 + 5*2! x5 + ..7*3! x7 = P(x) ∫ e–x dx = P(1) – P(0)x=0 1 = 1 3 1 + 5*2! 1 + .. 7*3! 1 2 – – – .. – – – – Therefore which is a "decreasing" alternating series.
  • 63. Differentiation and Integration of Power Series ∫ e–x dxx=0 1 = 1 3 1 + 5*2! 1 +7*3! 12 – –Hence is a convergent alternating series. 1 9*4! – 1 11*5! + 13*6! … 1
  • 64. Differentiation and Integration of Power Series ∫ e–x dxx=0 1 = 1 3 1 + 5*2! 1 +7*3! 12 – –Hence is a convergent alternating series. Furthermore the sum of a "decreasing" alternating series S satisfies that |S| < |a1=1st term|. 1 9*4! – 1 11*5! + 13*6! … 1
  • 65. Differentiation and Integration of Power Series ∫ e–x dxx=0 1 = 1 3 1 + 5*2! 1 +7*3! 12 – –Hence is a convergent alternating series. Furthermore the sum of a "decreasing" alternating series S satisfies that |S| < |a1=1st term|. To estimate the sum to the 3rd decimal place means the error must be < 0.0005. 1 9*4! – 1 11*5! + 13*6! … 1
  • 66. Differentiation and Integration of Power Series ∫ e–x dxx=0 1 = 1 3 1 + 5*2! 1 +7*3! 12 – –Hence is a convergent alternating series. Furthermore the sum of a "decreasing" alternating series S satisfies that |S| < |a1=1st term|. To estimate the sum to the 3rd decimal place means the error must be < 0.0005. By trial and error, we find that < 0.0005.13*6! 1 1 9*4! – 1 11*5! + 13*6! … 1
  • 67. Differentiation and Integration of Power Series ∫ e–x dxx=0 1 = 1 3 1 + 5*2! 1 +7*3! 12 – –Hence is a convergent alternating series. Furthermore the sum of a "decreasing" alternating series S satisfies that |S| < |a1=1st term|. To estimate the sum to the 3rd decimal place means the error must be < 0.0005. By trial and error, we find that < 0.0005.13*6! 1 1 9*4! – 1 11*5! + 13*6! … 1 So by the tail-series theorem, 1 – .. < 0.0005+ 13*6! 1 15*7! 1 17*8! –
  • 68. Differentiation and Integration of Power Series ∫ e–x dxx=0 1 = 1 3 1 + 5*2! 1 +7*3! 12 – –Hence is a convergent alternating series. Furthermore the sum of a "decreasing" alternating series S satisfies that |S| < |a1=1st term|. To estimate the sum to the 3rd decimal place means the error must be < 0.0005. By trial and error, we find that < 0.0005.13*6! 1 1 9*4! – 1 11*5! + 13*6! … 1 So by the tail-series theorem, 1 – .. < 0.0005+ 13*6! 1 15*7! 1 17*8! – This means the sum of the front terms 1 3 1 + 5*2! 1 +7*3! 1 – – 1 9*4! – 1 11*5!  0.74673 is accurate to 3 decimal places.