Chapter 1 First-Order Differential Equations - PowerPoint PPT Presentation

1 / 96
About This Presentation
Title:

Chapter 1 First-Order Differential Equations

Description:

Title: PowerPoint Presentation Last modified by: User Created Date: 1/1/1601 12:00:00 AM Document presentation format: Other titles – PowerPoint PPT presentation

Number of Views:641
Avg rating:3.0/5.0
Slides: 97
Provided by: courseUj
Category:

less

Transcript and Presenter's Notes

Title: Chapter 1 First-Order Differential Equations


1
Chapter 1 First-Order Differential Equations
  • Shurong Sun
  • University of Jinan
  • Semester 1, 2010-2011

2
Analogous to a course in algebra and
trigonometry, where a good amount of time is
spent solving equations such as
for the unknown variable x.
In this course one of our tasks will be to solve
differential equations such as
for the unknown function yy(t).
3
1.1 Separable Differential Equations
  • Many first order differential equations can be
    written as
  • We can solve these equations by integrating

4
Separable Differential Equation
A first order differential equation of the form
is called a separable differential equation.
I.
Set
and multiply by
to obtain
Integrating, we have
5
II.
then
is one solution to the equation
6
Separable Equation Example
Example Solve the equation
Solution
This is a separable equation.
Separate variables and rewrite the equation in
the form
or
Integrating, we have
Solving for y , we obtain the solution in
explicit form as
7
Separable Equation Example
  • Solve the differential equation

Solution
We first rewrite the DE in fractional form
Separate variables and rewrite the equation in
the form
Integrating, we get
8
Example Solve the IVP
Solution
Separate variables and rewrite the equation
in the form
or
Integrating, we have
Solving for y , we obtain the solution in
explicit form as
9
Note that y1 is also a solution to the equation.
So the general solution to the equation is
is an arbitrary constant.
Applying the initial condition directly, we have
or
Thus
10
Example Solve the equation
Solution
Separate variables and rewrite the equation
in the form
Integrating, we have
or
11
Example- Newton s Law of Cooling
A copper sphere is heated to
At time t0 it is
then placed in water that is maintained at
After 3 minutes the sphere s temperature is
Derive an equation for the temperature T of the
ball
as a function of time t.
  • Newton s law of cooling implies

12
Example- Newton s Law of Cooling
  • Step 1 - Separate variables
  • Step 2 - Integrate

13
Example- Newton s Law of Cooling
  • Step 3 - Determine a particular solution
  • Step 4 - Determine k

14
Example
A hemispherical bowl has top radius 4 ft and at
time t0 is full of water. At that moment a
circular hole with diameter 1 in. is opened in
the bottom of the tank. How long will it take for
all the water to drain from the tank?
Solution
15
1.2 Reduction to Separable Form
  • Sometimes first order differential equations can
    be made separable by a simple change of variable.
    Consider equations of the form

(1) Homogeneous Equation
Remark
is homogeneous iff
16
  • This suggests we set
  • Writing the differential equation in terms of u
    gives

17
  • Separating variables gives

