The math optional, made finite. Daily Practice

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(Da)neax=xnn!eax\dfrac{1}{(D-a)^n}e^{ax} = \dfrac{x^n}{n!}e^{ax}f(a)=0f(a)=0 with multiplicity nn
sinbx\sin bx or cosbx\cos bx1f(D2)sinbx=sinbxf(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>degPk > \deg P).

Complex-exponential method. For trig forcing eaxsinbxe^{ax}\sin bx or eaxcosbxe^{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}, eaxcosbxe^{ax}\cos bx, eaxsinbxe^{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 DD+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 eaxxn/n!e^{ax}\cdot x^n/n! times a constant; or, after shifting, use 1DnP(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 yy=x2e2xy'' - y = x^2 e^{2x}.

CF. m21=0m=±1m^2-1=0 \Rightarrow m=\pm1. So yc=C1ex+C2exy_c = C_1 e^x + C_2 e^{-x}.

PI. f(D)=D21f(D)=D^2-1, forcing x2e2xx^2 e^{2x}, a=2a=2: f(2)=30f(2)=3\ne0 (non-resonant). Apply shift: yp=e2x1(D+2)21x2=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(14D+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: 16913=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 ⁣[x243(2x)+139(2)]=9x224x+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+C2ex+(9x224x+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 y6y+12y8y=12e2x+27exy''' - 6y'' + 12y' - 8y = 12e^{2x} + 27e^{-x}.

CF. m36m2+12m8=(m2)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(D2)3e2x=12e2x1D3(1)=12e2xx36=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 27ex27e^{-x} (non-resonant; f(1)=(3)3=27f(-1)=(-3)^3=-27). yp2=27(D2)3ex=2727ex=ex.y_{p2} = \frac{27}{(D-2)^3}e^{-x} = \frac{27}{-27}e^{-x} = -e^{-x}. y=(C1+C2x+C3x2)e2x+2x3e2xex.\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=(1434+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=(12i32)ex/2 ⁣(cos32x+isin32x).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 ⁣(12sin32x32cos32x).\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 y4y+4y=3x2e2xsin2xy'' - 4y' + 4y = 3x^2 e^{2x}\sin 2x.

CF. (D2)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 (D2)(e2xu)=e2xDu(D-2)(e^{2x}u)=e^{2x}Du, the equation reduces to u=3x2sin2xu'' = 3x^2\sin 2x.

Double-integrate 3x2sin2x3x^2\sin 2x (using IBP twice): u=3 ⁣(x2cos2x2+xsin2x2+cos2x4)=32x2cos2x+32xsin2x+34cos2x.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=34x2sin2x32xcos2x+98sin2x.u = -\frac34 x^2\sin 2x - \frac32 x\cos 2x + \frac98\sin 2x. y=(C1+C2x)e2x+e2x ⁣(34x2sin2x32xcos2x+98sin2x).\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+excos2xy'' + 2y = x^2 e^{3x} + e^x\cos 2x.

CF. D2+2=0D=±i2D^2+2=0 \Rightarrow D=\pm i\sqrt2: yc=C1cos2x+C2sin2xy_c=C_1\cos\sqrt2\,x+C_2\sin\sqrt2\,x.

PI for x2e3xx^2e^{3x}. Shift: e3x1D2+6D+11x2=e3x11 ⁣[x212x+211+72121]=e3x121x2132x+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 excos2xe^x\cos 2x. Shift DD+1D\to D+1: ex1D2+2D+3cos2xe^x\frac{1}{D^2+2D+3}\cos 2x. On cos2x\cos 2x: D24D^2\to-4, so denominator 2D1\to 2D-1. Rationalise via 2D+12D+1: (2D+1)cos2x4D21D24=4sin2x+cos2x17=4sin2xcos2x17.\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(4sin2xcos2x)17y_{p2} = \frac{e^x(4\sin 2x-\cos 2x)}{17}. y=C1cos2x+C2sin2x+e3x(121x2132x+50)1331+ex(4sin2xcos2x)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=lnxt = \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 tt \to original variable.

Worked Example

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

Solve xyy4x3y=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 2xdy/dt2x\,dy/dt and y=2xdy/dt-y'=-2x\,dy/dt terms cancel): 4x3d2ydt24x3y=8x3sint    yy=2sint.4x^3\frac{d^2y}{dt^2} - 4x^3y = 8x^3\sin t \;\Rightarrow\; y'' - y = 2\sin t.

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

PI. D21D^2\to-1 for sint\sin t: 1D21sint=2sint11=sint\frac{1}{D^2-1}\sin t = \frac{2\sin t}{-1-1} = -\sin t.

Back-substitute t=x2t=x^2: y=C1ex2+C2ex2sin(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 yzy-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=yzw=y-z. Adding: (D+1)u=u+2exDu=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=2C2e2xw=2C_2e^{-2x}.

Recover: y=C1+C2e2x+ex,z=C1C2e2x+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

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.