This article will gives out a brief introduction about Riccati euqation1.
Mathematical form of Riccati equation
Consider a first order ($\frac{d y}{d x}$) quadratic ($y^2$) equation:
we are going to look at a solution which form is:
where $y_1$ can be represent a particular solution and $v(x)$ is a function of $x$ which we don’t know what that function is.
Solution
Step 1: rewrite the quadratic first order problem to a linear first order problem
Now differentiate the above formula, we get:
thus we get
bring $\eqref{solution11}$ to above equation:
expend we get:
simplification
From the equation above we find that we write the problem to a linear first-order problem
step 2: Solve the rewritten problem
Now we solve the rewritten problem
First introduce a $\rho=e^{\int P(x)dx}$ and multiply the above equation:
thus (wow it’s really amazing)
integrate both sides with respect to $x$ and solve for $v$
Now we get our v.
Application
Solve $\begin{equation}
y^{\prime}+2 x y=1+x^{2}+y^{2}
\end{equation}$ where $y_1=x$ is a solution.