Is $y=e^{-x}$ same as $\ln(y)=-x$?

799 Views Asked by At

I have $y = e^{-x}$

Is it possible to log both sides and get $\ln(y) = -x$.

I suspect this had led me to a mistake in an exam question. Many thanks

2

There are 2 best solutions below

0
On

If $A=B $, the only condition you need to log both sides is

$A>0$ or $B>0$.

in your case, $B=e^{-x} $ is always $>0$ thus

we get $$\ln (y)=\ln (e^{-x})=-x $$.

1
On

Yes absolutely , you can prove this statement and the proof goes like this

y=e^-x , taking natural logarithm of both sides we get lny=(-x)lne=(-x).