How did (e^x-e^-x)/(e^x+e^-x) become (e^2x-1)/ (e^2x+1) ??
that is done by multiplying the numerator and denominator by \(e^x\)
\[\frac{e^x-e^{-x}}{e^x+e^{-x}}=\frac{e^x-e^{-x}}{e^x+e^{-x}}*\frac{e^x}{e^x}\]\[=\frac{e^x(e^x-e^{-x})}{e^x(e^x+e^{-x})}=\frac{e^{2x}-1}{e^{2x}+1}\]
Now I get it!! Thanks! Last question, why do I need to multiply it to e^x
I assume this is related to your last question on \(\tanh{x}=\frac{1}{2}\)?
Yes
ok, so you know that:\[\tanh{x}=\frac{e^x-e^{-x}}{e^x+e^{-x}}\] correct?
Yes
we are therefore trying to solve:\[\tanh{x}=\frac{e^x-e^{-x}}{e^x+e^{-x}}=\frac{1}{2}\]
one way of doing that is to first simplify the left-hand-side
so that you are left with a fraction involving just \(e^{2x}\)
you saw how that was done, so we then end up with:\[\frac{e^{2x}-1}{e^{2x}+1}=\frac{1}{2}\]now you can just cross multiply and solve for \(e^{2x}\)
does that make sense?
Yes! Thanks a lot!!
yw :)
Join our real-time social learning platform and learn together with your friends!