For what range of x is (e^x-1)/2x=0.5 correct to 15 decimal digits?

  • Thread starter Thread starter ver_mathstats
  • Start date Start date
  • Tags Tags
    Range
Click For Summary
The discussion centers on determining the range of x for which the equation (e^x - 1)/(2x) = 0.5 holds true to 15 decimal digits. The initial approach involves using the Taylor series expansion of e^x, leading to the equation (e^x - 1)/(2x) = 0.5 + x/4 + x^2/(2⋅3!). It is noted that isolating x directly is not feasible, and the dominant term for small x is x/4. To maintain accuracy to 15 decimal digits, the value of x must be sufficiently small to ensure that the contribution of the x/4 term does not significantly impact the result. The discussion emphasizes the importance of precision in specifying x to achieve the desired accuracy.
ver_mathstats
Messages
258
Reaction score
21
Homework Statement
For what range of x is (e^x-1)/2x=0.5 correct to 15 decimal digits?
Relevant Equations
(e^x-1)/2x=0.5
We have ex=1 + x + x2/2 + x3/3! + ...

ex - 1 = x + x2/2 + x3/3! + ...

(ex - 1)/(2x) = 0.5 + x/4 + x2/(2⋅3!) + ...

((ex - 1)/(2x)) - 0.5 = + x/4 + x2/(2⋅3!) + ...

After this, I am unsure of how to proceed to find my error any help would be appreciated thank you. Would we just be trying to isolate x, but that seems incorrect?
 
Physics news on Phys.org
ver_mathstats said:
Homework Statement:: For what range of x is (e^x-1)/2x=0.5 correct to 15 decimal digits?
Relevant Equations:: (e^x-1)/2x=0.5

We have ex=1 + x + x2/2 + x3/3! + ...

ex - 1 = x + x2/2 + x3/3! + ...

(ex - 1)/(2x) = 0.5 + x/4 + x2/(2⋅3!) + ...

((ex - 1)/(2x)) - 0.5 = + x/4 + x2/(2⋅3!) + ...

After this, I am unsure of how to proceed to find my error any help would be appreciated thank you. Would we just be trying to isolate x, but that seems incorrect?
Yes, that's incorrect. You're not going to be able to solve for x in any of those equations.
It's better to write your last equation as ##\frac{e^x - 1}{2x} = 0.5 + \frac x 4 + \frac {x^2}{12} + \dots##. The dominant variable term on the right side is the ##\frac x 4## term. For small values of x, the ##x^2## and higher-degree terms will be relatively insignificant. If you can make ##\frac x 4## small enough, the contributions of the higher-degree terms shouldn't make any difference.

So how small should ##\frac x 4## be so that its contribution won't affect the first 15 decimal digits of your approximation?
 
Last edited:
How precisely do you have to specify ##x##?
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
Replies
7
Views
2K
Replies
8
Views
4K
  • · Replies 1 ·
Replies
1
Views
672
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
12
Views
2K
Replies
8
Views
2K
Replies
3
Views
3K