Remainder Theorem and Error Help Why are these 2 examples different?

Cloudless
Messages
15
Reaction score
0
So we had two examples in class, but I don't understand why they're different. And the professor is away today, which means I won't see him until the entire weekend has passed (a nightmare for students like me who obsess over a problem).

1. For which x is the approximation sin(x) ≈ x - (x^3)/6 correct within 1/100?


The Taylor series for sin(x):

x - (x^3)/3! + (x^5)/5! - (x^7)/7! + ...


The answer was, For every x not equal to 0, this is an alternating series. Thus the error in sin(x) ≈ x - (x^3)/3! is no larger than |(x^5)/5!|. So |(x^5)/5!| < 1/100. 2. For which x is the approximation sin(x) = x - x^3/6 correct within 1/1000?

My professor took the 3 order polynomial for the Taylor Series of sin(x) and used the Remainder Theorem:
R3(x) = (f4c)(x-0)4/4!

f(x) = sin(x)
f1(x) = cos(x)
f2(x) = -sin(x)
f3(x) = -cos(x)
f4(x) = sin(x)


So |sin(c)| ≤ 1
|R3(x)| ≤ |x|4/4!

Answer: |x|4/4! ≤ 1/1000I don't understand why they used Remainder Theorem for the second one. Yes, I know the 1/100 and 1/1000 are different :devil: But why is the approach different?
 
Last edited:
Physics news on Phys.org
Cloudless said:
So we had two examples in class, but I don't understand why they're different. And the professor is away today, which means I won't see him until the entire weekend has passed (a nightmare for students like me who obsess over a problem).

1. For which x is the approximation sin(x) ≈ x - (x^3)/6 correct within 1/100?


The Taylor series for sin(x):

x - (x^3)/3! + (x^5)/5! - (x^7)/7! + ...


The answer was, For every x not equal to 0, this is an alternating series. Thus the error in sin(x) ≈ x - (x^3)/3! is no larger than |(x^5)/5!|. So |(x^5)/5!| < 1/100.


2. For which x is the approximation sin(x) = x - x^3/6 correct within 1/1000?

My professor took the 3 order polynomial for the Taylor Series of sin(x) and used the Remainder Theorem:
R3(x) = (f4c)(x-0)4/4!

f(x) = sin(x)
f1(x) = cos(x)
f2(x) = -sin(x)
f3(x) = -cos(x)
f4(x) = sin(x)


So |sin(c)| ≤ 1
|R3(x)| ≤ |x|4/4!

Answer: |x|4/4! ≤ 1/1000


I don't understand why they used Remainder Theorem for the second one. Yes, I know the 1/100 and 1/1000 are different :devil: But why is the approach different?


In the first, your professor is using a result that applies only to alternating series, in which the error is less than the absolute value of the first unused term. In the second, he/she is using a more general result that applies to Taylor series, in which the error is estimated by a formula involving the next term in the series.
 
Mark44 said:
In the first, your professor is using a result that applies only to alternating series, in which the error is less than the absolute value of the first unused term. In the second, he/she is using a more general result that applies to Taylor series, in which the error is estimated by a formula involving the next term in the series.

So if the second question was instead the same as the first ( For which x is the approximation sin(x) = x - (x^3)/6 correct within 1/100? ), I should be able to find an answer identical to the first answer?

Steps: Same procedure for the 2nd example above. Instead, |R3(x)| ≤ 1/100, so

|x|^4/4! ≤ 1/100.

But according to the answer in the first example, it should be |x|^5/5! ≤ 1/100, I thought.
 
If I'm understanding your question correctly, then no, the two techniques would not give the same answer for an error less than 1/100.

In both techniques we are approximating sin(x) by x - x3/6
The alternating series remainder technique calculates the error from the first unused term, which is fifth degree.
The Taylor remainder theorem calculates the error from the next term, which is fourth degree. For values of x that are reasonably close to zero, x5 < x4.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top