The bernoulli differential equation is
.
Consider
.
Multiply on each side by
.

Let
and
.
Substitute
and
in
.

It is in the general form of linear equation
.
In the above equation ,
and
.
The integrating factor is
.
Substitute
in the above formula.

The general solution is
.
Resubstitute
and substitute
and
.


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