wanna mathMath ain't scary (not anymore)
4-Tier Textbook Index • Vol → Mod → Ch → Lab

Engineering Mathematics Volumes I–VI

6 Volumes • 20 Modules • 85 ChaptersFull Matrix →
4-Tier Statistics Index • Vol S → Mod → Ch → Lab

Interactive Statistics (S.1–S.6)

6 Modules • 18 ChaptersStatistics Index →
FORMULA SHEET • MODULES 4.1–4.25 Reference Sections

Ordinary Differential Equations: Exact, Constant-Coefficient, Variation, Cauchy–Euler & Series

Picard existence and uniqueness, separable, linear, exact ODEs and integrating factors, general n-th order constant-coefficient linear ODEs, Undetermined Coefficients, Variation of Parameters, Cauchy–Euler equations, and Power Series / Frobenius solutions.

Mathematical Rigor & Accuracy Notes
  • Monic Normalization Requirement for Variation of Parameters: Before computing u1′=−y2g/Wu'_1 = -y_2 g/W and u2′=y1g/Wu'_2 = y_1 g/W, always divide a2(x)y′′+a1(x)y′+a0(x)y=h(x)a_2(x)y'' + a_1(x)y' + a_0(x)y = h(x) by a2(x)a_2(x) so g(x)=h(x)/a2(x)g(x) = h(x)/a_2(x) sits in standard monic form y′′+p(x)y′+q(x)y=g(x)y'' + p(x)y' + q(x)y = g(x).
  • Cauchy–Euler Domain Restriction (x>0x > 0): Substituting x=et  ⟺  t=ln⁡xx = e^t \iff t = \ln x strictly assumes x>0x > 0; on x<0x < 0 replace ln⁡x\ln x with ln⁡∣x∣\ln|x|, and remember x=0x = 0 is a regular singular point where solutions may blow up or lose differentiability.
  • Exactness Simply Connected Domain Guard: ∂M∂y=∂N∂x\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x} guarantees M dx+N dy=dFM\,dx + N\,dy = dF globally on any simply connected rectangle; on punctured domains around singularities (e.g., −y dx+x dyx2+y2\frac{-y\,dx + x\,dy}{x^2+y^2}), local exactness fails to produce a single-valued global potential.
  • Power Series Radius of Convergence: Around an ordinary point x0x_0 of y′′+P(x)y′+Q(x)y=0y'' + P(x)y' + Q(x)y = 0, the Taylor series converges at least out to the distance RR from x0x_0 to the nearest singularity of PP or QQ in the complex plane C\mathbb{C} (e.g., 1/(1+x2)1/(1+x^2) has poles at ±i\pm i, capping R=1R = 1 even though it is smooth on all of R\mathbb{R}).

1. First-Order ODEs, Exactness & Integrating Factors

Picard–Lindelöf Local Existence & Uniqueness
y′=f(t,y),y(t0)=y0(f,  ∂f∂y continuous near (t0,y0)  ⟹  unique solution)y' = f(t, y), \quad y(t_0) = y_0 \qquad \Bigl(f,\; \frac{\partial f}{\partial y} \text{ continuous near } (t_0, y_0) \implies \text{unique solution}\Bigr)

