Bernoulli's
differential equation is a type of first-order ordinary differential equation
that can be written in the form:
dy/dx + p(x)y = f(x)yn
(1)
where n is any real number, is
called Bernoulli’s equation. Note that for n equals to 0 and n
equals to 1, equation (1) is linear. where p(x) and q(x) are continuous functions of x,
and n is not equal to 1 or 0.
To solve Bernoulli's differential equation, we first need to rewrite equation (1) in the following form by dividing whole the equation with yn :
y(-n) dy/dx + p(x)y(1-n) = f(x) (2)
Now, we can use the following substitution:
u = y(1-n)
(3)
Differentiating
equation (3) with respect x, we have:
du/dx = (1-n)y(-n) dy/dx
or
=> [1/(1-n) ]du/dx = y(-n)
dy/dx (4)
Now,
substituting equations (3) and (4) into
equation (1), we get:
[1/(1-n) ]du/dx + p(x)u = f(x) (5)
Multiplying both
sides by (1-n) and simplifying, we get:
du/dx +
(1-n)p(x)u = (1-n)f(x) (6)
This is now a
linear first-order differential equation in u, which can be solved using
standard methods such as integrating factor or separation of variables.



