Showing that $\ln \frac{1+e^x}{1+e^{-x}} = x$

105 Views Asked by At

Is the below a valid approach?

$$\frac{1+e^x}{1+e^{-x}} = \frac{1+e^x}{1+e^{-x}} \times \frac{e^{-x}}{e^{-x}}$$

We know that $\frac{e^{-x}}{1+e^{-x}} = \frac{1}{e^x+1}$, so

$$\frac{1+e^x}{1+e^{-x}} \times \frac{e^{-x}}{e^{-x}} = \frac{1+e^x}{1+e^x} \times \frac{1}{e^{-x}}.$$

So, $\ln \frac{1+e^x}{1+e^{-x}} = \ln \frac{1}{e^{-x}} = - \ln e^{-x} = x$.

3

There are 3 best solutions below

0
On BEST ANSWER

That looks correct. It becomes a tiny bit simpler if you expand the fraction with $e^x$ instead of expanding with $e^{-x}$: $$ \frac{1+e^x}{1+e^{-x}} = \frac{1+e^x}{1+e^{-x}} \frac{e^x}{e^x} = \frac{1+e^x} {e^x+1} e^x = e^x $$

3
On

This looks correct to me but remember that "$\log$" is typically an abbreviation for "$\log_{10}$" in certain contexts such as physics and engineering. It's pretty clear that you are referring to the natural logarithm here, but if you would like there to be zero ambiguity as what you are referring to, then I suggest using the more widespread notation for the natural log given by "$\ln$."

4
On

Yes it is correct, indeed

$$\log \frac{1+e^x}{1+e^{-x}} = \log (1+e^x)-\log(1+e^{-x})=\\=\log (1+e^x)-\log(1+e^{-x})-\log e^x+\log e^x=\log (1+e^x)-\log(e^x+1)+x=x$$