Sample 13655
Sample 13655
Sample 13655
Semester – II
(Common to All Branches)
As per the new revised syllabus of SPPU w.e.f. academic year 2015-2016
ISBN : 978-81-935057-6-2
Price : `550 /-
Note : For any queries, doubts, suggestions and complaints regarding the subject, please feel free
to contact on the below e-mail or phone number. We will be more than thankful for your feedback.
Ph: 7757042853 E-mail : [email protected]
What is an e-Book?
1. Open any QR Code reader on your phone from the Google Play Store/Apple Store.
2. Hold your device over a QR Code so that it’s clearly visible on your smartphone’s screen.
Two things can happen when you correctly hold your smartphone over a QR Code.
i) The phone automatically scans the code.
ii) On some readers, you have to press a button to snap a picture, not unlike the button on
your smartphone camera. If necessary, press the button.
3. Your smartphone reads the code and navigates to the intended destination, which doesn't
happen instantly. It may take a few seconds on most devices.
Acknowledgment
We are grateful to the Savitribai Phule Pune University, the Examining
Body, whose ‘Syllabus Draft’ and Examination Questions have been included in
this book for the purpose of illustration and right direction.
We express our sincere thanks to Hon. Prof. M. N. Navale, Founder-
President STES, Hon. Dr. (Mrs.) Sunanda M. Navale, Founder- Secretary STES,
Hon. Mr Rohit Navale, Vice president (HR), STES and Hon. Mrs. Rachana Navale
– Ashtekar, Vice President (Admin), STES as they are constant source of
inspiration to us right from the first day of our teaching carreer. We would also
like to thank Principal SCOE, SKNCOE, NBNSOE, SAE, SITS, RMDSOE, SIT,
SKNSITS for their co-operation and support.
I express my sincere thanks to my student Mangesh Ghaisas, Second year
E & TC from PICT, Pune who has helped in creating the Crossword of curve
tracing. We would also thank our department colleagues for their suggestions
and timely help.
Any suggestions for the improvement of this book will be sincerely
acknowledged and incorporated in the next edition.
We remain obliged to them forever for their kind co-operation and valuable
guidance. We are especially thankful to our colleagues and students for their
timely kind cooperation.
We hope the book; an off-shoot of joint venture, will cater all the
requirement of students to crack the nut-shell of the subject. We are also
thankful to Gigatech Publishing House TEAM for their continuous support,
hard work and patience in preparing this book.
SYLLABUS
Unit - I : (09 Hrs.)
Differential Equations (DE) : Definition, Order and Degree of DE, Formation of DE. Solutions of
Variable Separable DE, Exact DE, Linear DE and reducible to these types.
6.1 Introduction
6.2 Basic Terms in Curves Tracing
6.3 Application of Curve Tracing
6.4 Tracing of Cartesian Curves (Explicit Relations)
6.5 Type 2 : Tracing of Cartesian Curves (Implicit Form)
6.6 Types 3 : Tracing of Cartesian Curves (Parametric Equation)
6.7 Type 4 : Tracing of Polar Curves r = f ()
6.8 Types 5 : Tracing of Polar Curves (Rose Curves)
6.9 Rectification of Curves
7.1 Introduction
7.2 Cartesian Co-ordinate system, Spherical polar and Cylindrical polar
co-ordinate
7.3 Basic Results from Co-ordinate Geometry
7.4 Introduction to Co–ordinate Geometry
7.5 Application of Co–ordinate Geometry
8.1 Introduction
8.2 Equations of The sphere in Different Forms
8.3 Equation of the Tangent Plane
8.4 Intersection of Two Spheres
10.1 Introduction
10.2 Type 1 : Evaluation of Double integrals when limits are provided
10.3 Type 2 : Limits are not Provided but Region of Integration is given
10.4 Type 3 : Change of Order of Integration
10.5 Type 6 : Conversion of Cartesian Co-ordinates To polar Co-ordinates
10.6 Type 7: Conversion To Polar Co – ordinates [ Limits are Not Provided]
10.7 Triple Integral
12.1 Definition
12.2 (I) Evaluation of Mass
12.3 Centre of Gravity (C.G)
12.4 (I) Moment of Inertia of a plane lamina
List of Formulae
n+1
1. xn dx = nx + 1 + c (n 1)
2. 1x dx = log x + c
3. ex dx = ex + c
x
4. ax dx = loga a + c
5. sin x dx = – cos x + c
6. cos x dx = sins x + c
7. tan x dx = log sec x + c
8. cot x dx = log sin x + c
9. sec2 x dx = tan x + c
10. cosec2 x dx = – cot x + c
1
16. x2 – a2
dx = log (x + x2 – a2) + c
dx x
17. 2
x +a2 = log (x + x2 + a2) + c OR sin–1 a + c
18. a2dx 1
– x2 = 2a
a+x 1 x
log a – x + c OR a tanh–1 a + c
19. x2 1– a2 dx = 2a
1 x–a
log x + a + c
20. a2 +1 x2 1 x
dx = a tan–1 a + c
x a2 x
21. a2 – x2 dx = a a2 – x2 + 2 sin–1 a + c
x a2
22. 2 2
x – a dx = a x – a – 2 log [x + x2 – a2] + c
2 2
x a2
23. 2 2
x + a dx = 2 x + a + 2 log [x + x2 + a2] + c
2 –2
du
27. u v dx = u v dx – dx v dx
dx + c
n+1
28. [f (x)]n f (x) dx = [f n(x)]
+1 ,n–1
2
34. f (x) f (x) dx = 3 [f (x)]3/2
a a
35. f (x) dx = f (a – x) dx
0 0
b c b
36. f (x) dx = f (x) dx + f (x) dx, a < c < b
a a c
= 0, if n is an odd integer
2 /2
44. sin n
x dx = 4 sin2 x dx, if n is even integer
0 0
= 0, if n is odd integer
2 /2
45. cos n
x dx = 4 cosn x dx if n is even integer
0 0
= 0, if n is an odd integer
/2
{(m – 1) (m – 3) ... 2 or 1} {(n – 1) (n – 3) .. 2 or 1}
46. sinm x cosn x dx = (m + n) (m + n – 2) (m + n – 4) ... 2 or 1 p
0
Where , P = 2 if m and n are both even
= 0 otherwise
2a a
50. f (x) dx = 2 f (x) dx if f (x) = f (2a – x)
0 0
2a
Syllabus :
Differential Equations (D.E.) : Definition, Order and Degree of D.E., Formation of D.E.
Solutions of Variable Separable D.E. Exact D.E., Linear D.E. and reducible to these types.
Objectives:
After studying this chapter the student should be able to
Understand ordinary differential equations, the basic concepts related to
differential equations.
Understand the applications of differential equations.
Form the differential equation whose solution is given.
Use different methods to solve first order first degree differential equations.
Identify integrating factors in some simple cases which makes the given
differential equation exact.
Solve linear DE and reducible to linear DE.
Understand the need to convert to polar co-ordinates.
Structure:
1.1 Introduction
1.2 Definition of differential equations and basic concepts related to differential
equations.
1.3 Application of differential equations.
1.4 Geometrical Interpretation of DE.
1.5 Formation of differential equations.
1.6 Differential equations of first order and first degree.
(a) Variable Separable form.
(b) DE reducible to variable separable form using substitution.
(c) Homogenous DE.
(d) Non-Homogenous DE
(e) Exact DE
(f) Integrating Factors
(g) Linear DE
(h) Bernoulli’s DE
(I) Transformation to polar co-ordinates
1.1 Introduction :
Suppose we know, how a certain quantity (for example, the temperature of tea in a cup,
the number of people infected with a virus, the concentration of carbon dioxide in the
atmosphere) changes with time. Derivatives give the rate of change of one variable with
respect to another variable, so we can find out how quickly the temperature changes, how
quickly the number of infected people changes, how quickly the concentration of carbon
dioxide changes. Now suppose instead we know the value of the quantity and we wish to
predict its value in the future. To do this we must know how quickly the quantity is changing.
But the rate of change of a quantity will depend on the quantity inself. This gives rise to a
Differential equation (DE) – an equation relating the derivative of a quantity to its value.
Differential equations form the language in which the basic laws of physical science are
expressed. More generally, differential equations are basis for every meaningful physical
theory in existence. Differential equations are the mathematical language to express how a
physical system changes from one instant to the next. All of our physical observations are in
terms of how things change. If you translate the observed changes in the physical world
carefully into mathematics you have a differential equation. Many interesting geometrical and
physical problems are proposed as problems in differential equations and solutions of these
equations give a complete picture of the state of these problems. The theory of differential
equations then provides us with the tools and techniques to take this short term information
and obtain the long term overall behaviour of the system. The art and practice of differential
equations involves the following sequence of steps.
Fig. 1.1
Differential equations arise in many areas of science and technology whenever a
relationship involving some continuously changing quantities and their rates of change is
known or formed. For instance, in classical mechanics, the motion of a body is described by its
position and velocity as the time varies. Newton’s law allows one to relate the position,
velocity, acceleration and various forces acting on the body and this relation can be expressed
as a differential equation for the unknown position of the body as a function of time.
Differential equations are mathematically studied from several different perspectives. Some
examples where differential equations have been used to solve real life problems include the
diagnosis of diseases and the growth of various populations.
We first define the basic concepts needed throughout this chapter.
1.2 Differential Equations (DE) :
(1) Definition of Differential Equation
An equation containing the dependent variable, the independent variable and the
derivatives or differential coefficients of various orders is called a differential equation (D.E)
Some example of differential equations :
dy y d2y dy
1. dx x+ = 0 2. dx2+ 3
dx + 2y = 0
3 2 3
3. d y3 + dy + 4y = 0 4. (x + y) dx + (x – y) dy =0
dx dx
3 d2y 2z 2
dy 2 z
5. dx2 = 6. +p 2=0
dx x2 y
2
u u y 2 u
7. x +y = nu 8. =c 2
x y t x
DE is classified into various types. The most obvious classification of DE is based on
the nature of the dependent variable and it’s derivatives in the equation.
DE are of two types
(A) Ordinary Differential Equations
(B) Partial Differential Equations
(A) Ordinary Differential Equations : are DE containing derivatives with respect to only
one independent variable and one or more dependent variables.
(B) Partial Differential Equations : are DE containing two or more independent variables
and one or more dependent variables and their partial derivatives with respect to the
independent variables. In the above examples of DE, (1) to (5) are ordinary DE and (6)
to (8) are partial DE.
Differential equations are classified in terms of order and degree.’
(2) Order of a Differential Equation.
Definition :
The order of a DE is the order of the highest derivative appearing in the equation.
d3y 3 dy 5
(iii) dx3 + dx + 4y = 0 Order = 3, Degree = 3
2 3/2
d4y dy
(iv) 4 = 1 + Squaring on both sides, we get
dx dx
4 2 2 3
d y4 = 1 + dy Order = 4, Degree = 2
dx dx
2u u3 u
(v) + + =0 Order = 2. Degree = 1
x2 x y
The principal task of the theory of DE is to find all the solutions of a given DE. But then
it is natural to ask as to what exactly is the meaning of a solution of a DE.
(4) Solution of a Differential Equation.
A solution of a DE is a relation between the dependent and the independent variables
which is free from derivatives and satisfies the differential equation.
(5) General solution of a Differential Equation.
The general solution of a DE is a relation between the dependent and the independent
variables, which is free from derivatives, satisfies a DE and the number of arbitrary
constants is equal to the order of the DE.
(6) Particular Solution of a Differential Equation.
The particular solution is obtained from the general solution by giving particular values
to the arbitrary constants in the general solution.
1.3 Applications of Differential Equations :
1. Differential equations are used to find the exponential growth of population and decay.
They are used to describe the half life of radioactive isotopes, the population growth of
species etc. When biological scientists explore population growth in species, they do no
just depend on exponential growth and decay, they also use differential equations to
explore the relationships between species and total size of population.
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.5 Differential Equations
For example : Differential equations can describe the relationship of predators and prey
in an ecosystem, the rates of hybrid selection or the consequences of over population,
under population or over harvesting in various species.
2. Medical science uses similar equations to determine the rates of growth of tumors and to
try to understand cancer growth.
3. In Engineering, DE describe how current changes as a function of time, say for example
in a circuit involving an inductor.
4. In chemistry, DE describe the rates of chemical reactions.
5. In physics the Newton’s second law (F = ma) is a DE and similarly his law of cooling.
The Einstein field equations that describe his theory of relativity also depend on DE.
When physicists describe waves of light, sound and water they use differential wave
equations.
6. DE is used to predict the spread of disease through populations. Population usually
grows in an exponential fashion at first. However, populations do not continue to grow
forever because food, water and resources get used up over time. DE are used to predict
population of people, animals bacteria and viruses that are being affected by external
events.
1.4 Geometrical Interpretation of the Differential Equation :
dy
Equation = f (x, y) of first order and first Degree.
dx
dy
Consider dx = f (x, y) ….(I)
dy
Let (x1, y1) be any point in the XY plane. Substituting this point in (1), the value of dx
at (x1, y1) say m1 is obtained which is the slope (or direction) of the tangent at (x1, y1).
Suppose the point move from (x1, y1) in the direction m1, (that is; along the tangent at
(x1, y1) for an infinitesimal distance to a point (x2, y2). Let m2 be the slope of the tangent at
(x2, y2) determined from (I) Let the point move in the direction m2 for an infinitesimal distance
to a point (x3, y3). Let m3 be the slope of the tangent at (x3, y3) determined from (I).
Fig. 1.2
Let the point move in the direction m3 for an infinitesimal distance to a point (x4, y4).
Proceeding like this, the points will describe a curve, the co-ordinates of every point of
which and the direction of the tangent will satisfy DE (1).
Since (x1, y1) is any point in the XY plane through every point in the plane there will
dy
pass a particular curve, for every point of which x, y, dx will satisfy (1).
The equation of each curve is a particular solution of (1). The equation of the system of
such curves is the general solution of (1). All the curves represented by the general solution
taken together form the locus of the DE (1).
1.5 Formation of a Differential Equation :
The prime problem in the study of differential equation is to find the solution to a given
DE, but the converse problem is also interesting i.e. the problem of finding a DE which is
satisfied by a given solution. A DE is formed by eliminating the arbitrary constants in the
general solution and differentiating it as many times as the number of arbitrary constants in the
general solution.
Note that an Engineer’s approach to differential equations is different from a
mathematician. While a mathematician is interested in the mathematical solution, an Engineer
should be able to interpret the result physically. So, an Engineer’s approach can be divided
into three phases.
(a) Formulating of a DE from a given physical situation
(b) Solving the DE and evaluating the constants using given conditions.
(c) Interpreting the results physically for implementation.
Illustrative Examples
Example : 1
From the DE by eliminating the arbitrary constants from y = 4 (x – A)2 May 2007
Solution :
Consider y = 4 (x – A)2 .…(I)
There is one arbitrary constant. Therefore we can differentiate only once.
Step 1 : Differentiating w.r.t. x,
dy
dx = 8 (x – A)
1 dy
(x – A) = 8 dx
Step 2 : Substitute in (1)
1 dy 2 1 dy 2 1 dy 2
y = 4 8 dx = 4 . 64 dx = 16 dx
2 2
16y = dy dy – 16y = 0 is the required DE.
dx dx
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.7 Differential Equations
Example 2 :
Obtain the differential equation of which y2 = 4A (x + A) is a solution
Solution :
Consider y2 = 4A (x + A) …(I)
Step 1: differentiating w.r.t. x,
dy
2y dx = 4A
y dy
A = 2 dx
Substitute in (1)
dy y dy
y2 = 2y dx x + 2 dx
dy dy 2
y2 = 2xy dx + y2dx
dy 2 dy
y2dx + 2xy dx - y2 = 0 is the required DE
dy 2 dy
Divide by y y dx + 2x dx y = 0 is the required DE.
Example 3 :
Form the DE by eliminating the arbitrary constant from y = c x + c2 – c3.
Solution :
Consider y = cx + c2 – c3 .…(I)
Step 1: differentiating w.r.t. x
dy
dx = c
Step 2 : Substitute the value of c in (1)
dy dy 2 dy 3
y = x dx + dx - dx is the required DE.
Example 4 :
B
Form the DE whose general solution is y = Ax + x Dec. 2009
Solution :
B
Consider y = Ax + x .…(1)
We differentiate twice
Step 1: Differentiating w.r t, x
dy B
dx = A - x2 .…(2)
Example 5 :
From the DE by eliminating the arbitrary constants from y = log cos (x – a) + b where
aand b are arbitrary constants. Dec. 2005, May 2007, 2010
Solution :
Consider y = log cos (x – a) + b
Step 1: Differentiating with respect to x
dy 1 (- sin (x - a))
dx = cos (x - a)
dy
dx = - tan (x – a)
d2y dy 2 dy
dx2 = - 1 + dx ∵dx = tan (x – a)
d2y dy2
dx2 + dx + 1 = 0 is the required DE.
Example 6 :
Form the DE of which the general solution is Ax2 + By2 = 1. May 2004, Dec. 2010
Solution :
Consider Ax2 + By2 = 1
Differentiating with respect to x
dy
Step 1: 2Ax + 2By dx = 0
dy
Ax + By dx = 0
dy
Ax = - By dx
A y dy
-B = x dx
Step 2: Differentiating with respect to x
x dy - y (1)
y d y dy dx
2
0 = x dx2 + dx
x 2
2
y d y dy 1 dy y
0 = x dx2 + dx x dx - x2
y d2y 1 dy2 y dy
0 = x dx2 + x dx - x2 dx
Multiply by x
d2y dy 2 dy
0 = xy dx2 + x dx - y dx
d2y dy 2 dy
i.e xy dx2 + x dx - y dx = 0 is the required DE.
Example 7:
Form the DE of which the general solution is y = A cos (log x ) + B sin (log x)
Solution :
Consider y = A cos (log x) + B sin (log x)
There are two arbitrary constants
We differentiate twice
Step 1: Differentiating with respect to x
dy 1 1
dx = - A sin (log x). x + B cos (log x). x
dy
x dx = - A sin (log x) + B cos (log x)
Multiply by x
d2y dy
x2dx2 + x dx = - [A cos (log x) + B sin (log x)]
d2y dy
x2dx2 + x dx = - y (from given problem)
d2y dy
x2dx2 + x dx + y = 0 is the required DE
Example 8 :
Form the DE by eliminating the arbitrary constants from xy = aex + be-x + x2 May 10, Dec. 11
Solution :
Consider xy = aex + be-x + x2
There are two arbitrary constants, therefore we differentiate twice
Step 1 : Differentiating w.r. t. x
dy
X dx + y = aex – be-x + 2x
Example : 9
Form the DE whose general solution is y = ae3x + be5x.
Solution :
Consider y = ae3x + be5x .…(1)
Step 1 : Differentiating with respect to x
dy 3x 5x
dx = 3ae + 5be .…(2)
d2y
9ae3x + 25be5x - dx2 = 0
Simplifying using determinants to eliminate a and b from equations (1), (2) and (3).
3x
e e5x -y
dy
3e3x 5e5x - dx
= 0
2
dy
9e3x 25e5x - dx2
Taking e3x and e5x common from columns 1 and 2
1 1 -y
dy
e3x e5x
3 5 - dx
= 0
2
dy
9 25 - dx2
2 2
dy dy dy dy
e 1 - 5 dx2 + 25 dx - 1 - 3 dx2 + 9 dx - y (75 - 45) = 0
8x
d2y dy d2y dy
- 5 dx2 + 25 dx + 3 dx2 – 9 dx - 30 y = 0
d2y dy
- 2 dx2 + 16 dx - 30 y = 0 Divide by – 2
d2y dy
2–8
dx dx + 15y = 0 is the required DE.
Example 10 :
x2 y2
Form the DE whose general solution is a2 + b2 = 1. May 2011
Solution :
x2 y2
Consider a2 + b2 = 1 .…(1)
1 1 d2y dy2
a2 + b2y dx2 + dx = 0 .…(3)
x y dy
a2 + b2dx = 0 .…(2)
1 1 d2y dy2
a + b2y dx2 + dx = 0 .…(3)
Simplifying using determinants to eliminate a and b from equation (1), (2) and (3)
y2
x2 dy
x
ydx
-1
0 = 0
1 d2y dy2 0
ydx2 + dx
d2y dy 2 dy
x2 (0) – y2 (0) – 1 xy dx2 + x dx - y dx = 0
d2y dy 2 dy
xy dx2 + x dx - y dx = 0 is the required DE.
Example 11 :
Form the differential equation by eliminating the arbitrary constants from
y2 = c1 x2 + c2 x + c3.
Solution :
Consider y2 = c1 x2 + c2 x + c3 …(I)
Step 1 : Differentiating with respect to x.
dy
2y dx = 2c1 x + c2 …(2)
Fig. 1.3
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.14 Differential Equations
Example : 13
Find the DE of all circles in the XOY plane which have their centres on X axis and have
given radius.
Solution :
Step 1: Let the centre on the x - axis be (a, 0) and given radius be r ; Therefore equation of
the circle is (x – a)2 + (y – 0)2 = r2 .…(1)
There is only one arbitrary constant. We differentiate only once.
Step 2: Differentiating with respect to x.
dy
2 (x – a) + 2y dx = 0
Divide by 2
dy
(x – a) + y dx = 0
dy
(x – a) = - y dx
Divide by 2
dy
(x – A) + (y – B) dx = 0 .…(2)
d2y dy 2
1 + (y – B) dx2 + dx = 0
d2y dy 2
(y – B) dx2 = - 1 - dx
dy2
1 +
dx
(y – B) = - d2y
dx2
Step 3: Substitute (y – B) in equation (2)
dy2 dy
1 +
dx dx
(x – A) - d2y = 0
dx2
dy2 dy
1 +
dx dx
(x – A) = d2y
dx2
Step 4: Substitute (x – A) and (y – B) in (1)
2 2
1 + dy dy - 1 + dy
2 2
dx dx dx
dy + dy
2 2 = r2
dx 2
dx 2
2 2
dy2 dy2 dy2
1 + dx dx 1 + dx
2 2 + 2 2 = r2
d y
2 d y2
dx dx
2 2
dy2 2 2
dy + 1 1 + dy d2y 2
1 + dx = r2dx2
dx dx
2 2
dy
Taking 1 + dx common.
x -x d2y
3. y = c1 e + c2 e + 3x Ans. : dx2 – y +3x = 0
d2y
4. y = c1 cos 2x + c2 sin 2x Ans. : dx2 + 4y = 0
d2y dy
5. y = ax3 + bx2 Ans. : x2dx2 – 4x dx + 6y = 0
x d2y dy
6. Y = e (A cos x + B sin x) (Dec. 06, 07, 10, 11) Ans. : dx2 – 2 dx + 2y = 0
A d2y dy
7. y= x +B Ans. : x dx2 + 2 dx = 0
dy
8. y = Ax + x2 Ans. : x dx - x2 – y = 0
a dy 2 dy
9. y = a2 + x Ans. : y = x4dx - x dx
d2y dy
10. xy = c1 ex + c2 e-x Ans. : x dx2 + 2 dx - xy = 0
x 2 d2y d2y dy
11. y = e (c1 x + c2 x + c3) Ans. : dx3 – 3 dx2 + 3 dx - y = 0
d2y dy
12. y = a e-9x cos (3x + b) (May 04) Ans. : dx2 – 18 dx + 90y = 0
13. Form the DE of all circles which touch the y axis at the origin
dy
Ans. : x2 + 2xy dx - y2 = 0
14. Form the DE of all circles of radius 5 with centre on the axis.
dy 2
Ans. : x2 (x – 25) dx = 0
15. Form the DE of all circles having their centres on the line y = 2 and touching the X axis.
dy 2
Ans. : (y – 2)21 + dx = 22
t
16. Form the DE whose general solution is y = (c1 + c2 t) e . (Dec 2009)
2
dy dy
Ans. : dt2 – 2 dt + y = 0
17. Form the DE whose general is y = ae4x + be3x whose a and b are arbitrary constants.
d2y dy
(May 2011) Ans. : dx2 – 7 dx + 12y = 0
Variable Separable form (V.S.) form DE reducible to V.S. form using substitution
Integrate both sides and add a Put ax + by + c = u Put y/x = u i.e. Put x/y = u i.e.
constant to any one of the sides diff. w.r.t.x We get y = ux x= uy diff
dy/dx diff w.r.t. x we w.r.t. y we get
get dy/dx dx/dy
Resubstitute for u
Illustrative Examples
Example : 1
Solve 3ex tan ydx + (1 – ex) sec2 ydy = 0
Solution :
Consider
3e tan ydx + (1 – ex) sec2 y dy =
x
0
x
Step 1: 3e tan y dx = - 1 (1 – ex) sec2 y dy
3 log (1 – ex) = log tan y + log c ∵∫ f' (x) dx = log f (x)
f (x)
log (1 – ex)3 – log tan y = log c
(1 - ex)3
log tan y = log c
(1 - ex)3
c = tan y is the general solution.
Example : 2
Solve (ey + 1) cos x dx + ey sin x dy = 0 May 2010, 2011
y y
Solution : Consider (e + 1) cos x dx + e sin x dy=0
Step 1 : For separating the variables, the equation can be written as :
cos x ey
sin x dx + e + 1 dy = 0
y
Solution :
dy
Consider dx = ex + y + x2 ey
dy
ey = (ex + x2) dx
Example : 4
dy 1 - y2
Solve dx + 1 - x2 = 0
Solution :
To separate the variables, the equation can be written as
dy 1 - y2
Step 1 : dx + 1 - x2 = 0
dy dx
2 + = 0
1-y 1 - x2
Variables are separated
dy dx ∵ ∫ dx = sin-1 x
Step 2 : ∫ 2 + ∫ = c
1-y 1 - x2 1 - x2
sin-1 y + sin-1 x = c is the general solution.
Example 5:
dy x cos x
Solve dx = 2ey cosh y
Solution :
dy x cos x
Consider dx = 2ey cosh y
To separate the variables, the equation can be written as
Step 1 : 2ey coshy dy = x cos dx
ey + e-y ey + e-y
2ey 2 dy = x cos dx ∵ cosh y =
2
(e2y + 1) dy = x cos x dx
Variables are separated.
Step 2 : ∫ (e2y + 1) dy = ∫ x cos x dx
2y
e + y = x sin x - ∫ sin x dx + c (Using integration by part)
2
2y
e
2 +y = x sin x + cos x + c is the general solution.
Example : 6
dy
Solve : 1 + x2 + y2 + x2 y2 + y dx = 0
Solution :
dy
Consider 1 + x2 + y2 + x2 y2 + y dx = 0
Solution :
dy x (2 log x + 1)
Consider dx = sin y + y cos y
Step 1 : To separate the variables the equation can be written as
(sin y + y cos y) dy = (2x log x + x) dx
Variables are separated.
Step 2 : ∫ (sin y + y cos y) dy = 2 ∫ x log x dx + ∫ x dx
∫ sin y dy + ∫ y cos dy = 2 ∫ x log x dx + ∫ x dx
Integrate by parts
x2 x2 1 x2
[- cos y] [y sin y - ∫ sin y (1) dy] = 2 log x. 2 - ∫ 2 . x dx + 2 + c
Solution :
dy
Consider xy3dx = (1 – x2) (1 – y2)
dy dy
y–3 = x dx - 3x2dx
dy
y–3 = x dx (1 – 3x)
dy dx
y-3 = x (1 - 3x)
Variable are separated
dy dx
Step 2 : y - 3 = x (1 - 3x)
log y 2
y2 dy + x sin x dx = 0
Put log y = t y = et
Differentiating w.r.t.t.
1
y dy= dt
Step 3 :
t
DE becomes; et dt + x2 sin x dx = 0
te-t dt + x2 sin x dx = 0
Integrating by parts
t (-e-t) - -e-t d (t) dt + [x2 (- cos x) - - cos x ((2x) dx)] = c
dt
[-t e-t + e-t dt] + [- x2 cos x + 2 x cos x dx] = c
Integrate by parts
[-t e-t -e-t] + [- x2 cos x + 2 (x sin x - sin x dx)] = c
Resubstitute for t.
[- log ye- log y - e- log y ] - x2 cos x + 2 x sin x- 2 (- cos x) = c
-1 -1
[- log ye log y
- elog y ]–x 2
cos x + 2x sin x + 2 cos x = c
-1 -1 2
[-y log y - y ] – x cos x + 2x sin x + 2 cos x = c
-y-1[log y + 1] – x2 cos x + 2x sin x + 2 cos x = c
1
- y [1 + log y] – x2 cos x + 2x sin x + 2 cos x = c is the general solution .
Example : 11
dy y
Solve: dx = given y = 1 when x = 4
2 x
Solution :
dy y
Consider dx =
2 x
Step 1 : To separate the variables, the equation can be written as
1 x
2 + 1
1 x
2
log y = 2 -1 +c = 2 1 + c
2 + 1 2
log y= x + c (1) is the general solution.
Step 3 : It is given y = 1, x = 4. i.e. we have to find the particular solution.
log 1 = 4 +c
0 = 2+c
c = -2
Substitute c in (i)
log y = x - 2 is the particular solution.
Example : 12
dy x
Solve : dx = 2 Given y = 5 when x = 4
x +9
Solution :
dy x
Consider dx = 2
x +9
x
Step 1 : dy = 2 dx
x +9
Variables are separated.
x
Step 2 : dy = 2dx
x +9
f'(x)
y = x2 + 9 + c is the general solution. ∙.∙ = f (x) + c
f (x)
Step 3 : It is given y = 5, x = 4
5 = 42 + 9+ c
5 = 5+c
c = 0
Substitute c in (1)
y = x2 + 9is the particular solution.
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.26 Differential Equations
2 dy 2
3. xex + ydx = 0 Ans. : ex + y2 = c
dy
4. x dx - y = 2x2 y Ans. : log y = log x + x2 + c
dy y2 + 1
5. dx = x2 + 1 Ans. : tan-1 y = tan-1 x + c
dy y
6. dx = y (y + 1) tan x Ans. : y + 1 = c sec x
dy dy
7. a x dx + 2y = 2xy dx Ans. : a log y + 2a log x – 2y = c
dy
8. ex – ydx + 1 = 0 Ans. : e-x – e-y = c
dy 1 xe3x e3x
9. e-3xdx + x sin 2y = 0 Ans. : 2 log (cosec 2y – cot 2y) + 3 - 9 + c
dy 3x2 + ex
10. dx = 4y3 Ans. : y4 = x3 + ex + c
dy log x 2 y4 (log x)2
11. dx = xy + xy3 Ans. : y + 4 = 2 + c
dy
12. (4 + e2x) dx = ye2x Ans. :y2 = c2 (4 +e2x)
y2 x2
13. (1 – x2) (1 + y) dx = xy (1 – y) dy Ans. : 2y - 2 - 2 log (y + 1) = log x - 2 + c
dy 2 2 3y 1 -3y x3
14. dx + x = x e Ans. : 3 log (1 – e ) = 3 + c
(1 - y2)
15. (x – y2 x) dx = (y – x2 y) dy Ans. : 1 - x2 = c
dy y y
(b) If the DE is of the form dx = x, then put x = u i.e. y = ux. Differentiate with respect
dy du
to x, we get dx = u + x dx . Substituting in the given DE, the problem reduces to the
variable separable form.
dy x x
(c) If the DE is of the form dx = y , then put y = u i.e. x = uy. Differentiate with respect
dx dy
to y, we get dy = u + y dy . Substituting in the given DE, the problem reduces to the
variable separable form.
Illustrative Examples
Example 1:
dy
Solve : (x + y)2 dx= a2
Solution :
dy
Consider (x + y)2 dx = a2
u
u – a tan-1a = x+c
Resubstitute for u.
x+y
x + y – a tan-1 a = x+c
x+y
x – a tan-1 a = c is the general solution.
Example 2:
dy
Solve : dx = 1 + tan (y – x)
Solution :
dy
Consider dx = 1 + tan (y – x)
cot u du = dx
Variables are separated.
Step 3 : cot u du = dx + c
log sin u = x+c
Resubstitute for u.
Log sin (y – x) = x + c is the general solution.
Example 3 :
dy
Solve : dx = (4x + y + 1)2
Solution :
dy
Consider dx = (4x + y + 1)2
Step 1 : Put 4x + y + 1 = u
Differentiating with respect to x
dy du
4 + dx = dx
dy du
dx = dx - 4
Step 2 : DE becomes;
du
dx - 4 = u2
du
dx = u2 + 4
du
u +4 =
2 dx
Example : 4
dy
Solve : sin-1 dx = x + y
dy
Solution : Consider sin-1dx = x+y
dy
Step 1 : dx = sin (x + y)
Put x+y = u
Differentiating with respect to x
dy du
1 + dx = dx
dy du
dx = dx - 1
du
Step 2 : DE becomes; dx - 1 = sin u
du
dx = 1 + sin u
du
1 + sin u = dx Variables are separated.
du
Step 3 : 1 + sin u = dx
(1 - sin u)
(1 - sin u) (1 + sin u) du = x+c
1 - sin u
1 - sin2 u du = x+c
1 - sin
cos2 u u du = x+c
1 sin u
cos2 u du - cos2 u du = x+c
Solution :
dy
Consider dx = sin (x + y) + cos (x + y)
du
u = x+c
u
sin 2
2 cos2 2 1 + u
cos 2
1 2u
2 sec 2 du
u = x+c
1 + tan 2
Solution :
dy
Consider dx = tan2 (x +y)
cos2 u du = dx
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.32 Differential Equations
1 + cos 2u
du = x+c
2
1 1
2 du + 2 cos 2u du = x+c
u 1 sin 2u
2 +2 2 = x+c
Resubsitute for u.
x+y 1
2 + 4 sin 2 (x + y) = x+c
Solution :
x + y - a dy x+y+a
Consider x + y + bdx = x+y-b
Step 1 : Put x+y = u
Differentiating w.r.t. x
dy du
1 + dx = dx
dy du
dx = dx - 1
Step 2 : DE becomes;
u - a du u+a
u + b dx - 1 = u-b
du (u + a) (u + b)
dx - 1 = (u - a) (u - b)
du (u + a) (u + b)
dx = (u - a) (u - b) + 1
du u2 + bu + au + ab
dx = u2 - bu - au + ab + 1
u2 + bu + au + ab + u2 - bu - au + ab
= u2 + ab - bu - au
du 2 (u2 + ab)
dx = 2
(u + ab) - u (a + b)
(u2 + ab) - u (a + b)
u2 + ab du = 2 dx
Resubstitute for u
(a + b)
x+y- 2 log [(x + y)2 + ab] = 2x + c is the general solution .
Example : 8
x
Solve (1 + ex/y) dx + ex/y1 - y dy = 0 Dec. 2009
Solution :
x
Consider (1 + ex/y) dx + ex/y1 - y dy = 0
x
Step 1 : (1 + ex/y) dx = - ex/y1 - y dy
x
-ex/y 1 - y
dx
dy = 1 + ex/y
x
Put y = u
x = uy
Differentiating w.r.t. y
dx du
dy = u + y dy
du -eu (1 - u)
Step 2 : DE becomes, u + y dy = 1 + eu
du -eu + u eu
u + y dy = 1 + eu
du -eu + u eu
y dy = 1 + eu - u
-eu + ueu - u - ueu
= 1 + eu
du -eu - u - (eu + u)
y dy = 1 + eu = 1+ eu
c = x + ex/y y
y
c = x + yex/y is the general solution.
Example : 9
x x
Solve : xy log y dx + y2 - x2 log y dy = 0
Solution :
x x
Consider xy y dx + y2 - x2 log y dy = 0
x x2 log x - y2 dy
Step 1 : xy log y dx =
y
x
x2 log y - y2
dx
dy = x
xy log y
x
Put y = u i.e. x = uy
Differentiating w.r.t y
dx du
dy = u + y dy
Step 2 : DE becomes;
du u2 y2 log u - y2 u2 log u - 1
u + y dy = uy2 log u = u log u
du u2 log u - 1
y dy = u log u - u
u2 log u - 1 - u2 log u
= u log u
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.35 Differential Equations
du -1
y dy = u log u
dy
u log u du = - y
Integrating by parts
2 2
log u u - u d log u du = - log y + c
2 2 du
u2 log u 1 2 1
2 - 2 u . u du = - log y + c
u2 log u 1
2 - 2 u du = - log y + c
u2 log u 1
2 - 2 u du = - log y + c
u2 log u 1 u2
-2 2 = - log y + c
2
Resubstitute for u.
1x2 2
x - 1 x2 =
2 Log - log y + c is the general solution.
2y y 4 y
Example : 10
dy dy
Solve : (x + y)2x dx + y = xy 1 + dx Dec. 2010
Solution :
dy dy
Consider (x + y)2x dx + y = xy 1 + dx
Step 1 : Put x+y = u and xy=v
Differentiating w.r.t. x differentiating w.r.t. x.
dy du dy dv
1 + dx = dx and x dx + y=dx
dv du
Step 2 : DE becomes; u2 dx = v dx
i.e. u2 dv = v du
dv du
v = u2
Variables are separated
dv du
Step 3 : v = u2
u-2 + 1 -1
log v = -2+1+c= u +c
Resubstitute for u and v
-1
log xy = x+y +c
1
log xy + x + y = c is the general solution.
Example : 11
Solve : (x – 2 sin y + 3) dx + (2x – 4 sin y – 3) cos y dy = 0
Solution :
Consinder (x – 2 sin y + 3) dx + (2x – 4 sin y – 3) cos y dy = 0
dy
Step 1 : (x – 2 sin y + 3) + [2 (x – 2 sin y) – 3] cos y dx = 0
Put x – 2 sin y = u
Differentiating w.r.t.x.
dy du
1 – 2 cos y dx = dx
du dy
1 - dx = 2 cos y dx
1 du dy
2 1 - dx = cos y dx
Step 2 : DE becomes;
1 du
(u + 3) + [2u – 3] 2 1 - dx = 0
du
2 (u + 3) + (2u – 3) 1 - dx = 0
du
2u + 6 + 2u – 3 – (2u – 3) dx = 0
du
4u + 3 = (2u – 3) dx
2u - 3
4u + 3 du = dx
2 6
4 (4u + 3) - 4-3
4u + 3 du = x+c
1 (4u + 3) - 9
2 2
4u + 3 du = x+c
1 4u + 3 9 du
2 4u + 3 du - 2 4u + 3 = x+c
1 9 log (4u + 3)
2 du - 2 4 = x+c
u 9
2 - 8 log (4u + 3) = x+c
4u – 9 log (4u + 3) = 8x + c1
Resubstitute for u
4 (x – 2 sin y) – 9 log [4 (x – 2 sin y) + 3] = 8x + c1
4x – 8 sin y – 9 log [4x – 8 sin y + 3] = 8x + c1
is the general solution.
dy x2
2. dx + x tan (y – x) = 1 (Dce. 2008, 2009) Ans. : log sin (y – x) + 2 = c
x+y
3. cos (x + y ) dy = dx Ans. : tan 2 = y + c
dx 1 4x + y
4. (4x + y)2dy = 1 Ans. : 2 tan- 1 2 = x + c
dy y y
5. X dx = y + x2 tan x Ans. : log sin x = x + c
dy
9. x2dx + xy + 1 - x2 y2 = 0 Ans. : sin-1 (xy) + log x + c
dy 2 1 1
10. dx = (x – y + 1) + (x – y) (Dec. 2004) Ans. : x = 3 log (x – y) - 3 log (x – y + 3) +c
dy x + y +1 2
11. dx = x + y + 3 Ans : y – x + log [x2 + 2y + y2 + 4x + 4y] = c
12. x dy - y cos y + x = 0 y
Ans. : sin x = - log x + c
dx x
dy
13. dx = x + y + 1 Ans. : log (x + y + 2) = x + c
Non- Homogeneous De :
Homogeneous DE : Degree of
dy a1x + b1y +c1
each and every term is the same It is of the form dx = a x +b y + c
2 2 2
Put y = ux
diff w.r.t. x, a1 b1 a1 b1
Case 1 : a = b Case 2 : a , b , Put x = X + h,y =
dy/dx = u + x du/dx 2 2 2 2
Illustrative Examples
Example : 1
Solve : (x4 + y4) dx - 2x3 y dy = 0
Solution :
Consider (x4 + y4) dx – 2x3 y dy = 0
Step 1 : This is a homogeneous DE of degree 4
(x4 + y4)dx = 2x3 y dy
dy x4 + y4
dx = 2x3 y
Put y = ux
Differentiating w.r.t. x
dy du
dx = u + x dx
Step 2 : DE becomes;
du x4 + u4 x4
u + x dx = 2x3 ux
du 1 + u4
u + x dx = 2u
du 1 + u4 1 + u4 - 2u2
x dx = 2u - u = 2u
2u du dx
u - 2u2 + 1
4 = x
2u du dx
(u2 - 1)2 = x
Variables are separated
2u du dx
Step 3 : (u2 - 1)2 = x
Put u2 – 1 = t
Differentiating w.r.t. t.
2u du = dt
Integral becomes
dt
t2 = log x + c
t-2 + 1
-2+1 = log x +c
1
-t = log x + c
Resubstitute for t.
-1
u2 - 1 = log x + c
Resubstitute for u.
-1
y2 = log x + c
x2 - 1
- x2
y - x2
2 = log x + c is the general solution
Example : 2
dy
Solve : xy dx = x2 + 2y2
Solution :
dy
Consider xy dx = x2 + 2y2
Step 2 : DE becomes ;
du x2 + 2u2 x2
u + x dx = xux
du 1 + 2u2
u + x dx = u
du 1 + 2u2
x dx = u -u
du 1 + 2u2 - u2
x dx = u
du 1 + u2
x dx = u
u du dx
1 + u2 = x
Variables are separated.
u du dx
Step 3 : 1 + u2 = x
1 2
2 log (1 + u ) = log x + log c
Step 2 : DE becomes;
du ux + x2 + u2 x2 ux + x 1 + u2
u + x dx = x = x
du
u + x dx = u + 1 + u2
du
x dx = 1 + u2
du dx
= x Variables are separated.
1 + u2
du dx
Step 3 : = x
1 + u2
log (u + 1 + u2) = log x + log c
log (u + 1 + u2 ) = log xc
2
u+ 1+u = xc
Resubstitute for u.
y y2
x + 1 + x2 = xc
y x2 + y2
x + x2 = xc
y x2 + y2
x + x = xc
Solution :
dy y3 + 3x2 y
Consider dx = x3 + 3xy2
Step 1 : This is a homogeneous DE of degree 3.
Put y = ux
Differentiating w.r.t. x.
dy du
dx = u + x dx
Step 2 : DE becomes;
du u3 x3 + 3x2 ux
u + x dx = x3 + 3xu2 x2
du u3 x3 + 3ux3
u + x dx = x3 + 3u2 x3
du u3 + 3u
u + x dx = 1 + 3u2
du u3 + 3u u3 + 3u - u - 3u3
x dx = 1 + 3u 2 -u=
1 + 3u2
du 2u - 2u3 2u (1 - u2)
x dx = 1 + 3u2 = 1 + 3u2
1 + 3u2 dx
u (1 - u2) du = 2 x
1 + 3u2 dx
u (1 - u) (1 + u) du = 2 x
Multiply by LCM u (1 – u) (1 + u)
1 + 3u2 = A (1 – u) (1 + u) + Bu (1 + u) + Cu (1 – u)
u=0; 1 = A (1) A = 1
u=1; 4 = B (2) B = 2
u=- 1 ; 4 = - 2C C=-2
2
1 + 3u 1 2 -2
u (1 - u) (1 + u) = u + 1 - u + 1 + u
Substituting in the integral on the LHS.
1 2 2 dx
u + 1 - u - 1 + u du = 2x
log u – 2 log (1 – u) – 2 log (1 + u) = 2 log x + log c
2 2
log u – log (1 – u) – log (1 + u) = log x2 + log c
log u – [log (1 – u)2 + log (1 + u)2] = log cx2
log u – log [(1 – u)2 (1 + u)2] = log cx2
log u – log [(1 – u) (1 + u)]2 = log cx2
log u – log (1 – u2)2 = log cx2
u
log (1 - u2)2 = log cx2
u
(1 - u2)2 = cx2
Resubstitute for u.
y
x
2 =
2
cx2
1 - y2
x
y
x
(x - y2)2 =
2 cx2
x4
yx3
(x - y2)2
2 = cx2
Example : 5
x
Solve : x + y cot y dy – dx = 0
Solution :
x
Consider x + y cot y dy – y dx = 0
Step 1 :
This is homogeneous DE of degree 1
x + y cot x dy = y dx
y
x
x + y cot y
dx
dy = y
x
Put y = u x = uy
Differentiating w.r.t . y
dx du
dy = u + y dy
Step 2 :
DE becomes;
du uy + y cot u
u + y dy = y
du
u + y dy = u + cot u
du
y dy = u + cot u – u = cot u
du dy
cot u = y
dy
tan u du = y Variables are separated
dy
Step 3 : tan u du = y
Example : 6
dy
Solve : x3 dx = y3 + y2 y2 - x2
dy
Solution : Consider x3 dx = y3 + y2 y2 - x2
Step 2 : DE becomes;
du u3 x3 + u2 x2 u2 x2 - x2
u + x dx = x3
du u3 x3 + u2 x3 u2 - 1
u + x dx = x3 = u3 + u2 u2 - 1
du
x dx = u3 – u + u2 u2 - 1 = u (u2 – 1) + u2 u2 - 1
du dx
= x Variables are separated
u (u2 - 1) + u2 u 2- 1
du dx
Step 3 : = x
u (u - 1) + u2 u2 - 1
2
du
= log x + log c
u( u - 1) ( u2 - 1) + u2 u2 - 1
2
du
= log x + log c
u u - 1 [ u2 - 1 + u]
2
( u2 - 1 - u) du
= log x + log c
u u2 - 1 [( u2 - 1 + u) ( u2 - 1 - u)]
u2 - 1 - u
du = log x + log c
u u2 - 1 [u2 - 1 - u2]
[ u2 - 1 - u]du = log x + log c
2
u -1 u du
- du + = log x + log c
u u2 - 1 u u2 - 1
du du
-u + 2 = log x + log c
u -1
Solution :
dy
Consider x dx = y [log y – log x + 1]
Step 2 : DE becomes;
du
u + x dx = u (log u + 1)
du
u + x dx = u log u + u
du
x dx = u log u + u – u
du
x dx = u log u
du dx
u log u = x
Variables are separated
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.48 Differential Equations
du dx
Step 3 : u log u = x
Put log u = t
Differentiating w.r.t. t.
1 du
u dt = 1
du
u = dt
Integral becomes;
dt dx
t = x
dy
9. yx dx = x2 + 2y2 Ans. : (x2 + y2) = c2 x4
Method :
In this case, the expressions (a1 x + b1 y) and (a2 x + b2 y) will have a common factor of
dy
the form lx + my. Then put lx + my = u. Differentiate with respect to x. We get dx in terms of
dy
u and x. Substituting the values of lx + my and dx in the given DE, it reduces to the variable
separate form then separate the variables u and x, integrate and then resubstitute the value of u.
a1 b1
Case II : a b2
2
dy a1 x + b1 y + c1
Consider dx = a2 x + b2 y + c2
Method : Put x = X + h, y = Y+k where h and k are constants to be determined.
dx = dX, dy = dY
dY a1 (X + h) + b1 (Y + k) + c1
DE becomes; dX = a2 (X + h) + b2 (Y + k) + c2
dY (a1 X + b1 Y) + a1 h + b1 k + c1
dX = (a2 X + b2 Y) + a2 h + b2 k + c2
Equate the constant term in the Numerator and denominator on the RHS to zero and find
h and k
i.e. put a1 h + b1 k + c1 = 0 a2 h + b2 k + c2 = 0
Solving simultaneously, we get h and k.
dY a1 X + b1 Y
The DE is now homogeneous in variables X and Y. i.e. dX = a X + b Y .
2 2
Put Y = UX and proceed as in the case of homogeneous DE. Substitute back the values
of V, X, Y, h and k.
Illustrative Examples
a1 b1
Case I : a = b
2 2
Example : 1
dy x + 2y - 3
Solve : dx = 3x + 6y - 1 , Dec.2010
Solution :
dy x + 2y - 3
Consider dx = 3x + 6y - 1
Step 1 : This in non – homogeneous DE.
a1 1
a2 = 3,
b1 2 1
b2 = 6 = 3
a1 b1
a2 = b2
dy x + 2y - 3
DE becomes; dx = 3 (x + 2y) - 1 .…(I)
Put x + 2y = u
Differentiating w.r.t. x.
dy du
1 + 2 dx = dx
dy du
2 dx = dx - 1
dy 1 du
dx = 2 dx - 1
dy
Step 2 : Substitute (x + 2y) and dx in (1)
1 du u-3
2 dx - 1 = 3u - 1
du 2u - 6
dx - 1 = 3u - 1
du 2u - 6 2u - 6 + 3u - 1
dx = 3u - 1 + 1 = 3u - 1
du 5u - 7
dx = 3u - 1
3u - 1
5u - 7 du = dx Variables are separated.
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.51 Differential Equations
3u - 1
Step 3 : 5u - 7 du = dx
3 (5u - 7) + 21 - 1
5 5
du = x + c
5u - 7
3 (5u - 7) + 16
5 5
5u - 7
du = x + c
3 5u - 7 16 du
5 5u - 7 du + 5 5u - 7 = x+c
Solution :
dy x+y+1
Consider dx = 2x + 2y + 3 …..(I)
Differentiating w.r.t. x
dy du
1 + dx = dx
dy du
dx = dx - 1
dy
Step 2 : Substitute (x + y) and dx in (I)
du u+1
dx - 1 = 2u + 3
du u+1 u + 1 + 2u + 3
dx = 2u + 3 + 1 = 2u + 3
du 3u + 4
dx = 2u + 3
2u + 3
3u + 4 du = dx Variables are separated.
2u + 3
Step 3 : 3u + 4 du = dx
2 (3u + 4) -8 + 3
3 3
du = dx
3u + 4
2
(3u + 4) + 1
3 3
3u + 4 du = x + c
2 3u + 4 1 du
3 3u + 4 du + 3 3u + 4 = x + c
2 1 log (3u + 4)
3 du + 3 3 = x+c
2u 1
3 + 9 log (3u + 4) = x + c
6u + log (3u + 4) = 9x + c1
Resubstitute for u.
6 (x + y) + log [3 (x + y) + 4] = 9x + c1
6x + 6y + log (3x + 3y + 4) = 9x + c1
6y – 3x + log (3x + 3y + 4) = c1 is the general solution.
Example : 3
dy 2x + 3y + 4
Solve : dx =4x + 6y + 5 Dec.2011
Solution :
dy 2x + 3y + 4
Consider dx = 4x + 6y + 5
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.53 Differential Equations
Put 2x + 3y = u
Differentiating w.r.t. x
dy du
2 + 3 dx = dx
dy du
3 dx = dx - 2
dy 1 du
dx = 3 dx - 2
dy
Step 2 : Substitute (2x + 3y) and dx in (I)
1 du u+4
3 dx - 2 = 2u + 5
du 3u + 12
dx - 2 = 2u + 5
du 3u + 12 3u + 12 + 4u + 10
dx = 2u + 5 + 2 = 2u + 5
du 7u + 22
dx = 2u + 5
2u + 5
7u + 22 du = dx Variables are separated.
2u + 5
Step 3 : 7u + 22 du = dx
2 -44
7 (7u + 22) 7 + 5
7u + 22 du = x + c
2 -9
7 (7u + 22) 7
7u + 22 du = x + c
2 7u + 22 9 du
7 7u + 22 du - 7 7u + 22 = x + c
dy x + 2y - 1
4. dx x + 2y + 1 Ans. : 3y – 3x + 2 log (3x + 6y – 1) = c
dy x + 2y + 1 1
5. =
dx 2x + 4y + 3 Ans. : 2y – x + 4 log (4x + 8y + 5) = c
dy 3x - 4y - 2
6. dx = 6x - 8y - 5 (May 05, Dec. 07) Ans. : log (6x – 8y – 7) + 2x – 4y = c
dy 8x + 6y + 12
7. dx = 4x + 3y + 2 Ans. : 15y – 30x – 12 log (20x + 15y + 22) = c
8. (x + y + 3) dy = (x + y – 3) dx Ans. : - x + y – 3 log (x + y) = c
9. (2x + y + 1) dx (4x + 2y – 1) dy = 0 Ans. : x + 2y log (2x + y – 1) = c
dy 4x - 6y + 3 3
10. dx = 6x - 9y - 1 Ans. : 2 (2x – 3y)2 – (2x – 3y) + 11 x = c
dy x-y+3
11. dx = 2x - 2y + 5 (Dec. 2009) Ans. : x – 2y + log (x – y + 2) = c
dy x+y+3
12. dx = 2x + 2y - 3 (May 2011) Ans. : 2y – x – 3 log (x + y) = c
Illustrative Examples
(B) Non Homogeneous Differential Equations :
a1 b1
Case 2 : a b
2 2
Example : 1
dy x + 2y - 3
Solve : dx = 2x + y - 3
DE becomes ;
dU X + 2 UX
U + dX = 2X + UX
dU 1 + 2U
U + X dX = 2+U
dU 1 + 2U
X dX = 2+U -U
But X = x – 1, Y = y – 1
x-1+y-1
[x - 1 - (y - 1)]3 = c2
x+y-2
(x - y)3 = c2
Solution :
dy y-x+1
Consider dx = y+x+5
Step 1 : This is non – homogeneous DE
a1 b1 a1 b1
a2 = 1, b2 = - 1 a2 b2
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.57 Differential Equations
DE becomes;
dU UX - X U-1
U + X dX = UX + X = U + 1
dU U-1 U - 1 - U2 - U
X dX = U+1 - U = U+1
2
dU -1 - U (1 + U2)
X dX = U+1 = - 1+U
1+U - dX
1 + U2 dU = X
Variables are separated
1 U dU dX
Step 3 : 1 + U2 dU + 1 + U2 = - X
1
tan-1 U + 2 log (1 + U2) = - log X + log c
Y
2 tan-1X + log (X2 + Y2) = log c
dy a1 x + b1 y + c1
Note : Sometimes an equation of the form dx = a x + b y + c becomes exact if b1 = - a2 and
2 2 2
the general solution is the same as above.
Flow chart for Exact DE
DE of 1st order, 1st Degree Mdx + Ndy = 0
Solution of Exact DE is
Mdx + (those terms of N free from x) dy = c
y = constant
Illustrative Examples
Example 1:
Solve : (2xy4 + sin y) dx + (4x2 y3 + x cos y) dy = 0
Solution : Consider (2xy4 + sin y) dx + (4x2 y3 + x cos y) dy = 0
Step 1 : M = 2xy4 + sin y N = 4x2 y3 + x cos y
M N
= 8xy3 + cosy = 8xy3 + cos y
y x
M N
= DE is exact
y x
(2xy4 + sin y) dx + 0 dy = c
y = constant
2y4 x dx + sin y dx = c
2y4 x2
2 + x sin y = c
Example : 2
1
Solve : y 1 + x + cos y dx + [x + logx – x sin y] dy = 0 Dec. 2006
Solution :
1
Consider y 1 + x + cos y dx + [x + log x – x sin y] dy = 0
1
Step 1 : M = y 1 + x + cos y, N = x + log x – x sin y
M 1 N 1
= 1 + x - sin y, = 1 + x - sin y
y x
M N
= DE is exact.
y x
Step 2 : Solution is M dx + (Those terms of N free from x) dy = c
y = constant
y 1 + 1 + cos y dx + 0 dy =c
y = constant x
1
y y = constant 1 + x dx + cos y dx = c
y [x + log x] + x cos y =c is the general solution.
Example : 3
Solve : (y sec2 x + sec x tan x) dx + (tan x + 2y) dy = 0
Solution :
Consider (y sec2 x + sec x tan x) dx + (tan x + 2y) dy = 0
2
Step 1 : M = y sec x + sec x tan x, N = tan x + 2y
M N
= sec2 x, = sec2 x
y x
M N
=
y x
DE is exact
Step 2 : Solution is y = constant M dx + (Those terms of N free from x) dy = c
y = constant
(y sec2 x + sec x tan x) dx + 2y dy = c
y sec2 x dx + sec x tan x dx + 2 y dy = c
2y2
y tan x + sec x + 2 = c
Example : 4
2
y
Solve : 1 + x2 - 2y dx + [2y tan-1 x – 2x + sin h y] dy = 0
Solution :
2
y
Consider 1 + x2 - 2y dx + [2y tan- 1x – 2x + sinh y] dy = 0
y2
Step 1 : M = 1 + x2 – 2y N= 2y tan-1x – 2x + sinh y
M 2y N 2y
= 1 + x2 – 2 = 1 + x2 – 2
y x
M N
= DE is exact
y x
Step 2 : Solution is y = constant M dx + (Those terms of N free from x) dy = c
2
y 2 - 2y dx + sin h y dy = c
y = constant 1 + x
dx
y21 + x2 – 2y dx + sin h y dy = c
Solution :
dy y+1
Consider dx = (y + 2) ey - x
Step 1 : (y + 1) dx = [(y + 2) ey – x] dy
(y + 1) dx – [(y + 2) ey – x] dy = 0
M = y+1 N = x – (y + 2) ey
M N
= 1 =1
y x
M N
= DE is exact
y x
Step 2 : Solution is y = constant M dx + (Those terms of N free from x) dy = c
y = constant
(y + 1) dx + - (y + 2) ey dy = c
(y + 1) dx - (y + 2) ey dy = c
Integrate by parts
x (y + 1) – [(y + 2) ey - ey (1) dy] = c
xy + x – [yey + 2ey - ey] = c
xy + x - [yey + ey] = c
xy + x – yey – ey = c is the general solution.
Example6:
dy - (4x3 y2 + y cos xy)
Solve : dx = 2x4 y + x cos xy May 2005, Dec. 2006
Solution :
dy - (4x3 y2 + y cos xy)
Consider dx = 2x4 y + x cos xy
Step 1 : (2x4 y + x cos xy) dy = - (4x3 y2 + y cos xy) dx
(4x3 y2 + y cos xy) dx + (2x4 y + x cos xy) dy = 0
M = 4x3 y2 + y cos xy,
N = 2x4 y + x cos xy
M
= 8x3 y + y [-sin xy (x)] + cos xy
y
M
= 8x3 y – xy sin xy + cos xy.
y
Consider N = 2x4 y + x cos xy
N
= 8x3 y + [x (- sin xy) (y) + cos xy]
x
N
= 8x3 y – xy sin xy + cos xy
x
M N
= DE is exact
y x
Step 2 : Solution is M dx + Those terms of N free from x ) dy = c
y = constant
(4x3 y2 + y cos xy) dx + - 0 dy = c
y = constant
4y2 x3 dx + y cos xy dx = c
2 4
4y x sin xy
4 +y y = c
Example : 7
dy tan y - 2xy - y
Solve ; dx = x2 - x tan2 y + sec2 y
dy tan y - 2xy - y
Solution : Consider dx = x2 - x tan2 y + sec2 y
Step 2 : Solution is M dx + Those terms of N free from x ) dy = c
y = constant
2
y 2- 1 dx + 1 dy = c
y = constant (y- x) x y
dx dx dy
y2(y - x)2 - x + y = c
(y - x)-2 + 1
y2(-2 + 1) (-1) - log x + log y = c
2
y
y - x - log x + log y is the general solution.
Example : 9
Find the value of for which the DE.
(xy2 + x2y) dx + (x + y) x2 dy = 0 is exact solve the equation for this value of .
Solution :
Consider (xy2 + x2y) dx + (x3 + x2y) dy = 0
Step 1 :
M = xy2 + x2y N = x3 + x2 y
M N
= 2xy + x2 = 3x2 + 2xy
y x
M N
But for Exact DE; =
y x
2x y + x2 = 3x2 + 2xy
By comparing coefficients of x2 we get = 3
Substitute the value of in the given DE.
DE becomes; (xy2 + 3x2 y) dx + (x3 + x2 y) dy = 0
Step 2 :
Solution of exact DE is
M dx + Those terms of N free from x ) dy =c
y = constant
(xy2 + 3x2 y) dx + 0 dy = c
y = constant
y2 x dx + 3y x2 dx = c
x2 x3
y2 2 + 3y 3 = c
x2 y2 3
2 +x y = c is the general solution.
23. Show that the DE (axy2 + by) dx + (bx2 y + ax) dy = 0 is exact only if a = b.
2
24. log (x2 + y2) + 22x 2 dx + 22xy 2 dy = 0 [May 2008, 2010, Dec20 07]
x +y x +y
Ans. : x log (x2 + y2) = c
M N
-
y x
Rule 3 : If N = f (x) alone then I.F = e∫ f (x) dx
N - M
x - y
Rule 4 : If M = f (y) alone then I.F. = e∫ f (y) dy
Rule 5 : If the DE Mdx + Ndy = 0 can be written in the form [xa yb (my dx + nx dy) + xr ys (py
dx + qx dy) = 0] where a, b, m, n, p, q, r s are constants having any value then
I.F. xh yk where h and k are constants to be determined.
Note : h and k can also be determined by the equations.
nh - mk = (m - n) + (mb - na)
qh - pk (p - q) + (ps - qr) provided mq - np ≠ 0.
(A) Illustrative Examples on Rule 1 :
1
If DE is homogeneous and Mx + Ny ≠ 0, Then I.F. = Mx + Ny
Method :
(i) Check if DE is exact.
(ii) If not, check if DE is homogeneous and Mx + Ny ≠ 0
1
(iii) If so, find I.F. = Mx + Ny
(iv) Multiply the given DE with the integrating factor to make is exact.
(v) Find the solution of exact DE using the formula ;
∫
y = constant
M dx + ∫ (Those terms of N free from x) dy = c
Flow Chart for DE Reducible to Exact DE
M N
Check if =
y x
DE is N M M N
If DE is of the - - If DE is of the
homogeneous and x y y x
form y 1(xy)dx + If =(y) if = (x)
M N formxayb (mydx +
Mx + Ny 0 x2 (xy) dy and
alone then , alone then nxdy) +xrys (pydx
Then Mx-Ny 0. then + qxdy) = 0 then
1 IF = e(y)dy I.F. = e (x) dx
1 IF = IF = xhyk
IF = Mx-Ny
Mx + Ny
Find solution of exact DE as Mdx + (those terms of N free from x) dy = e
y=constant
Illustrative Examples
Example : 1
Solve : (x2 y - 2xy2) dx - (x3 - 3x2 y) dy =0 May 2010
Solution :
Consider (x2 y - 2xy2) dx - (x3 - 3x2y) dy = 0
2 2
Step 1 : M = x y - 2xy , N = - x3 + 3x2 y
M N
= x2 - 4xy , = - 3x2 + 6xy
y xx
M N
≠ DE is not exact
y x
Step 2 : DE is homogeneous
Mx + Ny = (x2 y - 2xy2) x + (-x3 + 3x2 y) y
= x3 y - 2x2 y2 - x3 y + 3x2 y2
= x2 y2 ≠ 0
1 1
IF. = Mx + Ny = x2 y2
1
Step 3 : Multiply given DE with IF = x2 y2
1 2 2 1 3 2
x2 y2 (x y - 2xy ) dx - x2 y2 (x - 3x y) dy = 0
1 - 2 dx + -x2 + 3 dy = 0 DE is exact
y x y y
Step 4 : Solution of exact DE is
∫
y = constant
M dx + ∫ (Those terms of N free from x ) dy = c
∫ 1 - 2 dx + ∫ 3 dy = c
y = constanty x y
1 dx dy
y ∫ dx - 2 ∫ x + 3 ∫ y = c
x
y - 2 log x + 3 log y = c is the general solution
Example : 2
Solve : - y2 dx + (xy + x2) dy = 0
Solution :
Consider - y2 dx + (xy + x2) dy = 0
2
Step 1 : M = -y , N = xy + x2
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.69 Differential Equations
M N
= - 2y , = y
y x
M N
= DE is not exact
y x
Step 2 : DE is homogeneous
Mx + Ny = (-y2) x + (xy + x2) y
= - y2 x + xy2 + x2 y
x2 y ≠ 0
=
1 1
I.F. = Mx + Ny = x2 y
1
Step 3 : Multiply given DE with I.F. = x2 y
1 2 1 2
x2 y (-y dx) + x2 y (xy + x ) dy = 0
-y 1 1
x2 dx + x + y dy = 0 DE is exact
- y ∫ x-2 dx + log y = c
x-2 + 1
- y -2 + 1 + log y = c
y
x + log y = c is the general solution.
Example : 3
Solve : x2 y dx – (x3 + y3) dy = 0
Solution :
Consider x2 y dx – (x3 + y3) dy = 0
2
Step 1 : M = x y , N = - (x3 + y3)
M N
= x2 , = - 3x2
y x
M N
DE is not exact
y x
Step 2 : DE is homogeneous
Mx + Ny = (x2 y) x + (-x3 – y3) y
= x3 y – x3 y – y4
= - y4 0
1
I.F. = Mx + Ny
-1
= y4
-1
Step 3 : Multiply given DE with I.F. = y4
-1 2 -1 3 3
y4 (x y) dx + y4 (x + y ) dy = 0
-x2 3
x4 + 1 dy =
3 dx + 0 DE is exact
y y y
Step 4 : Solution of exact DE is
∫
y = constant
M dx + (Those terms of N free from x) dy = c
∫ -x2 1
y = constant y3
dx + y dy = c
-1 x3
y3+3 + log y = c
-x3
3y3 + log y = c
-x3
3y3 + log y = c is the general solution.
Method :
(i) Check if the given DE is exact
(ii) If not, check if DE is of the form y f1 (xy) dx + x f2 (xy) dy = 0 and Mx – Ny 0.
1
(iii) If so, then find I.F. = Mx - Ny
Illustrative Examples
Example : 1
Solve : y (xy + 2x2 y2) dx + x (xy – x2 y2) dy = 0
Solution :
Consider y (xy + 2x2 y2) dx + x (xy – x2 y2) dy = 0
Step 1 : M = xy2 + 2x2 y3 , N = x2 y – x3 y2
M N
= 2xy + 6x2 y2 , = 2xy – 3x2 y2
y x
M N
DE is not exact
y x
Step 2 : DE is of the form y f1 (xy) dx + x f2 (xy) dy = 0 and
Mx– Ny = (xy2 + 2x2 y3) x – (x2 y – x3 y2) y
= x2 y2 + 2x3 y3 – x2 y2 + x3 y3
= 3x3 y3 0
1 1
I.F. = Mx - Ny = 3x3 y3
1
Step 3 : Multiply given DE with IF = 3x3 y3
1 2 2 3 1 2 3 2
3x3 y3 (xy + 2x y ) dx + 3x3 y3 (x y – x y ) dy = 0
21 + 2 dx + 1 2 - 1 dy = 0 DE is exact
x y x xy y
Example : 2
Solve : (1 + xy) x dy + (1 – xy) y dx = 0 Dec. 2011
Solution :
Consider (1 + xy) x dy + (1 – xy) y dx = 0
Step 1 : (x + x2y) dy + (y – xy2) dx = 0
i.e. (y – xy2) dx + (x + x2y) dy = 0
M = y – xy2 , N = x + x2 y
M N
= 1 – 2xy , = 1 + 2xy
y x
M N
DE is not exact.
y x
Step 2 :
DE is of the form y f1 (xy) dx + x f2 (xy) dy = 0 and
Mx – Ny = (y – xy2) x – (x + x2y) y
= xy –x2 y2 – xy – x2 y2
= - 2x2 y2 0
1 -1
I.F. = Mx - Ny = 2x2 y2
-1
Step 3 : Multiply given DE with I.F. = 2x2 y2
1 2 1 2
2x2 y2 (y – xy ) dx + 2x2 y2 (x + x y) dy = 0
21 - 1 dx + 1 2 + 1 dy = 0 DE is exact
x y x xy y
Step 4 : Solution of exact DE is
∫
y = constant M dx + ∫ (Those terms of N free from x) dy = c
∫ 21 - 1 dx + 1 dy
y = constantx y x y = c
1 -2 dx dy
y x dx - x + y = c
1 x-2 + 1
y -2 + 1 - log x + log y = c
-1
x - log x + log y = c is the general solution.
Example : 3
Solve : y (2xy + 1) dx + x (1 + 2xy – x3 y3) dy = 0
Solution :
Consider y (2xy + 1) dx + x (1 + 2xy – x3 y3) dy = 0
2 2 4 3
Step 1 : (2xy + y) dx + (x + 2x y – x y ) dy = 0
2
M = 2xy + y , N = x + 2x2 y – x4 y3
M N
= 4 xy + 1 , = 1 + 4 xy – 4x3 y3
y x
M N
DE is not exact.
y x
Step 2 : DE is of the form y f1 (xy) dx + x f2 (xy) dy = 0 and
Mx – Ny = (2xy2 + y) x – (x + 2x2 y – x4 y3) y
= 2x2 y2 + xy – xy – 2x2 y2 + x4 y4
= x4 y4 0
1 1
I.F. = Mx - Ny = x4 y4
1
Step 3 : Multiply given DE with I.F. = x4 y4
1 2 1 2 4 3
x4 y4 (2xy + y) dx + x4 y4 (x + 2x y – x y ) dy = 0
32 2 + 41 3 dx + 31 4 + 22 3 - 1 dy = 0 DE is exact
x y x y x y x y y
Step 4 : Solution of exact DE is
∫
y = constant M dx + ∫ (Those terms of N free from x) dy = c
∫ 2 1 1
y = constantx3 y2 + x4 y3 dx + - y dy = c
2 -3 1 -4 dy
2 x dx + 3 x dx -
y y y = c
Method :
(i) Check if the given DE is exact.
M N
-
y x
(ii) If not, check if N is a function of x alone
Illustrative Examples
Example : 1
3 2
y x 1
Solve : y + 3 + 2 dx + 4 (x + xy2) dy = 0
Solution :
y3 x2 1
Consider y + 3 + 2 dx + 4 (x + xy2) dy = 0
y3 x2 1
Step 1 : M = y+ 3 + 2 , N = 4 (x + xy2)
M 3y2 N 1
=1+ 3 , = (1 + y2)
y x 4
M N 1
= 1 + y2 , = (1 + y2)
y x 4
M N
DE is not exact
y x
M N 1
-
y x 1 + y2 - 4 (1 + y2)
Step 2 :Consider N = 1 2
4 (x + xy )
1 y2 3 3 2
1 - 4 + y2 - 4 4+4y
= 1 =1
2 2
4 x (1 + y ) 4 x (1 + y)
4 3 2
x . 4 (1 + y ) 3
= 1 + y2 = x = f (x) alone
dx 3
I.F. = ef(x) dx = e3 x = e3log x = elog x = x3.
Example : 2
Solve : (x2 + y2 + 2x) dx + 2y dy = 0
Solution :
Consider (x2 + y2 + 2x) dx + 2y dy = 0
2 2
Step 1 : M = x + y + 2x , N = 2y
M N
= 2y , = 0
y x
M N
DE is not exact.
y x
M N
-
y x 2y - 0
Step 2 : Consider N = 2y = 1 which may be regarded as a function of x
x
I.F. = e f (x) dx = edx = e
Step 3 : Multiply given DE with I.F. = ex
ex (x2 + y2 + 2x) dx + ex 2y dy = 0 DE is exact
Step 4 : Solution of exact DE is
∫
y = constant M dx + ∫ (Those terms of N free from x) dy=c
∫ 2 x 2 x x
y = constant (x e + y e + 2xe ) dx + 0 dy = c
∫ 2 x ∫ 2 x ∫ x
y = constant x e dx + y = constant y .e dx + 2 y = constant xe dx=c
Integrate by parts
x e - ex . 2x dx + y2 ex + 2 [xex - ex dx]
2 x
= c
2 x x 2 x x x
x e – 2 x e dx + y e + 2 [xe – e ] = c
x e – 2 [xe - e dx] + y e + 2xe – 2e
2 x x x 2 x x x
= c
2 x x x 2 x x x
x e – 2 [xe – e ] + y e + 2xe – 2e = c
2 x x x 2 x x x
x e – 2xe + 2e + y e + 2xe – 2e = c
2 x 2 x
x e +y e= c is the general solution.
Method :
(i) Check if the given DE is exact.
N M
-
x y
(ii) If not, check if M = f (y) alone
Illustrative Examples
Example 1:
Solve : (2x + ex log y) y dx + ex dy = 0 Dec 2005, 2009, May 2005
Solution :
Consider (2x + ex log y) y dx + ex dy = 0
x
Step 1 : M = 2xy + e y logy , N = ex
M 1 N
= 2x + exy . y + log y = ex
y x
M N
= 2x + ex (1 + log y) , = ex
y x
M N
DE is not exact.
y x
N M
-
x y ex - (2x + ex + ex log y)
Step 2 : Consider M = 2xy + yex log y
- (2x + ex log y) 1
= y (2x + ex log y) = - y = f (y) alone.
dy
I.F. = e f (y) dy = e- y
-1 1
= e-log y = elog y = y-1 = y
1
Step 3 : Multiply given DE with I.F. = y
1 x 1 x
y (2x + e log y) y dx + y (e dy) = 0
ex
(2x + ex log y) dx + y dy = 0
DE is Exact
Step 4 : Solution of exact DE is
∫
y = constant M dx + ∫ (Those terms of N free from x) dy = c
∫ x
y = constant (2x + e log y) dx + 0 dy = c
∫ x
y = constant 2x dx + log y e dx = c
2x2 x
2 + e log y = c
Example : 2
Solve : (y4 + 2y) dx + (xy3 + 2y4 – 4x) dy = 0 Dec. 2009
Solution :
Consider (y4 + 2y) dx + (xy3 + 2y4 – 4x) dy = 0
4
Step 1 : M = y + 2y , N= xy3 + 2y – 4x
M N
= 4y3 + 2 , = y3 – 4
y x
M N
DE is not exact.
y x
N M
-
x y y3 - 4 - (4y3 + 2)
Step 2 : Consider M = y4 + 2y
-3y3 - 6 -3 (y3 + 2) -3
y (y3 + 2) = y (y3 + 2) = y = f (y) alone
3 -3 1
I.F. = e f (y) dy = e- y dy = e- 3 log y = elog y = y-3 = y3
1
Step 3 : Multiply given DE with I.F. = y3
1 4 1 3 4
y3 (y + 2y) dx + y3 (xy + 2y – 4x) dy = 0
Example : 3
Solve : (3x2 y4 + 2xy) dx + (2x3 y3 – x2) dy = 0
Solution :
Consider (3x2 y4 + 2xy) dx + (2x3 y3 – x2) dy = 0
Example : 4
y
Solve : x sec y - tan y dx = (x – sec y log x) dy May 2010
Solution :
y
Consider x sec y - tan y dx - (x – sec y log x) dy = 0
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.81 Differential Equations
y
M = x sec y – tan y ,
N = sec y log x – x
M 1 2
= x [y sec y tan y + sec y] – sec y
y
N sec y
= x -1
x
M N
DE is not exact
y x
N M sec y y sec y tan y sec y
-
x y x -1- x - x + sec2 y
M = y
x sec y - tan y
y sec y tan y
sec2 y - 1 - x
= y
x sec y - tan y
y sec y tan y
tan2 y - x
= y
x sec y - tan y
y
-tan y x sec y - tan y
= y = - tan y = f (y) alone.
x sec y - tan y
-1 1
I.F. = e f (y) dy = e- tan y dy = e- log sec y = elog (sec y) = sec y
1
Multiply given DE with I.F. = sec y
y tan y -x
x - sec y dx + sec y + log x dy = 0
y - sin y dx + -x + log x dy = 0
x sec y
DE is exact
Solution of exact DE is
∫
y = constant M dx + (Those terms of N free from x) dy = c
∫ y
y = constantx - sin y dx + 0 dy = c
Illustrstive Examples
Example : 1
Solve : (2y + 6xy2) dx + (3x + 8x2 y) dy = 0 May 2005
Solution :
Consider (2y + 6xy2) dx + (3x + 8x2 y) dy = 0
2
Step 1 : M = 2y + 6xy , N = 3x + 8x2 y
M N
= 2 + 12 xy, = 3 + 16 xy
y x
M N
DE is not exact.
y x
Example : 2
Solve : y (3y + 10x2) dx – 2x (y + 3x2) dy = 0
Solution :
Consider y (3y + 10x2) dx – 2x (y + 3x2) dy= 0
Step 1 : M = 3y2 + 10x2 y , N = -2xy – 6x3
M N
= 6y + 10x2 , = -2y – 18x2
y x
M N
DE is not exact
y x
Step 2 : Given equation can be written in the form
3y2 dx + 10x2 y dx – 2xy dy – 6x3 dy = 0
2 2 3
i.e 3y dx – 2xy dy + 10x y dx – 6x dy = 0
2
i.e. y (3y dx – 2x dy) + x (10y dx – 6x dy) = 0
i..e DE is of the form
xa yb (my dx + nx dy) + xr ys (py dx + qx dy) = 0
I.F. xh yk where h and k are constants to be determined.
Step 3 : Multiply given DE with I.F. = xh yk
xh yk (3y2 + 10x2 y) dx + xh yk (-2xy – 6x3) dy = 0
h k+2 h+2 k+1 h +1 k+1 h+3 k
(3x y + 10x y ) dx + (-2x y – 6x y ) dy = 0 …(I)
h k +2 h+2 k+1
M = 3x y + 10x y ,
h+1 k+1 h+3 k
N = -2x y – 6x y
M
= 3 (k + 2) yk + 1 xh + 10 (k + 1) yk xh + 2
y
N
= - 2 (h + 1) xh yk + 1 – 6 (h + 3) xh + 2 yk
x
M N
But for Exact DE; =
y x
3 (k + 2) yk +1 xh + 10 (k + 1) yk xh + 2 = -2 (h + 1) xh yk + 1 – 6 (h + 3) xh+ 2 yk
Comparing coefficients of like terms.
3 (k + 2) = -2 (h + 1) and 10 (k + 1) = - 6 (h + 3)
3x + 6 = -2h – 2 and 10k + 10 = - 6h – 18
2h + 3k = -8 6h + 10k = -28
Consider
2h + 3k = -8 i.e. 3h + 5k = - 14
and 3h + 5k = - 14
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.85 Differential Equations
3y-2 x2 dx + 10y-3 x4 dx = c
3y-2 x3 10y-3 x5
3 + 5 = c
y e P dx = e P dx Q dx + c
i.e. y × I.F. = I.F. × Q dx + c
dx
Another form of a linear DE is dy + Px = Q where P and Q are functions of y only or
constants.
The general solution of linear DE is given by
x e P dy = e P dy Q dy + c
i.e. x × I.F. = I.F. × Q dy + c
Note : In a linear DE there is no multiplication between the dependent variable and its
dy dx
derivative and the coefficient of dx or dy must be equal to one.
Illustrative Examples
Example : 1
dy
Solve : dx + y tanx = sin 2x
Solution :
dy
Consider dx + y tan x = sin 2x
Solution :
dy
Consider (x2 – 1) dx + 2xy = 2x – 2
Solution :
dy 1
Consider (x2+ 1) dx + 4xy = (x2 + 1)2
Example : 4
e-2 x y dx
Solve : - dy =1 Dec.2011
x x
Solution :
e-2 x y dx
Consider - dy = 1
x x
Step 1 : The given DE can be written as ;
dy e-2 x
y
dx = -
x x
dy 1 e-2 x
dx + y = which is of the form
x x
dy 1 e-2 x
dx + Py = Q where P =
x
,Q=
x
1
dx
I.F. = e P dx = e x = e2 x
Step 2 : The general solution linear of DE is
y × I.F. = I.F. × Q dx + c
e -2 x
dx
ye2 x = e2 x . dx + c = +c
x x
ye2 x = 2 x + c Ans.
Example : 5
dy y
Solve : dx + =1- x May 2004
(1 - x) x
Solution :
dy y
Consider dx + y= 1- x
(1 - x) x
dy
Step 1 : This is a linear DE of the from dx + Py = Q
1
where P = ,Q=1- x
(1 - x) x
I.F. = e P dx
dx
= e (1 - x) x
Put x = t x = t2
Differentiating w.r.t. t
1
dx = dt
2 x
dx
= 2dt
x
I.F. = e2
dt
1 - t2 =e 2
1
2. log ( )
1+t
1-t =e
log
1+t
( )
1-t =
1+t
1-t
1+ x
i.e. I.F. =
1- x
Step 2 : The general solution linear of DE is
y × I.F. = I.F. × Q dx + c
1 + x 1 + x
y = (1 - x) dx + c
1 - x 1 - x
1 + x x1/2 + 1
y = (1 + x) dx + c = x + 1 +c
1 - x +1 2
1 + x 2
y = x + 3 x3/2 + cAns.
1 - x
Example6:
Solve (1 + y2) dx = (tan-1 y – x) dy
Solution :
Consider (1 + y2) dx = (tan-1 y – x) dy
Step 1 : The given DE can be written as :
dx tan1 y - x
dy = 1 + y2
dx tan-1 y 1
dy = 1 + y2 - 1 + y2 x
dx 1 tan-1 y dx
+
dy 1 + y2 x = 1 + y2 which is of the form dy + Px = Q where
1 tan-1 y
P = 1 + y2 and Q = 1 + y2
dy
I.F. = e P dy = e(1 + y2) -1
= etan y
Step 2 : The general solution of linear DE is
x × I.F. = I.F. × Q dy + c
-1
-1 -1 tan y
x etan y = etan y1 + y2 dy + c
Put tan-1 y = t
Differentiating w.r.t. t
1
1 + y2 dy = dt
-1
x etan y = t et dt + c
Integrate by parts
-1
xetan y = t et – et + c
Resubstitute for t.
-1 -1 -1
xetan y = tan-1 y etan y - etan y + c
-1
Divide by etan y
-1
x = tan-1 y -1 + cetan yAns.
Example : 7
dy
Solve : (x + 2y3) dx = y
Solution :
dy
Consider (x + 2y3) dx = y
dy cos h4 x
20. cosh x dx + y sinhx = 2 cosh2 x sin hx Ans. : y cos hx = 2 +c
x
tan5 2
dy x x
21. sin x dx + 2y = tan32 Ans. : y tan22 = 5 + c
dy y
22. (xy – x2) dx = y2 (May 2011) Ans. : x - log y = c
Put y1 - n = u
Differentiating w.r.t x
dy du
(1 – n)-n y-n dx dx =
dy 1 du
y-ndx = (1 - n) dx
1 du
Equation (1) becomes ; (1 - n) dx + Pu = Q
du
dx + (1 – n) Pu = (1 – n) Q which is a linear DE and solution is given by
ue (1 - n) P dx = e (1 - n) P dx (1 – n) Q dx + c
Resubstitute for u.
dx
(II) Another form of Bernoulli’s DE is dy + Px = Q xn where P and Q are functions of y.
Put x1-n = u
diff w.r.t. y
dx du
(1-n) x–ndy dy =
dx 1 du
x-n dy = 1 - n dy
1 du
Equation (1) becomes ; 1 - n dy + Pu = Q
du
dy + (1 – n) Pu = (1 – n) Q which is linear DE and solution is given by
(1 – n) P dy (1 – n) P dy
ue = e (1 – n) Q dy + c
Resubstitute for u.
Illustrative Examples
Example : 1
dy
Solve : dx - y tanx = y4 secx Dec.2006
Solution :
This is Bernoulli’s DE
Step 1 : Divide by y4
dy
y-4dx - y-3 tan x = sec x .…(I)
Solution :
dy
Consider dx = x3 y3 - xy
dy
dx + xy = x3 y3
This is Bernoulli’s DE
Step 1 : Divide by y3
dy
y-3dx + xy-2 = x3 ....(I)
du
dx - 2xu = -2x3
y2 = x2 + 1 + ce-x Ans.
Example : 3
x2
dy 2 2
Solve : dx + xy = y e logx
Solution :
x2
dy 2 2
Consider dx + xy = y e log x
Step 1 : Divide by y2
x2
-2dy -1 2
y dx + xy = e log x
1
Step 2 : Put log y = u
Differentiating w.r.t. x
-1 1 2dy
du
y log y dx dx=
1 dy du
= - dx
y (log y)2 dx
du 1 1
Equation (1) becomes ; - dx + x u = x2
du 1 1
dx - x u = - x2
-1 -1
This is a linear DE where P = x , Q = x2
Solution :
dy 1/x2
Consider x dx + 3y = x4e y3
This is Bernoulli’s DE
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.98 Differential Equations
Step 1 : Divide by y3
x dy 3 1/x2
y3dx + y2 = x4e
Divide by x
1 dy 3 1/x2
y dx x y2 =
3 + x3e …(I)
1
Step 2 :Put y2 = u i.e. y-2 = u
Differentiating w.r.t. x
dy du
- 2y-3 dx = dx
1 dy -1 du
y3 dx = 2 dx
Equation (1) becomes;
-1 du 3 1/x2
2 dx + x u = x3e
du 6 2
dx - x u = - 2x3 e1/x
Differentiating w.r. t. t
-2x-3 dx = dt
ux-6 = e-t dt + c
ux-6 = et + c
Resubstitute for u and t.
1 -6 1/x2
y2 x = e +c
1 1/x2
y2 x6 = e + c Ans.
Example : 6
dx
Solve : dy - x tan y = x4 sec y
Solution :
dx
Consider dy - x tan y = x4 sec y
This is Bernoulli’s DE
Step 1 : Divide by x4
1 dx 1
x4 dy - x3 tan y = sec y
dx
x-4 dy - x-3 tan y = sec y .…(I)
Solution :
dy -x2
Consider 3y2 dx + 2xy3 = 4xe .…(I)
This is Bernoulli’s DE
Put y3 = u
Differentiating w.r.t x
dy du
3y2dx = dx
(1) becomes;
du -x2
dx + 2x u = 4xe
-x2
This is a linear DE where P = 2x, Q = 4xe
Solution is ue P dx = e P dx Q dx + c
( -x2 )
ue 2x dx =e 2x dx 4x e dx + c
x2 x2 -x2
ue = e 4xe dx + c
x2 4x2
ue = 4 x dx + c = 2 + c
x2
ue = 2x2 + c
x2
Resubstitute for u. y3e = 2x2 + c Ans.
Example :
dy
Solve : dx = ex - y(ex – ey) Dec. 2010
Solution :
dy
Consider dx = ex - y (ex – ey)
dy
dx = e2x - y – ex
dy x
dx + e = e2x e-y
This is Bernoulli’s DE
Divide by e-y
dy
ey dx + ex ey = e2x .…(I)
Put ey = u
Differentiating w.r.t. x
dy du
eydx = dx
Equation (1) becomes ;
du x
dx + e u = e2x
Solution :
dy
Consider dx = 1 – x (y – x) – x3 (y – x)2 .…(I)
Put y–x = u
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.102 Differential Equations
Differentiating w.r.t. x
dy du
dx - 1 = dx
dy du
dx = 1 + dx
This is Bernoulli’s DE
Divide by u2
1 du 1
u2 dx + u x = - x3 …(II)
1
Put u = t
Differentiating w.r.t. x
-1 du dt 1 du -dt
u2 dx = dx u2dx = dx
-dt
Equation (2) becomes; dx + tx = - x3
dt 3
dx - tx = x
This is a linear DE where P = -x Q = x3
Solution is te P dx = e P dx Q dx + c
te -x dx = e -x dx x3 dx + c
-x2 -x2
te 2 = e 2 x2 . x dx + c
x2
Put 2 = p
x2 = 2p
Differentiating w.r. t p
2x dx = 2dp x dx = dp
-x2
te 2 = e-p 2p . dp + c = 2 pe-p dp + c
Integrate by parts
= 2 [p (-ep) - - e-p (1) dp] + c
= 2 [- p e-p + e-p (1) dp] + c
-x2
te 2 = 2 [-p e-p – e-p] + c
Resubstitute for t and p
-x2 2
1 -x - x /2 - x /2
2 2
ue
2 = 22e -e +c
-x2
-x2 -x2
e2 2
u = - x e 2 - 2e 2 + c
Resubstitute for u.
-x2
-x2 -x2
e2 2
y-x = - x e 2 - 2e 2 + c
-x2
Divide by e 2
x2
1 2
y-x +x +2 = ce 2 Ans.
dy
9. cos y dx + sin y cos x = sin x cos x Ans. : sin y = sin x – 1 + c e-sin x
dy 2y y3 -1 -1
10. dx + x = x3 Ans. : 2y2 x4 = 6x5 + c
dy
11. x dx + y log y = xyex (May 10) Ans.: x log y = xex – ex + c
dy tan y x sin y
12. dx - 1 + x = (1 + x) e sec y Ans. :1 + x = ex + c
-x2
dy
13. sec2 y dx + x tan y = x3 Ans. : tan y = x2 – 2 + ce 2
dy
14. dx + tan x . tan y = cos x sec y (Dec.2011) Ans. : sin y sec x = x + c
dy 3 3 1 x2
15. dx + x (x + y) = x (x + y) – 1 Ans. : (x + y)2 = (x2 + 1) + ce
dy x9 3
16. 4x2y dx = 3x (3y2 + 2) + (3y2 + 2)3 Ans. : (3y2 + 2)2 = c - 8 x8
dy y 3 6 2
17. dx + x = x y Ans. : y5 = 5x3 + cx5
18. (sec x tan x tan y – ex) dx + sec x sec2 y dy = 0 Ans. : sec x tan y = ex + c
-y2
dy 1
19. xy (1 + xy2) dx = 1 2
Ans. : x = - y + 2 + ce 2
dy
20. tan y dx + tan x = cos y cos3 x (May 2010) Ans. : sec x sec y = c + sin x
dy 2 -y
21. dx = 1 + 3x e (May 2008) Ans. : ey = -3 (x2 + 2x + 2) + cex
dy sin2 y sin y cos y 1
22. dx = x2 - x Ans. : cot y = 2x + cx
-y2
dx 2 3 1
29. dy - xy = x y Ans. : x = (2 – y2) + ce 2
dy x 3 1
30. dx + y = 3e y Ans. : y2 = 6ex + ce2x
dy 1 1 -y2
31. (x3 y3 + xy) dx = 1 (Dec.2009) Ans. : x2 = 2 (y2 – 1) + ce
dy 2y 2 2 1
32. dx + x = y x (May 2011) Ans.: x2 y = - x + c
Since x2 + y2 = r2
2x dx + 2y dy = 2r dr
i.e. x dx + y dy = r dr
and x dy – y dx = r cos (r cos d + dr sin ) – r sin (dr cos - r sin d)
= r2 cos2 d + r sin cos dr – r sin cos dr + r2 sin2 d
= r2 (cos2 + sin2) d
x dy - y dx = r2 d
Illustrative Examples
Example 1:
Solve : xdy – ydx = (x2 + y2)(xdx + ydy) May 2006, 2010
Solution :
Consider x dy – y dx = x2 + y2) (x dx + y dy)
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.106 Differential Equations
Given DE becomes;
r2 cos2 (r dr) + r sin (r2 d) = 0
3 2
r cos dr = - r3 sin d
- sin q
dr = cos2q d
Variables are separated.
dr = - sec tan d
r = - sec + c
Resubstitute for r and
x2 + y2 r
x2 + y2 = - x +c ∙.∙ sec = x
x2 + y2
x2 + y2 + x = c Ans.
DE is exact
∫Mdx+
Solution is y constant ∫ Those terms of N free–from x) dy = c
2my2
∫ex – x3
dx + ∫ 0 dy = c
y constant
dx
∫ ex dx – 2my2 ∫ x3 = c
Problem : 2
y y y y
Solve : tan x - x sec2 x dx + sec2 x dy = 0 May 2013
Solution :
y
Put x = u
y = ux
Differentiating w.r.t.x.
dy du
dx = u +x dx
du u sec2 u - tan u
Step 2 : DE becomes ; u + x dx = sec2 u
du u sec2 u - tan u tan u
x dx = sec2 u - u = - sec2 u
sec2 u dx
tan u du = - x
Problem : 3
2
2x 2xy
Solve : log (x2 + y2) + x2 + y2 dx + x2 + y2 dy = 0. May 2013
Solution :
2
2x 2xy
Consider log (x2 + y2) + x2 + y2dx + x2 + y2 dy = 0
2x2 2xy
M = log (x2 + y2) + x2 + y2 , N = x2 + y2
M 1 (2y) 2x2 (2y) N (x2 + y2) 2y – (2xy) (2x)
= 2 2 –
(x2 + y2)2 , = (x2 + y2)2
y x +y x
2y (x2 + y2) – 4x2 y 2x2y + 2y3 – 4x2 y
= (x2 + y2)2 , = (x2 + y2)2
2x2 y + 2y3 – 4x2 y
= (x2 + y2)2
M 2y3 – 2x2 y N 2y3 – 2x2 y
= (x2 + y2)2 , = (x2 + y2)2
y x
M N
=
y x
∫N dy
Solution is x = constant + ∫ (Those terms of M not containing y) dx = c
2xy
∫x2 + y2 dy + ∫ 0 dx = c
x = constant
Put x2 + y2 = t
Differentiate w.r.t. t
2y dy = dt
∫ dt
x x = constant t = c
x log t = c
Resubsitute for t
x log (x2 + y2) = c Ans.
Problem : 4
Solve : (y4 ‒ 2x3 y) dx + (x4 – 2xy3) dy = 0 Dec. 2013
Solution :
Consider
(y4 ‒ 2x3 y) dx + (x4 – 2xy3) dy = 0
4 3
(x – 2xy ) dy = – (y4 – 2x3 y) dx
Step 2 :
Solution is M dx + Those terms of N free from x ) dy = c
y = constant
y = constant
( 2 )
y2 exy + 4x3 dx + - 3y2 dy = c
2
y2exy dx + 4 x3 dx – 3 y2 dy = c
2
exy 4x4 3y3
y2 y2 + 4 - 3 = c
2
exy + x4 – y3 = c is the general solution.
Problem : 6
Solve : (x2 + y2 + x) dx + xy dy = 0 Dec. 2013
Solution :
Consider (x2 + y2 + x) dx + xy dy = 0
2 2
M = x +y +x , N = xy
M N
= 2y , = y
y x
M N
y x
DE is not exact
M N
–
y x 2y – y
Consider N = xy
y 1
= xy = x = f (x)
1
∫f(x) dx ∫ dx
If = e =ex = elog x = x
Multiply given DE with IF. = x.
x (x2 + y2 + x) dx + x2 y dy = 0
3 2 2 2
(x + xy + x ) dx + x y dy = 0
DE is exact,
M dx +
Solution is (Those terms of N free from x ) dy = c
y constant
(x3 + xy2 + x) dx
+ ∫ 0 dy = c
y constant
x4 x2 y2 x2
4 + 2 + 2 = C Ans.
Problem : 7
dy x2 + y2 + 1
Solve : dx = 2xy May 2014, 2015
Solution :
dy x2 + y2 + 1
Consider dx = 2xy
(x2 + y2 + 1) dx = 2xy dy
(x2 + y2 + 1) dx – (2xy) dy = 0
2 2
M=x +y +1,N = ‒2xy
M N
= 2y , = – 2y
y x
M N
y x
DE is not exact
M N
–
y x 2y + 2y
Consider N = – 2xy
4y –2
= –2xy = x = f (x).
dx
∫(x) dx – 2∫ x –2 1
IF = e =e = e–2 log x = elog x = x–2 = x2
1
Multiply given DE with DE = x2
1 2 2 1
2 (x + y + 1) dx – 2 (2xy) dy = 0
x x
2
1 + y2 + 12 dx – 2y dy = 0
x x x
DE is exact
Solution is M dx + (Those terms of N free from x ) dy = c
y constant
2
1 + y2 + 12 dx + ∫ 0 dy = c
y constant x x
dx dx
∫ dx + y2 ∫ x2 + ∫ x2 = c
x–2 + 1 x–2 + 1
x + y2–2 +1 + –2 + 1 = c
y2 1
x – x – x = c Ans.
Problem : 8
dy
Solve : (1 – x2) dx = 1 + xy May 2014
Soltuion :
dy
Consider (1 – x2) dx = 1 + xy
dy 1 x
dx = 1 – x2 + 1 – x2 y
dy x 1
dx – 1 – x2 y = 1 – x2
dy
This is a linear DE of the form dx + Py = Q where
–x 1
P = 1 – x2 , Q = 1 – x2
x
∫ p (x) dx – ∫1 – x2 dx
IF = e =e
1
+ log (1 – x2) 2)1/2 1/2
= e 2 = elog (1 – x = (1 – x2)
∫ P dx ∫ P dx
solution is ye = ∫e Q dx + c
y (IF) = ∫ (IF) Q dx + c
1
y ( 1 – x2) = ∫ 1 – x2 . (1 – x2) dx + c
dx
= ∫ +c
1 – x2
y ( 1 – x2) = sin–1 x + c Ans.
Problem : 9
Solve : (2x + 3y – 1) dx = (6x + 9y + 6) dy May 2014
Solution :
Consider (2x + 3y – 1) dx = (6x + 9y + 6) dy
dy 2x + 3y – 1
dx = 6x + 9y + 6
This is non–homogenous DE
a1 2 1 b1 3 1
a2 = 6 = 3 , b2 = 9 = 3
dy 2x + 3y – 1
dx = 3 (2x + 3y) + 6
Put 2x + 3y = u
Differentiate w.r.t. x.
dy du
2 + 3 dx = dx
dy du
3 dx = dx – 2
dy 1 du
dx = 3 dx – 2
1 du u–1
DE becomes ; 3 dx – 2 =
3u + 6
du 3u – 3
dx – 2 = 3u + 6
du 3u – 3
dx = 3u + 6 + 2
3u – 3 + 6u + 12 9u + 9
= 3u + 6 = 3u + 6
du 9 (u + 1)
dx = 3 (u + 2)
u+2
u + 1 du = 3 dx
u + log (u + 1) = 3x + c
Resubstitute for u
2x + 3y + log (2x + 3y + 1) = 3x + c
3y – x + log (2x + 3y + 1) = c Ans.
Problem : 10
dy x + y – 2
Solve : dx = y – x – 4 Nov. 2014
Solution :
dy x+y–2
consider dx = –x + y – 4
This is non–homogenous DE
a1 b1
a2 = –1, b2 = 1
a1 b1
a2 b2
Let x = x + h, y = Y + k where h and k are constants to be determined
dx = dX, dy = dY
dY X+h+Y+k–2
dX = – (X + h) + Y + k – 4
dY (X + Y) + h + k – 2
dX = (Y – X) + k – h – 4
Chose h and k such that h + k – 2 = 0 and k – h – 4 = 0,
Solving we get h = – 1, k = 3
dY X+Y
De reduces to dX = Y – X
This is homogenous DE
Put Y = UX
differentiate w.r.t. x
dY dU
dX = U + X dX
dU X + UX
U + X dX = uX – X
dU 1+u
U + X dX = u–1
dU 1+U
X dX = u–1 –U
1 + U – U2 + U
= U–1
dU 2U – U2 + 1
X dX = U–1
U–1 dX
2U – u2 + 1 dU = X
Variables are separated.
u–1 dX
∫ u2 – 2U – 1 dU = –∫ X
1 2
2 log (u – 2U – 1) = – log X + c
Resubstitute for U
1 Y2 2Y
2 log X2 – X – 1 = log X + c
1 (Y2 – 2XY – X2)
2 log X = – log X + c
Problem : 11
dy
Solve : dx + x sin2y = x3cos2y Nov 2014, May 2017
Solution :
dy
Consider dx + x sin 2y = x3 cos2 y
This is Bernoulli’s DE
Step 1 : Divide by cos2 y
dy x sin 2y
sec2 y dx + cos2 y = x3
dy x . 2 sin y cos y
sec2 y dx + cos2 y = x3
dy
sec2 y dx + 2x tan y = x3 .…(1)
Differentiating w.r.t. x
2x dx = dt
dt
x dx = 2
x2 1 t
ue = 2 te dt + c
Integrate by parts
x2 1 t t
ue = 2 [te -e ] + c
Resubstitute for u and t
1 2 x2 x2
tan y e
x2 x2
= [ ]
2 x e -e +c
x2
Divide by e
1 2 - x2
tan y = 2 (x – 1) + ce Ans.
Problem : 12
dy y y
Solve : dx = x + tan x Nov. 2014
Solution :
dy y y
Consider dx = x + tan x
y
Put x = u
y = ux
Differentiate w.r.t. x
dy du
dx = u + x dx
du
DE becomes ; u + x dx = u + tan u
du
x dx = tan u
du dx
tan u = x
Variables are separated.
dx
∫ cot u du = ∫ x
Problem : 13
dy
Solve : dx = cos x cos y + sin x sin y May 2015
Solution :
dy
Consider dx = cos x cos y + sin x sin y
dy
Step 1 : dx = cos (x – y)
Put x–y = u
Differentiating w.r.t. x.
dy du
1 - dx = dx
dy du
dx = 1 - dx
du
Step 2 :DE becomes; 1 - dx = cos u
du
1 – cos u = dx
du
1 - cos u = dx
Resubstitute for u.
x-y
- cot 2 = x + c is the general solution.
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.119 Differential Equations
Problem : 14
dy
Solve : x dx + y = y2 log x May 2015
Solution :
dy
Consider x dx + y = y2 log x
Divide by x
1 dy 1 log x
y2 dx + xy = x
1
Put y = u
Differentiate w.r.t. x
–1 dy du
y2 dx = dx
– du 1 log x
DE becomes; dx + x u = x
du 1 – log x
dx – x u = x
1 – log x
This is linear DE; P = ‒x ; Q= x
dx
IF = eP dx = e– x
–1 1
= e–log x = elog x = x–1 = x
= – ∫ te–t dt + c
Integrate by parts
u d
= – t (– e–t) – ∫ – e–t dt (1) dt + c
x
u
x = – [– te–t + ∫ e–t dt] + c
u
x = – [– te–t – e–t] + c
Problem : 15
dy
Solve : xy dx = (1 – x2) (1 + y2) Dec. 2015
Solution :
dy
Consider xy dx = (1 – x2) (1 + y2)
y dy (1 – x2)
1 + y2 = x dx
Problem : 16
dy
Solve : cos y – x sin y dx = sec2 x Dec. 2015
Solution :
dy
Consider cos y – x sin y dx = sec2 x
dy
x sin y dx – cos y = – sec2 x
Put ‒ cos y = u
Differtentate w.r.t.x
dy du
+ sin y dx = dx
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.121 Differential Equations
du
DE becomes x dx + u = – sec2 x
du 1 – sec2 x
dx + x u = x
2
1 – sec x
This is a linear DE; P = x , Q = x
dx
IF = eP dx = e x = elog x = x
Solutin is u (IF) = ∫ (IF) Q dx + c
– sec2 x
ux = ∫ x x dx + c
ux = – ∫ sec2 x dx + c
ux = – tan x + c
Resubstiute for u
– x cos y = – tan x + c Ans.
Problem 17 :
Solve : (2x log x – xy) dy + 2y dx = 0 Nov 2015
Solution :
Consider (2x log x – xy) dy + 2y dx = 0
Step 1 : M = 2y , N = 2x log x – xy
M N 1
= 2, = 2 x x + log x – y = 2 [1 + log x] – y\
y x
M N
, DE is not exact.
y x
Step 2 : Consider
M N
-
y x 2 - [2 + 2 log x - y]
N = 2x log x - xy
-(2 log x - y) -1
= x (2 log x - y) = x = f (x) alone
dx -1 1
I.F. = e f (x) dx – e- x = e-log x = elog x = x-1 = x
1
Step 3 : Multiply given DE with IF = x
1 1
x (2y) dx + x (2x log x – xy) dy = 0
2y
x dx + (2 log x – y) dy = 0 DE is exact
Problem : 18
dy 2x – 3y + 1
Solve : dx = 3x + 4y – 5 May 2016
Solution :
dy 2x – 3y + 1
Consider dx = 3x + 4y – 5
This is non–homogenous DE
a1 2 b1 –3
a2 = 3 , b2 = 4
a1 b1
a2 b2
Let x = X + h, y = Y + k where h and k are constants to be determined.
dx = dX, dy = dY
dY 2 (X + h) – 3 (Y + k) + 1
dX = 3 (X + h) + 4 (Y + k) – 5
dY (2X – 3Y) + 2h – 3k + 1
dX = (3X + 4Y) + 3h + 4k – 5
Choose h and k such that 2h – 3k + 1 = 0 and 3h + 4k – 5 = 0.
11 13
Solving simultaneously we get h = 17 , k = 17
dY 2X – 3Y
DE reduces to dX = 3X + 4Y
This is homogenous DE.
Put Y = UX
Differetnital w.r.t. x
dY XdU
dX = U+ dx
XdU 2x – 3Ux
u + dx = 3x + 4ux
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.123 Differential Equations
XdU 2 – 3U
u+ dx = 3 + 4U
XdU 2 – 3U 2 – 3U – 3U – 4U2
dx = 3 + 4U U = 3 + 4U
XdU 2 – 6U – 4U2
dx = 4U + 3
4U + 3 dx
4U2 + 6U – 2 dU = – x
Solution :
Consider
dy
x cos x dx + (cos x – x sin x) y = 1
I.F. = (1
e P dx = e x )
- tan x dx
= e(logx - log sec x) = e (x)
log
sec x
x
= sec x = x cos x
y x cos x = dx + c
y x cos x = x+c Ans.
Problem : 20
Solve : y log y dx + (x – log y) dy = 0 May 2016
Solution :
Consider y log y dx + (x – log y) dy = 0
Step 1 : M = y log y , N = x – log y
M 1 N
= y . y + log y =1
y x
M
= 1 + log y
y
M M
DE is not exact.
y x
N N
-
x y 1 - (1 + log y)
Step 2 : Consider M = y log y
- log y -1
= y log y = y f (y) alone
I.F. = e f (y) dy
dy
= e- y
-1 1
= e-log y = elog y = y-1 = y
1
Step 3 : Multiply given DE with I.F. = y
1 1
y (y log y) dx + y (x – log y) dy = 0
x log y
log y dx + y - y dy = 0 DE is exact
Step 4 : Solution of exact DE is
∫
y = constant M dx + ∫ (Those terms of N free from x) dy = c
∫ - log y
y = constant log y dx + y dy = c
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.125 Differential Equations
Put log y = t
Differentiating w.r.t. t
1
y dy = dt
∫
log y y = constant dx - t dt = c
t2
x log y - 2 = c
Resubstitute for t.
(log y)2
x log y - 2 = c is the general solution.
Problem : 21
dx x x
Solve : dy = y + cot y Dec. 2016
Solution :
dy x x
Consider dx = y + cot y
x
Put y = u
x = uy
Differentiate w.r.t. y
dx du
dy = u + y dy
du
DE becomes ; u + y dy = u + cot u
du
y dy = cot u
du dy
cot u = y
dy
∫ tan u du = ∫ y
Problem : 22
dy
Solve : dx – ex – y = 4x3 e–y Dec. 2016
Solution :
dy x –y
Consider dx – e . e = 4x3 e–y
dy
dx = 4x3 e–y + ex e–y
dy
dx = (4x3 + ex) e–y
dy
e–y = (4x3 + ex) dx
ey dy = (4x3 + ex) dx
Variables are separated
∫ ey dy = ∫ (4x3 + ex) dx
4x4
ey = x
4 +e +c
ey = x4 + ex + c Ans.
Problem : 23
Obtain a differential equation from its general solution y = c1 e4x + c2 e–3x where c1 and c2
are arbitrary constants. Dec.2016
Solution :
Consider y = c1 e4x + c2 e–3x
Differentiate w.r.t. x
y1 = 4c1 e4x – 3c2 e–3x
Differentiate w.r.t. x
y2 = 16 c1 e4x + 9 c2 e–3x
c1 e4x + c2 e–3x – y = 0
4x –3x
4c1 e – 3c2 e – y1 = 0
4x –3x
16c1 e + 9c2 e – y2 = 0
4x
e e–3x –y
4e4x –3e–3x –y1 = 0
16e4x 9e–3x –y2
1 1 – y
–3x
4x
(e ) (e ) 4 –3 – y1 = 0
16 9 – y2
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.127 Differential Equations
x
e [1 (3y2 + 9y1) – 1 (– 4y2 + 16y1) – y (36 + 48)] = 0
x
e0 3y2 + 9y1 + 4y2 – 16y1 – 84y = 0
7y2 – 7y1 – 84y = 0
d2y dy
Divide by 7 dx2 – dx – 12 y = 0 is the required DE.
Problem : 24
dy
Solve : x4 dx + x3y – sec (xy) = 0 May 2017
Solution :
dy
Consider x4dx + x3 y – sec (xy) = 0
dy
Step 1 : x3x dx + y - sec xy = 0
Put xy = u
Differentiating w.r.t. x
dy du
x dx + y = dx
du
Step 2 : DE becomes x3 dx - sec u = 0
du dx
sec u - x3 = 0
cos u du - x-3 dx = 0
x-3 + 1
sin u - - 3 + 1 = c
1
sin u + 2x2 = c
1
Resubstitute for u. sin (xy) + 2x2 = c is the general solution.
Problem : 25
dy 1 + y2 + 3x2 y
Solve : dx = 1 – 2xy – x3 May 2017
Solution :
dy 1 + y2 + 3x2 y
Consider dx = 1 – 2xy – x3
x + xy2 + x3 y – y = c Ans.
Problem : 26
Solve : (1 + xy) y dx + (1 – xy) x dy = 0 Dec. 2017
Solution :
Consider (1 + xy) y dx + (1 – xy) x dy = 0
M = (1 + xy) y , N = (1 – xy) x
2
M = y + xy , N = x – x2 y
M N
= 1 + 2xy , = 1 – 2x y
y x
M N
y x
DE is not exact
DE is of the form ; y f1 (xy) dx + x f2 (xy) dy = 0
1 1
IF = Mx – Ny = (y + xy2) x – (x – x2 y) y
1
= xy + x2 y2 – xy + x2 y2
1
= 2x2 y2
1
Multiply given DE with IF = 2x2 y2
1 2 1 2
2x2 y2 (y + xy ) dx + 2x2 y2 (x – x y) dy = 0
12 + 1 dx + 1 2 – 1 dy = 0
2x y 2x 2xy 2y
DE is exact
∫
Solution is y constant M dx + ∫ (Those terms of N free from x) dy = c
∫ 1 1 1
y constant 2x2 y + 2x dx + ∫ – 2y dy = c
1 dx 1 dx 1
2y ∫ x2 + 2 ∫ x – 2 log y = c
1 x–2 + 1 1 1
2y – 2 + 1 2+ log x – 2 log y = c
–1
xy + log x – log y = c Ans.
Problem : 27
dy x–y+3
Solve : dx = 2x – 2y + 5 Dec. 2017
Solution :
dy x–y+3
Consider dx = 2x – 2y + 5
This is non homogenous DE
a1 1 b1 1
a2 = 2 , b2 = 2
dy x–y+3
dx = 2 (x – y) + 5
Put x–y = u
Differentiate w.r.t. x
dy du
1 – dx = dx
dy 1 –du
dx = dx
du u+3
DE becomes ; 1 – dx = 2u + 5
u+3 du
1 – 2u + 5 =
dx
2u + 5 – u – 3 =
du
2u + 5 dx
u+2 du
2u + 5 = dx
2u + 5
u + 2 du = dx
) dy
–1 y
Solve : (1 + y2) + (x – e-tan dx =0 Dec. 2017
Solution : Consider
) dy
–1 y
(1 + y2) + (x – e-tan dx = 0
(x – etan y) dy
–1
dx = – (1 + y2)
–1
dx x – etan y
dy = – (1 + y2)
–1
dx x e-tan y
dy = – 1 + y2 + 1 + y2
–1
dx 1 e-tan y
dy + 1 + y2 x = 1 + y2
dx
This is a linear DE of the form dy + Px = Q
–1
1 etan y
where P = 1+y2 , Q=
1 + y2
dy –1y
IF = eP dy = e 1 + y2 = etan
Solution is x (IF) = ∫ (IF) Q dy + c
–1
tan–1y tan–1y e-tan y
xe = ∫e . 1 + y2 dy + c
–1y dy
xetan = ∫ 1 + y2 + c
–1y
xetan = tan–1 y + c Ans.
Gigatech Publishing House
Igniting Minds
Engineering Mathematics - II 1.131 Differential Equations