Maclaurin Series for Natural Log Function

Justabeginner
Messages
309
Reaction score
1

Homework Statement


Use x=-1/2 in the MacLaurin series for e^x to approximate 1/sqrt(e) to four decimal places.

Homework Equations


The Attempt at a Solution


\sum_{n=0}^\infty \frac{x^n}{n!} = 1 + x + x^2/2 + x^3/6 + ...

For this particular power series, I have:

\sum_{n=0}^\infty \frac{(x+0.5)^n}{sqrt(e)(n!)} = 1/sqrt(e) + (x+0.5)/(sqrt(e)) + (x+0.5)^2/sqrt(e) + (x+0.5)^3/6*sqrt(e)...

(-1/2)^(n+1)/(n+1)! <= 0.00004
n= 2

(1/sqrt(e) + (x+0.5)/sqrt(e) + (x+0.5)^(2)/2*sqrt(e)) = (1/sqrt(e) + 0 + 0)= 1/sqrt(e)= 0.6065

But this doesn't seem right because I should end up with the actual number instead of the 1/sqrt(e) itself. I thought I was doing the method correctly, but I guess not. I would appreciate any insight on this at all, as I don't know of any other method to apply here. Thanks!
 
Physics news on Phys.org
I don't know why you did that. From
$$e^x \sim \sum_{k=0}^\infty \frac{x^k}{k!}$$
you should simply have
$$e^{-1/2} \sim \sum_{k=0}^\infty \frac{(-1/2)^k}{k!}$$.
A partial sum will be a good estimate if enough terms are used. Do you know how to determine how many terms are needed?
 
I think that I have to set it to be less than or equal to 0.00004 as I did above? So n=2?
 
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...

Similar threads

Back
Top