Second-order linear differential equation (source code)

= Second-order linear differential equation

A normalized <second-order linear differential equation> is
$$
y''+p(x)y'+q(x)y=f(x).
$$
Linearity concerns the unknown <function> and its <derivatives>; the coefficient <functions> can vary with $x$. The equation is homogeneous when $f=0$.

On an interval where $p,q,f$ are continuous, specifying $y(x_0)$ and $y'(x_0)$ determines a unique solution. Two independent <homogeneous solutions> span the <homogeneous solution> space, while adding one <particular solution> gives every inhomogeneous solution. For $y''+y=0$, the basis $\cos x,\sin x$ makes those two initial <degrees of freedom> explicit.