Professional Documents
Culture Documents
S Vijayakumar
Indian Institute of Information Technology,
Design & Manufacturing, Kancheepuram
Evaluation (Tentative)
Quiz 1: 20
Quiz 2: 20
Assignments: 20
End Assessment: 40
Textbooks and References
Textbooks:
1. Simmons. G.F, Differential Equations, Tata McGraw Hill, 2003.
2. Kreyszig. E, Advanced Engineering Mathematics, Wiley, 2007.
References:
1. William. E. Boyce and R. C. Diprima, Elementary Differential Equations and Boundary
Value Problems, John Wiley, 8 Edn, 2004.
2. Ross. L.S, Differential Equations, Wiley, 2007.
3. Trench, W, Elementary Differential Equations, http://digitalcommons.trinity.edu/mono
Syllabus
First Order Equations.
Bessel and Legendre differential equations; properties of Bessel functions and Legendre
Polynomials.
Fourier series.
Introduction to partial differential equations, wave equation, heat equation, diffusion equation
Differential Equations is the natural goal of elementary calculus and the most important part of
mathematics for understanding the physical sciences. - G.F. Simmons
The Definition
The Definition
An equation involving one dependent variable and its derivatives with respect to one or more
independent variables is called a differential equation.
Applications
Applications
I Physics
Applications
I Physics
I Chemistry
Applications
I Physics
I Chemistry
I Biology
Applications
I Physics
I Chemistry
I Biology
I Astronomy
Applications
I Physics
I Chemistry
I Biology
I Astronomy
I Engineering
Applications
I Physics
I Chemistry
I Biology
I Astronomy
I Engineering
I Economics
Why is It so Ubiquitous?
Newton’s second law: The acceleration a of a body of mass m is proportional to the total force
F acting on it,
An Example
Newton’s second law: The acceleration a of a body of mass m is proportional to the total force
F acting on it, with 1/m as the constant of proportionality.
An Example
Newton’s second law: The acceleration a of a body of mass m is proportional to the total force
F acting on it, with 1/m as the constant of proportionality. That is,
1
a= F.
m
An Example
Newton’s second law: The acceleration a of a body of mass m is proportional to the total force
F acting on it, with 1/m as the constant of proportionality. That is,
1
a= F.
m
Equivalently,
F = ma.
An Example..
Suppose, for example, that a body of mass m falls freely under the influence of gravity alone.
Then the force acting on the body is F = mg .
An Example..
Suppose, for example, that a body of mass m falls freely under the influence of gravity alone.
Then the force acting on the body is F = mg .
If y is the distance down to the body from a fixed height, then its velocity is v = dy /dt
An Example..
Suppose, for example, that a body of mass m falls freely under the influence of gravity alone.
Then the force acting on the body is F = mg .
If y is the distance down to the body from a fixed height, then its velocity is v = dy /dt and its
acceleration is a = dv /dt = d 2 y /dt 2 .
An Example..
Suppose, for example, that a body of mass m falls freely under the influence of gravity alone.
Then the force acting on the body is F = mg .
If y is the distance down to the body from a fixed height, then its velocity is v = dy /dt and its
acceleration is a = dv /dt = d 2 y /dt 2 .
d 2y d 2y
m = mg or = g.
dt 2 dt 2
An Example..
If we assume that air exerts a resisting force proportional to the velocity, then the total force
dy
acting on the object is F = mg − k .
dt
An Example..
If we assume that air exerts a resisting force proportional to the velocity, then the total force
dy
acting on the object is F = mg − k .
dt
d 2y dy
m = mg − k
dt 2 dt
.
More Examples
More Examples
dy
I = −ky
dt
More Examples
dy
I = −ky
dt
d 2y
I m 2 = −ky
dt
More Examples
dy
I = −ky
dt
d 2y
I m 2 = −ky
dt
dy 2
I + 2xy = e −x
dx
More Examples
dy
I = −ky
dt
d 2y
I m 2 = −ky
dt
dy 2
I + 2xy = e −x
dx
d 2y dy
I
2
−5 + 6y = 0
dx dx
More Examples
dy
I = −ky
dt
d 2y
I m 2 = −ky
dt
dy 2
I + 2xy = e −x
dx
d 2y dy
I
2
−5 + 6y = 0
dx dx
d 2y dy
I (1 − x 2 ) 2 − 2x + p(p + 1)y = 0
dx dx
More Examples
dy
I = −ky
dt
d 2y
I m 2 = −ky
dt
dy 2
I + 2xy = e −x
dx
d 2y dy
I
2
−5 + 6y = 0
dx dx
d 2y dy
I (1 − x 2 ) 2 − 2x + p(p + 1)y = 0
dx dx
2
d y dy
I x2 2 + x + (x 2 − p 2 )y = 0
dx dx
More Examples...
More Examples...
These equations are called the Laplace’s equation, the heat equation,
More Examples...
These equations are called the Laplace’s equation, the heat equation, and the wave equation,
respectively.
Definition
I An equation involving one dependent variable and its derivatives with respect to one or
more independent variables is called a differential equation.
Definition
I An equation involving one dependent variable and its derivatives with respect to one or
more independent variables is called a differential equation.
I A differential equation with only one independent variable is called an ordinary
differential equation (so that all the derivatives occurring in it are ordinary derivatives).
Definition
I An equation involving one dependent variable and its derivatives with respect to one or
more independent variables is called a differential equation.
I A differential equation with only one independent variable is called an ordinary
differential equation (so that all the derivatives occurring in it are ordinary derivatives).
I A differential equation with more than one independent variables is called a partial
differential equation (so that all the derivatives occurring in it are partial derivatives).
Ordinary Differential Equations
dy d 2 y d ny
F x, y , , 2 , . . . , n = 0.
dx dx dx
Ordinary Differential Equations
dy d 2 y d ny
F x, y , , 2 , . . . , n = 0.
dx dx dx
dy d 2 y d ny
F x, y , , 2 , . . . , n = 0.
dx dx dx
dy d 2 y d ny
F x, y , , 2 , . . . , n = 0.
dx dx dx
Question: How to check whether a function y = y (x) is a solution of the given differential
equation?
Example
y = e 2x is a solution of the second order equation
y 00 − 5y 0 + 6y = 0.
Example
y = e 2x is a solution of the second order equation
y 00 − 5y 0 + 6y = 0.
Why?
Example
y = e 2x is a solution of the second order equation
y 00 − 5y 0 + 6y = 0.
y 00 − 5y 0 + 6y = 0.
Why? Because it satisfies the equation! Substituting y = e 2x on the left-hand side of the
equations gives 0:
Example
y = e 2x is a solution of the second order equation
y 00 − 5y 0 + 6y = 0.
Why? Because it satisfies the equation! Substituting y = e 2x on the left-hand side of the
equations gives 0: Here we have y = e 2x , y 0 = 2e 2x and y 00 = 4e 2x .
Example
y = e 2x is a solution of the second order equation
y 00 − 5y 0 + 6y = 0.
Why? Because it satisfies the equation! Substituting y = e 2x on the left-hand side of the
equations gives 0: Here we have y = e 2x , y 0 = 2e 2x and y 00 = 4e 2x .
∴ LHS = y 00 − 5y 0 + 6y
Example
y = e 2x is a solution of the second order equation
y 00 − 5y 0 + 6y = 0.
Why? Because it satisfies the equation! Substituting y = e 2x on the left-hand side of the
equations gives 0: Here we have y = e 2x , y 0 = 2e 2x and y 00 = 4e 2x .
y 00 − 5y 0 + 6y = 0.
Why? Because it satisfies the equation! Substituting y = e 2x on the left-hand side of the
equations gives 0: Here we have y = e 2x , y 0 = 2e 2x and y 00 = 4e 2x .
y 00 − 5y 0 + 6y = 0.
Why? Because it satisfies the equation! Substituting y = e 2x on the left-hand side of the
equations gives 0: Here we have y = e 2x , y 0 = 2e 2x and y 00 = 4e 2x .
y 00 − 5y 0 + 6y = 0.
Why? Because it satisfies the equation! Substituting y = e 2x on the left-hand side of the
equations gives 0: Here we have y = e 2x , y 0 = 2e 2x and y 00 = 4e 2x .
More generally,
y = c1 e 2x + c2 e 3x
is a solution of the equation for every choice of the constants c1 and c2 .
Example
y = e 2x is a solution of the second order equation
y 00 − 5y 0 + 6y = 0.
Why? Because it satisfies the equation! Substituting y = e 2x on the left-hand side of the
equations gives 0: Here we have y = e 2x , y 0 = 2e 2x and y 00 = 4e 2x .
More generally,
y = c1 e 2x + c2 e 3x
is a solution of the equation for every choice of the constants c1 and c2 . (Prove!)
Homework
Prove that
xy = log y + c
is a solution of
dy y2
=
dx 1 − xy
for every value of the constant c.
Homework
Prove that
xy = log y + c
is a solution of
dy y2
=
dx 1 − xy
for every value of the constant c.
A solution of a differential equation usually contains one or more arbitrary constants, equal in
number to the order of the equation.
Homework
Verify that the following functions (explicit or implicit) are solutions of the corresponding
differential equations:
Homework
Verify that the following functions (explicit or implicit) are solutions of the corresponding
differential equations:
(a) y = x2 + c y 0 = 2x
Homework
Verify that the following functions (explicit or implicit) are solutions of the corresponding
differential equations:
(a) y = x2 + c y 0 = 2x
(b) y = cx 2 xy 0 = 2y
Homework
Verify that the following functions (explicit or implicit) are solutions of the corresponding
differential equations:
(a) y = x2 + c y 0 = 2x
(b) y = cx 2 xy 0 = 2y
(c) y 2 = e 2x + c yy 0 = e 2x
Homework
Verify that the following functions (explicit or implicit) are solutions of the corresponding
differential equations:
(a) y = x2 + c y 0 = 2x
(b) y = cx 2 xy 0 = 2y
(c) y 2 = e 2x + c yy 0 = e 2x
(d) y = ce kx y 0 = ky
Homework
Verify that the following functions (explicit or implicit) are solutions of the corresponding
differential equations:
(a) y = x2 + c y 0 = 2x
(b) y = cx 2 xy 0 = 2y
(c) y 2 = e 2x + c yy 0 = e 2x
(d) y = ce kx y 0 = ky
(e) y = c1 e 2x + c2 e −2x y 00 − 4y = 0
Homework
Verify that the following functions (explicit or implicit) are solutions of the corresponding
differential equations:
(a) y = x2 + c y 0 = 2x
(b) y = cx 2 xy 0 = 2y
(c) y 2 = e 2x + c yy 0 = e 2x
(d) y = ce kx y 0 = ky
(e) y = c1 e 2x + c2 e −2x y 00 − 4y = 0
(f) y = c1 sin 2x + c2 cos 2x y 00 + 4y = 0
Homework
Verify that the following functions (explicit or implicit) are solutions of the corresponding
differential equations:
(a) y = x2 + c y 0 = 2x
(b) y = cx 2 xy 0 = 2y
(c) y 2 = e 2x + c yy 0 = e 2x
(d) y = ce kx y 0 = ky
(e) y = c1 e 2x + c2 e −2x y 00 − 4y = 0
(f) y = c1 sin 2x + c2 cos 2x y 00 + 4y = 0 p
(g) y = sin−1 xy xy 0 + y = y 0 1 − x 2 y 2
Homework
Verify that the following functions (explicit or implicit) are solutions of the corresponding
differential equations:
(a) y = x2 + c y 0 = 2x
(b) y = cx 2 xy 0 = 2y
(c) y 2 = e 2x + c yy 0 = e 2x
(d) y = ce kx y 0 = ky
(e) y = c1 e 2x + c2 e −2x y 00 − 4y = 0
(f) y = c1 sin 2x + c2 cos 2x y 00 + 4y = 0 p
(g) y = sin−1 xy xy 0 + y = y 0 1 − x 2 y 2
(h) y = ce y /x y 0 = y 2 /(xy − x 2 )
Homework
Verify that the following functions (explicit or implicit) are solutions of the corresponding
differential equations:
(a) y = x2 + c y 0 = 2x
(b) y = cx 2 xy 0 = 2y
(c) y 2 = e 2x + c yy 0 = e 2x
(d) y = ce kx y 0 = ky
(e) y = c1 e 2x + c2 e −2x y 00 − 4y = 0
(f) y = c1 sin 2x + c2 cos 2x y 00 + 4y = 0 p
(g) y = sin−1 xy xy 0 + y = y 0 1 − x 2 y 2
(h) y = ce y /x y 0 = y 2 /(xy − x 2 )
xy
(i) x 2 = 2y 2 log y y0 = 2
x + y2
Homework
Verify that the following functions (explicit or implicit) are solutions of the corresponding
differential equations:
(a) y = x2 + c y 0 = 2x
(b) y = cx 2 xy 0 = 2y
(c) y 2 = e 2x + c yy 0 = e 2x
(d) y = ce kx y 0 = ky
(e) y = c1 e 2x + c2 e −2x y 00 − 4y = 0
(f) y = c1 sin 2x + c2 cos 2x y 00 + 4y = 0 p
(g) y = sin−1 xy xy 0 + y = y 0 1 − x 2 y 2
(h) y = ce y /x y 0 = y 2 /(xy − x 2 )
xy
(i) x 2 = 2y 2 log y y0 = 2
x + y2
(j) x + y = tan−1 y 1 + y 2 + y 2y 0 = 0
Finding Solutions of Differential Equations
Equations of the form:
Finding Solutions of Differential Equations
Equations of the form:
dy
= f (x).
dx
Finding Solutions of Differential Equations
Equations of the form:
dy
= f (x).
dx
Solution: Here the differential equation is of the form y 0 = f (x) with f (x) = e 3x − x.
So, the solution is Z
y = (e 3x − x)dx + c.
Finding Solutions of Differential Equations
Equations of the form:
dy
= f (x).
dx
Solution: Here the differential equation is of the form y 0 = f (x) with f (x) = e 3x − x.
So, the solution is Z
y = (e 3x − x)dx + c.
That is,
y = e 3x /3 − x 2 /2 + c,
where c is an arbitrary constant.
Note
R
In some cases, finding f (x)dx will not be possible (in terms of elementary functions); e.g.,
Note
R
In some cases, finding f (x)dx will not be possible (in terms of elementary functions); e.g.,
Z
2
e −x dx
Note
R
In some cases, finding f (x)dx will not be possible (in terms of elementary functions); e.g.,
Z Z
−x 2 sin x
e dx and dx
x
.
Note
R
In some cases, finding f (x)dx will not be possible (in terms of elementary functions); e.g.,
Z Z
−x 2 sin x
e dx and dx
x
.
dy
So, finding the solution even in the simplest case, = f (x), may not be easy.
dx
Note
R
In some cases, finding f (x)dx will not be possible (in terms of elementary functions); e.g.,
Z Z
−x 2 sin x
e dx and dx
x
.
dy
So, finding the solution even in the simplest case, = f (x), may not be easy.
dx
Nevertheless, as long as a function f (x) is continuous over the range of integration, we have
Z x
y= f (t)dt + c
x0
defined
Note
R
In some cases, finding f (x)dx will not be possible (in terms of elementary functions); e.g.,
Z Z
−x 2 sin x
e dx and dx
x
.
dy
So, finding the solution even in the simplest case, = f (x), may not be easy.
dx
Nevertheless, as long as a function f (x) is continuous over the range of integration, we have
Z x
y= f (t)dt + c
x0
Nevertheless, as long as a function f (x) is continuous over the range of integration, we have
Z x
y= f (t)dt + c
x0
(a) xy 0 = 1
Homework
(a) xy 0 = 1
2
(b) y 0 = xe x
Homework
(a) xy 0 = 1
2
(b) y 0 = xe x
(c) y 0 = sin−1 x
Homework
(a) xy 0 = 1
2
(b) y 0 = xe x
(c) y 0 = sin−1 x
(d) (1 + x 3 )y 0 = x
Homework
(a) xy 0 = 1
2
(b) y 0 = xe x
(c) y 0 = sin−1 x
(d) (1 + x 3 )y 0 = x
(e) (1 + x 2 )y 0 = tan−1 x
Separable Equations
Note: Equations which can be solved in this manner are called separable equations.
Example
Solve xyy 0 = y − 1.
Example
Solve xyy 0 = y − 1.
y + log(y − 1) = log x + c1
Example
Solve xyy 0 = y − 1.
(a) x 5 y 0 + y 5 = 0
Homework
(a) x 5 y 0 + y 5 = 0
(b) xy 0 = (1 − x 2 ) tan y
Homework
(a) x 5 y 0 + y 5 = 0
(b) xy 0 = (1 − x 2 ) tan y
(c) y 0 = 2xy
Homework
(a) x 5 y 0 + y 5 = 0
(b) xy 0 = (1 − x 2 ) tan y
(c) y 0 = 2xy
(d) (1 + x 2 )dy + (1 + y 2 )dx = 0
Homework
(a) x 5 y 0 + y 5 = 0
(b) xy 0 = (1 − x 2 ) tan y
(c) y 0 = 2xy
(d) (1 + x 2 )dy + (1 + y 2 )dx = 0
(e) y log ydx − xdy = 0
Homework
(a) x 5 y 0 + y 5 = 0
(b) xy 0 = (1 − x 2 ) tan y
(c) y 0 = 2xy
(d) (1 + x 2 )dy + (1 + y 2 )dx = 0
(e) y log ydx − xdy = 0
First Order Equations: A Quick Summary
First Order Equations: A Quick Summary
I The general first order equation is
dy
F x, y , = 0.
dx
First Order Equations: A Quick Summary
I The general first order equation is
dy
F x, y , = 0.
dx
dy
I This equation cannot be solved in general, even in the simplest case = f (x).
dx
First Order Equations: A Quick Summary
I The general first order equation is
dy
F x, y , = 0.
dx
dy
I This equation cannot be solved in general, even in the simplest case = f (x).
dx
I There are first order equations with no real-valued solutions:
First Order Equations: A Quick Summary
I The general first order equation is
dy
F x, y , = 0.
dx
dy
I This equation cannot be solved in general, even in the simplest case = f (x).
dx
I There are first order equations with no real-valued solutions: e.g.,
2
dy
+ 1 = 0.
dx
First Order Equations: A Quick Summary
I The general first order equation is
dy
F x, y , = 0.
dx
dy
I This equation cannot be solved in general, even in the simplest case = f (x).
dx
I There are first order equations with no real-valued solutions: e.g.,
2
dy
+ 1 = 0.
dx
I There are equations with the single solution y = 0 (not even with an arbitrary constant):
First Order Equations: A Quick Summary
I The general first order equation is
dy
F x, y , = 0.
dx
dy
I This equation cannot be solved in general, even in the simplest case = f (x).
dx
I There are first order equations with no real-valued solutions: e.g.,
2
dy
+ 1 = 0.
dx
I There are equations with the single solution y = 0 (not even with an arbitrary constant):
e.g.,
2
dy
+ y 2 = 0.
dx
Gaining Some Understanding of the Solutions
Gaining Some Understanding of the Solutions
dy
I Suppose the first order equation F x, y , = 0 can be written in the form
dx
dy
= f (x, y ).
dx
Gaining Some Understanding of the Solutions
dy
I Suppose the first order equation F x, y , = 0 can be written in the form
dx
dy
= f (x, y ).
dx
dy
I What is the geometric meaning of a solution of = f (x, y )?
dx
dy
Gaining Some Understanding of the Solutions of = f (x, y )
dx
I Suppose that f (x, y ) is continuous throughout some rectangle R in the xy -plane.
dy
Gaining Some Understanding of the Solutions of = f (x, y )
dx
I Suppose that f (x, y ) is continuous throughout some rectangle R in the xy -plane.
I Let P0 = (x0 , y0 ) be a point in the region R.
dy
Gaining Some Understanding of the Solutions of = f (x, y )
dx
I Suppose that f (x, y ) is continuous throughout some rectangle R in the xy -plane.
I Let P0 = (x0 , y0 ) be a point in the region R. Then the number
dy
= f (x0 , y0 )
dx P0
determines a direction at P0 .
dy
Gaining Some Understanding of the Solutions of = f (x, y )
dx
I Suppose that f (x, y ) is continuous throughout some rectangle R in the xy -plane.
I Let P0 = (x0 , y0 ) be a point in the region R. Then the number
dy
= f (x0 , y0 )
dx P0
determines a direction at P0 .
I Let P1 = (x1 , y1 ) be a point near P0 in this direction.
dy
Gaining Some Understanding of the Solutions of = f (x, y )
dx
I Suppose that f (x, y ) is continuous throughout some rectangle R in the xy -plane.
I Let P0 = (x0 , y0 ) be a point in the region R. Then the number
dy
= f (x0 , y0 )
dx P0
determines a direction at P0 .
I Let P1 = (x1 , y1 ) be a point near P0 in this direction. Then the number
dy
= f (x1 , y1 )
dx P1
determines a new direction at P1 .
dy
Gaining Some Understanding of the Solutions of = f (x, y )
dx
I Suppose that f (x, y ) is continuous throughout some rectangle R in the xy -plane.
I Let P0 = (x0 , y0 ) be a point in the region R. Then the number
dy
= f (x0 , y0 )
dx P0
determines a direction at P0 .
I Let P1 = (x1 , y1 ) be a point near P0 in this direction. Then the number
dy
= f (x1 , y1 )
dx P1
determines a new direction at P1 .
I Next let P2 = (x2 , y2 ) be a point near P1 in this new direction
dy
Gaining Some Understanding of the Solutions of = f (x, y )
dx
I Suppose that f (x, y ) is continuous throughout some rectangle R in the xy -plane.
I Let P0 = (x0 , y0 ) be a point in the region R. Then the number
dy
= f (x0 , y0 )
dx P0
determines a direction at P0 .
I Let P1 = (x1 , y1 ) be a point near P0 in this direction. Then the number
dy
= f (x1 , y1 )
dx P1
determines a new direction at P1 .
I Next let P2 = (x2 , y2 ) be a point near P1 in this new direction and let
dy
= f (x2 , y2 )
dx P2
be yet another new direction at P2 .
dy
Gaining Some Understanding of the Solutions of = f (x, y )
dx
I Suppose that f (x, y ) is continuous throughout some rectangle R in the xy -plane.
I Let P0 = (x0 , y0 ) be a point in the region R. Then the number
dy
= f (x0 , y0 )
dx P0
determines a direction at P0 .
I Let P1 = (x1 , y1 ) be a point near P0 in this direction. Then the number
dy
= f (x1 , y1 )
dx P1
determines a new direction at P1 .
I Next let P2 = (x2 , y2 ) be a point near P1 in this new direction and let
dy
= f (x2 , y2 )
dx P2
be yet another new direction at P2 .
I Continuing like this we obtain a broken line.
Gaining Some Understanding of the Solutions...
Gaining Some Understanding of the Solutions...
y dy
= f (x, y )
dx
x
Gaining Some Understanding of the Solutions...
y dy
= f (x, y )
dx
P0
x
Gaining Some Understanding of the Solutions...
y dy
= f (x, y )
dx
R
dy
= f (x0 , y0 )
dx P0
P0
x
Gaining Some Understanding of the Solutions...
y dy
= f (x, y )
dx
R
dy
= f (x0 , y0 )
dx P0
P0
x
Gaining Some Understanding of the Solutions...
y dy
= f (x, y )
dx
R
dy
= f (x0 , y0 )
dx P0
P1
P0
x
Gaining Some Understanding of the Solutions...
y dy
= f (x, y )
dx
R
dy
= f (x0 , y0 )
dx P0
dy
= f (x1 , y1 )
dx P1
P1
P0
x
Gaining Some Understanding of the Solutions...
y dy
= f (x, y )
dx
R
dy
= f (x0 , y0 )
dx P0
dy
= f (x1 , y1 )
dx P1
P1
P0
x
Gaining Some Understanding of the Solutions...
y dy
= f (x, y )
dx
R
dy
= f (x0 , y0 )
dx P0
P2 dy
= f (x1 , y1 )
dx P1
P1
P0
x
Gaining Some Understanding of the Solutions...
y dy
= f (x, y )
dx
R
dy
= f (x0 , y0 )
dx P0
P2 dy
= f (x1 , y1 )
dx P1
P1
P0
dy
= f (x2 , y2 )
dx P2
x
Gaining Some Understanding of the Solutions...
y dy
= f (x, y )
dx
R
dy
= f (x0 , y0 )
dx P0
P2 dy
= f (x1 , y1 )
dx P1
P1
P0
dy
= f (x2 , y2 )
dx P2
x
Gaining Some Understanding of the Solutions...
y dy
= f (x, y )
dx
R
dy
= f (x0 , y0 )
dx P0
P3
P2 dy
= f (x1 , y1 )
dx P1
P1
P0
dy
= f (x2 , y2 )
dx P2
x
Gaining Some Understanding of the Solutions...
y dy
= f (x, y )
dx
R
dy
= f (x0 , y0 )
dx P0
P3
P2 dy
= f (x1 , y1 )
dx P1
P1
P0
dy
= f (x2 , y2 )
dx P2
x
Gaining Some Understanding of the Solutions...
Gaining Some Understanding of the Solutions...
I Imagine that these successive points move closer to one another and become more
numerous.
Gaining Some Understanding of the Solutions...
I Imagine that these successive points move closer to one another and become more
numerous.
I Then the broken line approaches a smooth curve through the initial point P0 .
Gaining Some Understanding of the Solutions...
I Imagine that these successive points move closer to one another and become more
numerous.
I Then the broken line approaches a smooth curve through the initial point P0 .
dy
I This curve is a solution of the equation = f (x, y ).
dx
Gaining Some Understanding of the Solutions...
I Imagine that these successive points move closer to one another and become more
numerous.
I Then the broken line approaches a smooth curve through the initial point P0 .
dy
I This curve is a solution of the equation = f (x, y ).
dx
I For each point (x, y ) on this curve, the slope is f (x, y ).
Gaining Some Understanding of the Solutions...
I Imagine that these successive points move closer to one another and become more
numerous.
I Then the broken line approaches a smooth curve through the initial point P0 .
dy
I This curve is a solution of the equation = f (x, y ).
dx
I For each point (x, y ) on this curve, the slope is f (x, y ).
dy
I This is precisely what the differential equation = f (x, y ) demands.
dx
Gaining Some Understanding of the Solutions...
I Imagine that these successive points move closer to one another and become more
numerous.
I Then the broken line approaches a smooth curve through the initial point P0 .
dy
I This curve is a solution of the equation = f (x, y ).
dx
I For each point (x, y ) on this curve, the slope is f (x, y ).
dy
I This is precisely what the differential equation = f (x, y ) demands.
dx
I Indeed through each point in R, there passes a unique solution curve
Gaining Some Understanding of the Solutions...
I Imagine that these successive points move closer to one another and become more
numerous.
I Then the broken line approaches a smooth curve through the initial point P0 .
dy
I This curve is a solution of the equation = f (x, y ).
dx
I For each point (x, y ) on this curve, the slope is f (x, y ).
dy
I This is precisely what the differential equation = f (x, y ) demands.
dx
I Indeed through each point in R, there passes a unique solution curve (also called the
integral curve)
Gaining Some Understanding of the Solutions...
I Imagine that these successive points move closer to one another and become more
numerous.
I Then the broken line approaches a smooth curve through the initial point P0 .
dy
I This curve is a solution of the equation = f (x, y ).
dx
I For each point (x, y ) on this curve, the slope is f (x, y ).
dy
I This is precisely what the differential equation = f (x, y ) demands.
dx
I Indeed through each point in R, there passes a unique solution curve (also called the
integral curve) of the differential equation.
Theorem (Picard’s Theorem)
If f (x, y ) and ∂f /∂y are continuous functions on a closed rectangle R,
Theorem (Picard’s Theorem)
If f (x, y ) and ∂f /∂y are continuous functions on a closed rectangle R, then through each
point (x0 , y0 ) in the interior of R there passes a unique integral curve of the equation
dy /dx = f (x, y ).
Theorem (Picard’s Theorem)
If f (x, y ) and ∂f /∂y are continuous functions on a closed rectangle R, then through each
point (x0 , y0 ) in the interior of R there passes a unique integral curve of the equation
dy /dx = f (x, y ).
Note: If we consider a fixed x0 in this theorem, then the integral curve that passes through
(x0 , y0 ) is fully determined by the choice of y0 .
Theorem (Picard’s Theorem)
If f (x, y ) and ∂f /∂y are continuous functions on a closed rectangle R, then through each
point (x0 , y0 ) in the interior of R there passes a unique integral curve of the equation
dy /dx = f (x, y ).
Note: If we consider a fixed x0 in this theorem, then the integral curve that passes through
(x0 , y0 ) is fully determined by the choice of y0 . Thus the integral curves of the equation
constitute a one-parameter family of curves.
Example
For the differential equation y 0 = xe x , find the particular solution for which y = 3 when x = 1.
Example
For the differential equation y 0 = xe x , find the particular solution for which y = 3 when x = 1.
For the differential equation y 0 = xe x , find the particular solution for which y = 3 when x = 1.
That is,
y = (x − 1)e x + c.
Example
For the differential equation y 0 = xe x , find the particular solution for which y = 3 when x = 1.
That is,
y = (x − 1)e x + c.
For the differential equation y 0 = xe x , find the particular solution for which y = 3 when x = 1.
That is,
y = (x − 1)e x + c.
For the differential equation y 0 = xe x , find the particular solution for which y = 3 when x = 1.
That is,
y = (x − 1)e x + c.
For the differential equation y 0 = xe x , find the particular solution for which y = 3 when x = 1.
That is,
y = (x − 1)e x + c.
For each of the following differential equations, find the particular solution that satisfies the
given initial condition:
Homework
For each of the following differential equations, find the particular solution that satisfies the
given initial condition:
For each of the following differential equations, find the particular solution that satisfies the
given initial condition:
For each of the following differential equations, find the particular solution that satisfies the
given initial condition:
For each of the following differential equations, find the particular solution that satisfies the
given initial condition:
For each of the following differential equations, find the integral curve that passes through the
given point:
Homework
For each of the following differential equations, find the integral curve that passes through the
given point:
For each of the following differential equations, find the integral curve that passes through the
given point:
For each of the following differential equations, find the integral curve that passes through the
given point:
For each of the following differential equations, find the integral curve that passes through the
given point:
I The general solution of a first order equation normally contains one arbitrary constant,
Families of Curves. Orthogonal Trajectories
I The general solution of a first order equation normally contains one arbitrary constant,
called a parameter.
Families of Curves. Orthogonal Trajectories
I The general solution of a first order equation normally contains one arbitrary constant,
called a parameter.
I Assigning various values to this parameter leads to a one-parameter family of curves.
Families of Curves. Orthogonal Trajectories
I The general solution of a first order equation normally contains one arbitrary constant,
called a parameter.
I Assigning various values to this parameter leads to a one-parameter family of curves.
Each curve in the family is a particular solution of the differential equation.
Families of Curves. Orthogonal Trajectories
I The general solution of a first order equation normally contains one arbitrary constant,
called a parameter.
I Assigning various values to this parameter leads to a one-parameter family of curves.
Each curve in the family is a particular solution of the differential equation.
I The converse also holds true:
Families of Curves. Orthogonal Trajectories
I The general solution of a first order equation normally contains one arbitrary constant,
called a parameter.
I Assigning various values to this parameter leads to a one-parameter family of curves.
Each curve in the family is a particular solution of the differential equation.
I The converse also holds true: the curves of any one-parameter family are solution curves
of a differential equation.
Families of Curves to Differential Equations
Families of Curves to Differential Equations
I Consider a one-parameter family of curves
f (x, y , c) = 0.
Families of Curves to Differential Equations
I Consider a one-parameter family of curves
f (x, y , c) = 0.
I Differentiate this equation implicitly with respect to x to get a relation of the form
dy
g x, y , , c = 0.
dx
Families of Curves to Differential Equations
I Consider a one-parameter family of curves
f (x, y , c) = 0.
I Differentiate this equation implicitly with respect to x to get a relation of the form
dy
g x, y , , c = 0.
dx
f (x, y , c) = 0.
I Differentiate this equation implicitly with respect to x to get a relation of the form
dy
g x, y , , c = 0.
dx
y = c.
Example
y = c.
Solution: Differentiating the equation of the given family of straight lines with respect to x
gives
dy
= 0.
dx
Example
y = c.
Solution: Differentiating the equation of the given family of straight lines with respect to x
gives
dy
= 0.
dx
Since c is already absent in this differential equation, there is no need of eliminating it.
Example
y = c.
Solution: Differentiating the equation of the given family of straight lines with respect to x
gives
dy
= 0.
dx
Since c is already absent in this differential equation, there is no need of eliminating it.
y = cx.
Example
y = cx.
Solution: Differentiating the equation of the given family of straight lines with respect to x
gives
dy
= c.
dx
Example
y = cx.
Solution: Differentiating the equation of the given family of straight lines with respect to x
gives
dy
= c.
dx
Eliminating c between the above equations gives the required differential equation:
dy dy y
x =y or = .
dx dx x
Example
Find the differential equation of the family of concentric circles
x 2 + y 2 = c 2.
Example
Find the differential equation of the family of concentric circles
x 2 + y 2 = c 2.
x 2 + y 2 = c 2.
Since c is already absent in this differential equation, there is no need to eliminate it.
Example
Find the differential equation of the family of concentric circles
x 2 + y 2 = c 2.
Since c is already absent in this differential equation, there is no need to eliminate it.
x 2 + y 2 = 2cx.
Solution: The given family of curves consists of all circles that are tangent to the y -axis at the
origin.
On differentiation with respect to x, the given equation becomes
dy dy
2x + 2y = 2c or x +y = c.
dx dx
Eliminating c between the given and above equations, we obtain the differentiable equation of
the family of circles:
dy y2 − x2
= .
dx 2xy
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Definition
Consider two family of curves
Definition
Consider two family of curves such that each curve in one family is orthogonal to each curve in
the other family.
Definition
Consider two family of curves such that each curve in one family is orthogonal to each curve in
the other family. Then each family is called a family of orthogonal trajectories of the other.
Definition
Consider two family of curves such that each curve in one family is orthogonal to each curve in
the other family. Then each family is called a family of orthogonal trajectories of the other.
Example: As we have already seen, the family of concentric circles x 2 + y 2 = c 2 and the
family of straight lines y = cx are orthogonal trajectories of each other.
Finding Orthogonal Trajectories
Consider the differential equation
dy
= f (x, y ).
dx
Finding Orthogonal Trajectories
Consider the differential equation
dy
= f (x, y ).
dx
It often represents a one-parameter family of curves,
Finding Orthogonal Trajectories
Consider the differential equation
dy
= f (x, y ).
dx
It often represents a one-parameter family of curves, where each curve in the family, at a point
(x, y ) on the curve, has slope f (x, y ).
Finding Orthogonal Trajectories
Consider the differential equation
dy
= f (x, y ).
dx
It often represents a one-parameter family of curves, where each curve in the family, at a point
(x, y ) on the curve, has slope f (x, y ).
Therefore, the differential equation of the orthogonal trajectories of the given family of circles is
Example
Find the orthogonal trajectories of the family of circles x 2 + y 2 = c 2 .
Therefore, the differential equation of the orthogonal trajectories of the given family of circles is
dx
x +y − =0
dy
Example
Find the orthogonal trajectories of the family of circles x 2 + y 2 = c 2 .
Therefore, the differential equation of the orthogonal trajectories of the given family of circles is
dx
x +y − =0
dy
or
dy y
= .
dx x
Example
Find the orthogonal trajectories of the family of circles x 2 + y 2 = c 2 .
Therefore, the differential equation of the orthogonal trajectories of the given family of circles is
dx
x +y − =0
dy
or
dy y
= .
dx x
y = cx.
Example
Find the orthogonal trajectories of the family of circles
x 2 + y 2 = 2cx.
Example
Find the orthogonal trajectories of the family of circles
x 2 + y 2 = 2cx.
dy y2 − x2
= .
dx 2xy
Example
Find the orthogonal trajectories of the family of circles
x 2 + y 2 = 2cx.
dy y2 − x2
= .
dx 2xy
Therefore, the differential equation of the orthogonal trajectories of the given family of circles is
Example
Find the orthogonal trajectories of the family of circles
x 2 + y 2 = 2cx.
dy y2 − x2
= .
dx 2xy
Therefore, the differential equation of the orthogonal trajectories of the given family of circles is
dx y2 − x2
− =
dy 2xy
Example
Find the orthogonal trajectories of the family of circles
x 2 + y 2 = 2cx.
dy y2 − x2
= .
dx 2xy
Therefore, the differential equation of the orthogonal trajectories of the given family of circles is
dx y2 − x2
− =
dy 2xy
or
dy 2xy
= 2 .
dx x − y2
Example
Find the orthogonal trajectories of the family of circles
x 2 + y 2 = 2cx.
dy y2 − x2
= .
dx 2xy
Therefore, the differential equation of the orthogonal trajectories of the given family of circles is
dx y2 − x2
− =
dy 2xy
or
dy 2xy
= 2 .
dx x − y2
Solving this gives the equation of the orthogonal trajectories of the given family of circles:
Solving this gives the equation of the orthogonal trajectories of the given family of circles:
x 2 + y 2 = 2cy .
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Orthogonal Trajectories
y
x
Homework
1. Sketch each of the following families of curves, find the orthogonal trajectories,
Homework
1. Sketch each of the following families of curves, find the orthogonal trajectories, and add
them to the sketch:
Homework
1. Sketch each of the following families of curves, find the orthogonal trajectories, and add
them to the sketch:
(a) xy = c;
Homework
1. Sketch each of the following families of curves, find the orthogonal trajectories, and add
them to the sketch:
(a) xy = c; (b) y = cx 2 ;
Homework
1. Sketch each of the following families of curves, find the orthogonal trajectories, and add
them to the sketch:
(a) xy = c; (b) y = cx 2 ; (c) y = ce x .
Homework
1. Sketch each of the following families of curves, find the orthogonal trajectories, and add
them to the sketch:
(a) xy = c; (b) y = cx 2 ; (c) y = ce x .
2. What are the orthogonal trajectories of the family of curves (a) y = cx 4 ;
Homework
1. Sketch each of the following families of curves, find the orthogonal trajectories, and add
them to the sketch:
(a) xy = c; (b) y = cx 2 ; (c) y = ce x .
2. What are the orthogonal trajectories of the family of curves (a) y = cx 4 ; (b) y = cx n
where n is any positive integer?
Homework
1. Sketch each of the following families of curves, find the orthogonal trajectories, and add
them to the sketch:
(a) xy = c; (b) y = cx 2 ; (c) y = ce x .
2. What are the orthogonal trajectories of the family of curves (a) y = cx 4 ; (b) y = cx n
where n is any positive integer? In each case sketch both family of curves.
Homework
1. Sketch each of the following families of curves, find the orthogonal trajectories, and add
them to the sketch:
(a) xy = c; (b) y = cx 2 ; (c) y = ce x .
2. What are the orthogonal trajectories of the family of curves (a) y = cx 4 ; (b) y = cx n
where n is any positive integer? In each case sketch both family of curves. What is the
effect on the orthogonal trajectories of increasing the exponent n?
Solutions of First Order Equations: Homogeneous Equations
These are first order differential equations which can be transformed into separable equations.
Solutions of First Order Equations: Homogeneous Equations
These are first order differential equations which can be transformed into separable equations.
Definition
A function f (x, y ) is called homogeneous of degree n if
f (tx, ty ) = t n f (x, y )
These are first order differential equations which can be transformed into separable equations.
Definition
A function f (x, y ) is called homogeneous of degree n if
f (tx, ty ) = t n f (x, y )
Examples:
Solutions of First Order Equations: Homogeneous Equations
These are first order differential equations which can be transformed into separable equations.
Definition
A function f (x, y ) is called homogeneous of degree n if
f (tx, ty ) = t n f (x, y )
Examples:
I x 2 + xy is a homogeneous function of degree
Solutions of First Order Equations: Homogeneous Equations
These are first order differential equations which can be transformed into separable equations.
Definition
A function f (x, y ) is called homogeneous of degree n if
f (tx, ty ) = t n f (x, y )
Examples:
I x 2 + xy is a homogeneous function of degree 2.
Solutions of First Order Equations: Homogeneous Equations
These are first order differential equations which can be transformed into separable equations.
Definition
A function f (x, y ) is called homogeneous of degree n if
f (tx, ty ) = t n f (x, y )
Examples:
I x 2 + xy is a homogeneous function of degree 2.
p
I x 2 + y 2 is a homogeneous function of degree
Solutions of First Order Equations: Homogeneous Equations
These are first order differential equations which can be transformed into separable equations.
Definition
A function f (x, y ) is called homogeneous of degree n if
f (tx, ty ) = t n f (x, y )
Examples:
I x 2 + xy is a homogeneous function of degree 2.
p
I x 2 + y 2 is a homogeneous function of degree 1.
Solutions of First Order Equations: Homogeneous Equations
These are first order differential equations which can be transformed into separable equations.
Definition
A function f (x, y ) is called homogeneous of degree n if
f (tx, ty ) = t n f (x, y )
Examples:
I x 2 + xy is a homogeneous function of degree 2.
p
I x 2 + y 2 is a homogeneous function of degree 1.
I sin(x/y ) is a homogeneous function of degree
Solutions of First Order Equations: Homogeneous Equations
These are first order differential equations which can be transformed into separable equations.
Definition
A function f (x, y ) is called homogeneous of degree n if
f (tx, ty ) = t n f (x, y )
Examples:
I x 2 + xy is a homogeneous function of degree 2.
p
I x 2 + y 2 is a homogeneous function of degree 1.
I sin(x/y ) is a homogeneous function of degree 0.
Solutions of First Order Equations: Homogeneous Equations
These are first order differential equations which can be transformed into separable equations.
Definition
A function f (x, y ) is called homogeneous of degree n if
f (tx, ty ) = t n f (x, y )
Examples:
I x 2 + xy is a homogeneous function of degree 2.
p
I x 2 + y 2 is a homogeneous function of degree 1.
I sin(x/y ) is a homogeneous function of degree 0.
Homogeneous Equations
Homogeneous Equations
Definition
The differential equation
M(x, y )dx + N(x, y )dy = 0
is said be homogeneous if M and N are homogeneous functions of the same degree.
Homogeneous Equations
Definition
The differential equation
M(x, y )dx + N(x, y )dy = 0
is said be homogeneous if M and N are homogeneous functions of the same degree.
Note: The homogeneous differential equation above can be written in the form
dy
= f (x, y ),
dx
Homogeneous Equations
Definition
The differential equation
M(x, y )dx + N(x, y )dy = 0
is said be homogeneous if M and N are homogeneous functions of the same degree.
Note: The homogeneous differential equation above can be written in the form
dy
= f (x, y ),
dx
where f (x, y ) = −M(x, y )/N(x, y ) is a homogeneous function of degree
Homogeneous Equations
Definition
The differential equation
M(x, y )dx + N(x, y )dy = 0
is said be homogeneous if M and N are homogeneous functions of the same degree.
Note: The homogeneous differential equation above can be written in the form
dy
= f (x, y ),
dx
where f (x, y ) = −M(x, y )/N(x, y ) is a homogeneous function of degree 0.
The Idea
A homogeneous differential equation can be written in the form
dy
= f (x, y )
dx
where f (x, y ) is a homogeneous function of degree 0.
The Idea
A homogeneous differential equation can be written in the form
dy
= f (x, y )
dx
where f (x, y ) is a homogeneous function of degree 0.
So, we have
f (tx, ty ) = t 0 f (x, y ) = f (x, y ).
The Idea
A homogeneous differential equation can be written in the form
dy
= f (x, y )
dx
where f (x, y ) is a homogeneous function of degree 0.
So, we have
f (tx, ty ) = t 0 f (x, y ) = f (x, y ).
Introduce a new dependent variable z = y /x. Then the above identity becomes
f (x, y ) = f (1, z).
The Idea
A homogeneous differential equation can be written in the form
dy
= f (x, y )
dx
where f (x, y ) is a homogeneous function of degree 0.
So, we have
f (tx, ty ) = t 0 f (x, y ) = f (x, y ).
Introduce a new dependent variable z = y /x. Then the above identity becomes
f (x, y ) = f (1, z).
Introduce a new dependent variable z = y /x. Then the above identity becomes
f (x, y ) = f (1, z).
dy 1 + y /x 1+z
= = .
dx 1 − y /x 1−z
Example
Solve (x + y )dx − (x − y )dy = 0.
dy 1 + y /x 1+z
= = .
dx 1 − y /x 1−z
dy dz
Also the substitution y = zx gives =z +x .
dx dx
Example
Solve (x + y )dx − (x − y )dy = 0.
dy 1 + y /x 1+z
= = .
dx 1 − y /x 1−z
dy dz
Also the substitution y = zx gives =z +x .
dx dx
Thus we get
dz 1+z
z +x = .
dx 1−z
Example
Solve (x + y )dx − (x − y )dy = 0.
dy 1 + y /x 1+z
= = .
dx 1 − y /x 1−z
dy dz
Also the substitution y = zx gives =z +x .
dx dx
Thus we get
dz 1+z
z +x = .
dx 1−z
Example...
(1 − z)dz dx
= .
1 + z2 x
Example...
(1 − z)dz dx
= .
1 + z2 x
(1 − z)dz dx
= .
1 + z2 x
Finally, we replace z by y /x
Example...
(1 − z)dz dx
= .
1 + z2 x
(1 − z)dz dx
= .
1 + z2 x
Finally, we replace z by y /x (and rearrange the terms) to obtain the desired solution:
Example...
(1 − z)dz dx
= .
1 + z2 x
Finally, we replace z by y /x (and rearrange the terms) to obtain the desired solution:
y p
tan−1 = log x 2 + y 2 + c.
x
Homework
Verify that the following equations are homogeneous and solve them:
Homework
Verify that the following equations are homogeneous and solve them:
(a) (x 2 − 2y 2 )dx + xydy = 0
Homework
Verify that the following equations are homogeneous and solve them:
(a) (x 2 − 2y 2 )dx + xydy = 0
(b) x 2 y 0 − 3xy − 2y 2 = 0
Homework
Verify that the following equations are homogeneous and solve them:
(a) (x 2 − 2y 2 )dx + xydy = 0
(b) x 2 y 0 − 3xy − 2y 2 = 0
y
(c) x 2 y 0 = 3(x 2 + y 2 ) tan−1 x + xy
Homework
Verify that the following equations are homogeneous and solve them:
(a) (x 2 − 2y 2 )dx + xydy = 0
(b) x 2 y 0 − 3xy − 2y 2 = 0
y
(c) x 2 y 0 = 3(x 2 + y 2 ) tan−1 x + xy
y dy y
(d) x sin x dx = y sin x +x
Homework
Verify that the following equations are homogeneous and solve them:
(a) (x 2 − 2y 2 )dx + xydy = 0
(b) x 2 y 0 − 3xy − 2y 2 = 0
y
(c) x 2 y 0 = 3(x 2 + y 2 ) tan−1 x + xy
y dy
(d) x sin x dx =y sin yx +x
0 −y /x
(e) xy = y + 2xe .
Homework
Find the orthogonal trajectories of the family of all circles tangent to the y -axis at the origin.
Homework
y 0 = f (ax + by + c)
y 0 = f (ax + by + c)
into an equation with separable variables, and apply this method to solve
(a) y 0 = (x + y )2
Homework
y 0 = f (ax + by + c)
into an equation with separable variables, and apply this method to solve
(a) y 0 = (x + y )2
(b) y 0 = sin2 (x − y + 1)
Homework
1. (a) If ae 6= bd, show that constants h and k can be chosen in such a way that the substitutions
z = x − h, w = y − k reduce
dy ax + by + c
=F
dx dx + ey + f
to a homogeneous equation.
Homework
1. (a) If ae 6= bd, show that constants h and k can be chosen in such a way that the substitutions
z = x − h, w = y − k reduce
dy ax + by + c
=F
dx dx + ey + f
to a homogeneous equation.
(b) If ae = bd, discover a substitution that reduces the equation in (a) to one in which the
variables are separable.
Homework
1. (a) If ae 6= bd, show that constants h and k can be chosen in such a way that the substitutions
z = x − h, w = y − k reduce
dy ax + by + c
=F
dx dx + ey + f
to a homogeneous equation.
(b) If ae = bd, discover a substitution that reduces the equation in (a) to one in which the
variables are separable.
2. Solve the following equations:
Homework
1. (a) If ae 6= bd, show that constants h and k can be chosen in such a way that the substitutions
z = x − h, w = y − k reduce
dy ax + by + c
=F
dx dx + ey + f
to a homogeneous equation.
(b) If ae = bd, discover a substitution that reduces the equation in (a) to one in which the
variables are separable.
2. Solve the following equations:
dy x +y +4
(a) = ;
dx x −y −6
Homework
1. (a) If ae 6= bd, show that constants h and k can be chosen in such a way that the substitutions
z = x − h, w = y − k reduce
dy ax + by + c
=F
dx dx + ey + f
to a homogeneous equation.
(b) If ae = bd, discover a substitution that reduces the equation in (a) to one in which the
variables are separable.
2. Solve the following equations:
dy x +y +4
(a) = ;
dx x −y −6
dy x +y −1
(b) = ;
dx x + 4y + 2
Homework
1. (a) If ae 6= bd, show that constants h and k can be chosen in such a way that the substitutions
z = x − h, w = y − k reduce
dy ax + by + c
=F
dx dx + ey + f
to a homogeneous equation.
(b) If ae = bd, discover a substitution that reduces the equation in (a) to one in which the
variables are separable.
2. Solve the following equations:
dy x +y +4
(a) = ;
dx x −y −6
dy x +y −1
(b) = ;
dx x + 4y + 2
dy x +y +4
(c) = .
dx x +y −6
Solving First Order Equations: Exact Equations
Solving First Order Equations: Exact Equations
Note: The differential equation of a family of curves f (x, y ) = c is df = 0
Solving First Order Equations: Exact Equations
Note: The differential equation of a family of curves f (x, y ) = c is df = 0 or
∂f ∂f
dx + dy = 0.
∂x ∂y
Solving First Order Equations: Exact Equations
Note: The differential equation of a family of curves f (x, y ) = c is df = 0 or
∂f ∂f
dx + dy = 0.
∂x ∂y
It is easy sometimes:
Definition
Consider the differential equation M(x, y )dx + N(x, y )dy = 0. If there is a function f (x, y )
such that
∂f ∂f
=M and = N,
∂x ∂y
then Mdx + Ndy is called an exact differential and Mdx + Ndy = 0 is called an exact
differential equation.
It is easy sometimes:
I The left side of ydx + xdy = 0 is the differential of
Definition
Consider the differential equation M(x, y )dx + N(x, y )dy = 0. If there is a function f (x, y )
such that
∂f ∂f
=M and = N,
∂x ∂y
then Mdx + Ndy is called an exact differential and Mdx + Ndy = 0 is called an exact
differential equation.
It is easy sometimes:
I The left side of ydx + xdy = 0 is the differential of xy and so the solution is xy = c.
Definition
Consider the differential equation M(x, y )dx + N(x, y )dy = 0. If there is a function f (x, y )
such that
∂f ∂f
=M and = N,
∂x ∂y
then Mdx + Ndy is called an exact differential and Mdx + Ndy = 0 is called an exact
differential equation.
It is easy sometimes:
I The left side of ydx + xdy = 0 is the differential of xy and so the solution is xy = c.
1
I The left side of dx − yx2 dy = 0 is the differential of
y
Definition
Consider the differential equation M(x, y )dx + N(x, y )dy = 0. If there is a function f (x, y )
such that
∂f ∂f
=M and = N,
∂x ∂y
then Mdx + Ndy is called an exact differential and Mdx + Ndy = 0 is called an exact
differential equation.
It is easy sometimes:
I The left side of ydx + xdy = 0 is the differential of xy and so the solution is xy = c.
1
I The left side of dx − yx2 dy = 0 is the differential of x/y and so the solution is x/y = c.
y
A Necessary Condition for Exactness
A Necessary Condition for Exactness
Suppose the differential equation
is exact.
A Necessary Condition for Exactness
Suppose the differential equation
is exact.
Then there is a function f such that
∂f
=M
∂x
A Necessary Condition for Exactness
Suppose the differential equation
is exact.
Then there is a function f such that
∂f
=M
∂x
A Necessary Condition for Exactness
Suppose the differential equation
is exact.
Then there is a function f such that
∂f ∂f
=M and = N.
∂x ∂y
A Necessary Condition for Exactness
Suppose the differential equation
is exact.
Then there is a function f such that
∂f ∂f
=M and = N.
∂x ∂y
Then
∂2f
∂y ∂x
A Necessary Condition for Exactness
Suppose the differential equation
is exact.
Then there is a function f such that
∂f ∂f
=M and = N.
∂x ∂y
Then
∂2f ∂M ∂2f
= and =
∂y ∂x ∂y ∂x∂y
A Necessary Condition for Exactness
Suppose the differential equation
is exact.
Then there is a function f such that
∂f ∂f
=M and = N.
∂x ∂y
Then
∂2f ∂M ∂2f ∂N
= and = .
∂y ∂x ∂y ∂x∂y ∂x
is exact.
Then there is a function f such that
∂f ∂f
=M and = N.
∂x ∂y
Then
∂2f ∂M ∂2f ∂N
= and = .
∂y ∂x ∂y ∂x∂y ∂x
∂2f ∂2f
But the mixed second derivatives of a function are equal: = .
∂y ∂x ∂x∂y
A Necessary Condition for Exactness
Suppose the differential equation
is exact.
Then there is a function f such that
∂f ∂f
=M and = N.
∂x ∂y
Then
∂2f ∂M ∂2f ∂N
= and = .
∂y ∂x ∂y ∂x∂y ∂x
∂2f ∂2f
But the mixed second derivatives of a function are equal: = .
∂y ∂x ∂x∂y
∂M ∂N
∴ = .
∂y ∂x
Example
So,
∂M
=1
∂y
Example
So,
∂M ∂N
=1 and =
∂y ∂x
Example
So,
∂M ∂N
=1 and = 2xy − 1.
∂y ∂x
Example
So,
∂M ∂N
=1 and = 2xy − 1.
∂y ∂x
Thus
∂M ∂N
6=
∂y ∂x
.
Example
So,
∂M ∂N
=1 and = 2xy − 1.
∂y ∂x
Thus
∂M ∂N
6=
∂y ∂x
.
Hence the equation is not exact.
But This Condition is Also Sufficient!
But This Condition is Also Sufficient!
∂M ∂N
Proved: If M(x, y )dx + N(x, y )dy = 0 is exact, then = .
∂y ∂x
But This Condition is Also Sufficient!
∂M ∂N
Proved: If M(x, y )dx + N(x, y )dy = 0 is exact, then = .
∂y ∂x
∂M ∂N
To Prove: If = , then M(x, y )dx + N(x, y )dy = 0 is exact.
∂y ∂x
But This Condition is Also Sufficient!
∂M ∂N
Proved: If M(x, y )dx + N(x, y )dy = 0 is exact, then = .
∂y ∂x
∂M ∂N
To Prove: If = , then M(x, y )dx + N(x, y )dy = 0 is exact.
∂y ∂x
Theorem
∂M ∂N
The differential equation M(x, y )dx + N(x, y )dy = 0 is exact if and only if = .
∂y ∂x
The Condition is Sufficient!
The Condition is Sufficient!
Suppose
∂M ∂N
= .
∂y ∂x
The Condition is Sufficient!
Suppose
∂M ∂N
= .
∂y ∂x
We will now prove that this condition enables us to find a function f such that
∂f
=M
∂x
The Condition is Sufficient!
Suppose
∂M ∂N
= .
∂y ∂x
We will now prove that this condition enables us to find a function f such that
∂f ∂f
=M and = N.
∂x ∂y
The Condition is Sufficient!
Suppose
∂M ∂N
= .
∂y ∂x
We will now prove that this condition enables us to find a function f such that
∂f ∂f
=M and = N.
∂x ∂y
If there is a function f satisfying the above conditions, it must, by the first condition,
The Condition is Sufficient!
Suppose
∂M ∂N
= .
∂y ∂x
We will now prove that this condition enables us to find a function f such that
∂f ∂f
=M and = N.
∂x ∂y
If there is a function f satisfying the above conditions, it must, by the first condition, have the
form Z
f = Mdx + g (y ).
The Condition is Sufficient!
Suppose
∂M ∂N
= .
∂y ∂x
We will now prove that this condition enables us to find a function f such that
∂f ∂f
=M and = N.
∂x ∂y
If there is a function f satisfying the above conditions, it must, by the first condition, have the
form Z
f = Mdx + g (y ).
We will now prove that this condition enables us to find a function f such that
∂f ∂f
=M and = N.
∂x ∂y
If there is a function f satisfying the above conditions, it must, by the first condition, have the
form Z
f = Mdx + g (y ).
We will now prove that this condition enables us to find a function f such that
∂f ∂f
=M and = N.
∂x ∂y
If there is a function f satisfying the above conditions, it must, by the first condition, have the
form Z
f = Mdx + g (y ).
Or Z
∂
g 0 (y ) = N − Mdx.
∂y
The Condition is Sufficient!
Suppose
∂M ∂N
= .
∂y ∂x
We will now prove that this condition enables us to find a function f such that
∂f ∂f
=M and = N.
∂x ∂y
If there is a function f satisfying the above conditions, it must, by the first condition, have the
form Z
f = Mdx + g (y ).
Or Z
∂
g 0 (y ) = N − Mdx.
∂y
The Condition is Sufficient!
Suppose
∂M ∂N
= .
∂y ∂x
We will now prove that this condition enables us to find a function f such that
∂f ∂f
=M and = N.
∂x ∂y
If there is a function f satisfying the above conditions, it must, by the first condition, have the
form Z
f = Mdx + g (y ).
Or Z
∂
g 0 (y ) = N − Mdx.
∂y
Z
∂ ∂
N− Mdx =
∂x ∂y
∂2
Z Z
∂ ∂ ∂N
N− Mdx = − Mdx
∂x ∂y ∂x ∂x∂y
∂2
Z Z
∂ ∂ ∂N
N− Mdx = − Mdx
∂x ∂y ∂x ∂x∂y
∂2
Z
∂N
= − Mdx
∂x ∂y ∂x
∂2
Z Z
∂ ∂ ∂N
N− Mdx = − Mdx
∂x ∂y ∂x ∂x∂y
∂2
Z
∂N
= − Mdx
∂x ∂y ∂x
∂N ∂M
= −
∂x ∂y
∂2
Z Z
∂ ∂ ∂N
N− Mdx = − Mdx
∂x ∂y ∂x ∂x∂y
∂2
Z
∂N
= − Mdx
∂x ∂y ∂x
∂N ∂M
= −
∂x ∂y
= 0
by the assumption.
∂2
Z Z
∂ ∂ ∂N
N− Mdx = − Mdx
∂x ∂y ∂x ∂x∂y
∂2
Z
∂N
= − Mdx
∂x ∂y ∂x
∂N ∂M
= −
∂x ∂y
= 0
R
by the assumption. Thus the function f = Mdx + g (y )
∂2
Z Z
∂ ∂ ∂N
N− Mdx −= Mdx
∂x ∂y ∂x ∂x∂y
∂2
Z
∂N
= − Mdx
∂x ∂y ∂x
∂N ∂M
= −
∂x ∂y
= 0
R R ∂
R
by the assumption. Thus the function f = Mdx + g (y ) with g (y ) = N− ∂y Mdx dy
∂2
Z Z
∂ ∂ ∂N
N− Mdx −= Mdx
∂x ∂y ∂x ∂x∂y
∂2
Z
∂N
= − Mdx
∂x ∂y ∂x
∂N ∂M
= −
∂x ∂y
= 0
R R ∂
R
by the assumption. Thus the function f = Mdx + g (y ) with g (y ) = N− ∂y Mdx dy
satisfies
∂f
=M
∂x
∂2
Z Z
∂ ∂ ∂N
N− Mdx − = Mdx
∂x ∂y ∂x ∂x∂y
∂2
Z
∂N
= − Mdx
∂x ∂y ∂x
∂N ∂M
= −
∂x ∂y
= 0
R R ∂
R
by the assumption. Thus the function f = Mdx + g (y ) with g (y ) = N− ∂y Mdx dy
satisfies
∂f ∂f
=M and = N.
∂x ∂y
∂2
Z Z
∂ ∂ ∂N
N− Mdx − = Mdx
∂x ∂y ∂x ∂x∂y
∂2
Z
∂N
= − Mdx
∂x ∂y ∂x
∂N ∂M
= −
∂x ∂y
= 0
R R ∂
R
by the assumption. Thus the function f = Mdx + g (y ) with g (y ) = N− ∂y Mdx dy
satisfies
∂f ∂f
=M and = N.
∂x ∂y
Test the equation e y dx + (xe y + 2y )dy = 0 for exactness, and solve it if it is exact.
Example
Test the equation e y dx + (xe y + 2y )dy = 0 for exactness, and solve it if it is exact.
Solution: Here
M = ey and N = xe y + 2y .
Example
Test the equation e y dx + (xe y + 2y )dy = 0 for exactness, and solve it if it is exact.
Solution: Here
M = ey and N = xe y + 2y .
∂M
∴ = ey
∂y
Example
Test the equation e y dx + (xe y + 2y )dy = 0 for exactness, and solve it if it is exact.
Solution: Here
M = ey and N = xe y + 2y .
∂M ∂N
∴ = ey and = ey .
∂y ∂x
Example
Test the equation e y dx + (xe y + 2y )dy = 0 for exactness, and solve it if it is exact.
Solution: Here
M = ey and N = xe y + 2y .
∂M ∂N
∴ = ey and = ey .
∂y ∂x
Test the equation e y dx + (xe y + 2y )dy = 0 for exactness, and solve it if it is exact.
Solution: Here
M = ey and N = xe y + 2y .
∂M ∂N
∴ = ey and = ey .
∂y ∂x
Thus the equation is exact. Hence there exists a function f (x, y ) such that
∂f
= ey
∂x
Example
Test the equation e y dx + (xe y + 2y )dy = 0 for exactness, and solve it if it is exact.
Solution: Here
M = ey and N = xe y + 2y .
∂M ∂N
∴ = ey and = ey .
∂y ∂x
Thus the equation is exact. Hence there exists a function f (x, y ) such that
∂f ∂f
= ey and = xe y + 2y .
∂x ∂y
∂f
= ey
∂x
∂f ∂f
= ey and = xe y + 2y .
∂x ∂y
∂f ∂f
= ey and = xe y + 2y .
∂x ∂y
So
∂f
= xe y + g 0 (y ).
∂y
∂f ∂f
= ey and = xe y + 2y .
∂x ∂y
So
∂f
= xe y + g 0 (y ).
∂y
∂f
Also, ∂y = xe y + 2y .
∂f ∂f
= ey and = xe y + 2y .
∂x ∂y
So
∂f
= xe y + g 0 (y ).
∂y
Also, ∂f
∂y = xe y + 2y . So, we have g 0 (y ) = 2y or g (y ) = y 2 and f (x, y ) = xe y + y 2 .
∂f ∂f
= ey and = xe y + 2y .
∂x ∂y
So
∂f
= xe y + g 0 (y ).
∂y
∂f
Also, ∂y = xe y + 2y . So, we have g 0 (y ) = 2y or g (y ) = y 2 and f (x, y ) = xe y + y 2 .
Thus the general solution of the given differential equation is
xe y + y 2 = c.
Homework
Determine which of the following equation are exact, and solve the ones that are.
Homework
Determine which of the following equation are exact, and solve the ones that are.
2
1. x + dy + ydx = 0
y
Homework
Determine which of the following equation are exact, and solve the ones that are.
2
1. x + dy + ydx = 0
y
2. (sin x tan y + 1)dx + cos x sec2 ydy = 0
Homework
Determine which of the following equation are exact, and solve the ones that are.
2
1. x + dy + ydx = 0
y
2. (sin x tan y + 1)dx + cos x sec2 ydy = 0
3. (y − x 3 )dx + (x + y 3 )dy = 0
Homework
Determine which of the following equation are exact, and solve the ones that are.
2
1. x + dy + ydx = 0
y
2. (sin x tan y + 1)dx + cos x sec2 ydy = 0
3. (y − x 3 )dx + (x + y 3 )dy = 0
4. (2y 2 − 4x + 5)dx = (4 − 2y + 4xy )
Homework
Determine which of the following equation are exact, and solve the ones that are.
2
1. x + dy + ydx = 0
y
2. (sin x tan y + 1)dx + cos x sec2 ydy = 0
3. (y − x 3 )dx + (x + y 3 )dy = 0
4. (2y 2 − 4x + 5)dx = (4 − 2y + 4xy )
5. (y + y cos xy )dx + (x + x cos xy )dy = 0
Homework
Determine which of the following equation are exact, and solve the ones that are.
2
1. x + dy + ydx = 0
y
2. (sin x tan y + 1)dx + cos x sec2 ydy = 0
3. (y − x 3 )dx + (x + y 3 )dy = 0
4. (2y 2 − 4x + 5)dx = (4 − 2y + 4xy )
5. (y + y cos xy )dx + (x + x cos xy )dy = 0
Integrating Factors
Integrating Factors
Motivation: The equation
ydx + (x 2 y − x)dy = 0
is not exact:
Integrating Factors
Motivation: The equation
ydx + (x 2 y − x)dy = 0
is not exact:for ∂M/∂y = 1
Integrating Factors
Motivation: The equation
ydx + (x 2 y − x)dy = 0
is not exact:for ∂M/∂y = 1 and ∂N/∂x = 2xy − 1.
Integrating Factors
Motivation: The equation
ydx + (x 2 y − x)dy = 0
is not exact:for ∂M/∂y = 1 and ∂N/∂x = 2xy − 1.
1
But multiplying this equation by results in
x2
y 1
dx + y − dy = 0
x2 x
Integrating Factors
Motivation: The equation
ydx + (x 2 y − x)dy = 0
is not exact:for ∂M/∂y = 1 and ∂N/∂x = 2xy − 1.
1
But multiplying this equation by results in
x2
y 1
dx + y − dy = 0
x2 x
which is exact.
Integrating Factors
Motivation: The equation
ydx + (x 2 y − x)dy = 0
is not exact:for ∂M/∂y = 1 and ∂N/∂x = 2xy − 1.
1
But multiplying this equation by results in
x2
y 1
dx + y − dy = 0
x2 x
which is exact.
If
M(x, y )dx + N(x, y )dy = 0
is not exact, when can we find a function µ(x, y ) such that
µ(Mdx + Ndy ) = 0
exact?
Definition
Suppose Mdx + Ndy = 0 is a nonexact equation.
Definition
Suppose Mdx + Ndy = 0 is a nonexact equation. Suppose µ(x, y ) is a function such that
µ(Mdx + Ndy ) = 0
is exact.
Definition
Suppose Mdx + Ndy = 0 is a nonexact equation. Suppose µ(x, y ) is a function such that
µ(Mdx + Ndy ) = 0
µ(Mdx + Ndy ) = 0
µ(Mdx + Ndy ) = 0
Question: When does a nonexact equation Mdx + Ndy = 0 have an integrating factor?
Definition
Suppose Mdx + Ndy = 0 is a nonexact equation. Suppose µ(x, y ) is a function such that
µ(Mdx + Ndy ) = 0
Question: When does a nonexact equation Mdx + Ndy = 0 have an integrating factor?
Always!
Definition
Suppose Mdx + Ndy = 0 is a nonexact equation. Suppose µ(x, y ) is a function such that
µ(Mdx + Ndy ) = 0
Question: When does a nonexact equation Mdx + Ndy = 0 have an integrating factor?
Always! (As long as it has a general solution!)
Suppose Mdx + Ndy = 0 has a general solution
f (x, y ) = c.
Suppose Mdx + Ndy = 0 has a general solution
f (x, y ) = c.
The above differential equations have the same solutions and so they are equivalent.
Suppose Mdx + Ndy = 0 has a general solution
f (x, y ) = c.
The above differential equations have the same solutions and so they are equivalent. Thus
dy M ∂f /∂x
=− =− .
dx N ∂f /∂y
Suppose Mdx + Ndy = 0 has a general solution
f (x, y ) = c.
The above differential equations have the same solutions and so they are equivalent. Thus
dy M ∂f /∂x
=− =− .
dx N ∂f /∂y
∂f /∂x ∂f /∂y
∴ = .
M N
Suppose Mdx + Ndy = 0 has a general solution
f (x, y ) = c.
The above differential equations have the same solutions and so they are equivalent. Thus
dy M ∂f /∂x
=− =− .
dx N ∂f /∂y
∂f /∂x ∂f /∂y
∴ = .
M N
The above differential equations have the same solutions and so they are equivalent. Thus
dy M ∂f /∂x
=− =− .
dx N ∂f /∂y
∂f /∂x ∂f /∂y
∴ = .
M N
The above differential equations have the same solutions and so they are equivalent. Thus
dy M ∂f /∂x
=− =− .
dx N ∂f /∂y
∂f /∂x ∂f /∂y
∴ = .
M N
∂f ∂f
= µM and = µN.
∂x ∂y
Let us denote the common ratio above by µ(x, y ). Then we have
∂f ∂f
= µM and = µN.
∂x ∂y
µMdx + µNdy = 0.
Let us denote the common ratio above by µ(x, y ). Then we have
∂f ∂f
= µM and = µN.
∂x ∂y
µMdx + µNdy = 0.
∂f ∂f
= µM and = µN.
∂x ∂y
µMdx + µNdy = 0.
µF (f )(Mdx + Ndy ) =
Note: If Mdx + Ndy = 0 has at least one integrating factor, it has infinitely many of them:
Let F (f ) be any function of f . Then
That is, µF (f )(Mdx + Ndy ) is an exact differential. This means that µF (f ) is also an
integrating factor of Mdx + Ndy = 0.
Finding Integrating Factors
µ is an integrating factor of Mdx + Ndy = 0 if and only if µMdx + µNdy = 0 is exact. That is,
if and only if
∂µM ∂µN
=
∂y ∂x
Finding Integrating Factors
µ is an integrating factor of Mdx + Ndy = 0 if and only if µMdx + µNdy = 0 is exact. That is,
if and only if
∂µM ∂µN
=
∂y ∂x
∂M ∂µ ∂N ∂µ
⇔ µ +M =µ +N .
∂y ∂y ∂x ∂x
Finding Integrating Factors
µ is an integrating factor of Mdx + Ndy = 0 if and only if µMdx + µNdy = 0 is exact. That is,
if and only if
∂µM ∂µN
=
∂y ∂x
∂M ∂µ ∂N ∂µ
⇔ µ +M =µ +N .
∂y ∂y ∂x ∂x
1 ∂µ ∂µ ∂M ∂N
⇔ N −M = − .
µ ∂x ∂y ∂y ∂x
Finding Integrating Factors
µ is an integrating factor of Mdx + Ndy = 0 if and only if µMdx + µNdy = 0 is exact. That is,
if and only if
∂µM ∂µN
=
∂y ∂x
∂M ∂µ ∂N ∂µ
⇔ µ +M =µ +N .
∂y ∂y ∂x ∂x
1 ∂µ ∂µ ∂M ∂N
⇔ N −M = − .
µ ∂x ∂y ∂y ∂x
Suppose the differential equation has an integrating factor µ that is a function of x alone.
Then with such a µ the above equation takes the form
Thus µ is an integrating factor of the differential equation if and only if
1 ∂µ ∂µ ∂M ∂N
N −M = − .
µ ∂x ∂y ∂y ∂x
Thus µ is an integrating factor of the differential equation if and only if
1 ∂µ ∂µ ∂M ∂N
N −M = − .
µ ∂x ∂y ∂y ∂x
Suppose the differential equation has an integrating factor µ that is a function of x alone.
Then with such a µ the above equation takes the form
∂M ∂N
1 dµ ∂y − ∂x
= .
µ dx N
Thus µ is an integrating factor of the differential equation if and only if
1 ∂µ ∂µ ∂M ∂N
N −M = − .
µ ∂x ∂y ∂y ∂x
Suppose the differential equation has an integrating factor µ that is a function of x alone.
Then with such a µ the above equation takes the form
∂M ∂N
1 dµ ∂y − ∂x
= .
µ dx N
The left side of the above equation is a function of x only. So, the right side must also function
of x only.
So, let
∂M ∂N
∂y − ∂x
g (x) = .
N
Thus we have
1 dµ
= g (x).
µ dx
Integrating, we obtain Z
log µ = g (x)dx
or R
g (x)dx
µ=e .
Example
The presence of (xdy − ydx) in the differential equation reminds us the differential formula
y xdy − ydx
d =
x x2
and suggests us dividing the equation by x 2 . This transforms the equation into
y
ydy − d = 0.
x
And its general solution is
y 2 /2 − y /x = c.
Useful Differential Formulas
x ydx − xdy
d =
y y2
1. Show that if ( ∂M
∂y −
∂N
∂x )/(Ny − Mx) is a function g (z) of the product z = xy , then
R
g (z)dz
µ=e
Definition
A differential equation in which the derivative of highest order is a linear function of the lower
order derivatives is called a linear equation.
Linear Equations
Definition
A differential equation in which the derivative of highest order is a linear function of the lower
order derivatives is called a linear equation.
Definition
A differential equation in which the derivative of highest order is a linear function of the lower
order derivatives is called a linear equation.
Definition
A differential equation in which the derivative of highest order is a linear function of the lower
order derivatives is called a linear equation.
d 2y dy
2
= p(x) + q(x)y + r (x).
dx dx
Linear Equations in Standard Form
Linear Equations in Standard Form
or
R R
y = e− Pdx
intQe Pdx
dx + c .
Note
d R Pdx R dy R R dy
(e y ) = e Pdx + yPe Pdx = e Pdx + Py .
dx dx dx
dy R
Thus, multiplying + P(x)y = Q(x) through by e Pdx , it becomes
dx
d R Pdx R
(e y ) = Qe Pdx .
dx
or
R R
y = e− Pdx
intQe Pdx
dx + c .
Example
dy 1
Solve + y = 3x.
dx x
Example
dy 1
Solve + y = 3x.
dx x
xy = x 3 + c
Example
dy 1
Solve + y = 3x.
dx x
xy = x 3 + c or = yx 2 + cx −1 .
Homework
1. x dy
dx − 3y = x
4
Homework
1. x dy
dx − 3y = x
4
2. y 0 + y = 1
1+e 2x
Homework
1. x dy
dx − 3y = x
4
2. y 0 + y = 1
1+e 2x
3. (1 + x 2 )dy + 2xydx = cot xdx
Homework
1. x dy
dx − 3y = x
4
2. y 0 + y = 1
1+e 2x
3. (1 + x 2 )dy + 2xydx = cot xdx
4. (x log x)y 0 + y = 3x 3
Homework
Appropriately replacing the terms in Equation 1 now gives a linear equation in z and x:
We further multiply it through by the constant 1 − n (???) to obtain
dy
(1 − n)y −n + (1 − n)P(x)y 1−n = (1 − n)Q(x). (1)
dx
Appropriately replacing the terms in Equation 1 now gives a linear equation in z and x:
dz
+ (1 − n)P(x)z = (1 − n)Q(x).
dx
We further multiply it through by the constant 1 − n (???) to obtain
dy
(1 − n)y −n + (1 − n)P(x)y 1−n = (1 − n)Q(x). (1)
dx
Appropriately replacing the terms in Equation 1 now gives a linear equation in z and x:
dz
+ (1 − n)P(x)z = (1 − n)Q(x).
dx
Appropriately replacing the terms in Equation 1 now gives a linear equation in z and x:
dz
+ (1 − n)P(x)z = (1 − n)Q(x).
dx
We complete the solution by solving the above as a linear equation and substituting y 1−n for z.
Homework
1. xy 0 + y = x 4 y 3
Homework
1. xy 0 + y = x 4 y 3
2. xy 2 y 0 + y 3 = x cos x
Homework
1. xy 0 + y = x 4 y 3
2. xy 2 y 0 + y 3 = x cos x
3. xdy + ydx = xy 2 dx
Homework
Solve the following as linear equations treating x as the dependent variable and y as the
independent variable:
Homework
Solve the following as linear equations treating x as the dependent variable and y as the
independent variable:
1. (e y − 2xy )y 0 = y 2
Homework
Solve the following as linear equations treating x as the dependent variable and y as the
independent variable:
1. (e y − 2xy )y 0 = y 2
2. y − xy 0 = y 0 y 2 e y
Homework
Solve the following as linear equations treating x as the dependent variable and y as the
independent variable:
1. (e y − 2xy )y 0 = y 2
2. y − xy 0 = y 0 y 2 e y
dx
3. f (y )2 dy + 3f (y )f 0 (y )x = f 0 (y )