Taylor Approximations and Error Analysis for ln(x+1) and arcsin(0.4)

  • Thread starter Thread starter clairez93
  • Start date Start date
  • Tags Tags
    Taylor
Click For Summary

Homework Help Overview

The discussion revolves around the use of Taylor's Theorem to analyze the accuracy of approximations for the functions arcsin(0.4) and ln(x+1). Participants are exploring how to determine the degree of the Maclaurin polynomial needed for the error in these approximations to remain below a specified threshold.

Discussion Character

  • Exploratory, Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to calculate the remainder term for the Taylor series of arcsin(0.4) and ln(x+1), questioning their choice of the expansion point and the resulting polynomial degree needed for a specific error margin.
  • Some participants question the choice of the expansion point, suggesting that using a=0 may simplify the Taylor series for arcsin(0.4).
  • Others suggest reconsidering the implications of the choice of c in the remainder term calculations.

Discussion Status

Participants are actively discussing the implications of their choices for the expansion point and the resulting Taylor series. Some guidance has been offered regarding the appropriate choice of a=0 for the Taylor series, indicating a potential direction for the original poster's calculations.

Contextual Notes

The original poster expresses frustration over the calculations and results, indicating a need for clarification on the assumptions and methods used in the problem. There is also mention of specific error thresholds that must be met, which adds constraints to the discussion.

clairez93
Messages
113
Reaction score
0

Homework Statement



1. Use Taylor's Theorem to determine the accuracy of the approximation.

arcsin(0.4) = 0.4 + \frac{(0.4)^{3}}{2*3}}

2. Determine the degree of the Maclaurin polynomial required for the error in the approximation of the function at the indicated value fo x to be less than 0.0001. Use a symbolic differentiation utility to obtain and evaluate the required derivatives.

f(x) = ln(x+1) approximate f(1.5)

Homework Equations





The Attempt at a Solution



1.
f(x) = arcsin (0.4)
x = 0.4
a = 0.5
N = 3

R_{n}(x) = \frac{f^{N+1}(c)}{(N+1)!}(x-a)^{N+1}
R_{3}(0.4) = \frac{f^{4}(c)}{4!}(0.4-0.5)^{4}
= \frac{\frac{-3c(2c^{2}+3)}{(c^{2}-1)^{3}\sqrt{1-c^{2}}}}{4!}(0.4-0.5)^{4} \leq \frac{(0.4-0.5)^{4}}{4!} = 4.166666667 * 10^{-6}

Book Answer: R_{3} \leq 7.82 * 10^{-3}


No idea what I did wrong here.

2.
f(x) = ln(x+1)
a = 0
x = 1.5
N = ?

R_{n}(x) = \frac{f^{N+1}(c)}{(N+1)!}(x-a)^{N+1}
R_{n}(x) = \frac{f^{N+1}(c)}{(N+1)!}(1.5)^{N+1}
|R_{n}(1.5)| \leq 0.0001

To make a long sheet of work short, I got all the way up to N=12 before I finally got to 0.0001. Here is the work for N=12:

N=12: |R_{12}(1.5)| = |\frac{f^{13}(c)}{13!}(1.5)^{13}| = |\frac{(479001600)}{(c+1)^{13}} * \frac{(1.5)^{13}}{13!}| = |\frac{(479001600)(3.1254*10^{-8})}{(c+1)^{13}}| = \frac{14.9707}{(c+1)^{13}}

\frac{14.9707}{(1.5+1)^{13}} = 0.0001

The book answer says N=9, for which when I tested I got this:

N=9: |R_{9}(1.5)| = |\frac{f^{10}(c)}{10!}(1.5)^{10}| = |\frac{(-362880)}{(c+1)^{10}} * \frac{(1.5)^{10}}{10!}| = |\frac{(-362880)(0.000106)}{(c+1)^{10}}| = \frac{5.7665}{(c+1)^{10}}

\frac{5.77665}{(1.5+1)^{10}} = 0.000605 which isn't exactly less than 0.001.


When I went back through my notes to see if I did something wrong, I realized that since the function was decreasing, (c+1), on the bottom of the fraction, maybe I should have plugged in 0, since c should be greater than or equal to 0 and less than or equal to 1.5, thus the biggest R could be would be whatever I get when I plug 0 in, not 1.5.

However, if I plug in 0 for these instead of 1.5, it seems to make the problem worse, since as you can see, N=9, with 0 instead of 1.5 for C would get 1 on the bottom and thus R_9 would be 5.77665, which is very very far from 0.0001, much farther than when I used 1.5.

I'm thoroughly frustrated by this one. Please help!
 
Physics news on Phys.org
You chose a=0.5. Probably that is a good choice. But then what would be the Taylor series? Not the one shown. So the writers of the problem did not choose a=0.5. What did they choose? The point is that the Taylor series for their choice is much simpler to write down than for your choice a=0.5.
 
I think they chose a=0? Is that right?
 
a = 0 is the way to get that Taylor series, yes. So do the rest of the problem on that basis.
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
10K
Replies
1
Views
3K
Replies
2
Views
2K
  • · Replies 27 ·
Replies
27
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K