Skip to content

Classify the ODE y"′+xy′+exy=cos⁡xy"' + xy' + e^x y = \cos x by order, linearity, and homogeneity.

Solution

Solution. Second-order (highest derivative is y′′y''), linear (yy, y′y', y′′y'' appear linearly With coefficient functions of xx only), nonhomogeneous (cos⁡x≠0\cos x \neq 0). ■\blacksquare

If you get this wrong, revise: Section 1.2 (Classification of ODEs).

Solve dydx=xy\frac{dy}{dx} = \frac{x}{y}, y(0)=2y(0) = 2.

Solution

Solution. Separating: y dy=x dxy\, dy = x\, dx. Integrating: y22=x22+C\frac{y^2}{2} = \frac{x^2}{2} + C.

y(0)=2  ⟹  C=2y(0) = 2 \implies C = 2So y2=x2+4y^2 = x^2 + 4Giving y=x2+4y = \sqrt{x^2 + 4} (positive branch Since y(0)=2>0y(0) = 2 > 0). ■\blacksquare

If you get this wrong, revise: Section 2.1 (Separable Equations).

Solve y′+yx=x2y' + \frac{y}{x} = x^2 for x>0x > 0, y(1)=1y(1) = 1.

Solution

Solution. P(x)=1/xP(x) = 1/x, Q(x)=x2Q(x) = x^2.

μ(x)=e∫1/x dx=eln⁡x=x\mu(x) = e^{\int 1/x\, dx} = e^{\ln x} = x.

y=x−1(∫x⋅x2 dx+C)=x−1(x44+C)=x34+Cxy = x^{-1}\left(\int x \cdot x^2\, dx + C\right) = x^{-1}\left(\frac{x^4}{4} + C\right) = \frac{x^3}{4} + \frac{C}{x}.

y(1)=1/4+C=1  ⟹  C=3/4y(1) = 1/4 + C = 1 \implies C = 3/4.

y=x34+34xy = \frac{x^3}{4} + \frac{3}{4x}. ■\blacksquare

If you get this wrong, revise: Section 2.2 (Linear First-Order Equations).

Solve (2x+y) dx+(x+2y) dy=0(2x + y)\, dx + (x + 2y)\, dy = 0.

Solution

Solution. M=2x+yM = 2x + y, N=x+2yN = x + 2y. My=1=NxM_y = 1 = N_x. Exact.

Ψx=2x+y  ⟹  Ψ=x2+xy+h(y)\Psi_x = 2x + y \implies \Psi = x^2 + xy + h(y).

Ψy=x+h′(y)=x+2y  ⟹  h′(y)=2y  ⟹  h(y)=y2\Psi_y = x + h'(y) = x + 2y \implies h'(y) = 2y \implies h(y) = y^2.

Solution: x2+xy+y2=Cx^2 + xy + y^2 = C. ■\blacksquare

If you get this wrong, revise: Section 2.4 (Exact Equations).

Solve y′−y=xy2y' - y = xy^2.

Solution

Solution. This is Bernoulli with n=2n = 2, P(x)=−1P(x) = -1, Q(x)=xQ(x) = x.

Substitution v=y−1v = y^{-1}: v′=−y−2y′v' = -y^{-2}y'So −v′−v=x-v' - v = xI.e., v′+v=−xv' + v = -x.

Integrating factor: exe^x. (vex)′=−xex(ve^x)' = -xe^x.

vex=−xex+ex+C=ex(1−x)+Cve^x = -xe^x + e^x + C = e^x(1 - x) + C.

v=1−x+Ce−xv = 1 - x + Ce^{-x}So y=11−x+Ce−xy = \frac{1}{1 - x + Ce^{-x}}. ■\blacksquare

If you get this wrong, revise: Section 2.7 (Bernoulli Equations).

Solve y′=x+yx−yy' = \frac{x + y}{x - y} using the substitution y=vxy = vx.

Solution

Solution. y=vx  ⟹  y′=v+xv′y = vx \implies y' = v + xv'.

x+vxx−vx=1+v1−v\frac{x + vx}{x - vx} = \frac{1 + v}{1 - v}.

v+xv′=1+v1−vv + xv' = \frac{1 + v}{1 - v}

xv′=1+v1−v−v=1+v−v+v21−v=1+v21−vxv' = \frac{1 + v}{1 - v} - v = \frac{1 + v - v + v^2}{1 - v} = \frac{1 + v^2}{1 - v}

1−v1+v2 dv=dxx\frac{1 - v}{1 + v^2}\, dv = \frac{dx}{x}

∫11+v2 dv−∫v1+v2 dv=ln⁡∣x∣+C\int \frac{1}{1 + v^2}\, dv - \int \frac{v}{1 + v^2}\, dv = \ln|x| + C

arctan⁡v−12ln⁡(1+v2)=ln⁡∣x∣+C\arctan v - \frac{1}{2}\ln(1 + v^2) = \ln|x| + C

arctan⁡(y/x)−12ln⁡(1+y2/x2)=ln⁡∣x∣+C\arctan(y/x) - \frac{1}{2}\ln(1 + y^2/x^2) = \ln|x| + C

arctan⁡(y/x)=12ln⁡(x2+y2)+C\arctan(y/x) = \frac{1}{2}\ln(x^2 + y^2) + C. ■\blacksquare

If you get this wrong, revise: Section 2.10 (Homogeneous Equations).

Solve y′′+4y′+13y=0y'' + 4y' + 13y = 0, y(0)=2y(0) = 2, y′(0)=−3y'(0) = -3.

Solution

Solution. Characteristic equation: r2+4r+13=0r^2 + 4r + 13 = 0.

r=−4±16−522=−4±−362=−2±3ir = \frac{-4 \pm \sqrt{16 - 52}}{2} = \frac{-4 \pm \sqrt{-36}}{2} = -2 \pm 3i.

y=e−2x(c1cos⁡3x+c2sin⁡3x)y = e^{-2x}(c_1 \cos 3x + c_2 \sin 3x).

y(0)=c1=2y(0) = c_1 = 2.

y′=−2e−2x(2cos⁡3x+c2sin⁡3x)+e−2x(−6sin⁡3x+3c2cos⁡3x)y' = -2e^{-2x}(2\cos 3x + c_2 \sin 3x) + e^{-2x}(-6\sin 3x + 3c_2 \cos 3x).

y′(0)=−4+3c2=−3  ⟹  c2=1/3y'(0) = -4 + 3c_2 = -3 \implies c_2 = 1/3.

y=e−2x(2cos⁡3x+13sin⁡3x)y = e^{-2x}\left(2\cos 3x + \frac{1}{3}\sin 3x\right). ■\blacksquare

If you get this wrong, revise: Section 3.2 (Homogeneous Equations with Constant Coefficients).

Solve y′′+4y′+4y=0y'' + 4y' + 4y = 0, y(0)=1y(0) = 1, y′(0)=0y'(0) = 0.

Solution

Solution. r2+4r+4=(r+2)2=0r^2 + 4r + 4 = (r + 2)^2 = 0. Repeated root r=−2r = -2.

y=c1e−2x+c2xe−2xy = c_1 e^{-2x} + c_2 xe^{-2x}.

y(0)=c1=1y(0) = c_1 = 1.

y′=−2e−2x+c2e−2x−2c2xe−2xy' = -2e^{-2x} + c_2 e^{-2x} - 2c_2 xe^{-2x}.

y′(0)=−2+c2=0  ⟹  c2=2y'(0) = -2 + c_2 = 0 \implies c_2 = 2.

y=e−2x+2xe−2x=e−2x(1+2x)y = e^{-2x} + 2xe^{-2x} = e^{-2x}(1 + 2x). ■\blacksquare

If you get this wrong, revise: Section 3.2, Case 2.

Solve y′′−2y′−3y=3e2xy'' - 2y' - 3y = 3e^{2x}, y(0)=1y(0) = 1, y′(0)=0y'(0) = 0.

Solution

Solution. Homogeneous: r2−2r−3=(r−3)(r+1)=0r^2 - 2r - 3 = (r - 3)(r + 1) = 0. Roots: 3,−13, -1.

yh=c1e3x+c2e−xy_h = c_1 e^{3x} + c_2 e^{-x}.

Guess yp=Ae2xy_p = Ae^{2x}. yp′=2Ae2xy_p' = 2Ae^{2x}, yp′′=4Ae2xy_p'' = 4Ae^{2x}.

4Ae2x−4Ae2x−3Ae2x=3e2x  ⟹  −3A=3  ⟹  A=−14Ae^{2x} - 4Ae^{2x} - 3Ae^{2x} = 3e^{2x} \implies -3A = 3 \implies A = -1.

y=c1e3x+c2e−x−e2xy = c_1 e^{3x} + c_2 e^{-x} - e^{2x}.

y(0)=c1+c2−1=1  ⟹  c1+c2=2y(0) = c_1 + c_2 - 1 = 1 \implies c_1 + c_2 = 2.

y′(0)=3c1−c2−2=0  ⟹  3c1−c2=2y'(0) = 3c_1 - c_2 - 2 = 0 \implies 3c_1 - c_2 = 2.

Solving: 4c1=4  ⟹  c1=14c_1 = 4 \implies c_1 = 1, c2=1c_2 = 1.

y=e3x+e−x−e2xy = e^{3x} + e^{-x} - e^{2x}. ■\blacksquare

If you get this wrong, revise: Section 3.6 (Undetermined Coefficients).

Solve y′′+4y=8cos⁡(2t)y'' + 4y = 8\cos(2t), y(0)=0y(0) = 0, y′(0)=0y'(0) = 0.

Solution

Solution. This is resonant (ω0=2=ω\omega_0 = 2 = \omega).

yh=c1cos⁡2t+c2sin⁡2ty_h = c_1 \cos 2t + c_2 \sin 2t.

Guess yp=Atsin⁡2ty_p = At\sin 2t. yp′=Asin⁡2t+2Atcos⁡2ty_p' = A\sin 2t + 2At\cos 2t. yp′′=2Acos⁡2t+2Acos⁡2t−4Atsin⁡2t=4Acos⁡2t−4Atsin⁡2ty_p'' = 2A\cos 2t + 2A\cos 2t - 4At\sin 2t = 4A\cos 2t - 4At\sin 2t.

yp′′+4yp=4Acos⁡2t=8cos⁡2t  ⟹  A=2y_p'' + 4y_p = 4A\cos 2t = 8\cos 2t \implies A = 2.

y=c1cos⁡2t+c2sin⁡2t+2tsin⁡2ty = c_1 \cos 2t + c_2 \sin 2t + 2t\sin 2t.

y(0)=c1=0y(0) = c_1 = 0. y′(0)=2c2=0  ⟹  c2=0y'(0) = 2c_2 = 0 \implies c_2 = 0.

y=2tsin⁡2ty = 2t\sin 2t. ■\blacksquare

If you get this wrong, revise: Section 3.9 (Resonance).

Given that y1=xy_1 = x solves x2y′′−xy′+y=0x^2 y'' - xy' + y = 0 for x>0x > 0Find the general solution.

Solution

Solution. Rewrite as y′′−1xy′+1x2y=0y'' - \frac{1}{x}y' + \frac{1}{x^2}y = 0. Here p(x)=−1/xp(x) = -1/x.

e−∫p dx=e∫1/x dx=xe^{-\int p\, dx} = e^{\int 1/x\, dx} = x.

y2=y1∫xy12 dx=x∫xx2 dx=x∫1x dx=xln⁡xy_2 = y_1 \int \frac{x}{y_1^2}\, dx = x \int \frac{x}{x^2}\, dx = x \int \frac{1}{x}\, dx = x \ln x.

y=c1x+c2xln⁡xy = c_1 x + c_2 x \ln x. ■\blacksquare

If you get this wrong, revise: Section 3.12 (Reduction of Order).

Solve x2y′′+3xy′+y=0x^2 y'' + 3xy' + y = 0 for x>0x > 0.

Solution

Solution. Characteristic: r(r−1)+3r+1=r2+2r+1=(r+1)2=0r(r-1) + 3r + 1 = r^2 + 2r + 1 = (r+1)^2 = 0.

Repeated root r=−1r = -1.

y=c1x−1+c2x−1ln⁡xy = c_1 x^{-1} + c_2 x^{-1}\ln x. ■\blacksquare

If you get this wrong, revise: Section 3.13 (Euler-Cauchy Equations).

Solve x′=(141−2)x\mathbf{x}' = \begin{pmatrix} 1 & 4 \\ 1 & -2 \end{pmatrix}\mathbf{x}.

Solution

Solution. det⁡(A−λI)=(1−λ)(−2−λ)−4=λ2+λ−6=(λ+3)(λ−2)=0\det(A - \lambda I) = (1 - \lambda)(-2 - \lambda) - 4 = \lambda^2 + \lambda - 6 = (\lambda + 3)(\lambda - 2) = 0.

λ1=2\lambda_1 = 2: (A−2I)v=(−141−4)v=0(A - 2I)\mathbf{v} = \begin{pmatrix} -1 & 4 \\ 1 & -4 \end{pmatrix}\mathbf{v} = \mathbf{0}. v1=(41)\mathbf{v}_1 = \begin{pmatrix} 4 \\ 1 \end{pmatrix}.

λ2=−3\lambda_2 = -3: (A+3I)v=(4411)v=0(A + 3I)\mathbf{v} = \begin{pmatrix} 4 & 4 \\ 1 & 1 \end{pmatrix}\mathbf{v} = \mathbf{0}. v2=(1−1)\mathbf{v}_2 = \begin{pmatrix} 1 \\ -1 \end{pmatrix}.

x(t)=c1(41)e2t+c2(1−1)e−3t\mathbf{x}(t) = c_1 \begin{pmatrix} 4 \\ 1 \end{pmatrix} e^{2t} + c_2 \begin{pmatrix} 1 \\ -1 \end{pmatrix} e^{-3t}. ■\blacksquare

If you get this wrong, revise: Section 4.2 (Homogeneous Systems with Constant Coefficients).

Problem 14 (System with Complex Eigenvalues)

Section titled “Problem 14 (System with Complex Eigenvalues)”

Solve x′=(0−110)x\mathbf{x}' = \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}\mathbf{x}.

Solution

Solution. det⁡(A−λI)=λ2+1=0\det(A - \lambda I) = \lambda^2 + 1 = 0. λ=±i\lambda = \pm i.

For λ=i\lambda = i: (−i−11−i)v=0\begin{pmatrix} -i & -1 \\ 1 & -i \end{pmatrix}\mathbf{v} = \mathbf{0}. −iv1−v2=0  ⟹  v2=−iv1-iv_1 - v_2 = 0 \implies v_2 = -iv_1. With v1=1v_1 = 1: v=(1−i)=(10)+i(0−1)\mathbf{v} = \begin{pmatrix} 1 \\ -i \end{pmatrix} = \begin{pmatrix} 1 \\ 0 \end{pmatrix} + i\begin{pmatrix} 0 \\ -1 \end{pmatrix}.

a=(10)\mathbf{a} = \begin{pmatrix} 1 \\ 0 \end{pmatrix}, b=(0−1)\mathbf{b} = \begin{pmatrix} 0 \\ -1 \end{pmatrix}.

x(t)=c1(cos⁡t−sin⁡t)+c2(sin⁡tcos⁡t)\mathbf{x}(t) = c_1 \begin{pmatrix} \cos t \\ -\sin t \end{pmatrix} + c_2 \begin{pmatrix} \sin t \\ \cos t \end{pmatrix}.

Equivalently: x1(t)=c1cos⁡t+c2sin⁡tx_1(t) = c_1 \cos t + c_2 \sin t, x2(t)=−c1sin⁡t+c2cos⁡tx_2(t) = -c_1 \sin t + c_2 \cos t. ■\blacksquare

If you get this wrong, revise: Section 4.2, Case 3.

Compute L{t2e−3t}\mathcal{L}\{t^2 e^{-3t}\}.

Solution

Solution. Using L{tneat}=n!(s−a)n+1\mathcal{L}\{t^n e^{at}\} = \frac{n!}{(s-a)^{n+1}} with n=2n = 2, a=−3a = -3:

L{t2e−3t}=2!(s+3)3=2(s+3)3\mathcal{L}\{t^2 e^{-3t}\} = \frac{2!}{(s + 3)^3} = \frac{2}{(s+3)^3}. ■\blacksquare

If you get this wrong, revise: Section 5.2 (Basic Properties) and Section 5.4 (Common Transforms).

Solve y′′−y=ety'' - y = e^t, y(0)=0y(0) = 0, y′(0)=0y'(0) = 0 using Laplace transforms.

Solution

Solution. L{y′−L{y}=L{et}{\mathcal{L}\{y'} - \mathcal{L}\{y\} = \mathcal{L}\{e^t\}:

s2Y−Y=1s−1s^2 Y - Y = \frac{1}{s - 1}

(s2−1)Y=1s−1(s^2 - 1)Y = \frac{1}{s-1}

(s−1)(s+1)Y=1s−1(s-1)(s+1)Y = \frac{1}{s-1}

Y=1(s−1)2(s+1)Y = \frac{1}{(s-1)^2(s+1)}

Partial fractions: 1(s−1)2(s+1)=As−1+B(s−1)2+Cs+1\frac{1}{(s-1)^2(s+1)} = \frac{A}{s-1} + \frac{B}{(s-1)^2} + \frac{C}{s+1}.

1=A(s−1)(s+1)+B(s+1)+C(s−1)21 = A(s-1)(s+1) + B(s+1) + C(s-1)^2

s=1s = 1: 1=2B  ⟹  B=1/21 = 2B \implies B = 1/2. s=−1s = -1: 1=4C  ⟹  C=1/41 = 4C \implies C = 1/4. s=0s = 0: 1=−A+B+C=−A+3/4  ⟹  A=−1/41 = -A + B + C = -A + 3/4 \implies A = -1/4.

Y=−1/4s−1+1/2(s−1)2+1/4s+1Y = -\frac{1/4}{s-1} + \frac{1/2}{(s-1)^2} + \frac{1/4}{s+1}

y(t)=−14et+12tet+14e−ty(t) = -\frac{1}{4}e^t + \frac{1}{2}te^t + \frac{1}{4}e^{-t}. ■\blacksquare

If you get this wrong, revise: Section 5.5 (Solving IVPs with Laplace Transforms).

Find L−1{2s+3s2+2s+5}\mathcal{L}^{-1}\left\{\frac{2s + 3}{s^2 + 2s + 5}\right\}.

Solution

Solution. Complete the square: s2+2s+5=(s+1)2+4s^2 + 2s + 5 = (s + 1)^2 + 4.

2s+3(s+1)2+4=2(s+1)+1(s+1)2+4=2⋅s+1(s+1)2+4+12⋅2(s+1)2+4\frac{2s + 3}{(s+1)^2 + 4} = \frac{2(s+1) + 1}{(s+1)^2 + 4} = 2 \cdot \frac{s+1}{(s+1)^2 + 4} + \frac{1}{2} \cdot \frac{2}{(s+1)^2 + 4}

f(t)=2e−tcos⁡2t+12e−tsin⁡2t=e−t(2cos⁡2t+12sin⁡2t)f(t) = 2e^{-t}\cos 2t + \frac{1}{2}e^{-t}\sin 2t = e^{-t}\left(2\cos 2t + \frac{1}{2}\sin 2t\right). ■\blacksquare

If you get this wrong, revise: Section 5.8 (Worked Example: Inverse Laplace Transform).

Find the Fourier series of f(x)={10<x<π−1−π<x<0f(x) = \begin{cases} 1 & 0 \lt x \lt \pi \\ -1 & -\pi \lt x \lt 0 \end{cases} Extended 2π2\pi-periodically (the square wave).

Solution

Solution. ff is odd, so an=0a_n = 0 for all nn.

bn=1π∫−ππf(x)sin⁡(nx) dx=1π[∫−π0(−1)sin⁡(nx) dx+∫0π(1)sin⁡(nx) dx]b_n = \frac{1}{\pi}\int_{-\pi}^{\pi} f(x)\sin(nx)\, dx = \frac{1}{\pi}\left[\int_{-\pi}^{0}(-1)\sin(nx)\, dx + \int_0^{\pi}(1)\sin(nx)\, dx\right]

=1π[cos⁡(nx)n∣−π0−cos⁡(nx)n∣0π]= \frac{1}{\pi}\left[\frac{\cos(nx)}{n}\Big|_{-\pi}^0 - \frac{\cos(nx)}{n}\Big|_0^{\pi}\right]

=1π[1−cos⁡(nπ)n−cos⁡(nπ)−1n]=1π[2−2cos⁡(nπ)n]=2(1−(−1)n)nπ= \frac{1}{\pi}\left[\frac{1 - \cos(n\pi)}{n} - \frac{\cos(n\pi) - 1}{n}\right] = \frac{1}{\pi}\left[\frac{2 - 2\cos(n\pi)}{n}\right] = \frac{2(1 - (-1)^n)}{n\pi}

For even nn: bn=0b_n = 0. For odd n=2k+1n = 2k + 1: bn=4nπb_n = \frac{4}{n\pi}.

f(x)∼4π∑k=0∞sin⁡((2k+1)x)2k+1f(x) \sim \frac{4}{\pi}\sum_{k=0}^{\infty} \frac{\sin((2k+1)x)}{2k+1}. ■\blacksquare

If you get this wrong, revise: Section 7.1 and 7.6 (Fourier Series).

Solve ut=4uxxu_t = 4u_{xx} for 0<x<π0 \lt x \lt \pi, t>0t > 0With u(0,t)=u(π,t)=0u(0, t) = u(\pi, t) = 0 and u(x,0)=sin⁡xu(x, 0) = \sin x.

Solution

Solution. Here α=2\alpha = 2 and L=πL = \pi.

λn=(nπ/π)2=n2\lambda_n = (n\pi/\pi)^2 = n^2, Xn=sin⁡(nx)X_n = \sin(nx), Tn=e−4n2tT_n = e^{-4n^2 t}.

The initial condition sin⁡x\sin x is already the first sine mode.

u(x,t)=e−4tsin⁡xu(x, t) = e^{-4t}\sin x. ■\blacksquare

If you get this wrong, revise: Section 8.4 (Solving the Heat Equation by Separation of Variables).

Find and classify the critical points of x′=y−x2x' = y - x^2, y′=x−y2y' = x - y^2.

Solution

Solution. Set y−x2=0y - x^2 = 0 and x−y2=0x - y^2 = 0. From the first equation y=x2y = x^2Substituting Into the second: x−x4=0x - x^4 = 0So x(1−x3)=0x(1 - x^3) = 0.

x=0  ⟹  y=0x = 0 \implies y = 0. Critical point: (0,0)(0, 0). x=1  ⟹  y=1x = 1 \implies y = 1. Critical point: (1,1)(1, 1).

Jacobian: J=(−2x11−2y)J = \begin{pmatrix} -2x & 1 \\ 1 & -2y \end{pmatrix}.

At (0,0)(0, 0): J=(0110)J = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}. tr(J)=0\mathrm{tr}(J) = 0, det⁡(J)=−1<0\det(J) = -1 \lt 0. Saddle point (unstable).

At (1,1)(1, 1): J=(−211−2)J = \begin{pmatrix} -2 & 1 \\ 1 & -2 \end{pmatrix}. tr(J)=−4<0\mathrm{tr}(J) = -4 \lt 0, det⁡(J)=3>0\det(J) = 3 > 0. τ2−4Δ=16−12=4>0\tau^2 - 4\Delta = 16 - 12 = 4 > 0. Two distinct negative real eigenvalues. Stable node (asymptotically stable). ■\blacksquare

If you get this wrong, revise: Section 9.2 (Linearization and Stability) and Section 4.9 (Phase Portrait Analysis).

Problem. Solve y′′−5y′+6y=0y'' - 5y' + 6y = 0.

Solution. Characteristic equation: r2−5r+6=(r−2)(r−3)=0r^2 - 5r + 6 = (r-2)(r-3) = 0. Roots: r=2,3r = 2, 3.

General solution: y=Ae2x+Be3xy = Ae^{2x} + Be^{3x}.

■\blacksquare

Problem. Solve y′′−5y′+6y=exy'' - 5y' + 6y = e^x.

Solution. Complementary function (from above): yc=Ae2x+Be3xy_c = Ae^{2x} + Be^{3x}.

Particular integral: try yp=Cexy_p = Ce^x. Substituting: Cex−5Cex+6Cex=2Cex=ex  ⟹  C=1/2Ce^x - 5Ce^x + 6Ce^x = 2Ce^x = e^x \implies C = 1/2.

General solution: y=Ae2x+Be3x+12exy = Ae^{2x} + Be^{3x} + \frac{1}{2}e^x.

■\blacksquare

  • Confusing homogeneous and non-homogeneous ODEs. Homogeneous: f(x,y,y′)=0f(x, y, y') = 0 with no forcing term. Non-homogeneous: has a forcing function. Fix: For non-homogeneous linear ODEs: general solution = complementary function + particular integral.
  • Wrong particular integral guess. The guess for the particular integral must not overlap with the complementary function. Fix: If the guess overlaps, multiply by xx (or x2x^2 for double roots).
  • Confusing order and degree. Order: highest derivative present. Degree: power of the highest derivative after removing radicals and fractions. Fix: y′′+3y′+2y=0y'' + 3y' + 2y = 0: order 2, degree 1.
  • First-order separable: dydx=f(x)g(y)  ⟹  ∫dyg(y)=∫f(x) dx\frac{dy}{dx} = f(x)g(y) \implies \int \frac{dy}{g(y)} = \int f(x)\, dx.
  • Second-order linear homogeneous: characteristic equation ar2+br+c=0ar^2 + br + c = 0.
  • Non-homogeneous: y=yc+ypy = y_c + y_p (complementary + particular integral).
  • Initial/boundary conditions determine the arbitrary constants.
TopicSiteLink
[Differential Equations]A-LevelView
[Differential Equations]IBView
[Differential Equations]UniversityView