Top Banner Ad

AAS203B — Unit 1: Differential Equations

Table of Contents (24 sections)

AAS203B · Multivariable Calculus and Numerical Methods · Unit 1

Differential Equations

Unit Scope & Exam Weightage: This unit solves linear differential equations with constant coefficients, Cauchy–Euler equations, and variable-coefficient equations by variation of parameters, together with change of independent variable and normal form. For mechanical engineers these operators model a spring–mass–damper system, heat conduction in machine components and mechanical control systems. The attached PYQs contain 10 clusters: six 7-mark problems and four 2-mark short problems.


Front Page: Importance-Wise Topic Roadmap (2023–26 PYQs)

Priority Topic (Exact Syllabus) PYQs Asked Marks Weightage Tag
1 Linear differential equation of nth order with constant coefficients 7 (2024-25 ×4, 2023-24 ×3) 7m ×4 + 2m ×3 Survival Mode Numerical
2 solution of second order linear differential equations with variable coefficient by the method of variation of parameters 2 (2023-24 ×2) 7m + 2m Core Derivation
3 CauchyEuler equation 1 (2024-25) 7m High-Yield Numerical
4 change of independent variable integrated in #3 — Supporting Step
5 normal form integrated in #2 — Supporting Step
6 Applications : Spring-mass-damper system modeling 0 direct — ME Context
7 Heat conduction in machine components 0 direct — ME Context
8 Mechanical control system modeling 0 direct — ME Context

2-Hour Last-Night Survival Checklist:

  1. Auxiliary equation first: for f(D)y=Rf(D)y=R, solve f(m)=0f(m)=0 for CF; distinguish real distinct, repeated and complex roots.
  2. PI rules: eax/f(a)e^{ax}/f(a), resonance xreax/r!x^re^{ax}/r!, sin⁡ax/f(−a2)\sin ax/f(-a^2), and 1D2+a2sin⁡ax=−x2acos⁡ax\frac{1}{D^2+a^2}\sin ax=-\frac{x}{2a}\cos ax.
  3. Simultaneous equations: eliminate one dependent variable to obtain a single higher-order equation, or use eigenvalues for first-order systems.
  4. Cauchy–Euler: set x=ezx=e^z; then xD=DzxD=D_z and x2D2=Dz(Dz−1)x^2D^2=D_z(D_z-1).
  5. ME bridge: mx¨+cx˙+kx=F(t)m\ddot x+c\dot x+kx=F(t) is a constant-coefficient equation; its roots decide whether a machine vibration decays, oscillates or grows.

1. Linear Differential Equation of nth Order with Constant Coefficients

An equation any(n)+⋯+a1y′+a0y=R(x)a_ny^{(n)}+\cdots+a_1y'+a_0y=R(x) with constant aia_i has complete solution y=CF+PIy=\mathrm{CF}+\mathrm{PI}. The complementary function comes from f(m)=0f(m)=0; the particular integral is R(x)/f(D)R(x)/f(D).

1.1 Root Patterns

Auxiliary roots CF
m1,m2m_1,m_2 real distinct C1em1x+C2em2xC_1e^{m_1x}+C_2e^{m_2x}
mm repeated twice (C1+C2x)emx(C_1+C_2x)e^{mx}
α±iβ\alpha\pm i\beta eαx(C1cos⁡βx+C2sin⁡βx)e^{\alpha x}(C_1\cos\beta x+C_2\sin\beta x)

1.2 Inverse Operator Rules

1f(D)eax=eaxf(a),f(a)≠0;1f(D)eax=xreaxr! when f(a)=⋯=0, f(r)(a)≠0\frac{1}{f(D)}e^{ax}=\frac{e^{ax}}{f(a)},\quad f(a)\ne0; \qquad \frac{1}{f(D)}e^{ax}=\frac{x^re^{ax}}{r!}\ \text{when }f(a)=\cdots=0,\ f^{(r)}(a)\ne0 1f(D)sin⁡ax=sin⁡axf(−a2);1D2+a2sin⁡ax=−x2acos⁡ax,1D2+a2cos⁡ax=x2asin⁡ax\frac{1}{f(D)}\sin ax=\frac{\sin ax}{f(-a^2)}; \qquad \frac{1}{D^2+a^2}\sin ax=-\frac{x}{2a}\cos ax,\quad \frac{1}{D^2+a^2}\cos ax=\frac{x}{2a}\sin ax Shift: 1f(D)[eaxV]=eax1f(D+a)V.\text{Shift: }\frac{1}{f(D)}[e^{ax}V]=e^{ax}\frac{1}{f(D+a)}V.

