here an(x),an−1(x),…,a1(x),a0(x) are functions of x (functions we already know), then we say this is a linear ODE. Otherwise, this is a non-linear ODE.
Example (Example 3)
x2⋅y′′+sin(x)⋅y′+x3=0 — this is a 2nd order linear ODE.
If we let a2(x)=x2, a1(x)=sin(x), a0(x)=0, a(x)=x3, then (2) has the form
a2(x)⋅y(2)(x)+a1(x)⋅y(1)(x)+a0(x)⋅y(x)+a(x)=0.
Example (Example 4)
y′(x)+y2(x)=x2 — this is a 1st order non-linear ODE, because we can’t write it in the form of (2) due to the existence of y2.
Example (Example 5)
y′′(x)⋅y(x)+y′(x)=x — this is a 2nd order non-linear ODE due to the existence of y′′(x)⋅y(x).
In a linear equation, you can always separate y(x), y′(x), y′′(x) (no products like y′′(x)⋅y(x)).
Def. 3 - Solution
If y=y(x) satisfies (solves)
F(x,y(x),y′(x),y′′(x))=0(1)
then we say y(x) is a solution of (1).
First-order linear ODE
dxdy+P(x)⋅y=Q(x)
here P(x),Q(x) are functions of x. This is a 1st order linear ODE.
If a1(x)=1, a0(x)=P(x), and a(x)=−Q(x), then (3) can be written as