Express $\tanh(-3)$ in terms of $e$, where $\tanh$ is the hyperbolic tangent.
This is what I did:
$$\begin{align} \tanh(-x)&=\dfrac{e^{-2x}-1}{e^{-2x}+1}\\\\\\ \tanh(-3)&=\dfrac{e^{-2\times-3}-1}{e^{-2\times-3}+1}\\\\\\ \tanh(-3)&=\dfrac{e^6-1}{e^6+1} \end{align}$$
However, this is wrong, as the actual solution is:
$$\tanh(-3)=-\dfrac{e^3-1}{e^3+1}$$
What have I done that is unacceptable, hence making my solution wrong?
How is the actual solution obtained? (Full explanation would be helpful)
Using the definition $$\tanh(x) = \frac{e^{2x}-1}{e^{2x}+1}$$So we plug in $-3$ wherever we see an $x$ to get that $$\tanh(-3) = \frac{e^{2 \cdot-3}-1}{e^{2\cdot-3}+1}=\frac{e^{-6}-1}{e^{-6}+1} $$So we multiply by $\frac{e^6}{e^6}$ to get $$= \frac{1-e^6}{1 + e^6}$$So other than a little minus sign error, I think you're correct!