The bernoulli differential equation is
.
Consider
.
Multiply 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
, substitute
and
.


Substitute
.


Therefore, the general solution is
.
The general solution of bernoulli differential equation
is
.