Particular integral via operator method

At a Glance

Why This Chapter Matters

The operator method for particular integrals is the standard UPSC technique for Q5 and Q6 ODE questions. It appears 7 times across 5 years; every occurrence is medium difficulty, so reliable execution yields guaranteed marks. The method has four sub-routines — exponential shift for polynomial forcings, complex-exponential for trig, resonance multiplier, and variable-coefficient substitutions — all of which recur predictably. Mastering the decision tree below unlocks not just this atom but half the ODE problems in Section B.

Minimum Theory

Operator notation. Write a constant-coefficient linear ODE as f(D)y=g(x)f(D)y = g(x) where D=d/dxD = d/dx and f(D)=anDn+⋯+a1D+a0f(D) = a_n D^n + \cdots + a_1 D + a_0. The complementary function (CF) is the general solution of f(D)y=0f(D)y=0, found by solving f(m)=0f(m)=0. The particular integral (PI) is any one solution of f(D)y=g(x)f(D)y=g(x), denoted formally by yp=1f(D)g(x)y_p = \frac{1}{f(D)}g(x).

Core rules for the PI operator:

Forcing termFormulaCondition
eaxe^{ax}1f(D)eax=eaxf(a)\dfrac{1}{f(D)}e^{ax} = \dfrac{e^{ax}}{f(a)}f(a)≠0f(a)\ne 0 (non-resonant)
eaxe^{ax} (resonant, order nn)1(D−a)neax=xnn!eax\dfrac{1}{(D-a)^n}e^{ax} = \dfrac{x^n}{n!}e^{ax}f(a)=0f(a)=0 with multiplicity nn
sin⁡bx\sin bx or cos⁡bx\cos bx1f(D2)sin⁡bx=sin⁡bxf(−b2)\dfrac{1}{f(D^2)}\sin bx = \dfrac{\sin bx}{f(-b^2)}f(−b2)≠0f(-b^2)\ne 0
eaxP(x)e^{ax}P(x)1f(D)eaxP(x)=eax1f(D+a)P(x)\dfrac{1}{f(D)}e^{ax}P(x)=e^{ax}\dfrac{1}{f(D+a)}P(x)exponential shift

Exponential shift. To find 1f(D)eaxP(x)\frac{1}{f(D)}e^{ax}P(x) where P(x)P(x) is a polynomial: shift the operator by aa (replace DD by D+aD+a), then apply 1f(D+a)\frac{1}{f(D+a)} to P(x)P(x) as a binomial series in DD (since DkP=0D^k P = 0 for k>deg⁡Pk > \deg P).

Complex-exponential method. For trig forcing eaxsin⁡bxe^{ax}\sin bx or eaxcos⁡bxe^{ax}\cos bx, write the forcing as Im⁡[e(a+ib)x]\operatorname{Im}[e^{(a+ib)x}] or Re⁡[e(a+ib)x]\operatorname{Re}[e^{(a+ib)x}]. Compute 1f(D)e(a+ib)x=e(a+ib)xf(a+ib)\frac{1}{f(D)}e^{(a+ib)x} = \frac{e^{(a+ib)x}}{f(a+ib)} (non-resonant case) and take the appropriate part. Rationalise the complex denominator by multiplying by the conjugate.

Question Archetypes

ArchetypeRecognition
operator-piConstant-coefficient ODE with polynomial, exponential, or trig forcing
reducible-piVariable-coefficient ODE reducible by substitution to constant coefficients
simultaneous-odesTwo coupled first-order ODEs with constant coefficients

operator-pi (5 question(s); 2016, 2018, 2019, 2021)

Find a particular integral via inverse-operator / exponential-shift methods

Recognition Cues

The ODE has constant coefficients. Forcing terms of the form eaxe^{ax}, xneaxx^n e^{ax}, eaxcos⁡bxe^{ax}\cos bx, eaxsin⁡bxe^{ax}\sin bx, or sums thereof. The question asks to “find a particular integral” or “solve.”

Solution Template

  1. Find the CF: solve f(m)=0f(m)=0; write ycy_c.
  2. For each forcing term, check if it is resonant (exponent aa is a root of f(m)=0f(m)=0).
  3. Non-resonant eaxP(x)e^{ax}P(x): shift D→D+aD \to D+a, expand 1f(D+a)\frac{1}{f(D+a)} as series in DD, apply to P(x)P(x).
  4. Resonant eaxe^{ax} of multiplicity nn: PI is eax⋅xn/n!e^{ax}\cdot x^n/n! times a constant; or, after shifting, use 1Dn⋅P(x)=xnn!\frac{1}{D^n}\cdot P(x) = \frac{x^n}{n!} (integrate PP nn times, ignoring constants absorbed into CF).
  5. Trig: use complex exponential method; take Re or Im part.
  6. Sum the PIs; write the general solution y=yc+ypy = y_c + y_p.

