This article will gives out a brief introduction about Riccati euqation1.
Mathematical form of Riccati equation
Consider a first order (dydx) quadratic (y2) equation:
dydx=A(x)y2+B(x)y+C(x)we are going to look at a solution which form is:
y=y1+1v(x)where y1 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:
dydx=dy1dx−1v2dvdxthus we get
A(x)y2+B(x)y+C(x)=A(x)y21+B(x)y1+C(x)−1v2dvdxbring (2) to above equation:
A(y+1v)2+B(y+1v)+C=Ay21+By1+C−1v2dvdxexpend we get:
Ay21+2Ay1v+Av2+By1+Bv+C=Ay21+By1+C−1v2dvdxsimplification
dvdx+(2Ay1+B)v=−AFrom 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
dvdx+P(x)v=Q(x)First introduce a ρ=e∫P(x)dx and multiply the above equation:
e∫P(x)dxdvdx+P(x)e∫P(x)dxv=Q(x)e∫P(x)dxthus (wow it’s really amazing)
Dx(ve∫P(x)dx)=Q(x)e∫P(x)dxintegrate both sides with respect to x and solve for v
v=∫Q(x)e∫P(x)dxe∫P(x)dxNow we get our v.
Application
Solve y′+2xy=1+x2+y2 where y1=x is a solution.