Higher-order differential equations
An operator $\mathcal D$ is linear if for any functions $y_1(x), y_2(x)$ and constants $\alpha,\beta$, $$ \mathcal D(\alpha y_1 + \beta y_2) = \alpha\mathcal D y_1 + \beta\mathcal D y_2. $$
A set of $N$ functions $\{f_i(x)\}$ is linearly dependent if $$ \sum_{i=1}^N c_i f_i(x) = 0 $$ for $N$ constants $c_i$ not all zero.
Otherwise the functions are linearly independent.
General form $$ a \frac{d^2y}{dx^2} + b\frac{dy}{dx} + cy = f(x). $$
$$ a\frac{d^2y}{dx^2} + b\frac{dy}{dx} + cy = 0. $$ Solution has the form $y(x) = e^{\lambda x}$, so the characteristic equation is $$ a\lambda^2 + b\lambda + c = 0. $$
-
If the roots $\lambda_1 \neq \lambda_2$, then $$ y(x) = Ae^{\lambda_1 x} + Be^{\lambda_2 x}. $$
-
If the roots $\lambda_1 = \lambda_2 = \lambda$, then $$ y(x) = (A + Bx)e^{\lambda x}. $$
General form $$ y'' + p(x) y' + q(x)y = 0. $$
This is hard to solve, but if we have one solution $y_1(x)$, we can find a second one $y_2(x)$ by reduction of order.
This can also be done with Abel's theorem. See that for formula.
This generalises to any order.
Example (degenerate linear second-order ODE with constant coefficient)
For an $n$-th order linear ODE $$ y^{(n)} + p(x) y^{(n-1)} + \ldots + q(x) y = f(x), $$ $y^{(n)}(x_0)$ is determined by $y(x_0), y'(x_0), y''(x_0), \ldots, y^{(n-1)}(x_0)$. Similarly by differentiating the ODE, we can determine higher derivatives.
Therefore we can construct a Taylor series of $y(x)$ about $x_0$ if $y(x_0), y'(x_0), y''(x_0), \ldots, y^{(n-1)}(x_0)$ are specified. By some theorem, a solution $y(x)$ is determined by these initial conditions.
The state of system is fully specified at any $x$ by the solution vector $$ \v Y(x) = \begin{pmatrix} y(x) \\ y'(x) \\ y''(x) \\ \vdots \\ y^{(n-1)}(x) \end{pmatrix}. $$ This means at any $x=x_0$, $\v Y(x_0)$, a point in the $n$ dimensional phase space, determines the full solution $y(x)$.
The Wronskian of $n$ functions $y_i(x)$ for $i=1,2,\ldots, n$ is the determinant of the fundamental matrix, defined by $$ W(x) = \begin{vmatrix} y_1 & y_2 & \ldots & y_n \\ y_1' & y_2' & \ldots & y_n' \\ y_1'' & y_2'' & \ldots & y_n'' \\ \vdots & \vdots & & \vdots \\ y_1^{(n-1)} & y_2^{(n-1)} & \ldots & y_n^{(n-1)} \end{vmatrix}. $$
If $n$ functions $\{y_i(x)\}$ are linearly dependent, then their Wronskian $W(x) = 0$ for all $x$.
Its contraposition is that if $W(x) \neq 0$, then $\{y_i(x)\}$ are linearly independent.
Given any two solutions of a linear homogenous second-order ODE $$ y'' + p(x) y' + q(x) y = 0, $$ if $p(x),q(x)$ are continuous on an interval $I$, then the Wronskian satisfies Abel's identity $$ W(x) = W(x_0) \exp\Big(-\int_{x_0}^x p(u) \,du\Big). $$
In particular either
-
$W(x) = 0$ for all $x\in I$; or
-
$W(x) \neq 0$ for all $x\in I$.
This tells us that two solution vectors $\vec Y_1(x), \vec Y_2(x)$ are either always collinear in the phase space or never as $x$ varies. Therefore, if $\vec Y_1(x_0), \vec Y_2(x_0)$ form a basis, then $\vec Y_1(x), \vec Y_2(x)$ also form a basis at any $x$.
For a homogenous linear second-order ODE with missing $y'$ term $$ y'' + q(x) y = 0, $$ the Wronskian $W(x)$ is a constant function.
By Abel's identity, $$ y_1 y_2' - y_1' y_2 = W(x_0) \exp\Big(-\int_{x_0}^x p(u)\,du\Big), $$ which, if $y_1$ is known, gives a first-order linear ODE of $y_2$. Using quotient rule, $$ \frac{d}{dx}\frac{y_2}{y_1} = \frac{W(x_0)}{y_1^2}\exp\Big(-\int_{x_0}^x p(u)\,du\Big) $$ $$ y_2(x) = y_1(x) \int^x \frac{\exp\Big(-\int^\xi p(u)\,du\Big)}{y_1(\xi)^2}\,d\xi, $$ which is equivalent to the reduction of order formula.
A linear, second-order equidimensional ODE has the form $$ ax^2 y'' + bxy' + cy = f(x) $$ where $a,b,c$ are constants.
For a homogenous linear second-order equidimensional ODE $$ ax^2 y'' + bxy' + cy = 0, $$ if $y(x)$ is a solution, then $\tilde y(x) = y(\lambda x)$ is also a solution for some non-zero constant $\lambda$.
The solution has form $y(x) = x^k$ where the characteristic equation is $$ ak^2 + (b-a)k + c = 0. $$
-
If the roots $k_1 \neq k_2$, the solution is $$ y(x) = Ax^{k_1} + Bx^{k_2}. $$
-
If the roots $k_1=k_2 = k$, the solution is $$ y(x) = (A + B\ln x)x^k. $$
(Derivation using eigenfunction, derivation using substitution)
For such ODE with constant coefficients, $$ ay'' + by' + cy = f(x), $$ try to guess the following for the particular solution:
$f(x)$ |
$y_p(x)$ |
|---|---|
$e^{\lambda x}$ |
$Ae^{\lambda x}$ |
$\sin kx$ or $\cos kx$ |
$A\sin kx + B\cos kx$ |
degree-$n$ polynomial |
degree-$n$ polynomial |
Also due to linearity of the differential operator, you can find separately the particular solution of each term in $f(x)$ and then add them.
When the forcing term $f(x)$ is a complimentary function of the ODE, we detune it.
The general rule is that we try $y_p(t) = t \times (\text{non-resonant particular integral})$.
For the equation $$y'' + p(x)y' + q(x) y = f(x),$$ given its two linearly independent complimentary functions $y_1(x), y_2(x)$, a particular integral is given by $$ y_p(x) = y_2(x) \int^x \frac{y_1(\xi) f(\xi)}{W(\xi)}d\xi - y_1(x) \int^x \frac{y_2(\xi) f(\xi)}{W(\xi)} d\xi. $$
We investigate in the equation $$ m\ddot y + b\dot y + ky = F(t). $$
We usually write it in terms of the dimensionless time $\tau = \omega_0 t$, where $\omega_0 = \sqrt{k/m}$, $$ y'' + 2\kappa y' + y = f(\tau) $$ where $\kappa = b/2m\omega_0$.
For complimentary functions, depending on the value of $\kappa$, the solution has different behaviours:
-
For $\kappa < 1$, light damping/underdamping: $$ y(t) = e^{-\kappa\omega_0 t}(A\sin\omega_{free}t + B\cos\omega_{free}t), $$ where $\omega_{free} = \sqrt{1-\kappa^2}\ \omega_0$.
-
For $\kappa = 1$, critical damping: $$ y(t) = e^{-\kappa\omega_0t}(A + Bt). $$
-
For $\kappa > 1$, heavy damping/overdamping: $$ y(t) = \underbrace{Ae^{-(\kappa - \sqrt{\kappa^2 - 1})\omega_0 t)}}_\text{dominates long-term} + Be^{-(\kappa + \sqrt{\kappa^2 - 1})\omega_0 t}.$$
Derivation of non-forcing oscillating system
For the general solution,
-
in the beginning, the solution is given by both complimentary functions and particular integral, which is called the transient response.
-
But since all complimentary functions eventually decay, the general solution is dominated by the particular integral in the long run. This is the steady-state response.
Consider any family of functions $D(t; \epsilon)$ satisfying
-
$\lim_{\epsilon\to 0} D(t;\epsilon) = 0$ for all $t\neq 0$;
-
$\int_{-\infty}^\infty D(t;\epsilon)\,dt = 1$ for all $\epsilon$.
We define the Dirac delta function as $$ \delta(x) \equiv \lim_{\epsilon\to 0} D(x;\epsilon). $$
We just focus on these properties:
-
$\delta(x) = 0$ for all $x\neq 0$;
-
$\int_{-\infty}^\infty \delta(x)\, dt = 1$;
-
If $g(x)$ is continuous at $x=0$, then $\int_{-\infty}^\infty g(x) \delta(x) \, dt = g(0)$. It follows that $$ \int_a^b g(x) \delta(x-x_0)\,dt = \begin{cases} g(x_0), & a < x < b, \\ 0, & x < a \text{ or } x > b, \\ \text{undefined}, & x=a \text{ or } x=b. \end{cases} $$
For the equation $$y'' + p(x) y' + q(x) y = \delta(x)$$ where $p(x)$ and $q(x)$ are continuous at $x=0$, we use the jump condition $$ \lim_{\epsilon\to 0} [y']_{-\epsilon}^\epsilon = 1. $$ (Derivation)
We define the Heaviside step function to be $$ H(x) = \int_{-\infty}^x \delta(t)\, dt, $$ so $$\begin{align*} H(x) &= \begin{cases} 0, & x<0, \\ 1, & x>0, \\ \text{undefined}, &x=0; \end{cases} \\ \frac{dH}{dx} &= \delta(x). \end{align*}$$
$$ y'' + p(x) y' + q(x) y = H(x) $$ If we assume $y'' \sim H(x)$, then $y'\sim xH(x)$ and $y\sim x^2 H(x)$, which are continuous. So we have $$ \lim_{\epsilon\to 0} [y']_{-\epsilon}^{\epsilon} = 0 = \lim_{\epsilon\to 0} [y]_{-\epsilon}^\epsilon. $$