$y'= 6(y - 2.5) \tanh 1.5x$
The general solution of the differential equation is to be found using integrating factor. It is a linear ODE of first order. How do I do it?
$y'= 6(y - 2.5) \tanh 1.5x$
The general solution of the differential equation is to be found using integrating factor. It is a linear ODE of first order. How do I do it?
The ODE is
$$y'(x) = 6(y(x)-\frac{5}{2})\tanh(\frac{3}{2} x)\tag{1}$$
Letting
$$y(x) = \frac{5}{2} + z(x)$$
gives
$$z'(x) = 6 \;z(x) \tanh(\frac{3}{2} x)$$
or
$$\frac{z'(x)}{z(x)} = 6 \;\frac{\cosh(\frac{3}{2} x)}{\sinh(\frac{3}{2} x))}$$
This can be written as
$$\frac{d}{dx} \log(z(x) = 6\frac{2}{3} \frac{d}{dx}\log( \cosh(\frac{3}{2})) x$$
Integrating yields
$$\log(z(x)) = 4\log( \cosh(\frac{3}{2} x))) + c$$
or, exponentiating (setting $A = e^c$)
$$z(x) = A \cosh(\frac{3}{2} x))^4$$
Hence the general solution of (1) is
$$y(x) = \frac{5}{2} + A \cosh(\frac{3}{2} x))^4$$
where A is an arbitrary constant.