LECTURE NOTES ON
ORDINARY DIFFERENTIAL EQUATIONS based on the course-contents of MMB-352 (A course of Mathematics (Main/Subsidiary)
prescribed for B. Sc. (Hons.) III Semester)
UNIT-1
First Order Differential Equations
Preliminaries (A topic of Unit I)
In this lecture, we shall revise the basic notions regarding to this course, which we have already discussed in +2 level Mathematics.
Differential Equations: An equation containing the derivatives or dif- ferentials of one or more dependent variables with respect to one or more independent variables is called a differential equation.
Ordinary Differential Equations: A differential equation in which each involved dependent variable is a function of a single independent variable is known as an ordinary differential equation.
Throughout the course, we shall study of different methods for solving ordinary differential equations. But for the sake of simplicity, we shall use the term ‘differential equation’ instead of ‘ordinary differential equation’.
Order of a Differential Equation: The order of a differential equation is the order of highest order derivative appearing in equation.
Degree of a Differential Equation: The degree of a differential equation is the power of highest order derivative occurring in the equation, when differential coefficients are made free from radicals and fractions.
1
2
eg, the differential equation dxd3y3−6 dydx2
−4y= 0 is of order 3 and degree 1.
Classification of Differential Equations: Differential equations are clas- sified into linear and nonlinear differential equations. Annth order differential equation is called linearif it can be expressed in the form:
P0dny
dxn +P1dn−1y
dxn−1 +P2dn−2y
dxn−2 +...Pn−1
dy
dx +Pny=Q
where P0, P1, ..., Pn and Q are either constants or functions of the variablex and P0 6= 0.
A differential equation, which is not linear is called a nonlinear differen- tial equation.
Linear differential equations are further classified intohomogeneous and nonhomogeneous equations according to Q ≡ 0 and Q 6≡ 0, respectively.
In this regards, we shall study deeply later in Unit II.
Formation of a Differential Equation: Usually, differential equations are derived to eliminate arbitrary constants (parameters) involved in a family of curves. For illustration, consider the two-parameter family of straight lines
y =mx+c (1)
having the slop m and passing through the point (0, c). Differentiating Eq.
(2), we get
dy dx =m.
Differentiating again, we get
d2y
dx2 = 0 (2)
which is a second order differential equation.
Remark 1: To eliminaten arbitrary constants from n-parameter family of curves, we obtain a differential equation of order n.
Solution of a Differential Equation: A solution (or integral/primitive) of a differential equation is an explicit or implicit relation between the vari- ables involved that does not contain derivatives and satisfies the differential equation.
Naturally, the solution of a differential equation in one dependent variable y and one independent variable x are of the form y = f(x) (explicit form) or of the form φ(x, y) = 0 (implicit form). Geometrically speaking, both forms represents the curves in xy-plane. Henceforth, the solutions of such a differential equation are also called ‘integral curves’ of the equation.
For example, Eq. (1) forms an integral curve of differential equation (2).
General and Particular Solutions: A solution of a differential equation which contains a number of arbitrary constants equal to the order of the dif- ferential equation is called the general solution or thecomplete solution of the differential equation.
For example, y=acosx+bsinxis the general solution of the differential equation y00+y= 0. Although, y =acosx and y=bsinx both satisfy the given equation yet they are not general solutions as each of them contains only one arbitrary constant.
In lieu of the concept of general solution, it can be highlighted that a single differential equation can possess an infinite number of solutions corresponding to the unlimited number of choices for the arbitrary constants. A solution of a differential equation obtained by giving particular values to arbitrary constants in the general solution is called a particular solution.
Elementary Methods of Solving of Differential Equations of First Order and First Degree: In class 12, we have studied the techniques of solving the following three types of differential equations of order one and degree one:
1. Differential Equations with variable separable
4
2. Homogeneous Differential Equations 3. Linear Differential Equations
As a continuation, we shall discuss several another methods for solving the differential equations of order one and degree one in our upcoming lectures.
Bernoulli Equation (A topic of Unit I)
Recall that the general solution of linear differential equation:
dy
dx+P(x)y =Q(x) is
y×I.F.= Z
(Q×I.F.)dx+c
where cis an arbitrary constant and I.F.=eRP dx (called integrating factor).
Sometimes certain nonlinear differential equations can be reduced to linear forms by making suitable substitutions and hence can be solved easily.
Bernoulli equation is one of such equations. Indeed, an equation of the form dy
dx +P(x)y=Q(x)yn (1)
(where n6= 0 and n6= 1) is called Bernoulli equation.
Dividing Eq. (1) by yn, we get y−ndy
dx+P(x)y−n+1 =Q(x). (2) Put y−n+1 =u so that (1−n)y−n dydx = dudx. Thus, Eq. (2) reduces to
1 1−n
du
dx+P(x)u=Q(x) 1
2 or,
du
dx+ (1−n)P(x)u= (1−n)Q(x)
which is a linear differential equation in dependent variableuand independent variable x. After solving it and then replacing uby y−n+1, we can obtain the general solution of Eq. (1).
Example 2.24/p.42: Solve (1−x2)dxdy +xy =xy2. Solution. Dividing given equation byy2, we get
(1−x2)y−2dy
dx +xy−1 =x which can be written as
y−2dy
dx + x
1−x2y−1 = x 1−x2.
Puty−1 =u so that−y−2dydx = dudx. Then, above equation reduces to du
dx − x
1−x2u=− x 1−x2
which is a linear differential equation in dependent variableuand independent variable x. Its integrating factor is
I.F. = eRP dx =e−
R x
1−x2dx
= e12
R −2x 1−x2dx
=e(1/2) log(1−x2)
= (1−x2)1/2. Therefore, the solution is
u×I.F.= Z
(Q×I.F.)dx+c
or,
u(1−x2)1/2 = Z
− x
1−x2(1−x2)1/2dx+c
= Z
−x(1−x2)−1/2dx+c
= Z
t−1/2.1
2dt+c (put t = 1−x2 so that−2xdx=dt)
= 1 2
t1/2
1/2+c=t1/2+c
= (1−x2)1/2+c.
Putting u=y−1 in above equation, we get
y−1(1−x2)1/2 = (1−x2)1/2+c
or, √
1−x2 =y√
1−x2+cy or,
(1−y)√
1−x2 =cy
which is the required solution of given differential equation.
Example 2.25/p.42: Solve xdydx+y=y2logx.
Solution. Dividing given equation byy2, we get xy−2dy
dx +y−1 = logx which can be written as
y−2dy dx + 1
xy−1 = logx x .
Put y−1 =uso that −y−2dydx = dudx. Then, above equation reduces to
−du dx + 1
xu= logx x
4 or,
du dx − 1
xu=−logx x
which is a linear differential equation in dependent variableuand independent variable x. Its integrating factor is
I.F.=e−R dxx =e−logx = 1 x. Therefore, the solution is
u×I.F.= Z
(Q×I.F.)dx+c or,
u.1
x = −
Z logx x
1
xdx+c
= −
Z
te−tdt+c (put t = logx so that x1dx=dt and x=et)
= −[−te−t−e−t] +c= (t+ 1)e−t+c
= (logx+ 1).1 x +c which can be written as
u= logx+ 1 +cx.
Puttingu=y−1 in above equation, we get 1
y = logx+ 1 +cx or,
(1 + logx+cx)y= 1
which is the required solution of given differential equation.
Home Assignments:
Solve the following differential equations:Q.33/p.61: dydx = 2ytanx+y2tan2x. Ans. −1ysec2x=c+12tan3x.
Q.34/p.61: cosxdy =y(sinx−y)dx. Ans. y−1 =ccosx+ sinx.
Q.36/p.61: dydx =x3y3−xy. Ans. y12 = 1 +x2+cex2. Q.38/p.61: (x2y3+xy)dy−dx= 0. Ans. 1x = 2−y2 +e−y2/2
Exact Differential Equation (A topic of Unit I)
A differential equation is said to be exact if it can be derived from its primitive (general solution) directly by differentiation, without any subsequent multiplication, elimination, etc.
Theorem 1. The necessary and sufficient condition for the differential equa- tion M dx+N dy= 0 to be exact is that
∂M
∂y = ∂N
∂x
In order to obtain the solution of an exact differential equation, we have to proceed as follows:
1. IntegrateM with respect to x, keeping y as constant.
2. Integrate with respect toy only those terms of N which do not contain x.
3. Add the two expressions obtained in (1) and (2) above and equate the result to an arbitrary constant.
In other words, the solution of an exact differential equation is Z
(y=constant)
M dx+
Z
(terms not having x)
N dy=c.
1
2
Ex.40 / P.61 Solveysin 2xdx−(1 +y2+ cos2x)dy= 0 Solution. The given differential equation is
ysin 2xdx−(1 +y2+ cos2x)dy= 0 compare the above equation with
M dx+N dy= 0, we get
M = ysin 2x and N =−(1 +y2+ cos2x)
⇒ ∂M
∂y = sin 2x and ∂N
∂x = 2 cosxsinx= sin 2x i.e.,
∂M
∂y = ∂N
∂x
The given equation is exact. Now the solution of the differential equation is Z
(y=constant)
M dx+
Z
(terms not having x)
N dy = c Z
ysin 2xdx+ Z
(−1−y2)dy = c
−ycos 2x
2 +
−y− y3 3
= c So, the solution is
ycos 2x+ 2y+2y3 3 =c
Ex.41 / P.61 Solve
y 1 + 1x
+ cosy
dx+ (x+ logx−xsiny)dy= 0.
Solution. The given differential equation is
y
1 + 1 x
+ cosy
dx+ (x+ logx−xsiny)dy = 0 compare the above equation with
M dx+N dy= 0, we get
M =
y
1 + 1
x
+ cosy
and N = (x+ logx−xsiny)
⇒ ∂M
∂y =
1 + 1 x
−siny and ∂N
∂x = 1 + 1
x −siny i.e.,
∂M
∂y = ∂N
∂x
The given equation is exact. Now the solution of the differential equation is Z
(y=constant)
M dx+
Z
(terms not having x)
N dy = c Z
y
1 + 1 x
+ cosy
dx+ Z
0dy = c y(x+ logx) +xcosy = c So, the solution is
xy+ylogx+xcosy=c.
Ex.42 / P.61 Solve (ey + 1) cosxdx+eysinxdy= 0.
Solution. The given differential equation is
(ey+ 1) cosxdx+eysinxdy= 0 compare the above equation with
M dx+N dy= 0,
4 we get
M = (ey+ 1) cosx and N =eysinx
⇒ ∂M
∂y = eycosx and ∂N
∂x =eycosx i.e.,
∂M
∂y = ∂N
∂x
The given equation is exact. Now the solution of the differential equation is Z
(y=constant)
M dx+
Z
(terms not having x)
N dy = c Z
(ey+ 1) cosxdx+ Z
0dy = c (ey+ 1) sinx = c So, the solution is
(ey + 1) sinx=c.
Home Assignment
1. (Exp.2.29/P.46) Solve xdx+ydy+xdy−ydxx2+y2 = 0.
[Sol:x2−2tan−1 xy +y2 =2c]
2. (Exp.2.30/P.46) Solve (1 +exy)dx+exy
1− xy
dy= 0.
[Sol:x+yexy =c]
3. (Exp.2.31/P.47) Solve (sinxcosy+e2x)dx+(cosxsiny+tany)dy = 0.
[Sol: 12e2x−cosxcosy+ log secy=c]
Integrating Factor: Part-I (A topic of Unit I)
The equation
ydx+ (x2y−x)dy = 0 (1)
is easily seen to non exact because ∂M∂y = 1 and ∂N∂x = 2xy−1.
However, if we multiply both sides of equation (1) by the factor x12, then equation (1) becomes
y
x2dx+ (x2y−x)
x2 dy = 0, (2)
which is exact because
∂M
∂y = 1
x2 = ∂N
∂x.
To what extent can other non exact equations be made exact in this way?.
In other way, if
M(x, y)dx+N(x, y)dy= 0 (3)
is not exact, under what conditions can a function µ(x, y) be found with the property that
µ(M dx+N dy) = 0
is exact? Any function µ that act in this way is called an integrating factor (in short, I.F.) for (8). Therefore x12 is an integrating factor for (1).
A differential equation of the type (8) always has an integrating factor but there is no general method of finding them. Here we shall discuss some of the methods for finding the integrating factors.
1
2
Rule I. If the differential equation (8) is homogeneous and M x+N y 6= 0, then M x+N y1 is the integrating factor.
Example 2.35/P.50 Solve
x2ydx−(x3+y3)dy= 0 (4) Solution. From (4), we have M =x2y and N =−(x3+y3), so
M x+N y =x3y−x3y−y4 =−y4 6= 0,
and the equation (4) is homogeneous. Therefore the integrating factor is −y14. Multiplying equation (4) by this integrating factor, we have
−x2 y3dx+
x3 y4 +1
y
dy= 0.
Now
M =−x2
y3 N = x3 y4 + 1
y and hence
∂M
∂y = 3x2
y4 = ∂N
∂x. Therefore, the differential equation is exact and hence
Z
y=constantM dx=− Z x2
y3dx=− x3 3y3 Z
terms not having xN dy= Z dy
y = logy.
Thus the required solution is Z
M dx+ Z
N dy=c
− x3
3y3 + logy=c i.e.,
x3 = 3y3(logy−c).
Home Assignment:
1. (Q.8/P.60) Solve x2ydx−(x3+y3)dy = 0.
[Ans:y=cex3/3y3.]
2. (Q.39/P.61) Solve (x2−2xy−y2)dx−(x+y)2dy = 0.
[Ans:x3−y3+ 3xy(x−y) =C]
Rule II. If in the differential equation (8), M =yf1(xy) and N =xf2(xy).
Then (M x−N y)1 is an integrating factor.
Example 2.37/P.51 Solve
(xy+ 2x2y2)ydx+ (xy−x2y2)xdy= 0 (5) Solution. From equation (5), we have M = (xy+ 2x2y2)y = yf1(xy) and N = (xy−x2y2)x=xf2(xy). Therefore the integrating factor is
1
M x−N y = 1
x2y2+ 2x3y3−x2y2+x3y3 = 1 3x3y3. Multiplying (5) by this integrating factor, we have
y(xy+ 2x2y2)
3x3y3 dx+x(xy−x2y2)
3x3y3 dy = 0 or,
1 3
1 x2y + 2
x
dx+ 1 3
1 xy2 − 1
y
dy = 0 Now,
∂M
∂y =− 1
x2y2 = ∂N
∂x
and hence the above differential equation is exact. Therefore Z
y=constantM dx= 1 3
Z 1 x2y + 2
x
dx= 1 3
− 1
xy+ 2 logx
Z
terms not having xN dy=−1 3
Z 1 y =−1
3logy.
4
Thus the required solution is Z
M dx+ Z
N dy=c or,
1 3
− 1
xy + 2 logx
+1
3(−logy) = C or,
2 logx−logy= 1
xy +C1, where C1 = 3C Home Assignment:
1. (Q.48/P.61) Solve (x3y3+x2y2+xy+1)ydx+(x3y3−x2y2−xy+1)xdy= 0.
[Ans:xy− xy1 −logy2 =C.]
2. (Q.51/P.61) Solve (xysinxy+ cosxy)ydx+ (xysinxy−cosxy)xdy = 0.
[Ans:Cycosxy=x]
Rule III.The equation (8) haseRf(x)dxas the integrating factor if N1
∂M
∂y − ∂N∂x is a function of x, say f(x).
Remark 1. If N1
∂M
∂y −∂N∂x
=k(a constant), then the integrating factor is eRkdx.
Example 2.39/P.52 Solve
(x2+y2)dx−2xydy = 0 (6)
Solution. From equation (6), we have M = (x2 + y2) and N = −2xy.
Therefore ∂M∂y = 2y and ∂N∂x =−2y, and hence 1
N ∂M
∂y −∂N
∂x
=− 1
2xy(2y−(−2y)) = −2
x =f(x)(say).
Thus the integrating factor is
eRf(x)dx=eR −2x dx
=e−2 logx
= 1
x2 (7)
Multiplying the equation (6) by this integrating factor, we obtain x2+y2
x2
dx− 2xy
x2 dy= 0 or,
1 + y2
x2
dx− 2y
x dy= 0 or,
dx+d −y2
x
= 0 Now integrating term by term, we get
x− y2 x =C.
which is the required solution.
Home Assignment:
1. (Q.52/P.61) Solve (x3−2y2)dx+ 2xydy = 0.
[Ans:x+xy22 =C]
2. (Q.53/P.61) Solve (x2+y2+ 2x)dx+ 2ydy= 0.
[Ans:ex(x2+y2) =C]
Lecture No. 05
Integrating Factor: Part-II (A topic of Unit I)
In the previous lecture, we have discussed the integrating factor of the following non exact differential equation
M(x, y)dx+N(x, y)dy= 0 (8)
Now, we also include the following methods to find out the integrating factor of the differential equation (8).
Rule IV.The equation (8) haseRf(y)dyas the integrating factor if M1
∂N
∂x − ∂M∂y is a function of y, say f(y).
Remark 2. If M1
∂N
∂x − ∂M∂y
=k(a constant), then the integrating factor is eRkdy.
Example 2.41 /P.53 Solve
(xy3+y)dx+ 2(x2y2+x+y4)dy = 0. (9) Solution. From equation (9), we haveM = (xy3+y)andN = 2(x2y2+x+y4).
Therefore
∂M
∂y = 3xy2+ 1 and ∂N
∂x = 2(2xy2+ 1) 1
and hence 1 M
∂N
∂x − ∂M
∂y
= 1
xy3+y 4xy2+ 2−3xy2−1
= 1
xy3+y xy2 + 1
= 1
y (10)
Thus the integrating factor is eRf(y)dy =e
R 1
ydy
= elogy =y. Multiplying (9) by y, we obtain the following exact differential equation
(xy4+y2)dx+ 2(x2y3+xy+y5)dy = 0 (11) Now,
M1 = (xy4 +y2) and N1 = 2(x2y3+xy+y5) and hence
Z
y=constantM1dx= 1
2xy4+y2x
and Z
terms not having xN1dy= 2 6y6. Thus the required solution is
1
2xy4 +y2x+ 2
6y6 =C or,
3xy4+ 6y2x+ 2y6 = 6C.
Home Assignment:
1. (Q.54/P.61) Solve (2x2y−3y2)dx+ (2x3−12xy+ logy)dy = 0.
[Ans: 6x3y3−27xy4−3y3logy−y3 =C.]
2. (Q.55/P.61) Solve (3x2y4+ 2xy)dx+ (2x3y3−x2)dy = 0.
[Ans:x3y3 +x2 =Cy]
3
Rule V. If the differential equation (8) is of the form
xayb(mydx+nxdy) +xcyd(pydx+qxdy) = 0,
where a, b, c, d, m, n, p and q are constants, then xhyk is the integrating factor of the given differential equation, where h, k are constants and can be obtained by applying the condition that after multiplication by xhyk the given equation is exact.
Example 2.43/P.54 Solve
(y2+ 2x2y)dx+ (2x3−xy)dy= 0. (12) Solution. Equation (12) can also be written as
y(y+ 2x2)dx+x(2x2−y)dy= 0
Let xhyk be the integrating factor. Multiplying (12) by this integrating factor, we have
(xhyk+2+ 2xh+2yk+1)dx+ (2xh+2yk−xh+1yk+1)dy= 0 (13) Now,
M =xhyk+2+ 2xh+2yk+1 and
N = 2xh+2yk−xh+1yk+1 If (13) is exact, then ∂M/∂y=∂N/∂x, that is,
(k+ 2)xhyk+1+ 2(k+ 1)xh+2yk= 2(h+ 3)xh+2yk−(h+ 1)xhyk+1 Equating the coefficients of xhyk+1 and xh+2yk on both sides and solving, we have
h=−5
2 and k =−1 2 Thus the integrating factor is
xhyk=x−52y−12
Multiplying (12) by this integrating factor, we have
(x−52y32 + 2x−12y12)dx+ (2x12y−12 −x−32y12)dy= 0 From this equation, we have
M1 =x−52y32 + 2x−12y12 and
N1 = 2x12y−12 −x−32y12 Since the equation is exact, we have
Z
y=constantM1dx=−2
3x−32y32 + 4x12y12
and Z
terms not having xN1dy= 0 Therefore the required solution is
Z
M1dx+ Z
N1dy=C or,
−2
3x−32y32 + 4x12y12 =C Home Assignment:
1. (Q.57/P.61) Solve (3x+ 2y2)ydx+ 2x(2x+ 3y2)dy = 0.
[Ans:x3y4 +x2y6 =C.]
2. (Q.60/P.61) Solve (2x2y−3y4)dx+ (3x3+ 2xy3)dy= 0.
[Ans: 12x−10/13y15/13+ 5x−36/13y24/13=C]
Change of Variables: If we are unable to apply the rules/methods, which we have already discussed to solve a given differential equation, then we shall reduce the given differential equation by suitable substitution. This procedure
5 of reducing the given differential equation by substitution is called the change of dependent / independent variable.
Example 2.45/P.55 Solve
xdx+ydy= a2(xdy−ydx)
x2+y2 (14)
Solution. Let x =rcosθ and y =rsinθ, so r2 = x2+y2 and tanθ =y/x.
Differentiating the above relations, we have
dx=−rsinθdθ, dy=rcosθdθ and rdr =xdx+ydy.
From (14), we obtain
rdr = a2
r2 r2cos2θdθ+r2sin2θdθ
= a2 r2r2dθ
=a2dθ (15)
On integration, we have
r2 = 2a2θ+C or,
x2+y2 = 2a2tan−1 y x +C which is the required solution.
Home Assignment:
1. (Q.2.46/P.56) Solve sec2y dydx
+ 2xtany=x3. [Ans: tany= 12(x2−1) +Ce−x2]
Orthogonal Trajectories (A topic of Unit I)
A family of curves whose members cut every member of another family of curves at right angles is called an orthogonal trajectories of second family of curves.
Formation of Orthogonal trajectories in Cartesian Coordinates: Let the given family of curves is represented by the equation
F(x, y, c) = 0 (16)
wherec is a parameter.
We know that differentiating equation (16) w. r. toxand then eliminating c with the help of (16), we get a first order ODE of the form
dy
dx =f(x, y) (17)
Equation (17) is called the differential equation of the family (16).
As dydx represents the slop of a curve of the family (16), therefore the slope of the curve perpendicular to this curve will be −dy/dx1 . Thus the equation of the orthogonal trajectories is
− 1
dy/dx =f(x, y) or dy
dx =− 1
f(x, y) (18)
1
2
Solving Differential equation (18), we obtain the orthogonal trajectories of the family (16) as desired.
Example 4.48/p.136 Find the orthogonal trajectories of x2+y2 =cx.
Solution. The given family of curves is
x2+y2 =cx (19)
Differentiating (19) w.r. to x, we get
2x+ 2ydy
dx =c (20)
Eliminating c between (19) and (20), we get
x2+y2 =
2x+ 2ydy dx
x x2+y2 = 2x2+ 2xydy
dx y2−x2 = 2xydy
dx
⇒ dy
dx = y2−x2
2xy =f(x, y)
which is the differential equation of family (19). Hence Differential equation of orthogonal trajectories is
dy
dx =− 1
f(x, y) = 2xy
x2−y2 (21)
which is a first order differential equation. Puttingy =vxso that dydx =v+xdvdx
in (21), we get
v +xdv
dx = 2x(vx) x2−(vx)2 v +xdv
dx = 2v 1−v2 xdv
dx = 2v 1−v2 −v xdv
dx = 2v−v(1−v2)
1−v2 = 2v−v+v3 1−v2 xdv
dx = v+v3 1−v2 xdv
dx = v(1 +v2) 1−v2 1−v2
v(1 +v2)dv = dx x [(1 +v2)−2v2]
v(1 +v2) dv = dx x dv
v − 2v
1 +v2dv = dx x On integrating, we get
logv−log(1 +v2) = logx+ loga v
1 +v2 = ax Putting v = yx in above equation, we get
y/x
1 + (y/x)2 = ax
⇒ yx
x2+y2 = ax
⇒ x2+y2 = 1 ay or
x2+y2 =by,
where 1a =b, which is the desired orthogonal trajectories.
4
Example 4.49/p.137 Find the orthogonal trajectories of the family y = x+ce−x and determine that particular member of each family that passes through (0,3).
Solution. The given family of curves is
y=x+ce−x (22)
Differentiating (22), we get dy
dx = 1−ce−x (23)
From (22), ce−x =y−x. Putting this value in (23), we get dy
dx = 1−(y−x) = 1 +x−y
which is Differential equation of family (22). Thus Differential equation of Orthogonal trajectories is
dy
dx = − 1
1 +x−y
⇒ dx
dy = −1−x+y
⇒ dx
dy +x = y−1 (24)
Equation (24) is linear differential equation in which x is dependent variable and y is independent variable. Hence
I.F.=eRP dy =eR1dy =ey
The general solution is
x×I.F. = Z
(Q×I.F.)dy+a xey =
Z
((y−1)×ey)dy+a
= Z
yeydy− Z
eydy+a
= (yey −ey)−ey +a xey = yey −2ey+a
(x−y+ 2)ey = a, (25)
which is orthogonal trajectories of (22). This orthogonal trajectories passes through the point (0,3). So, putting x= 0 and y= 3 in (25), we get
(x−y+ 2)ey = a (0−3 + 2)e3 = a
⇒ a = −e3 Hence, (25) becomes
(x−y+ 2)ey = a (x−y+ 2)ey = −e3
(x−y+ 2) = −e3−y or
x−y+ 2 +e3−y = 0
which is the required curve passing through the point (0,3).
Home Assignment
1. (Q.48/P-157) Find the members of the orthogonal trajectories for x+y=cey which passes through (0,5).
[Ans : y=2−x+3e−x]
6
2. (Que 49/P-157) Find the orthogonal trajectories of the following family of curves:
• c1x2+y2 = 1
[Ans: 2log|y|=x2+y2+c2]
• 4y+x2+ 1 +c1e2y = 0
[Ans: y= 14 − 16x2+c2x−4]
Orthogonal Trajectories in Polar Coordinates (A topic of Unit I)
Consider the equation of the family of curves in polar form:
F(r, θ, c) = 0 (26)
wherec is a parameter. Differential equation of family (26) is of the form:
f
r, θ,dr dθ
= 0 (27)
Replacing drdθ by−r2dθdr in (27), we obtain the differential equation of orthogonal trajectories of the family (26) given by
f
r, θ,−r2dθ dr
= 0 (28)
On solving (28), we get the equation of orthogonal trajectories of (26).
Example 4.51/p.138 Find the equation of the orthogonal trajectory of the family of circles having a polar equation r=f(θ) = 2acosθ.
Solution. The given family of curves is
r= 2acosθ (29)
Differentiating (29) w.r. to θ, we get dr
dθ =−2asinθ (30)
1
2
From (29), we have 2a= cosrθ. Using this, (30) becomes dr
dθ =−2asinθ dr
dθ =− r cosθ
sinθ dr
dθ =−rtanθ which is differential equation of family of (29).
Hence, differential equation of orthogonal trajectories is
−r2dθ
dr = −rtanθ rdθ
dr = tanθ
⇒ dθ
tanθ = dr r
⇒ cosθ
sinθdθ = dr r On integrating, we get
Z cosθ
sinθdθ+c0 =
Z dr r
log sinθ+ log 2a = logr, where c0 = log 2a
⇒ r= 2asinθ
which is the required equation of orthogonal trajectories.
Example 4.52/p.139 Find the orthogonal trajectories ofr =c1(1−sinθ).
Solution. The given family of curves is
r=c1(1−sinθ) (31)
Differentiating (31) w.r. to θ, we get dr
dθ =−c1cosθ (32)
Dividing (32) by (31) (to eliminate c), we have 1
r dr
dθ =− cosθ 1−sinθ
⇒ dr
dθ =− rcosθ 1−sinθ which is differential equation of family of (31).
Hence, the differential equation of orthogonal trajectories is
−r2dθ
dr = − rcosθ 1−sinθ
⇒ rdθ
dr = cosθ 1−sinθ
⇒ dr
r = 1−sinθ cosθ dθ
⇒ dr
r = (secθ−tanθ)dθ On integrating, we get
logr = log(secθ+ tanθ) + log cosθ+ loga logr = log[(secθ+ tanθ) cosθa]
⇒ logr = log[a(1 + sinθ)]
r=a(1 + sinθ)
which is the required equation of orthogonal trajectories of family (31).
Home Assignment
Find the orthogonal trajectories of the following family of curves:
1. (Q.) r2 =csin 2θ [Ans : r2 =acos2θ]
2. (Q.) r=c(secθ+ tanθ) [Ans : r=ae−sinθ]
Lecture No. 08
Nonlinear ODEs solvable for p (A topic of Unit I)
Differential Equations of first order but not of the first degree: The general form of differential equation of first order and nth(n > 1) degree, is
dy dx
n
+a1 dy
dx n−1
+a2 dy
dx n−2
+· · ·+an−1
dy dx
+an = 0 (33) or pn+a1pn−1+a2pn−2+· · ·+an−1p+an = 0
where,p= dydx and aa, a2, cdots, an−1 and an are the functions of x and y.
The equation (33) can be written as f(x, y, p) = 0
Solution of the Differential Equation (33): We have the following two cases:
1. Differential Equation (33) can be written as product of first degree factors.
2. It can not be resolved into factors of first degree.
Case I: Equations solvable for p: In this case, Differential equation (33) is of the form
[p−f1(x, y)][p−f2(x, y)][p−f3(x, y)]· · ·[p−fn(x, y)] = 0. (34) 1
Now, equating each factor to zero,
p−fi(x, y) = 0, i= 1,2, cdots, n Let the solutions of these factors be
φ(x, y, ci) = 0, i= 1,2,· · · , n
Taking,c1 =c2 =c3 =· · ·=cn =c, hence required solution is φ1(x, y, c)φ2(x, y, c)· · ·φn(x, y, c) = 0
Remark. Since the differential equation (33) is of first order, therefore its solution contains only one arbitrary constant.
Example 3.1/p.64 Solve (p−xy)(p−x2)(p−y2) = 0.
Solution. Here
(p−xy) = 0 p = xy dy
dx = xy dy
y = xdx dy
y −xdx = 0 on integrating, we have
logy−x2
2 −c1 = 0 And,
(p−x2) = 0 dy
dx −x2 = 0 dy−x2 dx = 0
⇒ y− x3
3 −c2 = 0,
3 Also, from the third factor, we have
(p−y2) = 0 dy
dx −y2 = 0 dy
y2 −dx = 0
⇒ − 1
y−x−c3 = 0
or 1
y +x+c3 = 0
Taking, c1 =c2 =c3 =c, hence solution of given differential equation is
logy− x2
2 −c y− x3
3 −c 1
y +x+c
= 0
Example 3.4/p.65 Solve x2p2+xyp−6y2 = 0 Solution. Solving the given equation for p, we have
p= 2y
x , − 3y x If p= 2yx, then
logy = 2 logx+ logc1 or y = c1x2
and if p=−3yx, then
yx3 = c2 Therefore, the required solution is
(y−cx2)(yx3−c) = 0
Example 3.5/p.65 Solvexy2(p2+ 2) = 2py3+x3 Solution. The given equation can be written as
(yp−x)[xyp+ (x2−2y2)] = 0 If yp−x= 0, then integration yields
y2 −x2 =c1 If xyp+x2−y2 = 0, then
xyp+x2 −y2 = 0 xydy
dx +x2−2y2 = 0 ydy
dx +x− 2y2
x = 0
2ydy dx − 4y2
x = −2x dv
dx − 4
xv = −2x, where v =y2 ⇒ dv
dx = 2ydy dx This is a linear differential equation in v and its solution is
v
x4 = c2+ 1 x2 y2 = c2x4+x2 Thus, the required solution is
(y2−x2−c)(y2−cx4−x2) = 0
Home Assignment
1. (Ex. 3.2/p.64)Solve (p+y+x)(xp+y+x)(p+ 2x) = 0 [Ans : (1−x−y−ce−x)(2xy+x2−c)(y+x2−c) =0]
5 2. (Ex. 3.6/p.65) Solve x2p3+y(1 +x2y)p2+y3p= 0
[Ans : (y−c)(ye−x1 −c)(xy+cy−1) = 0]
3. (Q. 1/p.73) Solve p2−7p+ 12 = 0 [Ans : (y−4x−c)(y−3x−c) =0]
4. (Q. 3/p.73) Solve p3+ 2xp2 −y2p2−2xy2p= 0 [Ans : (y−c)(y+x2−c)(xy+cy+1) =0]
Nonlinear ODEs solvable for y and x (A topic of Unit I)
Case II:- If the differential equation f(x, y, p) = 0 (first order but not first degree) can not be resolved into linear factors in p.
In this case we will discuss the following two cases:
1. Differential equation solvable fory.
2. Differential equation solvable forx.
(a) Differential equation solvable for y:- In this case the differential equation
f(x, y, p) = 0 (35)
can be re-written as
y=g(x, p) (36)
Now differentiate with respect to x, we get dy
dx =p=φ
x, p,dp dx
(37) And suppose that the solution of Equation (37) is
F(x, p, c) = 0 (38)
Then, the elimination of pbetween (36) and (38) give the required solution.
If this elimination is not possible, then equation (36) and (38) together give the required solution.
1
2
Example 3.7 / p.67Solve y+px=x4p2 Solution. Here
y=x4p2−px (39)
D.w.r. to x, we get
dy
dx =p = 4x3p2+ 2x4pdp
dx −p−xdp dx
⇒ (4x3p2−2p) +
2x4pdp
dx −xdp dx
= 0
⇒ (2x3p−1)
xdp dx + 2p
= 0 xdp
dx + 2p = 0, (We take the factor which contains derivative terms) dp
p + 2dx
x = 0 Integrating it, we get
logp+ 2 logx = logc
⇒ p = c x2 put this value in equation (39),
y = x4p2 −px
= x4 c
x2 2
− c x2x y = c2− c
x i.e.,
xy+c=c2x which is the required solution.
Example 3.8 / p.67Solve y= sinp−pcosp.
Solution. Given differential equation is
y= sinp−pcosp (40)
Differentiate w. r. to x, we get dy
dx =p = cospdp dx −
−psinpdp
dx + cospdp dx
or p = psinpdp dx p
sinpdp dx −1
= 0
⇒ sinpdp
dx −1 = 0 sinpdp=dx
On integrating, we have
−cosp+c = x
cosp = c−x (41)
From the given differential equation (40) p = sinp−y
cosp =
p1−cos2p−y cosp
=
p1−(c−x)2−y
c−x , (using(41))
=
√1−c2−x2+ 2cx−y
c−x ,
Put this value in equation (41), we have
c−x= cos √
1−c2−x2+ 2cx−y c−x
which is the required solution.
4
Home Assignment 1. (Q.8/p.74)Solve y= 2px+ tan−1(xp2)
[Ans : y=2c√
x+ tan−1c2] 2. (Ex. 3./p.xx)Solve f
[Ans : ]
(b) Differential equation solvable for x:- If the differential equation
f(x, y, p) = 0 (42)
is solvable forx, then we can write it as
x=h(y, p) (43)
Differentiate with respect toy, we get dx
dy = 1 p =ψ
y, p,dp dy
(44) If the solution of Equation (44) is
G(y, p, c) = 0 (45)
Then, the elimination of pfrom (43) and (45), we get the required solution.
If this elimination is not possible, then equation (43) and (45) together give the required solution.
Example 3.10 / p.68Solve y2logy=xyp+p2 Solution. Given differential equation is
y2logy = xyp+p2, (46)
or x = 1
pylogy− p
y (47)
Differentiate w. r. to y, we get dx dy = 1
p = − 1 p2
dp
dy(ylogy) + 1 p
1·logy+y· 1 y
− 1 y
dp dy + p
y2 1
p = − 1 p2
dp
dy ·ylogy+1
plogy+1 p − 1
y dp dy + p
y2
1− y p
dp dy
1
plogy+ p y2
1− y
p dp dy
= 0
1−y p
dp dy
logy p + p
y2
= 0 1− y
p · dp
dy = 0
⇒ dp
p = dy dy On integrating, we get
logp = logy+ logc
⇒ p = yc Put this value in (46), we have
y2logy = xyp+p2, y2logy = xy(yc) + (yc)2 Hence, solution is
logy =xc+c2
Example 3.11 / p.69 Solve xp3 =a+bp Solution. Here,
x= a p3 + b
p2 (48)
6
Differentiate w.r. to y, we get dx dy = 1
p = −3a p4
dp dy +
−2b p3
dp dy
⇒ 1 = − 3a
p + 2b 1
p2 dp dy dy+ 1
p2 3a
p + 2b
dp = 0 On integrating
y+
−3a 2p2
+
2b
−p
= c y = 3a
2p2 +2b
p +c (49)
Here, it is not easy to eliminate p from (48) and (49). Hence, the equations (48) and (49) both constitute the solution.
Home Assignment 1. (Ex. 3.12/p.69)Solve x=y+alogp= 0
[Ans : x=c−alog(1−p) +alogp, y=c−alog(1−p)]
2. (Ex. 3./p.xx)Solve f [Ans : ]
Clairaut and Lagrange Equation (A topic of Unit I)
The most general form of a differential equation of the first order but not of the first degree (say nth degree) is
dy dx
n
+P1 dy
dx n−1
+P2 dy
dx n−2
+· · ·+Pn−1
dy dx
+Pn= 0 (50) or pn+P1pn−1+P2pn−2+· · ·+Pn−1p+Pn= 0 where p= dydx and P1, P2,· · ·, Pn are functions ofx and y. This equation can also be written as
F(x, y, p) = 0. (51)
The above equation however can not be solved in this general form.
The Clairaut Equation
When the given equation (51) is of the first degree in x and y, and of the form
y=px+f(p) (52)
Equation (52) is known as Clairaut’s equation. To solve it, we differentiate with respect tox to obtain
p= dy
dx = [x+f0(p)]p0+p or [x+f0(p)]dp
dx = 0 (53)
1
2
Ifdp/dx= 0, thenp= c= constant. Eliminatingpbetween this and equation (52), we get
y=cx+f(c) (54)
which is required solution of Clairaut’s equation.
Remark 3. Sometimes by a suitable substitution, an equation can be reduced to Clairaut’s form.
Example (3.13/P-71)Solve (y−px)(p−1) =p.
Solution. The given equation can be written as y =xp+ p
p−1, which is a Clairaut equation. Hence the solution is
y = xc+ c c−1, y = xc(c−1) +c
(c−1) y(c−1) = xc(c−1) +c y(c−1)−xc(c−1) = c
i.e., which is the required solution.
Example (3.14/P-71)Solve p= log(px−y) Solution. The given equation is
y=px−ep.
Which is a Clairaut equation. Hence the solution is y = cx−ec ec = cx−y, i.e.,
c= log(cx−y)
Example (3.17/P-73) Solve (px−y)(py+x) =h2p.
Solution. This equation can be written as
p2xy+px2−py2−xy = h2p p2xy−xy+px2−py2−h2p = 0
p2xy−xy+p(x2−y2−h2) = 0,
Putting x2 =u⇒2xdx=du and y2 =v ⇒2ydy =dv, and p= dy dx = x
y dv du the given equation takes the form
p2xy−xy+p(x2−y2−h2) = 0 x
y dv dv
2
xy−xy+x y
dv
du(u−v−h2) = 0 x2
y dv
dv 2
−y+1 y
dv
du(u−v−h2) = 0 x2
dv dv
2
−y2+ dv
du(u−v−h2) = 0 u
dv dv
2
−v+ dv
du(u−v−h2) = 0
or uP2+ (u−v−h2)P −v = 0, where P = dv du
or v = uP − h2P
P + 1 which is of Clairaut‘s form and has the solution as
v =uc− h2c c+ 1 where u=x2 and v =y2. i.e.,
y2 =x2c− h2c c+ 1.
4
Home Assignment 1. (Example 3.18/P-73)Solve y= 2px+y2p3.
[Ans : y2 =cx+18c3]
2. (Que 21/P-74)sinpxcosy= cospxsiny+p, [Ans : y=cx−sin−1c]
3. (Que 22/P-74)xy(y−px) = x+py, [Ans : y2 =cx2+ (1+c)]
4. (Que 24/P-74) Solve x2p2+yp(2x+y) +y2 = 0 by reducing it to Clairaut’s form by using the substitutiony =u and xy=v.
[Ans : xy =cy+c]
[RB1] The Lagrange Equation An equation of the form
y=xf1(p) +f2(p) (55)
is known as Lagrange’s Equation. To solve it, we differentiate with respect to xto obtain
p= dy
dx = f1(p) +xf10(p)dp
dx +f20(p)dp dx p−f1(p) = dp
dx[xf10(p) +f20(p)]
dx
dp = xf10(p) +f20(p) p−f1(p)
or dx
dp − f10(p)
p−f1(p)x = f20(p)
p−f1(p) (56)
which is a linear equation in x, and hence can be solved in the form
x=φ(p, c) (57)
eliminatingp from equations (55) and (57), we get the required solution. If it is not possible to eliminatep, then the values of x andy in terms of pcan be found from equations (55) and (57), and these will constitute the required solution.
Note. The Clairaut Equation is the particular case of the Lagrange Equation.
Example 2/ P.46 Solve the equation y=xp2−p1.
Solution. This equation is Lagrange equation. Differentiating it w.r.t. x, we get
dy
dx =p = x
2pdp dx
+p2(1)−
−1 p2
dp dx p−p2 =
2xp+ 1 p2
dp dx dx
dp = 2xp+ p12
p−p2 dx
dp = 2xp
p−p2 + 1 p2(p−p2)
⇒ dx
dp + 2x
p−1 = − 1 p3(p−1)
This equation is linear in x [An equation is linear if it is of the form
dy
dx +P y =Q]. Therefore
I.F.=e
R 2
p−1dp
=elog(p−1)2 = (p−1)2
6
On integrating, we get
x.(I.F.) = Z
(I.F.)Qdp x(p−1)2 =
Z
(p−1)2
− 1 p3(p−1)
dp x(p−1)2 = −
Z p−1
p3
dp x(p−1)2 = −
Z 1 p2 − 1
p3
dp x(p−1)2 = c1+ 1
p− 1 2p2 x(p−1)2 = 2c1p2 + 2p−1
2p2 x = 2c1p2 + 2p−1
2p2(p−1)2 x = cp2+ 2p−1
2p2(p−1)2 (58)
Substituting this value of x in the given equation, we get y = xp2−1
p y = cp2+ 2p−1
2(p−1)2 −1
p (59)
Equations (58) and (59) together give the required solution. Hence,
x= cp2+ 2p−1
2p2(p−1)2 , y= cp2+ 2p−1 2(p−1)2 −1
p
Example 4 /P.47 Solve the equationy = 2px+pn.
Solution. This equation is Lagrange equation. Differentiating it w.r.t. x, we
get
dy
dx =p = 2p.(1) +x.
2dp
dx
+npn−1dp dx p = 2p+ (2x+npn−1)dp
dx
−p = (2x+npn−1)dp dx dx
dp = 2x+npn−1
−p
⇒ dx dp + 2
px = −npn−2 This equation is linear in x. Therefore
I.F.=eR(2/p)dp =e2 logp =elogp2 =p2 On integrating, we get
x.(I.F.) = Z
(I.F.)Qdp x.p2 =
Z
p2.(−npn−2) dp x.p2 = −
Z
npndp xp2 = − n
n+ 1pn+1+c
⇒ x = c
p2 − n
n+ 1pn−1 (60)
Substituting this value ofx in the given equation, we get y = 2px+pn
y = 2p c
p2 − n n+ 1pn−1
+pn y = 2c
p − 2n
n+ 1pn+pn y = 2c
p − (n−1)
(n+ 1)pn (61)
8
Equation (60) and (61) together give the required solution. Hence, x= c
p2 − n
n+ 1pn−1, y= 2c
p −(n−1) (n+ 1)pn
Home Assignment 1. (Ex 7/ p-48) Solve y=x(1 +p) +p2
[Ans : x=2(1−p) +ce−p, y={2(1−p) +ce−p}(1+p) +p2] 2. (M Ex.8/ p-48) Solve y=xp2+p
[Ans : x= (logp−p+c)(p−1)−2, y=xp2+p]
3. (M Ex.10/ p-48) Solvey = 32xp+ep [Ans : x= pc3 −2ep
1
p − p22 + p23
, y= 2p3c2 −2ep
1− p3 + p32
]
The Singular Solution of a First order ODE
1(A topic of Unit I)
Consider the ordinary differential equation
f(x, y, p) = 0, where p= dy
dx. (62)
In Lecture 1, we have already discussed the two types of solution of an ordinary differential equation namely: general solution and particular solution.
In case of differential equation (62), its general solution will contain an arbitrary constantc, and therefore the general solution of differential equation (62) is of the form
g(x, y, c) = 0. (63)
Recall that, any particular solution of equation (62) can be obtained from (63) by substituting the suitable values of c.
Besides general solution and particular solution, there is another type of solution of equation (62), which is called Singular solution.
Definition 1. A singular solution of equation (62) is a solution, which is free from arbitrary constants but not a particular solution of the equation.
1The Content of this lecture is based on the reference book
”Frank Ayres, Jr: Theory and Problems of Differential Equations (Schaum‘s Outline Series)”
1