Special Nonlinear ODEs

Bernoulli Equation

If a First Order Nonlinear ODE can be written as $$ y'(x) + p(x) y(x) = r(x) y(x)^a $$ where \(a \ne 0\) and \(a \ne 1\), then it is called Bernoulli's Equations. It can be tranformed to a linear ODE with the change of the dependent variable $$ u = y^{1-a} $$ $$ u' = (1-a) y^{-a} y' = (1-a) y^{1-a} \frac{y'}{y} = (1-a) u \frac{y'}{y}$$ $$ \frac{y u'}{(1-a)u} = y'$$ $$ \frac{y u'}{(1-a)u} + p y = r y^a $$ $$ \frac{ u'}{(1-a)u} + p = r y^{a-1} = \frac{r}{u}$$ $$ u'+ (1-a) p u = (1-a) r $$ which is a linear ODE for \(u(x)\).

Example 1

Solve the following ODE $$ y' + y = \sqrt{y} $$

solution:

$$ a=\frac{1}{2} \rightarrow u = y^\frac{1}{2} \rightarrow y = u^2$$ $$ y' = 2 u u' $$ $$ 2 u u' + u^2 = u $$ $$ u' + \frac{1}{2} u = \frac{1}{2} $$ $$ u = 1 + c e^{-x/2} $$ $$ y(x) = (1 + c e^{-x/2})^2 $$

Riccati Equation

If a First Order Nonlinear ODE can be written as $$ y'= q_0(x) + q_1(x) y + q_2(x) y^2 $$ then it is called Riccati's Equations. It can be tranformed to a linear ODE with the change of the dependent variable $$ y(x) = y_p(x) + 1/u(x) $$ where \(y_p\) is a known solution. We get a linear ODE for \(u(x)\).

Example 1

Find the general solution of the following ODE which has a solution \(y=x^2\) $$ y'= x^4+2x-2x^2 y+y^2 $$

solution:

$$ y = x^2 + \frac{1}{u} \rightarrow y' = 2x - \frac{u'}{u^2}$$ $$ 2x - \frac{u'}{u^2} = x^4+2x-2x^2 (x^2 + \frac{1}{u})+(x^2 + \frac{1}{u})^2 $$ $$ -\frac{u'}{u^2} = x^4-2x^4 -\frac{2x^2}{u}+ x^4 + \frac{2x^2}{u} + \frac{1}{u^2} = \frac{1}{u^2} $$ $$ u' = -1 $$ $$ u = c_1 - x $$ $$ y(x) = x^2 + \frac{1}{c_1 - x} $$