Calc BC 10.9 Error Estimates
Calc BC 10.9 Error Estimates
Calc BC 10.9 Error Estimates
9
Error Estimates
The Problems
• Say
we want to calculate the value of a power
series for a specified x-value
• We have to use a finite sum to approximate
the value, since , where denotes the sum .
• This problem really has two parts
– How close can we get with minimal effort?
– How many terms are needed to get a good
estimate?
Error Estimates
• There are two cases where we can get useful
error estimates:
– Alternating series
– Taylor series
Alternating Series Estimates
• We saw before, but now it matters . . .
If is a convergent alternating series, then
1 𝑥
3
𝑥
5
𝑥
7 1 1 1 1
( 2!
𝑥− + −
3 ∙ 4 ! 5 ∙6 ! 7 ∙ 8 ! )
+⋯ ¿ 2 − 3∙ 4 ! + 5 ∙ 6 ! − 7 ∙ 8 ! +⋯
0
How many terms do we need?
1
When is <.00005 ?
( 2 𝑛 −1 ) ( 2 𝑛 ) !
1
We want: <.00005
( 2𝑛 −1 ) ( 2 𝑛 ) !
1
𝑛
( 2𝑛 −1 ) ( 2 𝑛 ) !
𝑛=4
is sufficient , therefore we only need 3terms .
1 1 1
S≈ − +
2 3∙ 4 ! 5 ∙ 6 ! ≈ .4863888889 ≈ .486 4
𝑥2 𝑥3 𝑥4 𝑥2 𝑥3 𝑥4
(1+ 𝑥 + + + +⋯) − (1− 𝑥 + − + + ⋯)− 2 𝑥
2! 3 ! 4 ! 2! 3! 4!
¿ lim 3 5 7
𝑥→ 0 𝑥 𝑥 𝑥
𝑥 −( 𝑥 − + − + ⋯)
3 5 7
2 𝑥3 2 𝑥5 2 𝑥 3 2 𝑥5 2 𝑥 7
(2 𝑥 + + + ⋯) − 2 𝑥 + + +⋯
3! 5! 3! 5 ! 7 !
¿ lim 3 5 7
¿ lim 3 5 7
𝑥→ 0 𝑥 𝑥 𝑥 𝑥→ 0 𝑥 𝑥 𝑥
− + +⋯ − + +⋯
3 5 7 3 5 7
12 1 2 0 𝑥2 4 2 0 𝑥 4 12
+ + +⋯ 3!
3! 5! 7! =¿ 1
¿ lim 2 4
¿
6
𝑥→ 0 6 60 𝑥 210 𝑥
− + +⋯ 3
3 5 7
Ch 10.9 #32 Calculate , centered at , to 6 dec. places
𝜋
∞ 𝑓 (𝑛 )
3 ( ) 𝜋
𝑛 𝜋
58 °= −
2𝜋
𝑓 ( 𝑥 )= ∑
𝑛=0 𝑛! ( 𝑥−
3 ) 3 18 0
When we substitute
√ 3 1 𝜋 √ 3 𝜋 2 1 𝜋 3
𝑓 𝑥=
( ) + 𝑥−
2
−
2 (
𝑥− −
3 ) 2∙ 2 ! ( 3 ) (
2 ∙ 3!
𝑥−
3 )+⋯
√ 3 1 𝜋 √ 3 𝜋 2 1 𝜋 3
𝑓 ( 𝑥 )= + 𝑥− −
2
𝑥−
2 (
−
3 ) 2∙ 2 ! ( 3 ) 2 ∙ 3!(𝑥−
3 )+⋯
( 𝑛 +1)
𝑓 ( 𝑧) 𝑛+1 Need 6 decimal place
𝑅𝑛 ( 𝑥 )= ( 𝑥 −𝑎 )
( 𝑛+1 ) ! accuracy
𝑛 +1
𝜋 𝜋 ± 𝑠𝑖𝑛𝑧 𝑜𝑟 𝑐𝑜𝑠𝑧 − 𝜋
𝑅𝑛 ( −
3 90
= ) ( 𝑛+1 ) ! 90 ( ) ¿ .0000005
𝑛+1
1 𝜋
𝑛 ( ) 1 𝜋 𝑛 +1
( 𝑛+ 1 ) ! 9 0 |𝑅 𝑛 ( 58 ° )|≤ (
𝑛+1 ) ! 9 0 ( )
√ 3 1 −𝜋 √ 3 −𝜋 2 1 −𝜋 3
𝑠𝑖𝑛 58 ° ≈
( )
2
+ ( )
−
2 90
−( )
2 ∙ 2! 90 ( )
2∙ 3 ! 90
already good
enough! ≈ .8480480428 ≈ .8 48048
≈ .84 80480962