Solving 0=1/2(e^(2x))-(e+1)(e^x)+ex

  • Thread starter Thread starter Bonaparte
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around solving the equation 0 = 1/2(e^(2x)) - (e+1)(e^x) + ex, which involves exponential functions and potentially numerical methods for finding roots.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants explore the use of the quadratic formula and numerical methods for root finding. There is discussion about transforming the equation into a different form using substitutions, such as t = e^x. Questions arise regarding the methods for isolating roots and the appropriateness of different functions being considered.

Discussion Status

The discussion is active, with participants offering various numerical approximations and methods for finding roots. Some participants suggest plotting functions to identify root locations, while others reference external tools for assistance. There is recognition of different functions being discussed, leading to clarifications about which equation is the focus.

Contextual Notes

There is mention of approximations and numerical methods, as well as potential confusion regarding the specific functions being analyzed. Participants are navigating through assumptions about the equations and their respective roots.

Bonaparte
Messages
26
Reaction score
0

Homework Statement



So I have happily exploring function when I got to the equation 0 = 1/2(e^(2x))-(e+1)(e^x) +ex.

Homework Equations



Well, I guess the quadratic formula can help, although I can't seem to get to a situation where I can use it.

The Attempt at a Solution


I played around until I got to t^2-(2e+2)t+2eln(t) where t=e^x. But I seem to always get stuck with that ex, which does not let me factor the e^x.
 
Physics news on Phys.org


What's your problem? What are you trying to do with this function?

Sorry, now I see that you're trying to solve an equation...
 


All I can offer is an approximation, x = 1.75566566912961...
 


But how would you find it?
 


Bonaparte said:
But how would you find it?

You need to solve the equation f(x) = x^2 + x + ln(x) = 0 numerically. There is a vast literature on this, but basically, you first need to isolate a region in which the root lies, then try to narrow it down. If you can, you should plot the graph y = f(x) first, to see roughly where the roots of f(x) are located. Then there are numerous "correction" methods available to get better accuracy; just Google 'root finding' to see lots of relevant methods. For example, look at http://www.efunda.com/math/num_rootfinding/num_rootfinding.cfm
 


Michael Redei said:
I just let this thing do the work for me: http://www.wolframalpha.com/

That's what I would do too, but I would use Maple. The solution of the equation ##0 = x^2 + x + \ln(x)## is approximately .4858388639605664330809376128591963662449, and is nowhere near the value 1.755... that you wrote. If you plot f(x) = x^2 +x +ln(x) on [0.001,6] you will see there is just one root, and it is near x = 1/2. Were you working with the other function
f(x) = \frac{1}{2} e^{2x} - (e+1)e^x + ex ? That does, indeed, have a root near 1.75.
 


Ray Vickson said:
Were you working with the other function
f(x) = \frac{1}{2} e^{2x} - (e+1)e^x + ex ? That does, indeed, have a root near 1.75.

When I posted the approximation 1.75..., "the other function" was what seemed the main goal of this thread. "Were you working" seems a little exaggerated though, since I did no more than type a function definition into one text box and copy a number from another.
 

Similar threads

Replies
8
Views
4K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
10
Views
2K
Replies
3
Views
2K
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K