# Riccati Equation

## General Riccati Equation

The Riccati equation is one of the most interesting nonlinear differential equations of first order. It's written in the form:

where *a* (*x*), *b* (*x*), *c* (*x*) are continuous functions of *x*.

The Riccati equation is used in different areas of mathematics (for example, in algebraic geometry and the theory of conformal mapping), and physics. It also appears in many applied problems.

The differential equation given above is called the general Riccati equation. It can be solved with help of the following theorem:

### Theorem.

If a particular solution \({y_1}\) of a Riccati equation is known, the general solution of the equation is given by

Indeed, substituting the solution \(y = {y_1} + u\) into Riccati equation, we have

The underlined terms in the left and in the right side can be canceled because \({y_1}\) is a particular solution satisfying the equation. As a result we obtain the differential equation for the function \(u\left( x \right):\)

which is a Bernoulli equation.

Substitution of \(z = \frac{1}{u}\) converts the given Bernoulli equation into a linear differential equation that allows integration.

Besides the general Riccati equation, there is an infinite number of particular cases of Riccati equation at certain coefficients of \(a\left( x \right),\) \(b\left( x \right),\) and \(c\left( x \right).\) Many of these particular cases have integrable solutions.

Returning to the general Riccati equation, we see that we can construct the general solution if a particular solution is known. Unfortunately, there is no strict algorithm to find the particular solution, which depends on the types of the functions \(a\left( x \right),\) \(b\left( x \right),\) and \(c\left( x \right).\)

Below we consider some well known particular cases of the Riccati equation.

## Special Case \(1:\) Coefficients \(a, b, c\) are constants

If the coefficients in the Riccati equation are constants, this equation can be reduced to a separable differential equation. The solution is described by the integral of a rational function with a quadratic function in the denominator:

This integral can be easily calculated at any values of \(a,\) \(b\) and \(c\) (For more information see Integration of Rational Functions).

## Special Case \(2:\) Equation of type \(y' = b{y^2} + c{x^n}\)

Consider a Riccati equation of type \(y' = b{y^2} + c{x^n},\) where the function \(a\left( x \right)\) at the linear term is zero, the coefficient \(b\) at \({y^2}\) is a constant, and \(c\left( x \right)\) is a power function:

This case of Riccati equation has nice solutions!

First of all, if \(n = 0,\) we get the Case \(1\) where the variables are separated and the differential equation can be integrated.

If \(n = -2,\) the Riccati equation is converted into a homogeneous equation with help of the substitution \(y = \frac{1}{z}\) and then also can be integrated.

This differential equation can be also solved at

Here the general solution is expressed through cylinder functions.

At all other values of the power \(n,\) the solution of the Riccati equation can be expressed through integrals of elementary functions. This fact was discovered by the French mathematician Joseph Liouville \(\left( {1809 - 1882} \right)\) in \(1841.\)

## Solved Problems

Click or tap a problem to see the solution.

### Example 1

Solve the differential equation \[y' = y + {y^2} + 1.\]

### Example 2

Solve the Riccati equation \[y' + {y^2} = \frac{2}{{{x^2}}}.\]

### Example 1.

Solve the differential equation \[y' = y + {y^2} + 1.\]

Solution.

The given equation is a simple Riccati equation with constant coefficients. Here the variables \(x, y\) can be easily separated, so the general solution of the equation is given by

### Example 2.

Solve the Riccati equation \[y' + {y^2} = \frac{2}{{{x^2}}}.\]

Solution.

We will seek for a particular solution in the form:

Substituting this into the equation, we obtain:

We get a quadratic equation for \(c:\)

We can take any value of\(c.\) For example, let \(c = 2.\) Now, when the particular solution is known, we make the replacement:

Now substitute this into the original Riccati equation:

As it can be seen, we have a Bernoulli equation with the parameter \(m = 2.\) Make one more substitution:

Divide the Bernoulli equation by \({z^2}\) (assuming that \(z \ne 0\)) and rewrite it in terms of \(v:\)

The last equation is linear and can be easily solved using the integrating factor:

The general solution of the linear equation is given by

From now on we will subsequently return back to the previous variables. Since \(z = \frac{1}{v},\) the general solution for \(z\) is written as follows:

Hence,

We can rename the constant: \(3C = {C_1}\) and write the answer in the form:

where \({C_1}\) is an arbitrary real number.