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 • MODULE 3.1 (ODEs)6 Reference Sections

Ordinary Differential Equations, Inverse Operators & Cauchy–Euler Formulas

First-order linear & Bernoulli equations, exactness factors, Wronskian & Abel identity, constant-coefficient characteristic roots, 1/f(D) operator shortcuts, Variation of Parameters, and Cauchy–Euler reductions.

Mathematical Rigor & Accuracy Notes
  • Monic Normalization for Variation of Parameters: Always rewrite a(x)y′′+b(x)y′+c(x)y=r(x)a(x)y'' + b(x)y' + c(x)y = r(x) into monic form y′′+p(x)y′+q(x)y=g(x)y'' + p(x)y' + q(x)y = g(x) (dividing r(x)r(x) by a(x)a(x)) before inserting g(x)g(x) into u1′=−y2g/Wu_1' = -y_2 g / W and u2′=y1g/Wu_2' = y_1 g / W.
  • Bernoulli Equilibrium Check: Dividing y′+P(x)y=Q(x)yny' + P(x)y = Q(x)y^n (n≠0,1n \neq 0, 1) by yny^n assumes y≠0y \neq 0; when n>0n > 0, test separately whether the trivial curve y≡0y \equiv 0 is an additional solution.
  • Cauchy–Euler Domain Restriction: Substituting x=etx = e^t solves ax2y′′+bxy′+cy=g(x)a x^2 y'' + b x y' + c y = g(x) on x>0x > 0; for x<0x < 0, replace ln⁡x\ln x by ln⁡∣x∣\ln|x| and xmx^m by ∣x∣m|x|^m away from the regular singular point x=0x = 0.

1. First-Order Linear, Bernoulli & Exact Differential Equations

First-Order Linear Standard Form & Integrating Factor
y′+P(x)y=Q(x)  ⟹  μ(x)=e∫P(x) dx,y(x)=1μ(x)(∫μ(x)Q(x) dx+C)y' + P(x)y = Q(x) \implies \mu(x) = e^{\int P(x)\,dx}, \qquad y(x) = \frac{1}{\mu(x)}\left(\int \mu(x)Q(x)\,dx + C\right)

Condition:Valid on any open interval where P(x)P(x) and Q(x)Q(x) are continuous

Bernoulli Nonlinear-to-Linear Reduction
y′+P(x)y=Q(x)yn→v=y1−nv′+(1−n)P(x)v=(1−n)Q(x)y' + P(x)y = Q(x)y^n \xrightarrow{v = y^{1-n}} v' + (1 - n)P(x)v = (1 - n)Q(x)

Condition:n≠0,1n \neq 0, 1; note v′=(1−n)y−ny′v' = (1 - n)y^{-n}y'

Exact Differential Equation Criterion
M(x,y) dx+N(x,y) dy=0 is exact  ⟺  ∂M∂y=∂N∂xM(x, y)\,dx + N(x, y)\,dy = 0 \text{ is exact} \iff \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}

Condition:On a simply connected domain, general solution is F(x,y)=CF(x, y) = C with Fx=M,Fy=NF_x = M, F_y = N

Integrating Factors for Non-Exact M dx + N dy = 0
μ(x)=exp⁡ ⁣(∫My−NxN dx)orμ(y)=exp⁡ ⁣(∫Nx−MyM dy)\mu(x) = \exp\!\left(\int \frac{M_y - N_x}{N}\,dx\right) \quad \text{or} \quad \mu(y) = \exp\!\left(\int \frac{N_x - M_y}{M}\,dy\right)

Condition:First applies when (My−Nx)/N(M_y - N_x)/N depends solely on xx; second when (Nx−My)/M(N_x - M_y)/M depends solely on yy

2. Linear Independence, Wronskian & Abel's Identity

Wronskian Determinant (2nd Order)
W(y1,y2)(x)=∣y1(x)y2(x)y1′(x)y2′(x)∣=y1(x)y2′(x)−y2(x)y1′(x)W(y_1, y_2)(x) = \begin{vmatrix} y_1(x) & y_2(x) \\ y_1'(x) & y_2'(x) \end{vmatrix} = y_1(x)y_2'(x) - y_2(x)y_1'(x)

Geometric meaning: signed area of the parallelogram formed by state vectors ⟨y1,y1′⟩\langle y_1, y_1' \rangle and ⟨y2,y2′⟩\langle y_2, y_2' \rangle.

