The bernoulli differential equation is
.

Multiply on each side by
.


Substitute
.
Apply derivative on each side. \ \
\
.
Substitute
and
in the modified function.


.
The equation is in the form of linear equation
.
Here
and
.
The integrating factor is
.
Substitute
.

.
The general solution is
.
Substitute
.

Substitute
.



.
The solution of bernoulli differential equation is
.
The solution of bernoulli differential equation is
.