18
Example Solve
(6)
Solution We express (6) in the derivative form
then we see that the equation (6) is homogeneous.
Now let
and recall that
With these substitution, equation (6) becomes
19
The above equation is separable, and , on
separating the
variables and integrating, we obtain
Hence,
Also note that x0 is a solution.
20
(2) Equations of the Form
Set
Then the equation is transformed
into a separable one.
Example Solve
(8)
Solution
Set
Then
and so
21
Substituting into (8) yields
Solving this separable equation, we obtain
from which it follows that
Finally, replacing z by x-y yields
22
(3)
where the
are constants.
I.
In this case, the equations can be reduced to
the form
23
II.
Then the system of equations
has a unique solution
The above DE can be written in the form
24
which yields the DE
Homogenous Equation
after the translation of axes of the form
25
Example Solve
Solution
From
we obtain
Hence, we let
26
The differential equation for v is
or
The above equation is homogenous, so we let
Then
or
27
Separating variables gives
from which it follows that
When we substitute back in for z, u, and v, we
find
28
1.2 Linear First-Order DE
(1) Definition Linear Equation
A first-order differential equation of the form
(1)
is said to be linear equation.
When
the linear equation is said
to be homogeneous
otherwise, it is non-homogenous
or inhomogenous.
29
(2) Standard Form
By dividing both sides of (1) by the lead
coefficient
we obtain a more useful form, the stand
form, of a linear equation
(2)
We seek a solution of (2) on an interval I for
which
both function P and f are continuous.
(3) Variation of parameters
30
I. The Homogeneous Equation
(3)
This is a separable equation.
Writing (3) as
and integrating .
Solving for y gives
II. The Nonhomogeneous Equation
(2)
Method of variation of constants
31
II. The Nonhomogeneous Equation
(2)
Method of variation of constants
The basic idea is the constant C in the general
solution of the homogeneous equation (3) is
replaced by a function C(x). The calculation of
an appropriate choice of C(x) gives a solution of
the nonhomogeneous equation (2) .
Substituting
into (2) gives
32
so
Hence
and
(4)
Thus if (2) has a solution, it must be of form
(4).
Conversely, it is easy to verify that (4)
constitutes one-parameter family of solutions of
equation (2),
that is a general solution of equation (2).
33
Example
Finding the general solution to
Solution
We write the differential equation in standard
form
The associated homogeneous equation is
Separating variable, we find
34
So the general solution to the homogeneous
equation is
substituting
By the method of variation of parameter,
into the equation gives
So
Thus the general solution to
35
is
36
Method of Integrating factor
An integrating factor
37
Example
Find the general solution to
Solution We write the differential equation in
the
standard form
Here
So the integrating factor is
Multiplying the original differential equation by
we get
or
38
We now integrate both sides and solve for y to
find
or
39
Find the general solution to
Solution
Here
So
40
Solve
Solution Here
41
Bernoulli Equations
(9)
Remark when n0,1, equation (9) is also a
linear equation.
For
dividing equation (9) by
yields
(10)
Taking
we find via the chain rule that
42
and so equation (10) becomes
Linear equation
Example Solve
(11)
Solution This is a Bernoulli equation with n3,
43
We make the substitution
Since
the transformed equation is
This is a linear equation, its solution is
44
Substituting
give the solution
Not included in the last equation is the solution
that was lost in the process of dividing
(11) by
45
1.3 Exact Differential Equations and Integrating
factors
46
Exact Differential Equations
  • Recall that the total or exact differential of a
    function u(x,y) is
  • We will use the concept of exactness to study
    differential equations of the form

47
  • Compare the following

We say an ODE is exact if there exists a function
such that
That is
Note this means that we can now write our ODE as
48
Note this means that we can now write our ODE as
In this case, its solution (in implicit form) is
given by
Remember we need
49
Testing for Exactness
  • In practice we often don t know about u, only
    about M and N and it is hard to check that
  • We want a technique of testing for exactness
    based on knowing M and N, not u

50
  • Let s check the derivatives of M and N

If M(x,y) and N(x,y) are continuous functions and
have continuous first partial derivatives on some
simply connected region of xy-plane, then
  • A necessary and sufficient condition for
    exactness is

51
Solving Exact Equations
  • Once we have checked the equation is exact it can
    be readily solved by evaluating either

52
(No Transcript)
53
Exact Equations Example
Example Solve
Solution
the equation given is exact.
From
we have that
54
Next we take the partial derivative of u with
respect
to y and substitute
for N
Here we drop the constant of integration that
technically should be present in g(y) since it
will just get absorbed into the constant we pick
up in the next step.
Hence
So, the implicit solution to the differential
equation is
55
Exact Equations Example
56
Exact Equations Example
  • Solve for k(x) and then u

57
Example Find the solution for the following IVP.
Solution
Let s identify M and N and check that it s
exact.
So, it s exact.
58
With the proper simplification integrating the
second one isn t too bad. However, the first is
already set up for easy integration so let s do
that one.
Differentiate with respect to y and compare to N.
So, we get
Recall that actually h(y) k, but we drop the k
because it will get absorbed in the next step.
That gives us h(y) 0.
59
Therefore, we get
The implicit solution is then
Applying the initial condition gives 1 C
The implicit solution is then
60
Remember Exact Equations
  • We can check whether an equation in this form is
    exact by checking if

