I
Differential equations
48
Linear first order differential equations
48.1 Introduction
An equation of the formdy
dx+Py=Q, wherePand
Qare functions ofxonly is called alinear differ-
ential equationsinceyand its derivatives are of the
first degree.(i) The solution ofdy
dx+Py=Qis obtained by
multiplying throughout by what is termed an
integrating factor.(ii) Multiplyingdy
dx+Py=Qby sayR, a function
ofxonly, gives:Rdy
dx+RPy=RQ (1)(iii) The differential coefficient of a productRyis
obtained using the product rule,
i.e.d
dx(Ry)=Rdy
dx+ydR
dx,which is the same as the left hand side of
equation (1), whenRis chosen such thatRP=dR
dx(iv) IfdR
dx=RP, then separating the variables gives
dR
R=Pdx.Integrating both sides gives:
∫
dR
R=∫
Pdxi.e. lnR=∫
Pdx+cfrom which,R=e∫
Pdx+c=e∫
Pdxeci.e.R=Ae∫
Pdx, whereA=ec=a constant.(v) SubstitutingR=Ae∫
Pdxin equation (1) gives:Ae∫
Pdx(
dy
dx)
+Ae∫
PdxPy=Ae∫
PdxQi.e. e∫
Pdx(
dy
dx)
+e∫
PdxPy=e∫
PdxQ (2)(vi) The left hand side of equation (2) isd
dx(
ye∫
Pdx)which may be checked by differentiating
ye∫
Pdxwith respect tox, using the product rule.(vii) From equation (2),d
dx(
ye∫
Pdx)
=e∫
PdxQIntegrating both sides gives:ye∫
Pdx=∫
e∫
PdxQdx (3)(viii) e∫
Pdxis theintegrating factor.48.2 Procedure to solve differential
equations of the form
dydx
+Py=Q
(i) Rearrange the differential equation into theformdy
dx+Py=Q, wherePandQare functions
ofx.
(ii) Determine∫
Pdx.(iii) Determine the integrating factor e∫
Pdx.(iv) Substitute e∫
Pdxinto equation (3).(v) Integrate the right hand side of equation (3)
to give the general solution of the differential