Approximating ln(0.7) using MacLaurin formula

  • Thread starter Thread starter Telemachus
  • Start date Start date
  • Tags Tags
    Formula Maclaurin
Click For Summary

Homework Help Overview

The discussion revolves around approximating \(\ln(0.7)\) using a fourth-degree MacLaurin polynomial and estimating the associated error. The original poster presents their calculations and expresses confusion regarding the accuracy of their error estimation.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to derive the MacLaurin polynomial for \(\ln(x+1)\) and calculate the error using the remainder term. They question their error calculation and seek clarification on the correct approach.
  • Some participants discuss the behavior of the function's derivatives and suggest that the maximum value for the fifth derivative occurs at \(-0.3\), not at \(0\).
  • Others point out the correct expression for the remainder in Lagrange's form and provide guidance on how to find the upper bounds for the error.

Discussion Status

The discussion is active, with participants providing insights into the error estimation process and clarifying the correct approach to calculating the remainder. There is no explicit consensus, but several productive directions have been explored regarding the error bounds.

Contextual Notes

The original poster is working under the constraints of a homework assignment, which may impose specific methods or formats for the calculations. The discussion includes various interpretations of the error estimation process and the behavior of the function involved.

Telemachus
Messages
820
Reaction score
30
Hi. Well, I have a problem with this one. It asks me to approximate [tex]\ln(0.7)[/tex] using MacLaurin polynomial of fourth degree. And estimate the error.

So I used:
[tex]f(x)=\ln(x+1)[/tex] [tex]f'(x)=\displaystyle\frac{1}{1+x}[/tex] [tex]f''(x)=\displaystyle\frac{-1}{(1+x)^2}[/tex] [tex]f'''(x)=\displaystyle\frac{2}{(1+x)^3}[/tex] [tex]f^4(x)=\displaystyle\frac{-6}{(1+x)^4}[/tex] [tex]f^5(x)=\displaystyle\frac{24}{(1+x)^5}[/tex]

And the MacLaurin polynomial I got:
[tex]P_4(x)=x-\displaystyle\frac{x^2}{2}+\displaystyle\frac{x^3}{3}-\displaystyle\frac{x^4}{4}[/tex]

So then

[tex]P_4(-0.3)=-0.3-\displaystyle\frac{0.3^2}{2}-\displaystyle\frac{0.3^3}{3}-\displaystyle\frac{0.3^4}{4}=-0.356025[/tex]

Here is the problem, when calculating the error I got:

[tex]R_5(-0.3)=\displaystyle\frac{-0.3^5}{5(1+\alpha)^5}[/tex]

Where [tex]-0.3<\alpha<0[/tex]

So if I use [tex]\alpha=0[/tex] I should get an upper boundary for the error, but [tex]\displaystyle\frac{-03^5}{5}{\leq{\epsilon}\Rightarrow{-0.000486{\leq{\epsilon}}[/tex]

But with wolframalpha: http://www.wolframalpha.com/input/?i=ln(0.7)+0.356025
So the error is wrong, but I can't find where is my mistake. It should give something like 0.0006 where I got 0.0004.

Bye there.
 
Last edited:
Physics news on Phys.org
The largest value for f(5)(x) on the interval [-.3, 0] occurs at -.3, not at 0. For x > -1, this function is decreasing. f(5)(-.3) is about 143, and f(5)(0) = 24.
 
Thanks Mark. As in the error I got [tex]\alpha[/tex] in the denominator I thought I should use zero to get the bigger value for the error. Now I see you're right, cause it gives less than 1 for the denominator.

Greetings!
 
Telemachus said:
Here is the problem, when calculating the error I got:

[tex]R_5(-0.3)=\displaystyle\frac{-0.3^5}{5(1+\alpha)^5}[/tex]

Where [tex]-0.3<\alpha<0[/tex]

So if I use [tex]\alpha=0[/tex] I should get an upper boundary for the error, but [tex]\displaystyle\frac{-03^5}{5}{\leq{\epsilon}\Rightarrow{-0.000486{\leq{\epsilon}}[/tex]

The correct expression for the remainder [itex]R_{5}(x)[/itex] in Lagrange's form is:

[tex] R_{5}(x) = -\frac{x^{5}}{5 (1 + \theta x)^{5}}, \; 0 < \theta < 1, \; |x| < 1[/tex]

The absolute value for this expression is:

[tex] |R_{5}(x)| = \frac{|x|^{5}}{5(1 + \theta x)^{5}}[/tex]

The upper bounds for this expression (with respect to [itex]\theta[/itex]) are:

[tex] \sup{|R_{5}(x)|} = \left\{\begin{array}{ll}<br /> \frac{|x|^{5}}{5}} &, 0 < x <1 \\<br /> <br /> \frac{|x|^{5}}{5(1 - |x|)^{5}}&, -1 < x < 0<br /> \end{array}\right.[/tex]

Since your [itex]x = -0.3[/itex], you need to use the second expression and the result is:

[tex] \sup{|R_{5}(-0.3)}| = \frac{0.3^{5}}{5 \times 0.7^{5}} = 0.00289165229[/tex]

Since this result is between 0.0005 and 0.005, your approximation has no more than 2 significant decimals with certainty.
 
Thank you very much Dickfore.
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
2K
Replies
12
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K