Abel's Identity
y′′+p(x)y′+q(x)y=0  ⟹  W(x)=W(x0) e−∫x0xp(t) dty'' + p(x)y' + q(x)y = 0 \implies W(x) = W(x_0)\,e^{-\int_{x_0}^{x} p(t)\,dt}

Condition:On any interval where p,qp, q are continuous, WW is either nowhere 00 or identically 00

Reduction of Order Formula
y2(x)=y1(x)∫e−∫p(x) dx[y1(x)]2 dxy_2(x) = y_1(x) \int \frac{e^{-\int p(x)\,dx}}{\bigl[y_1(x)\bigr]^2}\,dx

Condition:Given one non-vanishing homogeneous solution y1(x)y_1(x) to monic y′′+py′+qy=0y'' + p y' + q y = 0

3. Homogeneous Constant-Coefficient Equations (ay'' + by' + cy = 0)

Characteristic Auxiliary Equation
ar2+br+c=0,r=−b±b2−4ac2aa r^2 + b r + c = 0, \qquad r = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Complementary Solution y_c(x) by Discriminant Δ = b² − 4ac

Discriminant Δ\DeltaRoot TypeComplementary Solution yc(x)y_c(x)
Δ>0\Delta > 0Distinct real roots r1≠r2r_1 \neq r_2C1er1x+C2er2xC_1 e^{r_1 x} + C_2 e^{r_2 x}
Δ=0\Delta = 0Repeated real root r1=r2=rr_1 = r_2 = r(C1+C2x)erx(C_1 + C_2 x) e^{rx}
Δ<0\Delta < 0Complex conjugates r=α±iβr = \alpha \pm i\beta (β>0\beta > 0)eαx(C1cos⁡βx+C2sin⁡βx)e^{\alpha x}\bigl(C_1 \cos\beta x + C_2 \sin\beta x\bigr)

4. Inverse Differential Operator 1 / f(D) Method for y_p

Let D=ddxD = \frac{d}{dx} and assume constant coefficients f(D)y=g(x)f(D)y = g(x), so yp=1f(D)g(x)y_p = \frac{1}{f(D)}g(x).

Exponential Rule
1f(D)eax=1f(a)eax(f(a)≠0);1(D−a)k(eax)=xkk!eax\frac{1}{f(D)}e^{ax} = \frac{1}{f(a)}e^{ax} \quad (f(a) \neq 0); \qquad \frac{1}{(D - a)^k}\bigl(e^{ax}\bigr) = \frac{x^k}{k!}e^{ax}

Condition:If f(a)=0f(a) = 0 with f(D)=(D−a)kϕ(D)f(D) = (D - a)^k \phi(D) and ϕ(a)≠0\phi(a) \neq 0, evaluate 1/ϕ(a)1/\phi(a) first then apply xk/k!x^k/k!

Sine & Cosine Rule (Non-Resonant)
1F(D2)sin⁡(ax+b)=1F(−a2)sin⁡(ax+b),1F(D2)cos⁡(ax+b)=1F(−a2)cos⁡(ax+b)\frac{1}{F(D^2)}\sin(ax + b) = \frac{1}{F(-a^2)}\sin(ax + b), \qquad \frac{1}{F(D^2)}\cos(ax + b) = \frac{1}{F(-a^2)}\cos(ax + b)

Condition:Replace D2↦−a2D^2 \mapsto -a^2 provided F(−a2)≠0F(-a^2) \neq 0

Sine & Cosine Resonance Rescue
1D2+a2sin⁡(ax)=−x2acos⁡(ax),1D2+a2cos⁡(ax)=x2asin⁡(ax)\frac{1}{D^2 + a^2}\sin(ax) = -\frac{x}{2a}\cos(ax), \qquad \frac{1}{D^2 + a^2}\cos(ax) = \frac{x}{2a}\sin(ax)

Condition:Used when D2=−a2D^2 = -a^2 makes the denominator zero (a≠0a \neq 0)

Polynomial Expansion Rule
1f(D)(xm)=[1+ψ(D)]−1(xm)=(1−ψ(D)+ψ(D)2−⋯ )xm\frac{1}{f(D)}\bigl(x^m\bigr) = \bigl[1 + \psi(D)\bigr]^{-1}(x^m) = \bigl(1 - \psi(D) + \psi(D)^2 - \cdots\bigr)x^m

Condition:Factor out the lowest power of DD, expand in ascending powers of DD up to DmD^m since Dk(xm)=0D^{k}(x^m) = 0 for k>mk > m

Exponential Shift Theorem
1f(D)[eaxV(x)]=eax 1f(D+a)V(x)\frac{1}{f(D)}\bigl[e^{ax} V(x)\bigr] = e^{ax}\,\frac{1}{f(D + a)}V(x)

Pulls eaxe^{ax} left past the operator while shifting D↦D+aD \mapsto D + a.

Product x · V(x) Operator Identity
1f(D)[x V(x)]=x 1f(D)V(x)−f′(D)[f(D)]2V(x)\frac{1}{f(D)}\bigl[x\,V(x)\bigr] = x\,\frac{1}{f(D)}V(x) - \frac{f'(D)}{\bigl[f(D)\bigr]^2}V(x)

Equivalently take Im⁡\operatorname{Im} or Re⁡\operatorname{Re} of 1f(D)[xeiax]\frac{1}{f(D)}[x e^{iax}] after applying Exponential Shift.

5. Variation of Parameters (General Forcing g(x))

Particular Integral Representation
y′′+p(x)y′+q(x)y=g(x)  ⟹  yp(x)=u1(x)y1(x)+u2(x)y2(x)y'' + p(x)y' + q(x)y = g(x) \implies y_p(x) = u_1(x)y_1(x) + u_2(x)y_2(x)

Condition:y1,y2y_1, y_2 form a fundamental set of solutions to the homogeneous equation with W=W(y1,y2)≠0W = W(y_1, y_2) \neq 0

Parameter Rate Equations
u1′(x)=−y2(x) g(x)W(y1,y2)(x),u2′(x)=y1(x) g(x)W(y1,y2)(x)u_1'(x) = -\frac{y_2(x)\,g(x)}{W(y_1, y_2)(x)}, \qquad u_2'(x) = \frac{y_1(x)\,g(x)}{W(y_1, y_2)(x)}

Integrate u1′u_1' and u2′u_2' without extra arbitrary constants (those already live in yc=C1y1+C2y2y_c = C_1 y_1 + C_2 y_2).

Worked Example: Non-Exponential Forcing y'' + y = sec(x)

y1=cos⁡x,y2=sin⁡x,W=cos⁡2x+sin⁡2x=1,g(x)=sec⁡xy_1 = \cos x, \quad y_2 = \sin x, \quad W = \cos^2 x + \sin^2 x = 1, \quad 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⁡xon (−π2,π2)y_p(x) = \cos(x)\ln|\cos x| + x\sin x \quad \text{on } \left(-\frac{\pi}{2}, \frac{\pi}{2}\right)

Variation of Parameters works for any continuous g(x)g(x) (such as sec⁡x\sec x, tan⁡x\tan x, or ln⁡x\ln x) where 1/f(D)1/f(D) and undetermined coefficients fail.

6. Cauchy–Euler (Equidimensional) Equations & Log Pullback

Standard Second-Order Cauchy–Euler Equation
ax2y′′+bxy′+cy=g(x)(x>0)a x^2 y'' + b x y' + c y = g(x) \qquad (x > 0)
Logarithmic Change of Variable x = e^t (t = ln x)
θ:=xddx=ddt  ⟹  xy′=θy,x2y′′=θ(θ−1)y,x3y′′′=θ(θ−1)(θ−2)y\theta := x\frac{d}{dx} = \frac{d}{dt} \implies x y' = \theta y, \quad x^2 y'' = \theta(\theta - 1)y, \quad x^3 y''' = \theta(\theta - 1)(\theta - 2)y

Condition:Turns ax2y′′+bxy′+cy=g(x)a x^2 y'' + b x y' + c y = g(x) into [aθ(θ−1)+bθ+c]y=g(et)[a\theta(\theta - 1) + b\theta + c]y = g(e^t)

Cauchy–Euler Homogeneous Basis Solutions (am² + (b − a)m + c = 0, x > 0)

Auxiliary Root CaseHomogeneous Solution yc(x)y_c(x)Extension for x<0x < 0
Distinct real m1≠m2m_1 \neq m_2C1xm1+C2xm2C_1 x^{m_1} + C_2 x^{m_2}Replace xx with ∣x∣|x|
Repeated real m1=m2=mm_1 = m_2 = mxm(C1+C2ln⁡x)x^m (C_1 + C_2 \ln x)Replace ln⁡x\ln x with ln⁡∣x∣\ln|x|, xmx^m with ∣x∣m|x|^m
Complex α±iβ\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)Replace xx with ∣x∣|x|

Related Formula Reference Sheets

All Formula Sheets