Condition:If ∂f/∂y\partial f / \partial y blows up (e.g. y′=∣y∣2/3y' = |y|^{2/3} at y=0y = 0), distinct curves can branch cleanly from the same point.

Linear First-Order Integrating Factor ($y' + P(t)y = Q(t)$)
μ(t)=exp⁡ ⁣(∫P(t) dt),ddt[μ(t)y]=μ(t)Q(t)  ⟹  y(t)=1μ(t) ⁣(∫μ(t)Q(t) dt+C)\mu(t) = \exp\!\left(\int P(t)\,dt\right), \qquad \frac{d}{dt}\bigl[\mu(t)y\bigr] = \mu(t)Q(t) \implies y(t) = \frac{1}{\mu(t)}\!\left(\int \mu(t)Q(t)\,dt + C\right)
Exact Differential Equation & Potential Recovery
M(x,y) dx+N(x,y) dy=0 is exact  ⟺  ∂M∂y=∂N∂x,F(x,y)=∫M(x,y) dx+h(y)=CM(x,y)\,dx + N(x,y)\,dy = 0 \text{ is exact} \iff \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}, \qquad F(x,y) = \int M(x,y)\,dx + h(y) = C

Condition:Differentiate FF with respect to yy and match ∂F∂y=N(x,y)\frac{\partial F}{\partial y} = N(x,y) to solve h′(y)h'(y) (all xx-terms must cancel!).

One-Variable Integrating Factors for Non-Exact Forms ($M_y \neq N_x$)
My−NxN=p(x)  ⟹  μ(x)=e∫p(x) dx,Nx−MyM=q(y)  ⟹  μ(y)=e∫q(y) dy\frac{M_y - N_x}{N} = p(x) \implies \mu(x) = e^{\int p(x)\,dx}, \qquad \frac{N_x - M_y}{M} = q(y) \implies \mu(y) = e^{\int q(y)\,dy}

Multiplying M dx+N dy=0M\,dx + N\,dy = 0 by μ\mu makes (μM)y=(μN)x(\mu M)_y = (\mu N)_x exact.

Autonomous Phase-Line Equilibrium Stability ($y' = f(y)$)
f(y∗)=0:f′(y∗)<0  ⟹  Sink (Stable),f′(y∗)>0  ⟹  Source (Unstable)f(y^*) = 0: \qquad f'(y^*) < 0 \implies \text{Sink (Stable)}, \qquad f'(y^*) > 0 \implies \text{Source (Unstable)}

Condition:When f′(y∗)=0f'(y^*) = 0, the equilibrium is non-hyperbolic (node/bifurcation point).

2. General Linear ODEs with Constant Coefficients & Undetermined Coefficients

Homogeneous Constant-Coefficient Characteristic Polynomial
any(n)+⋯+a1y′+a0y=0(y=erx)  ⟹  P(r)=anrn+⋯+a1r+a0=0a_n y^{(n)} + \dots + a_1 y' + a_0 y = 0 \quad (y = e^{rx}) \implies P(r) = a_n r^n + \dots + a_1 r + a_0 = 0

Condition:Real polynomial roots occur either on R\mathbb{R} or in conjugate pairs α±iβ\alpha \pm i\beta.

Wronskian Linear Independence Criterion
W(y1,…,yn)(x)=det⁡[y1y2…yny1′y2′…yn′⋮⋮⋱⋮y1(n−1)y2(n−1)…yn(n−1)]≠0W(y_1, \dots, y_n)(x) = \det\begin{bmatrix} y_1 & y_2 & \dots & y_n \\ y'_1 & y'_2 & \dots & y'_n \\ \vdots & \vdots & \ddots & \vdots \\ y_1^{(n-1)} & y_2^{(n-1)} & \dots & y_n^{(n-1)} \end{bmatrix} \neq 0

Condition:For solutions of an nn-th order linear ODE with continuous coefficients, W(x)W(x) is either identically zero or never zero on the interval (Abel's identity).

Method of Undetermined Coefficients & Resonance Modification Rule
y=yh+yp,yp(x)=xs⋅[standard polynomial/exp/trig trial]y = y_h + y_p, \qquad y_p(x) = x^s \cdot \bigl[\text{standard polynomial/exp/trig trial}\bigr]

Condition:Applies ONLY to constant-coefficient ODEs whose forcing g(x)g(x) belongs to polynomials, ekxe^{kx}, cos⁡(ωx)\cos(\omega x), sin⁡(ωx)\sin(\omega x), or finite sums/products thereof. Multiply trial by xsx^s where ss is the multiplicity of the forcing root inside P(r)=0P(r) = 0.

Fundamental Solution Basis by Characteristic Root Type & Multiplicity

Root Structure in P(r) = 0Multiplicity mBasis Terms Added to y_h(x)
Distinct real root rrm=1m = 1C1erxC_1 e^{rx}
Repeated real root rrm=km = k(C1+C2x+⋯+Ckxk−1)erx(C_1 + C_2 x + \dots + C_k x^{k-1})e^{rx}
Simple complex conjugate pair α±iβ\alpha \pm i\betam=1m = 1eαx(C1cos⁡βx+C2sin⁡βx)e^{\alpha x}(C_1\cos\beta x + C_2\sin\beta x)
Repeated complex pair α±iβ\alpha \pm i\betam=km = keαx∑j=0k−1xj(Ajcos⁡βx+Bjsin⁡βx)e^{\alpha x}\sum_{j=0}^{k-1} x^j(A_j\cos\beta x + B_j\sin\beta x)

3. Method of Variation of Parameters (General Forcing)

Second-Order Monic Normalization & Amplitude Equations
y′′+p(x)y′+q(x)y=g(x),yp(x)=u1(x)y1(x)+u2(x)y2(x),u1′y1+u2′y2=0y'' + p(x)y' + q(x)y = g(x), \qquad y_p(x) = u_1(x)y_1(x) + u_2(x)y_2(x), \qquad u'_1 y_1 + u'_2 y_2 = 0

Condition:Works even for non-constant coefficients p(x),q(x)p(x), q(x) and arbitrary continuous g(x)g(x) like sec⁡x\sec x, tan⁡x\tan x, or ex/xe^x/x once y1,y2y_1, y_2 are known.

Wronskian Parameter Integral Formulas
u1′(x)=−y2(x) g(x)W(y1,y2),u2′(x)=y1(x) g(x)W(y1,y2),W=y1y2′−y2y1′u'_1(x) = -\frac{y_2(x)\,g(x)}{W(y_1, y_2)}, \qquad u'_2(x) = \frac{y_1(x)\,g(x)}{W(y_1, y_2)}, \qquad W = y_1 y'_2 - y_2 y'_1

Never omit dividing the original ODE by its leading coefficient a2(x)a_2(x) before inserting g(x)g(x).

General $n$-th Order Cramer Formula ($y^{(n)} + \dots + a_0(x)y = g(x)$)
uk′(x)=Wk(x)W(y1,…,yn),yp(x)=∑k=1nyk(x)∫uk′(x) dxu'_k(x) = \frac{W_k(x)}{W(y_1, \dots, y_n)}, \qquad y_p(x) = \sum_{k=1}^{n} y_k(x)\int u'_k(x)\,dx

WkW_k replaces column kk of the Wronskian matrix with [0,0,…,0,g(x)]T[0, 0, \dots, 0, g(x)]^T.

Worked Example: Solving y'' + y = sec(x) where Undetermined Coefficients Fails

y1=cos⁡x,y2=sin⁡x,W=cos⁡2x+sin⁡2x=1,g(x)=sec⁡xy_1 = \cos x, \quad y_2 = \sin x, \qquad W = \cos^2 x + \sin^2 x = 1, \qquad g(x) = \sec x
u1′=−sin⁡xsec⁡x=−tan⁡x  ⟹  u1=ln⁡∣cos⁡x∣,u2′=cos⁡xsec⁡x=1  ⟹  u2=xu'_1 = -\sin x\sec x = -\tan x \implies u_1 = \ln|\cos x|, \qquad u'_2 = \cos x\sec x = 1 \implies u_2 = x
yp(x)=(cos⁡x)ln⁡∣cos⁡x∣+xsin⁡x(−π2<x<π2)y_p(x) = (\cos x)\ln|\cos x| + x\sin x \qquad (-\tfrac{\pi}{2} < x < \tfrac{\pi}{2})

Unlike Undetermined Coefficients, Variation of Parameters constructs ypy_p directly by quadrature from any g(x)g(x).

4. Cauchy–Euler (Equidimensional) Differential Equations

Equidimensional Form & Power-Law Indicial Equation ($x > 0$)
ax2y′′+bxy′+cy=g(x)(y=xm)  ⟹  a m(m−1)+b m+c=0a x^2 y'' + b x y' + c y = g(x) \quad (y = x^m) \implies a\,m(m - 1) + b\,m + c = 0

Condition:On x<0x < 0, substitute ∣x∣|x| or x=−etx = -e^t; for nonhomogeneous g(x)g(x), reduce via x=etx = e^t or use monic Variation of Parameters with g(x)/(ax2)g(x)/(ax^2).

Logarithmic Reduction ($x = e^t \iff t = \ln x$, $x > 0$)
θ=xddx=ddt:xy′=y˙,x2y′′=y¨−y˙  ⟹  ay¨+(b−a)y˙+cy=g(et)\theta = x\frac{d}{dx} = \frac{d}{dt}: \quad x y' = \dot{y}, \quad x^2 y'' = \ddot{y} - \dot{y} \implies a\ddot{y} + (b - a)\dot{y} + cy = g(e^t)

Transforms any order Cauchy–Euler equation xky(k)=θ(θ−1)⋯(θ−k+1)yx^k y^{(k)} = \theta(\theta-1)\cdots(\theta-k+1)y into a constant-coefficient ODE in t=ln⁡xt = \ln x.

Cauchy–Euler Homogeneous Solution Cases on x > 0

Roots of a m(m − 1) + b m + c = 0Homogeneous Solution y_h(x)Qualitative Behavior as x → 0⁺
Distinct real m1≠m2m_1 \neq m_2C1xm1+C2xm2C_1 x^{m_1} + C_2 x^{m_2}Algebraic growth/decay driven by min⁡(m1,m2)\min(m_1, m_2)
Repeated real m1=m2=mm_1 = m_2 = m(C1+C2ln⁡x) xm(C_1 + C_2 \ln x)\,x^mLogarithmic factor ln⁡x\ln x slows decay or sharpens blowup
Complex conjugates m=α±iβm = \alpha \pm i\betaxα[C1cos⁡(βln⁡x)+C2sin⁡(βln⁡x)]x^{\alpha}\bigl[C_1\cos(\beta\ln x) + C_2\sin(\beta\ln x)\bigr]Infinitely fast log-periodic oscillation squeezing into x=0x = 0

5. Power Series Solutions Around Ordinary & Regular Singular Points

Ordinary Point vs. Regular Singular Point Classification ($y'' + P(x)y' + Q(x)y = 0$)
x0 Ordinary:P,Q analytic at x0;x0 Regular Singular:(x−x0)P(x),  (x−x0)2Q(x) analytic at x0x_0 \text{ Ordinary}: P, Q \text{ analytic at } x_0; \qquad x_0 \text{ Regular Singular}: (x-x_0)P(x),\; (x-x_0)^2 Q(x) \text{ analytic at } x_0

Condition:Always normalize by the leading coefficient a2(x)a_2(x) first so P(x)=a1(x)/a2(x)P(x) = a_1(x)/a_2(x) and Q(x)=a0(x)/a2(x)Q(x) = a_0(x)/a_2(x).

Ordinary Point Power Series Ansatz & Recurrence Relation
y(x)=∑n=0∞an(x−x0)n,y′′(x)=∑n=0∞(n+2)(n+1)an+2(x−x0)ny(x) = \sum_{n=0}^{\infty} a_n (x - x_0)^n, \qquad y''(x) = \sum_{n=0}^{\infty} (n+2)(n+1)a_{n+2}(x - x_0)^n

Two linearly independent solutions are uniquely seeded by a0=y(x0)a_0 = y(x_0) and a1=y′(x0)a_1 = y'(x_0) with guaranteed radius R≥dist⁡(x0,nearest complex singularity)R \ge \operatorname{dist}(x_0, \text{nearest complex singularity}).

Frobenius Method & Indicial Equation ($x_0$ Regular Singular Point)
y(x)=∑n=0∞an(x−x0)n+r,r(r−1)+p0r+q0=0(p0=lim⁡x→x0(x−x0)P,  q0=lim⁡x→x0(x−x0)2Q)y(x) = \sum_{n=0}^{\infty} a_n (x - x_0)^{n + r}, \qquad r(r - 1) + p_0 r + q_0 = 0 \quad \Bigl(p_0 = \lim_{x\to x_0}(x-x_0)P,\; q_0 = \lim_{x\to x_0}(x-x_0)^2 Q\Bigr)

Condition:Let r1≥r2r_1 \ge r_2 be real indicial roots: r1r_1 always generates y1=∣x−x0∣r1∑an(x−x0)ny_1 = |x-x_0|^{r_1}\sum a_n(x-x_0)^n; if r1−r2∉Zr_1 - r_2 \notin \mathbb{Z}, r2r_2 gives y2y_2 directly, while equal/integer differences may introduce a ln⁡∣x−x0∣\ln|x-x_0| term.

Canonical Physics & Engineering Series ODEs

Equation NameStandard FormSingularity at x = 0 & Key Phenomenon
Airy Equationy′′−xy=0y'' - xy = 0Ordinary (R=∞R = \infty); two-term recurrence an+3=an(n+3)(n+2)a_{n+3} = \frac{a_n}{(n+3)(n+2)}
Legendre Equation(1−x2)y′′−2xy′+ℓ(ℓ+1)y=0(1-x^2)y'' - 2xy' + \ell(\ell+1)y = 0Ordinary at 00 with singular poles at ±1\pm 1 (R=1R = 1); truncates to polynomial Pℓ(x)P_\ell(x) when ℓ∈Z≥0\ell \in \mathbb{Z}_{\ge 0}
Hermite Equationy′′−2xy′+2ny=0y'' - 2xy' + 2ny = 0Ordinary (R=∞R = \infty); truncates to Hermite polynomials Hn(x)H_n(x) for integer n≥0n \ge 0
Bessel Equationx2y′′+xy′+(x2−ν2)y=0x^2 y'' + x y' + (x^2 - \nu^2)y = 0Regular singular at 00; indicial equation r2−ν2=0r^2 - \nu^2 = 0 yields Jν(x)J_\nu(x) and Yν(x)Y_\nu(x)

Related Formula Reference Sheets

All Formula Sheets