Sublevo
ISC 2027
All chaptersMaths · Unit 3

Differential Equations

5 articles22 formulas25 ways the board asks it
MATLinear Equations (Integrating Factor)

Linear differential equations (integrating factor)

A first-order linear differential equation has the standard form dydx+P(x) y=Q(x)\dfrac{dy}{dx}+P(x)\,y=Q(x), where P,QP,Q are functions of xx alone. It is solved by multiplying through by the integrating factor e∫P dxe^{\int P\,dx}, which turns the left side into the derivative of a product.

This is one of the most heavily examined methods in ISC, including the variant that is linear in xx (treating xx as a function of yy).

Standard linear form & solution
dydx+P(x) y=Q(x),I.F.=e∫P dx,y⋅(I.F.)=∫Q (I.F.) dx+C\dfrac{dy}{dx}+P(x)\,y=Q(x),\qquad \text{I.F.}=e^{\int P\,dx},\qquad y\cdot(\text{I.F.})=\int Q\,(\text{I.F.})\,dx+C
P,QP,Q are functions of xx only; CC is the constant of integration; the I.F. makes the LHS ddx ⁣(y⋅I.F.)\dfrac{d}{dx}\!\big(y\cdot\text{I.F.}\big).
Linear in xx (treat xx as function of yy)
dxdy+P(y) x=Q(y),I.F.=e∫P dy,x⋅(I.F.)=∫Q (I.F.) dy+C\dfrac{dx}{dy}+P(y)\,x=Q(y),\qquad \text{I.F.}=e^{\int P\,dy},\qquad x\cdot(\text{I.F.})=\int Q\,(\text{I.F.})\,dy+C
P,QP,Q are functions of yy only; used when the equation is linear in xx but not in yy.
Worked I.F. example
dydx+yx=x:I.F.=e∫1x dx=x,xy=∫x⋅x dx=x33+C\dfrac{dy}{dx}+\dfrac{y}{x}=x:\quad \text{I.F.}=e^{\int \frac{1}{x}\,dx}=x,\quad xy=\int x\cdot x\,dx=\dfrac{x^{3}}{3}+C
P=1x, Q=xP=\dfrac{1}{x},\ Q=x; so y=x23+Cxy=\dfrac{x^{2}}{3}+\dfrac{C}{x}.
Common integrating-factor shortcuts
e∫nx dx=xn,e∫tan⁡x dx=sec⁡x,e∫cot⁡x dx=sin⁡xe^{\int \frac{n}{x}\,dx}=x^{n},\qquad e^{\int \tan x\,dx}=\sec x,\qquad e^{\int \cot x\,dx}=\sin x
standard simplifications of e∫P dxe^{\int P\,dx}; modulus signs are usually dropped on the chosen domain.
  • First write the equation in standard form so that the coefficient of dydx\dfrac{dy}{dx} is exactly 11 before identifying PP and QQ.
  • The integrating factor is I.F.=e∫P dx\text{I.F.}=e^{\int P\,dx}; no constant of integration is added inside this exponent.
  • After multiplying by the I.F., the left side is exactly ddx(y⋅I.F.)\dfrac{d}{dx}\big(y\cdot\text{I.F.}\big), so integrate both sides directly.
  • Add the constant CC only once, when integrating ∫Q (I.F.) dx\int Q\,(\text{I.F.})\,dx.
  • If the equation is linear in xx (e.g. dxdy−3x=y\dfrac{dx}{dy}-3x=y), switch roles: use dxdy+P(y)x=Q(y)\dfrac{dx}{dy}+P(y)x=Q(y) with I.F.=e∫P dy\text{I.F.}=e^{\int P\,dy}.
  • Useful identities: e∫tan⁡x dx=sec⁡xe^{\int \tan x\,dx}=\sec x, e∫cot⁡x dx=sin⁡xe^{\int \cot x\,dx}=\sin x and e∫nx dx=xne^{\int \frac{n}{x}\,dx}=x^{n}.
  • For an initial-value problem, find the general solution first, then substitute the given point to evaluate CC.
  • Always simplify the I.F. (e.g. write sec⁡x\sec x, not e∫tan⁡x dxe^{\int\tan x\,dx}) before doing the final integral ∫Q (I.F.) dx\int Q\,(\text{I.F.})\,dx.
Where the marks go
  • Identifying PP and QQ before normalising the leading coefficient to 11 — e.g. with xdydx+2y=xln⁡xx\dfrac{dy}{dx}+2y=x\ln x you must divide by xx first.
  • Forgetting the constant CC, or adding a spurious constant inside the exponent of the integrating factor.
  • Not simplifying the I.F.: leaving e∫tan⁡x dxe^{\int \tan x\,dx} instead of sec⁡x\sec x makes the final integral much harder.
  • Applying the xx-linear form's I.F. as e∫P dxe^{\int P\,dx} instead of e∫P dye^{\int P\,dy} when the equation is linear in xx with yy as the independent variable.
How the board asks it
  • Numericalstandard linear form and integrating factor
    Solve the differential equation dydx+2ytan⁡x=sin⁡x\dfrac{dy}{dx}+2y\tan x=\sin x.
  • Numericalinitial-value problem
    Find the particular solution of dydx+ycot⁡x=2x+x2cot⁡x\dfrac{dy}{dx}+y\cot x=2x+x^2\cot x, given that y=0y=0 when x=π2x=\dfrac{\pi}{2}.
  • Numericallinear in xx (treat xx as a function of yy)
    Solve the differential equation (1+y2) dx=(tan⁡−1y−x) dy\big(1+y^2\big)\,dx=\big(\tan^{-1}y-x\big)\,dy.
  • Numericalnormalising the leading coefficient
    Solve the differential equation xdydx+2y=x2log⁡xx\dfrac{dy}{dx}+2y=x^2\log x by first reducing it to standard linear form.
  • Numericalinitial-value problem with I.F.=x\text{I.F.}=x
    Solve dydx+yx=x2\dfrac{dy}{dx}+\dfrac{y}{x}=x^2 given that y=1y=1 when x=1x=1, and hence find yy when x=2x=2.

Practise this topic

Written for Sublevo. Question text quoted anywhere in these notes is the Council’s and carries its year and paper; the board’s own diagrams are not reproduced.