$$\frac {dy}{dx} = (e^x - e^{-x})^2 $$
I am not sure how to find the general solution of this given problem. It is the e^x that is throwing me off .. any help would be greatly appreciated
$$\frac {dy}{dx} = (e^x - e^{-x})^2 $$
I am not sure how to find the general solution of this given problem. It is the e^x that is throwing me off .. any help would be greatly appreciated
On
Integrate directly $$\frac {dy}{dx} = (e^x - e^{-x})^2$$ $$y(x) = \int (e^x - e^{-x})^2dx$$ $$y(x) = \int (e^{2x} - 2+e^{-2x})dx$$
On
This is just a separable differential equation:
\begin{align} &\frac{dy}{dx}=(e^{x}-e^{-x})^{2}\\ &\Rightarrow dy=(e^{x}-e^{-x})(e^{x}-e^{-x})~dx\\ &\Rightarrow \int dy=\int (e^{2x}+e^{-2x}-2)~dx\\ &\Rightarrow y=\frac{1}{2}e^{2x}-\frac{1}{2}e^{-2x}-2x+C. \end{align}
As mentioned in other answers, you could also use the hyperbolic sine function.
HINT
Recall that
$$2\sinh x = e^x - e^{-x}$$
and$$ 2\sinh^2x=\cosh(2x)-1$$