solve for x in terms of y y=2^x-2^-x/2^x+2^-x
help please
\[ y=\frac{2^x-2^{-x}}{2^x+2^{-x}} \]
yup
Do you know about \(\tanh(x)\)?
\[ \tanh(x) = \frac{e^x-e^{-x}}{e^x+e^{-x}} \]
no it is a part of logarithm
\[ \tanh(x\ln2) = \frac{e^{x\ln 2}-e^{-x\ln 2}}{e^{x\ln 2}+e^{-x\ln2}} =\frac{2^x-2^{-x}}{2^x+2^{-x}} \]
You want to do this with logarithm?
yes not tangent
Well if you have \[ \log_2(y)=\log_2(2^x-2^{-x})-\log_2(2^x+2^{-x}) \]How would you proceed?
Hyperbolic tangent is the only way I know to do this.
Well, you can multiply numerator and denominator by 2^x: \[y=\frac{2^x(2^x-2^{-x})}{2^x(2^x+2^{-x})}=\frac{2^{2x}-1}{2^{2x}+1}\] then let u=2^(2x) so that \(y=\frac{u-1}{u+1}\). You then solve for u in terms of y, then put x back: \[y(u+1)=u-1\\ uy+y=u-1\\ uy-u=-1-y\\ u(y-1)=-(y+1)\\ u=-\frac{y+1}{y-1}\\ 2^{2x}=-\frac{y+1}{y-1}\] I hope you can take it from here. :)
cross multiplication
No. Your goal was to write y in terms of x, right? And right now, x is already nearly alone. You just have to do something so that the x is not an exponent anymore. What is the inverse of exponentiation?
i dont know exponentiation
Isn't your topic about logarithms?
wait
the inverse of exponentiation is square root
No, I mean, say you have \(2^x=y\), it is true that \(x=\log_2(y)\), right?
yeah right
So it's true that\[2x=\log_2{\left(-\frac{y+1}{y-1}\right)}\]right?
it strue thats the final answer ?
Not yet. You have to divide both sides by 2 to finally get the final answer.
how?@blockcolder
@blockcolder
Just divide: \[\frac{2x}{2}=\frac{1}{2}\log_2{\left(-\frac{y+1}{y-1}\right)}\] So that you get \[x=\frac{1}{2}\log_2{\left(-\frac{y+1}{y-1}\right)}\]
Join our real-time social learning platform and learn together with your friends!