Worked Example 1 — exponential-shift, polynomial

2018 Paper 1, 2018-P1-Q5a (10 marks)

Solve y′′−y=x2e2xy'' - y = x^2 e^{2x}.

CF. m2−1=0⇒m=±1m^2-1=0 \Rightarrow m=\pm1. So yc=C1ex+C2e−xy_c = C_1 e^x + C_2 e^{-x}.

PI. f(D)=D2−1f(D)=D^2-1, forcing x2e2xx^2 e^{2x}, a=2a=2: f(2)=3≠0f(2)=3\ne0 (non-resonant). Apply shift: yp=e2x1(D+2)2−1x2=e2x1D2+4D+3x2.y_p = e^{2x}\frac{1}{(D+2)^2-1}x^2 = e^{2x}\frac{1}{D^2+4D+3}x^2. Expand 13+4D+D2=13(1−4D+D23+(4D)29−⋯ )\frac{1}{3+4D+D^2} = \frac{1}{3}\left(1-\frac{4D+D^2}{3}+\frac{(4D)^2}{9}-\cdots\right):

D2D^2-coefficient: 169−13=139\frac{16}{9}-\frac{1}{3}=\frac{13}{9}. Apply to x2x^2 (where D(x2)=2xD(x^2)=2x, D2(x2)=2D^2(x^2)=2): 1D2+4D+3x2=13 ⁣[x2−43(2x)+139(2)]=9x2−24x+2627.\frac{1}{D^2+4D+3}x^2 = \frac{1}{3}\!\left[x^2-\frac{4}{3}(2x)+\frac{13}{9}(2)\right] = \frac{9x^2-24x+26}{27}. y=C1ex+C2e−x+(9x2−24x+26)e2x27.\boxed{y = C_1 e^x + C_2 e^{-x} + \frac{(9x^2-24x+26)e^{2x}}{27}.}

Worked Example 2 — resonant forcing

2018 Paper 1, 2018-P1-Q5c (10 marks)

