Rewriting Equations with ln and Exponential Terms

  • Thread starter Thread starter masterchiefo
  • Start date Start date
AI Thread Summary
To solve the equation ln(1+e^x)=2, the correct steps involve exponentiating both sides to eliminate the natural logarithm. This leads to the equation 1+e^x=e^2, which simplifies to e^x=e^2-1. The final solution for x is x=ln(e^2-1), as taking the natural logarithm of both sides is necessary to isolate x correctly. The confusion arose from misinterpreting the steps, but it is essential to apply the natural logarithm to arrive at the correct answer. Understanding the role of the natural logarithm is crucial in solving such equations accurately.
masterchiefo
Messages
211
Reaction score
2

Homework Statement


I have to solve ln(1+e^x)=2 for x

Homework Equations

The Attempt at a Solution


ln(1+e^x)=2
ln(1+e^x)=lne^2
(1+e^x)=e^2
e^x=e^2-1
x=(e^2-1)

The real answer is x=ln(e^2-1) but I don't understand why we have to put the ln back? why can't we keep it like that x=(e^2-1).

thank you very much
 
Last edited:
Physics news on Phys.org
masterchiefo said:

Homework Statement


I have to solve ln(1+e^x)=2 for x

Homework Equations

The Attempt at a Solution


ln(1+e^x)=2
ln(1+e^x)=e^2
That should be e^ln(1+e^x) = e^2

Maybe it's a typo.
(1+e^x)=e^2
e^x=e^2-1
Take the natural log of both sides !

x=(e^2-1)

The real answer is x=ln(e^2-1) but I don't understand why we have to put the ln back? why can't we keep it like that x=(e^2-1).

thank you very much
 
SammyS said:
That should be e^ln(1+e^x) = e^2

Maybe it's a typo.

Take the natural log of both sides !
ln(1+e^x)=2
ln(1+e^x)=lne^2 -- forgot to add the ln there.
then I take out ln on both side then at the end I basically have to add ln back to reduce it to x?
 
masterchiefo said:
ln(1+e^x)=2
ln(1+e^x)=lne^2 -- forgot to add the ln there.
then I take out ln on both side then at the end I basically have to add ln back to reduce it to x?
The "both sides" refers to the following from your Original Post.
masterchiefo said:
e^x=e^2-1

From the above line to that below,
Take the natural log of both sides !​

x ( e^2-1)
 
  • Like
Likes masterchiefo
SammyS said:
The "both sides" refers to the following from your Original Post.
OHH sorry my bad, thank you very much, I understand now :)
 
Back
Top