Examiner Tip: For a polynomial RHS such as xx, equate coefficients in yp=ax+by_p=ax+b instead of expanding the inverse operator; it is faster and less error-prone.

After-Topic PYQs:

  • 2024-25 (7m): "Find the general solution of the differential equation y′′−2y′+2y=x+excos⁡xy'' - 2y' + 2y = x + e^x \cos x"
  • 2024-25 (7m): "Solve the following set of simultaneous linear differential equations: dxdt=3x+8y\frac{dx}{dt} = 3x + 8y, dydt=−x−3y\frac{dy}{dt} = -x - 3y"
  • 2023-24 (7m): "Solve the following differential equation (D2−4D+4)y=8x2e2xsin⁡2x(D^2 - 4D + 4)y = 8x^2 e^{2x} \sin 2x."
  • 2023-24 (7m): "Solve simultaneous differential equation: D2x−4Dx+4x=yD^2x - 4Dx + 4x = y, D2y+4Dy+4y=25x+16etD^2y + 4Dy + 4y = 25x + 16e^t, where D=ddtD = \frac{d}{dt}."
  • 2024-25 (2m): "Find the general solution of the following differential equation: d3ydx3+dydx=0\frac{d^3y}{dx^3} + \frac{dy}{dx} = 0"
  • 2024-25 (2m): "Find the Particular Integral for the following differential equation: y′′−8y′+16y=e4xy'' - 8y' + 16y = e^{4x}"
  • 2023-24 (2m): "Find the complementary function of (D2+a2)y=0(D^2+a^2)y = 0"

2. Cauchy–Euler Equation and Change of Independent Variable

x2y′′+a1xy′+a0y=R(x)x^2y''+a_1xy'+a_0y=R(x) is a Cauchy–Euler equation. Put x=ezx=e^z (z=log⁡xz=\log x), so xD=DzxD=D_z and x2D2=Dz(Dz−1)x^2D^2=D_z(D_z-1), converting it into a constant-coefficient equation in zz.

2.1 Derivation of the Operator Conversion

dydx=1xdydz⇒xD=Dz\frac{dy}{dx}=\frac{1}{x}\frac{dy}{dz}\Rightarrow xD=D_z d2ydx2=1x2(Dz2y−Dzy)⇒x2D2=Dz(Dz−1)\frac{d^2y}{dx^2}=\frac{1}{x^2}\left(D_z^2y-D_zy\right)\Rightarrow x^2D^2=D_z(D_z-1)

Hence x2y′′+a1xy′+a0yx^2y''+a_1xy'+a_0y becomes [Dz2+(a1−1)Dz+a0]y\bigl[D_z^2+(a_1-1)D_z+a_0\bigr]y. Solve in zz and substitute z=log⁡xz=\log x.

Examiner Tip: Write both operator identities before substituting. The most common error in this 7-mark question is using x2y′′=Dz2yx^2y''=D_z^2y.

After-Topic PYQ (2024-25, 7m): "Find the general solution of the differential equation: x2d2ydx2−xdydx+4y=xsin⁡(log⁡x).x^2 \frac{d^2y}{dx^2} - x \frac{dy}{dx} + 4y = x \sin(\log x)."


3. Variation of Parameters and Normal Form

For y′′+P(x)y′+Q(x)y=R(x)y''+P(x)y'+Q(x)y=R(x) with homogeneous solutions y1,y2y_1,y_2 and Wronskian W=y1y2′−y2y1′W=y_1y_2'-y_2y_1',

yp=−y1∫y2RWdx+y2∫y1RWdx.y_p=-y_1\int\frac{y_2R}{W}dx+y_2\int\frac{y_1R}{W}dx.