(Necessary and sufficient)
  • Alternate method we can often rearrange linear
    first order ODEs into the form

61
Solve the following DE
Solution
Here
We first check to see if we have an exact
equation.
Since
it s exact.
62
Note that
So the general solution is
63
(No Transcript)
64
Example. Find the general solution to
Step 1 Check to see
So, it is exact.
65
Then,
So, we get
as the general solution.
66
Example. Solve the homogeneous DE
Solution This equation can be written in the form
which is an exact equation.
In this case, the solution in implicit form is
i.e. ,
67
Integrating Factors
  • If the equation is not exact we can consider

multiplying it by a function
such that the new equation is exact
68
Finding Integrating Factors
  • For exactness we require

This equation can be simplified in special cases,
two.
of which we treat next
69
  • If we choose

where
is just a function of x.
Let
70
Now solve for
71
Conversely, if
is just a function of x.
Let
Then
is an integrating factor for Equation.
72
In a similar fashion, if equation has an
integrating
factor that depends only y, then
is just a function of y.
Conversely, if
is just a function of y.
Let
Then
is an integrating factor for Equation.
73
Integrating Factors Example
Example Solve
Solution
The equation is not exact.
We compute
74
So an integrating factor for the equation is
given by
When we multiplying by
we get the exact equation
Solving this equation, we obtain the implicit
solution
75
Note that the solution x0 is lost in multiplying
by
Hence,
and
are solutions to the given equation.
76
Linear Differential Equations
  • Recall a differential equation is linear if it
    can be written
  • If q(x)0 the equation is homogeneous, otherwise
    the equation is nonhomogeneous.

77
Homogeneous Linear Case
  • Separating variables and integrating

78
Nonhomogeneous Linear Case
  • Nonhomogeneous linear equations can be solved
    using the integrating factor method. First
    rewrite the differential equation as

i.e.
79
Finding the integrating factor
  • To find the integrating factor we first compute

80
Nonhomogeneous Linear Case
  • We can now find an integrating factor
  • Now multiply the differential equation by the
    integrating factor

81
Nonhomogeneous Linear Case
82
Integrating Factors Example
Example Solve
Solution
Here
The equation is not exact.
We compute
83
So an integrating factor for is given by
When we multiplying by
we get the exact equation
Solving this equation, we obtain
as the solution in implicit form.
84
In general, integrating factors are
difficult to uncover. If a differential
equation does not have one of the forms given
above, then a search for an integrating factor
likely will not be successful, and other methods
of solution are recommended.
85
Example Solve
Solution Rewriting this
equation in differential form,
we have
This differential equation is not exact, and
no integrating factor is immediately apparent.
Note however, that if terms are
strategically regrouped, the DE can be rewritten
as
86
(1)
The first group of terms has many integrating
factors (see Table 2). One of these factors,
namely
is an integrating factor for the entire equation.
Multiplying (1) by
we find
(2)
87
Since (2) is exact, it can be solved using the
steps described previously.
Alternatively, we note from Table 1,
so that (2) can be rewrite as
Integrating both sides of this last equation, we
find
88
or equivalently,
89
Solve
Solution Here
and, since
The differential equation is not exact.
Since
is a function of y alone.
we have an integrating factor
90
Multiplying the given DE by
we obtain the exact equation
or equivalently,
91
Integrating both sides of this last equation, we
find
(ii) Note that the differential equation can be
rewritten as
The first group of terms has many integrating
factors (see Table 1). One of these factors,
namely
92
is an integrating factor for the entire equation.
Multiplying (1) by
we find
Integrating both sides of this last equation, we
find
93
(iii) Rewriting this equation in the derivative
form,
(3)
then we see that the equation (3) is homogeneous.
Now let
and recall that
With these substitution, equation (3) becomes
94
The above equation is separable, and , by
separating the
variables and integrating, we obtain
95
(iv) We rewrite the differential equation in the
form
which is linear equation.
Its solution is
Also note that x0 is a solution.
96
Table 1
97
Table 2
98
(No Transcript)
99
Exercise Solve
100
(No Transcript)
101
(No Transcript)
102
(No Transcript)
103
(No Transcript)
104
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com