The bernoulli differential equation is
.
Rewrite the function as
.
Let
and
.
Substitute
and
in the modified function.
.
The above equation is in the form of linear equation
.
Here
and
.
The integrating factor is
.
Substitute
.

.
The general solution is
.
Substitute
.

Substitute
in the above function.

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