3.1 Normal Form

Set y=v e−12∫Pdxy=v\,e^{-\frac12\int Pdx}. Then

v′′+(Q−12P′−14P2)v=R e12∫Pdxv''+\left(Q-\frac12P'-\frac14P^2\right)v=R\,e^{\frac12\int Pdx}

which has no v′v' term. This is the normal form; for R=0R=0, variation of parameters gives constant u1,u2u_1,u_2.

Examiner Tip: If the RHS is zero, do not invent a particular integral; state that u1′=u2′=0u_1'=u_2'=0 and the answer is simply the homogeneous solution.

After-Topic PYQs:

  • 2023-24 (7m): "Using variation of parameter method, solve x2d2ydx2+2xdydx−12y=0x^2 \frac{d^2y}{dx^2} + 2x \frac{dy}{dx} - 12y = 0."
  • 2023-24 (2m): "Find Particular integral of d2ydx2+4y=sin⁡2x\frac{d^2y}{dx^2} + 4y = \sin 2x."

4. Mechanical-Engineering Applications

4.1 Spring–Mass–Damper System Modeling

A machine component of mass mm attached to a spring kk and damper cc obeys

mx¨+cx˙+kx=F(t).m\ddot x+c\dot x+kx=F(t).

Free motion has auxiliary roots maux=−c±c2−4mk2mm_{\text{aux}}=\dfrac{-c\pm\sqrt{c^2-4mk}}{2m}: overdamped, critically damped or underdamped according to the discriminant.

4.2 Heat Conduction in Machine Components

For a one-dimensional fin or wall with steady generation qq, temperature θ(x)\theta(x) satisfies kAθ′′+q=0kA\theta''+q=0 (or θ′′−m2θ=0\theta''-m^2\theta=0 for a fin with convection). These are direct constant-coefficient equations solved by the same CF+PI method.

4.3 Mechanical Control System Modeling

A feedback loop with transfer function G(s)=K/(ms2+cs+k)G(s)=K/(ms^2+cs+k) has its characteristic equation identical to the homogeneous differential equation; root locations determine stability.

Examiner Tip: In application answers, name the physical quantity represented by yy (displacement, temperature, output) and write the boundary or initial conditions explicitly.


5. Solved Exam-Ready Questions

Solved Q1 (2024-25 — 7 Marks)

Q: Find the general solution of the differential equation y′′−2y′+2y=x+excos⁡xy'' - 2y' + 2y = x + e^x \cos x

Solution: m2−2m+2=0⇒m=1±im^2-2m+2=0\Rightarrow m=1\pm i, CF =ex(C1cos⁡x+C2sin⁡x)=e^x(C_1\cos x+C_2\sin x). For xx: yp=ax+b⇒2ax+2b−2a=x⇒a=b=12y_p=ax+b\Rightarrow2ax+2b-2a=x\Rightarrow a=b=\tfrac12, so PI1=(x+1)/2\text{PI}_1=(x+1)/2. For excos⁡xe^x\cos x: shift by 1 gives ex1D2+1cos⁡x=xexsin⁡x2e^x\frac{1}{D^2+1}\cos x=\frac{x e^x\sin x}{2}. Answer: y=ex(C1cos⁡x+C2sin⁡x)+x+12+xexsin⁡x2y=e^x(C_1\cos x+C_2\sin x)+\dfrac{x+1}{2}+\dfrac{x e^x\sin x}{2}.


Solved Q2 (2024-25 — 7 Marks | First-Order System)

Q: Solve the following set of simultaneous linear differential equations: dxdt=3x+8y\frac{dx}{dt} = 3x + 8y, dydt=−x−3y\frac{dy}{dt} = -x - 3y

Solution: A=(38−1−3)A=\begin{pmatrix}3&8\\-1&-3\end{pmatrix}, det⁡(A−λI)=λ2−1\det(A-\lambda I)=\lambda^2-1, so λ=±1\lambda=\pm1. Eigenvectors: λ=1⇒(−4,1)T\lambda=1\Rightarrow(-4,1)^T; λ=−1⇒(−2,1)T\lambda=-1\Rightarrow(-2,1)^T. Answer: x=−4C1et−2C2e−t,y=C1et+C2e−tx=-4C_1e^t-2C_2e^{-t},\qquad y=C_1e^t+C_2e^{-t}.


Solved Q3 (2023-24 — 7 Marks | Repeated Root)

Q: Solve the following differential equation (D2−4D+4)y=8x2e2xsin⁡2x(D^2 - 4D + 4)y = 8x^2 e^{2x} \sin 2x.

Solution: CF =(C1+C2x)e2x=(C_1+C_2x)e^{2x}. Shift: f(D+2)=D2f(D+2)=D^2, so PI =e2x∬8x2sin⁡2x dx dx=e^{2x}\iint8x^2\sin2x\,dx\,dx. First integral −4x2cos⁡2x+4xsin⁡2x+2cos⁡2x-4x^2\cos2x+4x\sin2x+2\cos2x; second integral −2x2sin⁡2x−4xcos⁡2x+3sin⁡2x-2x^2\sin2x-4x\cos2x+3\sin2x. Answer: y=(C1+C2x)e2x+e2x(−2x2sin⁡2x−4xcos⁡2x+3sin⁡2x)y=(C_1+C_2x)e^{2x}+e^{2x}(-2x^2\sin2x-4x\cos2x+3\sin2x).


Solved Q4 (2023-24 — 7 Marks | Second-Order Simultaneous System)

Q: Solve simultaneous differential equation: D2x−4Dx+4x=yD^2x - 4Dx + 4x = y, D2y+4Dy+4y=25x+16etD^2y + 4Dy + 4y = 25x + 16e^t, where D=ddtD = \frac{d}{dt}.

Solution:

  • From the first equation, y=(D−2)2xy=(D-2)^2x. Substitute into (D+2)2y=25x+16et(D+2)^2y=25x+16e^t:
(D+2)2(D−2)2x=(D2−4)2x=25x+16et(D+2)^2(D-2)^2x=(D^2-4)^2x=25x+16e^t ⇒(D4−8D2−9)x=16et,(D2−9)(D2+1)x=16et.\Rightarrow (D^4-8D^2-9)x=16e^t,\quad (D^2-9)(D^2+1)x=16e^t.
  • Roots: m=±3,±im=\pm3,\pm i, so xc=Ae3t+Be−3t+Ccos⁡t+Dsin⁡tx_c=Ae^{3t}+Be^{-3t}+C\cos t+D\sin t.
  • PI: f(1)=(1−9)(1+1)=−16f(1)=(1-9)(1+1)=-16, so xp=16et/(−16)=−etx_p=16e^t/(-16)=-e^t.
  • x=Ae3t+Be−3t+Ccos⁡t+Dsin⁡t−etx=Ae^{3t}+Be^{-3t}+C\cos t+D\sin t-e^t.
  • y=(D−2)2xy=(D-2)^2x: factors (3−2)2=1(3-2)^2=1, (−3−2)2=25(-3-2)^2=25, (i−2)2=3−4i(i-2)^2=3-4i, (1−2)2=1(1-2)^2=1.
  • Answer: x=Ae3t+Be−3t+Ccos⁡t+Dsin⁡t−etx=Ae^{3t}+Be^{-3t}+C\cos t+D\sin t-e^t; y=Ae3t+25Be−3t+(3C−4D)cos⁡t+(4C+3D)sin⁡t−ety=Ae^{3t}+25Be^{-3t}+(3C-4D)\cos t+(4C+3D)\sin t-e^t.

Solved Q5 (2024-25 — 2 Marks)

Q: Find the general solution of the following differential equation: d3ydx3+dydx=0\frac{d^3y}{dx^3} + \frac{dy}{dx} = 0

Solution: D(D2+1)=0⇒m=0,±iD(D^2+1)=0\Rightarrow m=0,\pm i. Answer: y=C1+C2cos⁡x+C3sin⁡xy=C_1+C_2\cos x+C_3\sin x.


Solved Q6 (2024-25 — 2 Marks)

Q: Find the Particular Integral for the following differential equation: y′′−8y′+16y=e4xy'' - 8y' + 16y = e^{4x}

Solution: f(D)=(D−4)2f(D)=(D-4)^2; shift gives e4x1D2(1)=x2e4x2e^{4x}\frac{1}{D^2}(1)=\frac{x^2e^{4x}}{2}. Answer: PI=x2e4x2\text{PI}=\dfrac{x^2e^{4x}}{2}.


Solved Q7 (2023-24 — 2 Marks)

Q: Find the complementary function of (D2+a2)y=0(D^2+a^2)y = 0

Solution: m=±iam=\pm ia. Answer: CF=C1cos⁡ax+C2sin⁡ax\text{CF}=C_1\cos ax+C_2\sin ax.


Solved Q8 (2023-24 — 7 Marks | Variation of Parameters)

Q: Using variation of parameter method, solve x2d2ydx2+2xdydx−12y=0x^2 \frac{d^2y}{dx^2} + 2x \frac{dy}{dx} - 12y = 0.

Solution: Euler equation: m(m−1)+2m−12=m2+m−12=(m+4)(m−3)=0m(m-1)+2m-12=m^2+m-12=(m+4)(m-3)=0. y1=x3y_1=x^3, y2=x−4y_2=x^{-4}, W=−7x−2≠0W=-7x^{-2}\ne0. Since R=0R=0, u1′=u2′=0u_1'=u_2'=0. Answer: y=C1x3+C2x−4y=C_1x^3+C_2x^{-4}.


Solved Q9 (2023-24 — 2 Marks | Resonance)

Q: Find Particular integral of d2ydx2+4y=sin⁡2x\frac{d^2y}{dx^2} + 4y = \sin 2x.

Solution: f(D)=D2+4f(D)=D^2+4 and a2=4a^2=4 matches the denominator; use the resonance rule. Answer: PI=−x4cos⁡2x\text{PI}=-\dfrac{x}{4}\cos2x.


Solved Q10 (2024-25 — 7 Marks | Cauchy–Euler)

Q: Find the general solution of the differential equation: x2d2ydx2−xdydx+4y=xsin⁡(log⁡x).x^2 \frac{d^2y}{dx^2} - x \frac{dy}{dx} + 4y = x \sin(\log x).

Solution: With x=ezx=e^z: (Dz2−2Dz+4)y=ezsin⁡z(D_z^2-2D_z+4)y=e^z\sin z. CF =ez[C1cos⁡(3z)+C2sin⁡(3z)]=e^z[C_1\cos(\sqrt3 z)+C_2\sin(\sqrt3 z)]. PI =ez1Dz2+3sin⁡z=ezsin⁡z2=e^z\frac{1}{D_z^2+3}\sin z=\frac{e^z\sin z}{2}. Answer: y=x[C1cos⁡(3log⁡x)+C2sin⁡(3log⁡x)]+x2sin⁡(log⁡x)y=x\bigl[C_1\cos(\sqrt3\log x)+C_2\sin(\sqrt3\log x)\bigr]+\dfrac{x}{2}\sin(\log x).


6. Practice Questions (Self-Test)

  1. (2 Marks) Write the auxiliary roots for an underdamped spring–mass–damper system.
  2. (2 Marks) Find the PI of (D2+9)y=sin⁡3x(D^2+9)y=\sin3x. (Ans: −x6cos⁡3x-\frac{x}{6}\cos3x.)
  3. (7 Marks) Solve (D2+1)x=0(D^2+1)x=0, (D2+1)y=sin⁡t(D^2+1)y=\sin t as a simultaneous system.
  4. (7 Marks) Solve x2y′′+5xy′+4y=x2x^2y''+5xy'+4y=x^2 by changing the independent variable.
  5. (7 Marks) Use variation of parameters to solve y′′+y=tan⁡xy''+y=\tan x.
  6. (7 Marks) A machine of mass 10 kg, damping 4 N·s/m and stiffness 40 N/m is released from x(0)=0.02x(0)=0.02 m. Write and solve its free-motion equation.
  7. (7 Marks) Solve a steady fin equation θ′′−m2θ=0\theta''-m^2\theta=0 with θ(0)=θ0\theta(0)=\theta_0, θ(L)=0\theta(L)=0, and interpret the constants.