Solve y′′′−6y′′+12y′−8y=12e2x+27e−xy''' - 6y'' + 12y' - 8y = 12e^{2x} + 27e^{-x}.

CF. m3−6m2+12m−8=(m−2)3=0m^3-6m^2+12m-8=(m-2)^3=0; triple root m=2m=2. So yc=(C1+C2x+C3x2)e2xy_c=(C_1+C_2x+C_3x^2)e^{2x}.

PI for 12e2x12e^{2x} (resonant, multiplicity 3). yp1=12(D−2)3e2x=12 e2x⋅1D3(1)=12 e2x⋅x36=2x3e2x.y_{p1} = \frac{12}{(D-2)^3}e^{2x} = 12\,e^{2x}\cdot\frac{1}{D^3}(1) = 12\,e^{2x}\cdot\frac{x^3}{6} = 2x^3e^{2x}.

PI for 27e−x27e^{-x} (non-resonant; f(−1)=(−3)3=−27f(-1)=(-3)^3=-27). yp2=27(D−2)3e−x=27−27e−x=−e−x.y_{p2} = \frac{27}{(D-2)^3}e^{-x} = \frac{27}{-27}e^{-x} = -e^{-x}. y=(C1+C2x+C3x2)e2x+2x3e2x−e−x.\boxed{y = (C_1+C_2x+C_3x^2)e^{2x} + 2x^3e^{2x} - e^{-x}.}

Worked Example 3 — complex-exponential method

2016 Paper 1, 2016-P1-Q5a (10 marks)

Find a PI of y′′+y=ex/2sin⁡ ⁣32xy'' + y = e^{x/2}\sin\!\frac{\sqrt3}{2}x.

CF roots: ±i\pm i. The forcing is Im⁡[e(1/2+i3/2)x]\operatorname{Im}[e^{(1/2+i\sqrt3/2)x}]; the exponent 12+i32\frac{1}{2}+i\frac{\sqrt3}{2} is not ±i\pm i (no resonance).

Compute f ⁣(12+i32)=(12+i32)2+1=(14−34+i32)+1=12+i32f\!\left(\tfrac12+i\tfrac{\sqrt3}{2}\right) = \left(\tfrac12+i\tfrac{\sqrt3}{2}\right)^2+1 = \left(\tfrac14-\tfrac34+i\tfrac{\sqrt3}{2}\right)+1 = \tfrac12+i\tfrac{\sqrt3}{2}.

So zp=e(1/2+i3/2)x12+i32z_p = \dfrac{e^{(1/2+i\sqrt3/2)x}}{\frac12+i\frac{\sqrt3}{2}}. Rationalise by multiplying by conjugate (∣⋅∣2=1|\cdot|^2=1):

zp=(12−i32)ex/2 ⁣(cos⁡32x+isin⁡32x).z_p = \left(\tfrac12-i\tfrac{\sqrt3}{2}\right)e^{x/2}\!\left(\cos\tfrac{\sqrt3}{2}x + i\sin\tfrac{\sqrt3}{2}x\right).

Take imaginary part: yp=ex/2 ⁣(12sin⁡32x−32cos⁡32x).\boxed{y_p = e^{x/2}\!\left(\frac12\sin\frac{\sqrt3}{2}x - \frac{\sqrt3}{2}\cos\frac{\sqrt3}{2}x\right).}

Worked Example 4 — repeated root with double integration

2019 Paper 1, 2019-P1-Q5b (10 marks)

Solve y′′−4y′+4y=3x2e2xsin⁡2xy'' - 4y' + 4y = 3x^2 e^{2x}\sin 2x.

CF. (D−2)2=0(D-2)^2=0, repeated root m=2m=2: yc=(C1+C2x)e2xy_c=(C_1+C_2x)e^{2x}.

PI. The forcing carries e2xe^{2x}, which is resonant (root of multiplicity 2). Substitute y=e2xuy = e^{2x}u: since (D−2)(e2xu)=e2xDu(D-2)(e^{2x}u)=e^{2x}Du, the equation reduces to u′′=3x2sin⁡2xu'' = 3x^2\sin 2x.

Double-integrate 3x2sin⁡2x3x^2\sin 2x (using IBP twice): u′=3 ⁣(−x2cos⁡2x2+xsin⁡2x2+cos⁡2x4)=−32x2cos⁡2x+32xsin⁡2x+34cos⁡2x.u' = 3\!\left(-\frac{x^2\cos 2x}{2}+\frac{x\sin 2x}{2}+\frac{\cos 2x}{4}\right) = -\frac32 x^2\cos 2x+\frac32 x\sin 2x+\frac34\cos 2x. u=−34x2sin⁡2x−32xcos⁡2x+98sin⁡2x.u = -\frac34 x^2\sin 2x - \frac32 x\cos 2x + \frac98\sin 2x. y=(C1+C2x)e2x+e2x ⁣(−34x2sin⁡2x−32xcos⁡2x+98sin⁡2x).\boxed{y = (C_1+C_2x)e^{2x} + e^{2x}\!\left(-\frac34 x^2\sin 2x - \frac32 x\cos 2x + \frac98\sin 2x\right).}

Worked Example 5 — two PIs combined

2021 Paper 1, 2021-P1-Q5a (10 marks)

Solve y′′+2y=x2e3x+excos⁡2xy'' + 2y = x^2 e^{3x} + e^x\cos 2x.

CF. D2+2=0⇒D=±i2D^2+2=0 \Rightarrow D=\pm i\sqrt2: yc=C1cos⁡2 x+C2sin⁡2 xy_c=C_1\cos\sqrt2\,x+C_2\sin\sqrt2\,x.

PI for x2e3xx^2e^{3x}. Shift: e3x1D2+6D+11x2=e3x11 ⁣[x2−12x+211+72121]=e3x⋅121x2−132x+501331e^{3x}\frac{1}{D^2+6D+11}x^2 = \frac{e^{3x}}{11}\!\left[x^2-\frac{12x+2}{11}+\frac{72}{121}\right] = e^{3x}\cdot\frac{121x^2-132x+50}{1331}.

PI for excos⁡2xe^x\cos 2x. Shift D→D+1D\to D+1: ex1D2+2D+3cos⁡2xe^x\frac{1}{D^2+2D+3}\cos 2x. On cos⁡2x\cos 2x: D2→−4D^2\to-4, so denominator →2D−1\to 2D-1. Rationalise via 2D+12D+1: (2D+1)cos⁡2x4D2−1∣D2→−4=−4sin⁡2x+cos⁡2x−17=4sin⁡2x−cos⁡2x17.\frac{(2D+1)\cos 2x}{4D^2-1}\Big|_{D^2\to-4} = \frac{-4\sin 2x+\cos 2x}{-17} = \frac{4\sin 2x-\cos 2x}{17}. So yp2=ex(4sin⁡2x−cos⁡2x)17y_{p2} = \frac{e^x(4\sin 2x-\cos 2x)}{17}. y=C1cos⁡2 x+C2sin⁡2 x+e3x(121x2−132x+50)1331+ex(4sin⁡2x−cos⁡2x)17.\boxed{y = C_1\cos\sqrt2\,x+C_2\sin\sqrt2\,x + \frac{e^{3x}(121x^2-132x+50)}{1331} + \frac{e^x(4\sin 2x-\cos 2x)}{17}.}

Common Traps

reducible-pi (1 question(s); 2017)

Reduce by substitution to constant coefficients, then find PI

Recognition Cues

The ODE has variable coefficients but shows a pattern that a substitution (typically t=x2t = x^2, t=ln⁡xt = \ln x for Euler-Cauchy) can remove. After substitution, the constant-coefficient operator PI applies.

Solution Template

  1. Identify the substitution (e.g., t=x2t=x^2, so ddx=2xddt\frac{d}{dx}=2x\frac{d}{dt} and d2dx2=2ddt+4x2d2dt2\frac{d^2}{dx^2}=2\frac{d}{dt}+4x^2\frac{d^2}{dt^2}).
  2. Rewrite the ODE entirely in terms of tt.
  3. Solve the constant-coefficient ODE in tt (CF + PI via operator).
  4. Back-substitute t→t \to original variable.

Worked Example

2017 Paper 1, 2017-P1-Q7b-i (9 marks)

Solve xy′′−y′−4x3y=8x3sin⁡(x2)xy'' - y' - 4x^3y = 8x^3\sin(x^2).

Let t=x2t=x^2. Then dydx=2xdydt\frac{dy}{dx}=2x\frac{dy}{dt} and d2ydx2=2dydt+4x2d2ydt2\frac{d^2y}{dx^2}=2\frac{dy}{dt}+4x^2\frac{d^2y}{dt^2}.

Substitute into the ODE (the 2x dy/dt2x\,dy/dt and −y′=−2x dy/dt-y'=-2x\,dy/dt terms cancel): 4x3d2ydt2−4x3y=8x3sin⁡t  ⇒  y′′−y=2sin⁡t.4x^3\frac{d^2y}{dt^2} - 4x^3y = 8x^3\sin t \;\Rightarrow\; y'' - y = 2\sin t.

CF of y′′−y=0y''-y=0: m=±1m=\pm1, so yc=C1et+C2e−ty_c = C_1e^t+C_2e^{-t}.

PI. D2→−1D^2\to-1 for sin⁡t\sin t: 1D2−1sin⁡t=2sin⁡t−1−1=−sin⁡t\frac{1}{D^2-1}\sin t = \frac{2\sin t}{-1-1} = -\sin t.

Back-substitute t=x2t=x^2: y=C1ex2+C2e−x2−sin⁡(x2).\boxed{y = C_1 e^{x^2} + C_2 e^{-x^2} - \sin(x^2).}

Common Traps

simultaneous-odes (1 question(s); 2017)

Solve a system of simultaneous linear ODEs by decoupling

Recognition Cues

Two (or more) ODEs in two unknown functions y(x)y(x) and z(x)z(x) (or u,vu,v) linked by the same operator DD. Symmetric structure (same D+aD+a on both) suggests adding/subtracting; general structure suggests elimination of one variable.

Solution Template

  1. Add and subtract the ODEs (for symmetric systems) to form two decoupled equations in y+zy+z and y−zy-z.
  2. Solve each decoupled equation as a standard single ODE.
  3. Recover yy and zz from the sums/differences.

Worked Example

2017 Paper 1, 2017-P1-Q6a-i (8 marks)

Solve (D+1)y=z+ex(D+1)y = z+e^x and (D+1)z=y+ex(D+1)z = y+e^x.

Decouple. Let u=y+zu=y+z, w=y−zw=y-z. Adding: (D+1)u=u+2ex⇒Du=2ex(D+1)u = u+2e^x \Rightarrow Du=2e^x. Subtracting: (D+1)w=−w⇒(D+2)w=0(D+1)w = -w \Rightarrow (D+2)w=0.

Solve. u=2ex+2C1u = 2e^x+2C_1 and w=2C2e−2xw=2C_2e^{-2x}.

Recover: y=C1+C2e−2x+ex,z=C1−C2e−2x+ex.\boxed{y = C_1+C_2e^{-2x}+e^x, \qquad z = C_1-C_2e^{-2x}+e^x.}

Common Traps

Marks-Aware Writing

For a 10-mark “find the PI” question: State the CF (even if brief — it shows you know the structure), write the operator expression for the PI, show the shift or series expansion explicitly, and box the final answer. Skipping the CF and going straight to the PI loses 2–3 marks if the PI is wrong (no recovery path for the examiner).

For a resonant forcing: State explicitly that aa is a root of multiplicity kk and therefore the standard formula would give 0/00/0; then apply the resonance rule. This explanation earns method marks even if arithmetic slips occur.

Practice Set

Ready to drill what you just read?

Daily Practice turns these patterns into one adaptive set a day — practised daily until they're automatic, free for everyone.

See Daily Practice →

This chapter is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.