ODE5.4
From Exampleproblems

Multiply both sides by
:

Observe that the numerator of the term on the right side
is the derivative (with respect to x) of the
denominator of that term (indeed, that is why the factor 2y'
was chosen -- a sort of integrating factor). Integrate both sides with respect
to x; the result is
(Alternatively, since the differential equation does not explicitly involve
x, the substitution
converts the
equation to a first-order equation in p and y
which is separable. Integrating and back-substituting
for
yields the same result as given above, as of course it must.)
Exponentiating both sides, we get
where
(we are free to write c2 since
ea > 0 for all real a).
Solving the above for y',

Divide both sides by
and integrate:
(where we have used
y'dx = dy in the integral on the left)
Use the trig substitution
,
to get
Integrating,
or after back-substitution,
Exponentiating both sides and
multiplying both sides by c,
Solving this for y,

Either case may be written in the form
where b and c are arbitrary constants, as may be verified by substituting this solution into the original differential equation.
