I need to differentiate this:
$$ y = b(e^{ax}-e^{-ax}) $$
I've got the solution from a book, but I don't found the process to differentiate it. The solution is:
$$ y = ab(e^{ax}+e^{-ax}) $$
Here is my own process:
$$ y = b(e^{ax}*(1-\frac{e^{-ax}}{e^{ax}}) $$
$$ ln(y) = ln(b)+ax+ln(1-\frac{e^{-ax}}{e^{ax}}) $$
$$ \frac{1}{y}\frac{dy}{dx} = a+\frac{1}{1-\frac{e^{-ax}}{e^{ax}}} = a+1-e^{2ax} $$
$$ \frac{dy}{dx} = (a+1-e^{2ax})*(b(e^{ax}-e^{-ax})) $$
Can someone help me, please?
No need to factor.
The derivative of a sum is the sum of the derivatives. Do you know what the derivative of $e^x$ is? And the Chain Rule? If so just apply them to get $$ y'(x)=b(ae^{ax}-(-a)e^{-ax})=ab(e^{ax}+e^{-ax}) $$