Solving e^x + x = c Algebraically

  • Thread starter Thread starter Frillth
  • Start date Start date
  • Tags Tags
    E^x
AI Thread Summary
The equation e^x + x = c cannot be solved algebraically, as it lacks a closed-form solution. Attempts to manipulate the equation lead to complications involving logarithms that do not simplify the problem. Numerical methods are recommended for finding solutions, with a series approximation providing a way to derive approximate solutions using the quadratic formula. The accuracy of these approximations may vary depending on the value of c, particularly when c is close to zero. Clarification on the intent behind the question would help determine the appropriate method for solving the equation.
Frillth
Messages
77
Reaction score
0

Homework Statement



I am looking for a way to solve the equation e^x + x = c, with c being some constant. I know that I could get an answer from graphing, but I would like to know how to solve an equation like this algebraically. How is this possible?

Homework Equations



None.

The Attempt at a Solution



I have tried manipulating the equation in many ways, but nothing has led to a solution.
 
Physics news on Phys.org
Taking ln to isolate the exponent introduces ln(c-x), which requires exponentiation, which requires ln...

I don't think it can be solved algebraically.
 
Equations like this are solved numerically on a computer. There is no analytic solution.
 
A (admittedly cheap) approximate solution would be this:

Replace e^x by a truncated series approximation.

<br /> <br /> e^x \approx 1 + x + \frac{x^2} 2<br />

You now have

<br /> \begin{align*}<br /> \left(1 + x + \frac{x^2} 2 \right) + x &amp; \approx c \\<br /> \frac{x^2} 2 + 2x + \left(1 - c\right) &amp; \approx 0 \\<br /> x^2 + 4x + 2\left(1 - c \right) &amp; \approx 0<br /> \end{align*}<br />

Approximate solutions can be found using the quadratic formula. A graph will help you determine which root to use.
BUT
it may be difficult to determine the accuracy of any solution found in this way. I suspect (but have not investigated numerically) that the closer c is to zero, the closer the approximate solution will be to the true solution.

Short of an approach like this there is (as the others have quite ably stated) no closed form way to solve this problem.
 
I wonder about what is really wanted by the teacher in terms of solving this.

I.e., either statdad's approximation, or a numerical solution which converges arbitrarily close to the answer, or a simple "cannot be solved analytically"?
 
"I wonder about what is really wanted by the teacher in terms of solving this."

That's the true rub, isn't it? Of course, I'm not at all sure that the OP was asking a question from a teacher rather than simply one of his/her own investigation. If it came from a teacher or professor I would like to see the original form: I would hope that a teacher would provide a clearer request.
 
statdad said:
... I'm not at all sure that the OP was asking a question from a teacher rather than simply one of his/her own investigation.

Since he has not responded since posing the question 4 days ago, I guess we'll never know for sure.

If the OP shows more interest in getting an answer, I might be willing to spend time explaining how to get an accurate numerical solution.
 
Back
Top