handout of differential...
TRANSCRIPT
HANDOUT
DIFFERENTIAL EQUATIONS
For International Class
Nikenasih Binatari
NIP. 19841019 200812 2 005
Mathematics Educational Department
Faculty of Mathematics and Natural Sciences
State University of Yogyakarta
2010
CONTENTS
Cover
Contents
I. Introduction to Differential Equations
- Some basic mathematical modelsโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ
- Definitions and terminologyโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ - Classification of Differential Equationโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ.
- Initial Value Problemsโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ.. - Boundary Value Problemsโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ...
- Autonomous Equationโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ.
- Definition of Differential Equation Solutionsโฆโฆโฆโฆโฆโฆโฆโฆ...
1
3 7
9 10
11
16
II. First Order Equations for which exact solutions are obtainable - Standart forms of first order Differential Equationโฆโฆโฆโฆโฆโฆ.
- Exact Equationโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ.. - Solution of exact differential equationsโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ...
- Method of groupingโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ.
- Integrating factorโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ..
- Separable differential equationsโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ...
- Homogeneous differential equationsโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ... - Linear differential Equationsโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ
- Bernoulli differential equationsโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ
- Special integrating factorโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ.. - Special transformationsโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ
19
20 22
25
26
28
31 34
36
39 40
III. Application of first order equations
- Orthogonal trajectoriesโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ... - Oblique trajectoriesโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ.
- Application in mechanics problems and rate problemsโฆโฆโฆโฆ..
43 46
48
IV. Explicit methods of solving higher order linear differential
equations
- Basic theory of linear differential equationsโฆโฆโฆโฆโฆโฆโฆโฆโฆ
- The homogeneous linear equation with constant coefficientโฆโฆ. - The method of undetermined coefficientsโฆโฆโฆโฆโฆโฆโฆโฆโฆ..
- Variation of parametersโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆโฆ...
51
54 58
61
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION
First Meeting :
I. Introduction to Differential Equations
- Some Basic Mathematical Models
- Definitions and Terminology
The study of differential equations has attracted the attention of many of the worldโs
greatest mathematicians during the past three centuries. To give perspective to your study of
differential equations, first, we use a problem to illustrate some of the basic ideas that we
will return to and elaborate upon frequently throughout the remainder book.
I.1 Some Basic Mathematical Models
Consider the diagram below.
Example 1.1
The population of the city of Yogyakarta increases at a rate proportional to the
number of its inhabitants present at any time t. If the population of Yogyakarta was
30,000 in 1970 and 35,000 in 1980, what will be the population of Yogyakarta in
1990?
Assumptions Mathematical
formulation
Check model
predictions with
known facts
Obtain
solutions
Express assumptions in
terms of differential
equations
If necessary, alter
assumptions or increase
resolution of the model
Display model predictions,
e.g., graphically
Solve the DEs
We can use the theory of differential equation to solve this problem. Suppose ๐ฆ ๐ก defines
the number of population at time-t. Therefore, the first information can be transformed into
mathematical model as
๐๐ฆ
๐๐ก= ๐พ๐ฆ
for some constant K, ๐ฆ 1970 = 30.000, and ๐ฆ 1980 = 35.000.
Just what is a differential equation and what does it signify? Where and how do differential
equations originate and of what use are they? Confronted with a differential equation, what
does one do with it, how does one do it, and what are the results of such activity? These
questions indicate three major aspects of the subject: theory, method, and application.
Therefore, things that will be discussed in this handout are how the forms of differential
equations are, the method to find its solution for each form and the last one is its
applications.
When we talk about something that is constantly changing, for example rate, then I can say,
in truth, we talk about derivative. Many of the principles underlying the behavior of the
natural world are statement or relations involving rates at which things happen. When
expressed in mathematical terms the relations are equations and the rates are derivatives.
Equations containing derivatives are differential equations.
I.2 Definitions and Terminology
Definition Differential Equation
An equation containing the derivatives of one or more dependent variables, with respect to
one or more independent variables, is said to be a differential equation (DE).
For examples
1. ๐๐ฆ
๐๐ฅ= 2๐ฅ
2. ๐3๐ฆ
๐๐ฅ3 โ 2๐2๐ฆ
๐๐ฅ2 โ 4๐๐ฆ
๐๐ฅ+ 8๐ฆ = 0
3. ๐๐ฆ
๐๐ฅ
2
โ 2๐ฆ = 0
4. ๐ฅ2 + ๐ฆ2 ๐๐ฅ + ๐ฆ โ ๐ฅ ๐๐ฆ = 0
5. ๐ฅ๐๐ฆ
๐๐ฅ+ ๐ฅ + 1 ๐ฆ = ๐ฅ3
Other examples of differential equation are
1. Radioactive Decay. The rate at which the nuclei of a substance decay is proportional
to the amount (more precisely, the number of nuclei) ๐ด(๐ก) of the substance remaining at
time t.
๐๐ด
๐๐ก= ๐๐ด
2. Newtonโs Law of Cooling/warming. Suppose ๐(๐ก) represents the temperature of a
body at time t, Tm the temperature of the surrounding medium. The rate at which the
temperature of a body changes is proportional to the difference between the
temperature of the body and the temperature of the surrounding medium.
๐๐
๐๐ก= ๐ ๐ โ ๐๐
More examples can be found at page 20 โ 24, A first course in Differential Equation with
modeling application, Dennis G. Zill.
Exercises. 1
Population Dynamics.
1. Assumed that the growth rate of a country at a certain time is proportional to the total
population of the country at that time ๐(๐ก). Determine a differential equation for the
population of a country when individuals are allowed to immigrate into the country at a
constant rate ๐ > 0. How if individuals are allowed to emigrate from the country at a
constant rate ๐ > 0.
2. In another model of a changing population of a community, it is assumed that the rate at
which the population changes is a net rate โ that is, the difference between the rate of
births and the rate of deaths in the community. Determine a model for the population
๐(๐ก) if both the birth rate and the death rate are proportional to the population present
at time t.
3. Using the concept of net rate introduced in Problem 2, determine a model for a
population ๐(๐ก) if the birth rate is proportional to the population present at time t but
the death rate is proportional to the square of the population present at time t.
4. Modify the model in problem 3 for the net rate at which the population ๐(๐ก) of a certain
kind of fish changes by also assuming that the fish are harvested at a constant rate ๐ > 0.
Newtonโs Law of Cooling/Warming
5. A cup of coffee cools according to Newtionโs Law of cooling.
Use data from the graph of the temperature ๐ ๐ก in figure
beside to estimate the constants ๐๐ , ๐0 and k in a model of
the form of a first-order initial-value problem
๐๐
๐๐ก= ๐ ๐ โ ๐๐ , ๐ 0 = ๐0
6. The ambient temperature ๐๐ could be a function
of time t. Suppose that in an artificially controlled
environment, ๐๐ is periodic with a 24-hour period
as illustrated in Figure beside. Devise a
mathematical model for the temperature
๐(๐ก) of a body within this environment.
Spread of a Disease/Technology
7. Suppose a student carrying in a flu virus returns to an isolated college campus of 1000
students. Determine a differential equation for the number of people ๐ฅ(๐ก) who have
contracted the flu if the rate at which the disease spreads is proportional to the number
of interaction between the number of students who have the flu and the number of
number of students who have the flu and the number of students who have not yet been
exposed to it.
Mixtures
8. Supposes that a large mixing tank initially holds 300 gallons of water in which 50 pounds
of salt have been dissolved. Pure water is pumped into the tank at a rate of 3 gal/min,
and when the solution is well stirred, it is then pumped out at the same rate. Determine
the differential equation for amount of salt ๐ด ๐ก in the time at time t. What is ๐ด 0 .
9. Suppose that a large mixing tank initially holds 300 gallons of water in which 50 pounds
of salt have been dissolved. Another brine solution is pumped into the tank at a rate of 3
gal/min, and when the solution is well stirred, it is then pumped out at a slower rate 2
gal/min. If the concentration of the solution entering is 2 lb/gal, determine a differential
equation for the amount of salt ๐ด ๐ก in the tank at time t.
Falling bodies and Air Resistance
10. For high-speed motion through the air โ such as the skydiver shown in figure below,
falling before the paracute is opened โ air resistance is closer to a power of the
instantaneous velocity ๐ฃ(๐ก). Determine a differential equation for the velocity ๐ฃ(๐ก) of a
falling body of mass m if air resistance is proportional to the square of the instantaneous
velocity.
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION
Second Meeting :
I. Introduction to Differential Equations
- Classification of Differential Equations
- Initial Value Problems - Boundary Value Problems
Differential equation is divided into two big classes; those are ordinary differential equation
and partial differential equation. The different is located at the number of its independent
variable.
Definition Ordinary Differential Equation
A differential equation involving ordinary derivatives of one or more dependent variables
with respect to a single independent variable is called an ordinary differential equation
(ODE).
Definition Partial Differential Equation
A differential equation involving partial derivatives of one or more dependent variables with
respect to more than one independent variable is called a partial differential equation (PDE)
Definition Order
The order of the highest ordered derivative involved in a differential equation is called the
order of the differential equation
Definition Linear Ordinary Differential Equation
A linear ordinary differential equation of order n, in the dependent variable y and the
independent variable x, is an equation that is in, or can be expressed in, the form
๐0 ๐ฅ ๐๐๐ฆ
๐๐ฅ๐+ ๐1 ๐ฅ
๐๐โ1๐ฆ
๐๐ฅ๐โ1+ โฏ + ๐๐โ1 ๐ฅ
๐๐ฆ
๐๐ฅ+ ๐๐ ๐ฅ ๐ฆ = ๐ ๐ฅ
Where ๐0 is not identically zero.
Definition Nonlinear Ordinary Differential Equation
A nonlinear ordinary differential equation is an ordinary differential equation that is not
linear.
As given from the previous materials, there are many terminologies for differential
equations. Among those terminologies, differential equations are then classified by type,
order and linearity.
Classification by Type
Refers to the number of its independent variables, differential equation is divided into two
types, ordinary differential equation and partial differential equation.
Classification by Order
Consider to the highest derivative in the equation, differential equation can be classified by
nth-order ordinary differential equations.
Classification by Linearity
From its linearity, differential equation is classified into linear differential equation and
nonlinear differential equation.
Classification of Differential Equation can be easily seen from the diagram below:
Differential Equation (DE)
Types
Ordinary DE
Partial DE
Order n-th DE
Linearity
Linear DE
Nonlinear DE
For example
1. ๐๐ฆ
๐๐ฅ= 2๐ฆ
First order homogeneous linear ordinary differential equation
2. ๐3๐ฆ
๐๐ฅ3 โ 2๐2๐ฆ
๐๐ฅ2 โ 4๐๐ฆ
๐๐ฅ+ 8๐ฆ = 0
Third order homogeneous linear ordinary differential equation
3. ๐2๐ฆ
๐๐ฅ2 3
โ 2๐ฆ = 0
Second order homogeneous nonlinear ordinary differential equation
4. ๐ฅ2 + ๐ฆ2 ๐๐ฅ + ๐ฆ โ ๐ฅ ๐๐ฆ = 0
first order
5. ๐ฅ๐๐ฆ
๐๐ฅ+ ๐ฅ + 1 ๐ฆ = ๐ฅ3
first order non homogeneous ordinary differential equation
Suppose that you are driving along a road and you want to predict where you will be in the
future. You need to know two things--
How fast you are driving.
Where you start.
Now suppose that you are the mayor of a city and want to predict how many students will
be enrolled the schools in the future. Once again you need to know two things--
How fast the school population is changing.
The current school population.
The two parts of each of the problems above together make up an initial value problem
or IVP. An IVP has two parts--
A differential equation describing how things change.
One or more initial conditions describing how things start.
Definition of Initial Value Problems
On some interval I containing x0, the problem
Solve :
๐๐ ๐ฆ
๐๐ฅ๐ = ๐ ๐ฅ, ๐ฆ, ๐ฆ โฒ , โฆ , ๐ฆ ๐โ1
Subject to : ๐ฆ ๐ฅ0 = ๐ฆ0,
๐ฆ โฒ ๐ฅ0 = ๐ฆ1, โฆ , ๐ฆ๐โ1 ๐ฅ0 = ๐ฆ๐โ1
Where ๐ฆ0, ๐ฆ1, ๐ฆ2, โฆ๐ฆ๐โ1 are arbitrarily specified real
constants, is called an initial value problem (IVP). The given values of the unknown function
and its first derivatives at a single point x0, ๐ฆ ๐ฅ0 = ๐ฆ0, ๐ฆ โฒ ๐ฅ0 = ๐ฆ1, โฆ , ๐ฆ๐โ1 ๐ฅ0 = ๐ฆ๐โ1
are called initial conditions.
Another type of problem consists of solving a linear differential equation in which the
dependent variable ๐ฆ or its derivatives are specified at different points. This type of
differential equation is called boundary value problem (BVP)
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION Third Meeting :
I. Introduction to Differential Equations
- Autonomous Equation
An important class of first order equations is those in which the independent variable does
not appear explicitly. Such equations are called autonomous and have the form
๐๐ฆ
๐๐ก= ๐ ๐ฆ
For example
๐๐ฆ
๐๐ก= ๐๐ฆ + ๐,
where a and b are constants. Our goal now is to obtain important qualitative information
directly from the differential equation, without solving the equation.
Steps to draw the solution curves of ๐ ๐
๐ ๐= ๐ ๐ .
1. Find the equilibrium solutions, those are constant solutions or solutions which
satisfying ๐๐ฆ
๐๐ก= 0.
2. Determine which area such that the curve will increase or decrease.
The curve will increase for area where ๐๐ฆ
๐๐ก> 0 and decrease for area where
๐๐ฆ
๐๐ก< 0
3. To investigate one step further, we can determine the concavity of the
solution curve by using its second derivative, ๐2๐ฆ
๐๐ก2
๐2๐ฆ
๐๐ก2= ๐ โฒ ๐ฆ
๐๐ฆ
๐๐ก= ๐ โฒ ๐ฆ ๐ ๐ฆ
The graph of y versus t is concave up when ๐2๐ฆ
๐๐ก2 > 0 while concave down
when ๐2๐ฆ
๐๐ก2 < 0.
Look at the following figures.
Example 1.3
The population of the city of Yogyakarta increases at a rate proportional to the
number of its inhabitants present at any time t. The population of Yogyakarta was
30,000 in 1970 and 35,000 in 1980. Determine the behavior of the number of its
population.
Answer :
As we modeled this problem before, suppose ๐ฆ ๐ก defines the number of population at time-
t. Therefore, the first information can be transformed into mathematical model as
๐๐ฆ
๐๐ก= ๐พ๐ฆ
for some constant K > 0, ๐ฆ 1970 = 30.000, and ๐ฆ 1980 = 35.000.
From the concept of derivative, we know that first derivative of a function is the rate. As we
see that k > 0 and y > 0 which are implied that ๐๐ฆ
๐๐ก> 0. Therefore we can simply conclude
that the number of population will increase all over the time.
Figure : y versus t for dy/dt = Ky.
Example I.4
If the population rate can be modeled into
๐๐ฆ
๐๐ก= 3 โ ๐ฆ ๐ฆ
Answer :
1. The equilibrium solutions are ๐ฆ such that
3 โ ๐ฆ ๐ฆ โ ๐ฆ = 3 or ๐ฆ = 0
2. Here, we can analyze that for 0 < ๐ฆ < 3 the derivative is positive valued
while for ๐ฆ < 0 or ๐ฆ > 3 the derivative is negative valued. Therefore, the
population will increase for 0 < ๐ฆ < 3, while for ๐ฆ < 0 or ๐ฆ > 3 the
population will decrease.
3. Determine the concavity.
๐2๐ฆ
๐๐ก2= ๐ โฒ ๐ฆ
๐๐ฆ
๐๐ก= ๐ โฒ ๐ฆ ๐ ๐ฆ
Suppose ๐ ๐ฆ = 3 โ ๐ฆ ๐ฆ, then ๐ โฒ ๐ฆ = โ2๐ฆ + 3. Itโs implied that ๐2๐ฆ
๐๐ก2 =
3 โ 2๐ฆ 3 โ ๐ฆ ๐ฆ.
Figure : ๐ฆ versus ๐ก for ๐๐ฆ
๐๐ก= 3 โ ๐ฆ ๐ฆ
Definition
Consider the value for the solution ๐ฆ that starts near the equilibrium solution ๐ฆ0 as ๐ก โ โ. If
lim๐กโโ
๐ฆ ๐ก = ๐ฆ0
then ๐ฆ0 is called an asymptotically stable solution. Otherwise, itโs called an unstable
equilibrium solution.
Example I.4 above, ๐ฆ = 3 is an asymptotically stable solution whereas ๐ฆ = 0 is an unstable
equilrium.
Exercises 3.
In each problem below, sketch the graph of y versus t, determine the critical (equilibrium)
points, and classify each one as asymptotically stable or unstable.
1. ๐๐ฆ
๐๐ก= 2๐ฆ + 3๐ฆ2, ๐ฆ 0 = 3
2. ๐๐ฆ
๐๐ก= ๐ฆ ๐ฆ โ 1 ๐ฆ โ 2 , ๐ฆ 0 = 4
3. ๐๐ฆ
๐๐ก= ๐ฆ ๐ฆ โ 1 ๐ฆ โ 2 , ๐ฆ 0 = 1,2
4. ๐๐ฆ
๐๐ก= ๐ฆ ๐ฆ โ 1 ๐ฆ โ 2 , ๐ฆ 0 = โ1
5. ๐๐ฆ
๐๐ก= ๐๐ฆ โ 1, ๐ฆ 0 = 1
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION Fourth Meeting :
I. Introduction to Differential Equations - Differential Equations Solution
As mentioned before, one of our goals in this course is to solve or to find the solutions of
differential equations.
Definition Solution of a Differential Equation
Any function ๐ defined on some interval I, which when substituted into a differential
equation reduces equation to an identity, is said to be a solution of the equation on the
interval. In other words, ๐ is said to be a solution if it possess at least n derivatives and
satisfies the differential equation, ๐ฆ = ๐ ๐ฅ .
Consider the following differential equation
๐๐ฆ
๐๐ฅ= โ
๐ฅ
๐ฆ
Explicit solution
A solution in which the dependent variable is expressed in terms of the independent
variable and constant is said to be an explicit solution. Specifically, an explicit solution
of a differential equation that is identically zero on an interval I is said to be a trivial
solution.
Example : ๐ฆ = ยฑ 4 โ ๐ฅ2 is an explicit solution of differential equation above.
Implicit solution
A relation ๐บ ๐ฅ, ๐ฆ = 0 is said to be an implicit solution of an ordinary differential
equation on an interval I provided there exists at least one function โ that satisfies
the relation as well as the differential equation on I. in other words, ๐บ ๐ฅ, ๐ฆ = 0
defines the function โ implicitly.
Example : ๐ฅ2 + ๐ฆ2 โ 4 = 0 is an implicit solution of differential equation above.
General solution
A solution containing single or multiple arbitrary constant is called general solution.
Example : ๐ฅ2 + ๐ฆ2 โ ๐ = 0 for every constan ๐ โฅ 0 is general solution of differential
equation above.
Particular solution
A solution of a differential equation that is free of arbitrary parameters is called a
particular solution.
Example : suppose ๐ฆ 0 = 4 then ๐ = 16, therefore ๐ฅ2 + ๐ฆ2 โ 16 = 0 is particular
solution of differential equation where ๐ฆ 0 = 4.
Exercises 4.
1. Show that ๐ฆ = 4๐2๐ฅ + 2๐โ3๐ฅ is a solution of differential equation as follows
๐2๐ฆ
๐๐ฅ2+
๐๐ฆ
๐๐ฅโ 6๐ฆ = 0
2. Show that ๐ฆ = ๐ฅ2 + ๐ ๐โ๐ฅ is the solution of ๐๐ฆ
๐๐ฅ+ ๐ฆ = 2๐ฅ๐โ๐ฅ . Given that ๐ฆ 0 = 2,
find the particular solution.
3. Show that ๐ฆ = ๐1๐4๐ฅ + ๐2๐
โ3๐ฅ is the solution of ๐2๐ฆ
๐๐ฅ2 โ๐๐ฆ
๐๐ฅโ 12๐ฆ = 0 and then find the
particular solution if itโs known that ๐ฆ 0 = 5 and ๐ฆ โฒ 0 = 6.
4. Show that for some choice of the arbitrary constants ๐1 and ๐2, the form ๐ฆ = ๐1 sin ๐ฅ +
๐2 cos ๐ฅ is the solution of ๐2๐ฆ
๐๐ฅ2 +๐๐ฆ
๐๐ฅ= 0 but the boundary problems ๐ฆ 0 = 0 and
๐ฆ ๐ = 1 doesnโt possess the solution.
5. Find the value of ๐1, ๐2 and ๐3 such that ๐ฆ = ๐1๐ฅ + ๐2๐ฅ2 + ๐3๐ฅ
3 is the solution of
๐ฅ3๐3๐ฆ
๐๐ฅ3โ 3๐ฅ2
๐2๐ฆ
๐๐ฅ2+ 6๐ฅ
๐๐ฆ
๐๐ฅโ 6๐ฆ = 0
That satisfying three conditions
๐ฆ 2 = 0, ๐ฆ โฒ 2 = 2, ๐ฆ"(2) = 6
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION Fifth Meeting :
II. First Order Differential Equations for Which Exact Solutions are obtainable - Standard forms of First Order Differential Equations
- Exact Equation
In this chapter, we will discuss the solution of first order differential equation. The main idea
is to check whether it is an exact or nonexact. For Nonexact first order differential
equation, we should use integrating factor to transform nonexact differential equation into
the new differential equation which is exact.
II.A Standard forms of First Order Differential Equations
Definition 2.1
Let F be a function of two real variables such that F has continuous first partial
derivatives in a domain D. The total differential dF of the function F is defined by the
formula
๐๐น ๐ฅ, ๐ฆ =๐๐น(๐ฅ, ๐ฆ)
๐๐ฅ ๐๐ฅ +
๐๐น(๐ฅ, ๐ฆ)
๐๐ฆ ๐๐ฆ
For all ๐ฅ, ๐ฆ โ ๐ท.
๐๐ฆ
๐๐ฅ= ๐ ๐ฅ, ๐ฆ โฆโฆ (2.1)
๐ ๐ฅ, ๐ฆ ๐๐ฅ + ๐ ๐ฅ, ๐ฆ ๐๐ฆ = 0 โฆโฆ (2.2)
First order differential equation can be expressed as derivative form
or as differential form
Definition 2.2
In a domain D, if there exists a function F of two real variables such that expression
๐ ๐ฅ, ๐ฆ ๐๐ฅ + ๐ ๐ฅ, ๐ฆ ๐๐ฆ
equals to the total differential ๐๐น(๐ฅ, ๐ฆ) for all ๐ฅ, ๐ฆ โ ๐ท then this expression is
called an exact differential.
In other words, the expression above is an exact differential in D if there exists a function F
such that
๐๐น(๐ฅ,๐ฆ)
๐๐ฅ= ๐(๐ฅ, ๐ฆ) and
๐๐น(๐ฅ ,๐ฆ)
๐๐ฆ= ๐(๐ฅ, ๐ฆ)
for all ๐ฅ, ๐ฆ โ ๐ท.
EXACT EQUATION
If ๐ ๐ฅ, ๐ฆ ๐๐ฅ + ๐ ๐ฅ, ๐ฆ ๐๐ฆ is an exact differential, then the differential equation
๐ ๐ฅ, ๐ฆ ๐๐ฅ + ๐ ๐ฅ, ๐ฆ ๐๐ฆ = 0
is called an exact differential equation.
The following theorem is used to identify whether a differential equation is an exact or not.
๐ ๐ฅ, ๐ฆ ๐๐ฅ + ๐ ๐ฅ, ๐ฆ ๐๐ฆ = 0
๐๐ ๐ฅ, ๐ฆ
๐๐ฆ=
๐๐(๐ฅ, ๐ฆ)
๐๐ฅ
๐๐ ๐ฅ, ๐ฆ
๐๐ฆ=
๐๐(๐ฅ, ๐ฆ)
๐๐ฅ
Theorem
Consider the differential equation
Where M and N have continuous first partial derivatives at all points (๐ฅ, ๐ฆ) in a
rectangular domain D.
1. If the differential equation is exact in D, then
For all ๐ฅ, ๐ฆ โ ๐ท
2. Conversely, if
For all ๐ฅ, ๐ฆ โ ๐ท, then the differential equation is exact in D.
Example 2.1
Determine the following differential equation is exact or nonexact.
2๐ฅ๐ฆ โ 9๐ฅ2 + 2๐ฆ + ๐ฅ2 + 1 ๐๐ฆ
๐๐ฅ= 0
Answer :
The differential equation is expressed in derivative form. Transformed into differential form,
we get
2๐ฅ๐ฆ โ 9๐ฅ2 ๐๐ฅ 2๐ฆ + ๐ฅ2 + 1 ๐๐ฆ = 0
Suppose ๐ ๐ฅ, ๐ฆ = 2๐ฅ๐ฆ โ 9๐ฅ2 and ๐ ๐ฅ, ๐ฆ = 2๐ฆ + ๐ฅ2 + 1, then the differential equation
above is exact if and only if
๐๐ ๐ฅ, ๐ฆ
๐๐ฆ=
๐๐ ๐ฅ, ๐ฆ
๐๐ฅ.
๐๐ ๐ฅ, ๐ฆ
๐๐ฆ=
๐ 2๐ฅ๐ฆ โ 9๐ฅ2
๐๐ฆ= 2๐ฅ
While
๐๐ ๐ฅ, ๐ฆ
๐๐ฅ=
๐๐ฅ 2๐ฆ + ๐ฅ2 + 1
๐๐ฅ= 2๐ฅ
Because ๐๐ ๐ฅ,๐ฆ
๐๐ฆ=
๐๐ ๐ฅ ,๐ฆ
๐๐ฅ , then the differential equation above is an exact.
Exercises 5.
Determine whether it is an exact differential equation or not. Explained!
1. 1 + ln ๐ฅ๐ฆ ๐๐ฅ +๐ฅ
๐ฆ ๐๐ฆ = 0
2. ๐ฅ2๐ฆ ๐๐ฅ โ ๐ฅ๐ฆ2 + ๐ฆ3 ๐๐ฆ = 0
3. ๐ฆ + 3๐ฅ2 ๐๐ฅ + ๐ฅ ๐๐ฆ = 0
4. cos ๐ฅ๐ฆ โ ๐ฅ๐ฆ sin ๐ฅ๐ฆ ๐๐ฅ โ ๐ฅ2 sin ๐ฅ๐ฆ ๐๐ฆ = 0
5. ๐ฆ๐๐ฅ๐ฆ ๐๐ฅ + 2๐ฆ โ ๐ฅ๐๐ฅ๐ฆ ๐๐ฆ = 0
More exercises can be found in the references.
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION Sixth Meeting :
II. First Order Differential Equations for Which Exact Solutions are obtainable - Solution of Exact Differential Equations
By using this theorem, the solution for exact differential equation above is a function F such
that satisfies
๐๐น(๐ฅ,๐ฆ)
๐๐ฅ= ๐(๐ฅ, ๐ฆ) and
๐๐น(๐ฅ ,๐ฆ)
๐๐ฆ= ๐(๐ฅ, ๐ฆ)
for all ๐ฅ, ๐ฆ โ ๐ท.
Therefore,
๐ ๐ฅ, ๐ฆ ๐๐ฅ + ๐ ๐ฅ, ๐ฆ ๐๐ฆ = 0
๐๐น(๐ฅ, ๐ฆ)
๐๐ฅ ๐๐ฅ +
๐๐น(๐ฅ, ๐ฆ)
๐๐ฆ ๐๐ฆ
๐๐น ๐ฅ, ๐ฆ = 0
If we manipulate it for several operation, we obtain the solution can be expressed into
๐น ๐ฅ, ๐ฆ = ๐ ๐ฅ, ๐ฆ ๐๐ฅ + ๐ ๐ฅ, ๐ฆ โ ๐๐ ๐ฅ, ๐ฆ
๐๐ฆ ๐๐ฅ ๐๐ฆ
Example 2.2
Solve the differential equation below
3๐ฅ + 2๐ฆ ๐๐ฅ + 2๐ฅ + ๐ฆ ๐๐ฆ = 0
Answer :
First we have to figure it out whether itโs an exact differential equation or not.
Suppose ๐ ๐ฅ, ๐ฆ = 3๐ฅ + 2๐ฆ and ๐ ๐ฅ, ๐ฆ = 2๐ฅ + ๐ฆ
Therefore, we get
๐๐(๐ฅ, ๐ฆ)
๐๐ฆ= 2 ๐๐๐
๐๐(๐ฅ, ๐ฆ)
๐๐ฅ= 2
Because ๐๐(๐ฅ,๐ฆ)
๐๐ฆ=
๐๐(๐ฅ ,๐ฆ)
๐๐ฅ, then the differential equation above is an exact differential
equation.
So, there exist a function F such that satisfies
๐๐น(๐ฅ,๐ฆ)
๐๐ฅ= ๐(๐ฅ, ๐ฆ) and
๐๐น(๐ฅ ,๐ฆ)
๐๐ฆ= ๐(๐ฅ, ๐ฆ)
We have
๐๐น(๐ฅ, ๐ฆ)
๐๐ฅ= ๐ ๐ฅ, ๐ฆ = 3๐ฅ + 2๐ฆ
Then
๐น ๐ฅ, ๐ฆ = 3๐ฅ + 2๐ฆ ๐๐ฅ + ๐ ๐ฆ =3
2๐ฅ2 + 2๐ฆ + ๐ ๐ฆ
Derived it for y,
๐๐น(๐ฅ, ๐ฆ)
๐๐ฆ= 2 + ๐โฒ ๐ฆ
Because ๐๐น(๐ฅ ,๐ฆ)
๐๐ฆ= ๐(๐ฅ, ๐ฆ), then
2 + ๐โฒ ๐ฆ = 2 โ ๐โฒ ๐ฆ = 0
Here we get,
๐ ๐ฆ = ๐โฒ ๐ฆ ๐๐ฆ = 0 ๐๐ฆ = ๐
From the operations above, we obtain the solution for the differential equation is
๐น ๐ฅ, ๐ฆ =3
2๐ฅ2 + 2๐ฆ + ๐
Exercise 6.
1. Solve the exact differential equations in Exersice 5.
2. Solve the following differential equations.
a. 2๐ฅ๐ฆ ๐๐ฅ + ๐ฅ2 + 1 ๐๐ฆ = 0
b. ๐ฆ2 + cos ๐ฅ ๐๐ฅ + 2๐ฅ๐ฆ + sin ๐ฆ ๐๐ฆ = 0
c. 4๐2๐ฅ + 2๐ฅ๐ฆ โ ๐ฆ2 ๐๐ฅ + ๐ฅ โ ๐ฆ 2 ๐๐ฆ = 0
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION Seventh Meeting :
II. First Order Differential Equations for Which Exact Solutions are obtainable - Method of Grouping
- Integrating Factor
Another way to find the solution of differential equation is by method of grouping that is
grouping the terms of differential equation in such a way that its left member appears as the
sum of certain exact differentials.
Example
2๐ฅ cos ๐ฆ + 3๐ฅ2๐ฆ ๐๐ฅ + ๐ฅ3 โ ๐ฅ2 sin ๐ฆ โ ๐ฆ ๐๐ฆ = 0
Answer :
We can rewrite the differential equation above into the following term
2๐ฅ cos ๐ฆ ๐๐ฅ โ ๐ฅ2 sin ๐ฆ ๐๐ฆ + 3๐ฅ2๐ฆ ๐๐ฅ + ๐ฅ3๐๐ฆ โ ๐ฆ๐๐ฆ = 0
By using total difference for each term under the blankets, here we get,
๐ ๐ฅ2 cos ๐ฆ + ๐ ๐ฅ3๐ฆ โ ๐ 1
2๐ฆ2 = 0
Integrating both sides, we have
๐ฅ2 cos ๐ฆ + ๐ฅ3๐ฆ โ1
2๐ฆ2 = 0
So, the solution of the differential above is ๐ฅ2 cos ๐ฆ + ๐ฅ3๐ฆ โ1
2๐ฆ2 = 0.
Exercise 7.1
Solve the following equations by method of grouping.
1. 3๐ฅ + 2๐ฆ ๐๐ฅ + 2๐ฅ + ๐ฆ ๐๐ฆ = 0
2. ๐ฆ2 + 3 ๐๐ฅ + 2๐ฅ๐ฆ โ 4 ๐๐ฆ = 0
3. 6๐ฅ๐ฆ + 2๐ฆ2 โ 5 ๐๐ฅ โ ๐ฅ3 + ๐ฆ ๐๐ฆ = 0
4. ๐2 + 1 cos ๐ ๐๐ + 2๐ sin ๐ ๐๐ = 0
5. ๐ฆ sec2 ๐ฅ + sec ๐ฅ tan ๐ฅ ๐๐ฅ + tan ๐ฅ + 2๐ฆ ๐๐ฆ = 0
From the previous meeting, it has been discussed differential equation which is exact. How if
the equation isnโt exact? Here, we introduced integrating factor that is a factor when
multiplied into the equation, it will transform the equation into exact.
Definition
If the differential equation
๐(๐ฅ, ๐ฆ) ๐๐ฅ + ๐(๐ฅ, ๐ฆ) ๐๐ฆ = 0
is not exact in a domain D but the differential equation
๐ ๐ฅ, ๐ฆ ๐ ๐ฅ, ๐ฆ ๐๐ฅ + ๐ ๐ฅ, ๐ฆ ๐ ๐ฅ, ๐ฆ ๐๐ฆ = 0
is exact in D, then ๐(๐ฅ, ๐ฆ) is called an integrating factor of the differential equation.
Note : Solution of the first equation is equals with the second equation.
Exercises 7.2
1. Consider the differential equation
4๐ฅ + 3๐ฆ2 ๐๐ฅ + 2๐ฅ๐ฆ ๐๐ฆ = 0
a. Show that this equation is not exact
b. Find the integratiiing factor of the form ๐ฅ๐ , where n is a positive integer.
c. Multiply the given equation through by the integrating factor found in (b) and
solve the resulting exact equation.
2. Consider the differential equation
๐ฆ2 + 2๐ฅ๐ฆ ๐๐ฅ โ ๐ฅ62 ๐๐ฆ = 0
a. Show that this equation is not exact.
b. Multiply the given equatttion through by ๐ฆ๐ , where n is an integer and then
determine n so that ๐ฆ๐ is an integrating factor of the given equation.
c. Multiply the given equation through by the integrating factor found in (b) and
solve the resulting exact equation.
d. Show that y = 0 is a solution of the original nonexact equation but is not a
solution of the essentially equivalent exact equation found in step (c).
e. Graph several integral curves of the original equation, including all those whose
equations are (or can be writen) in some special form.
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION Eighth Meeting :
II. First Order Differential Equations for Which Exact Solutions are obtainable - Separable Differential Equations
Next, we will discuss about some kind of nonexact differential equation and how it is solved.
A. SEPARABLE EQUATIONS
Consider to the general form of differential equation in differential form. The differential
equation is called separable differential equations if ๐ or M and N can be expressed into
multiplication of function of each variable. In other words, M and N can be expressed into
formula in the definition as follows :
Definition
An equation of the form
๐น ๐ฅ ๐บ ๐ฆ ๐๐ฅ + ๐ ๐ฅ ๐ ๐ฆ ๐๐ฆ = 0
or
๐๐ฆ
๐๐ฅ= ๐ ๐ฅ ๐ ๐ฆ
is called an equation with variables separable or simply a separable equation.
As we can see that separable equation which is expressed in differential form, in general, is
not exact, but it possesses an obvious integrating factor, namely 1
๐ ๐ฅ ๐บ ๐ฆ where ๐ ๐ฅ1 โ 0
and ๐บ ๐ฆ1 โ 0 for some ๐ฅ1 and ๐ฆ1. Therefore, if we multiply this equation by this
expression, we separate the variables, reducing it to the essentially equivalent equation
๐น ๐ฅ
๐ ๐ฅ ๐๐ฅ +
๐ ๐ฆ
๐บ ๐ฆ ๐๐ฆ = 0
This last equation is exact since
๐
๐๐ฆ ๐น ๐ฅ
๐ ๐ฅ = 0 =
๐
๐๐ฅ ๐ ๐ฆ
๐บ ๐ฆ
The solution of the separable equation then simply can be resulted by integrating each
variable
๐น ๐ฅ
๐ ๐ฅ ๐๐ฅ =
๐ ๐ฆ
๐บ ๐ฆ ๐๐ฆ
If there exists ๐ฅ1 and or ๐ฆ1 such that ๐ ๐ฅ1 = ๐บ ๐ฆ1 = 0, then we must determine whether
any of these solutions of the original equation which were lost in the formal separation
process.
Example.
Solve
๐ฅ๐ฆ4 ๐๐ฅ + ๐ฆ2 + 2 ๐โ3๐ฅ ๐๐ฆ = 0
Answer :
This equation is an exact differential equation. We define the integrating factor of its
equation is
1
๐ฆ4๐โ3๐ฅ, ๐ฆ4 โ 0.
Here, we obtain
๐ฅ
๐โ3๐ฅ๐๐ฅ +
๐ฆ2 + 2
๐ฆ4๐๐ฆ = 0
๐ฅ
๐โ3๐ฅ๐๐ฅ = โ
๐ฆ2 + 2
๐ฆ4๐๐ฆ
Using integration by parts
๐ฅ
๐โ3๐ฅ๐๐ฅ = โ
๐ฆ2 + 2
๐ฆ4๐๐ฆ
yields
โ1
๐ฅ+
2
๐ฅ2+
1
๐ฆโ
1
๐ฆ3= ๐
Then, we have to check whether ๐ฆ = 0 is a solution from its origin equation which is loss in
separation process or not.
๐ฅ๐ฆ4 ๐๐ฅ + ๐ฆ2 + 2 ๐โ3๐ฅ ๐๐ฆ = 0 โ๐๐ฆ
๐๐ฅ= โ
๐ฅ๐ฆ4
๐ฆ2 + 2 ๐โ3๐ฅ
Here, we observe that ๐ฆ = 0 is also a solution.
Exercise 8.
Solve the differential equations below
1. 4๐ฆ + ๐ฆ๐ฅ62 ๐๐ฆ โ 2๐ฅ + ๐ฅ๐ฆ2 ๐๐ฅ = 0
2. 1 + ๐ฅ62 + ๐ฆ2 + ๐ฅ2๐ฆ2 ๐๐ฆ = ๐ฆ2๐๐ฅ
3. 2๐ฆ ๐ฅ + 1 ๐๐ฆ = ๐ฅ๐๐ฅ
4. ๐ฅ2๐ฆ2๐๐ฆ = ๐ฆ + 1 ๐๐ฅ
5. ๐๐ฆ sin 2๐ฅ ๐๐ฅ + cos ๐ฅ ๐2๐ฆ โ ๐ฆ ๐๐ฆ = 0
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION Ninth Meeting :
II. First Order Differential Equations for Which Exact Solutions are obtainable - Homogeneous Differential Equations
B. HOMOGENEOUS EQUATIONS
Definition
A function ๐ of two variables x and y is said homogeneous if it satisfies
๐ ๐ก๐ฅ, ๐ก๐ฆ = ๐ ๐ฅ, ๐ฆ
for any number t.
Example
๐ ๐ฅ, ๐ฆ =๐ฅ2 + ๐ฆ2
๐ฅ๐ฆ
is a homogeneous function because for every number t,
๐ ๐ก๐ฅ, ๐ก๐ฆ = ๐ก๐ฅ 2 + (๐ก๐ฆ)2
๐ก๐ฅ (๐ก๐ฆ)=
๐ก2(๐ฅ2 + ๐ฆ2)
๐ก2๐ฅ๐ฆ=
๐ฅ2 + ๐ฆ2
๐ฅ๐ฆ= ๐ ๐ฅ, ๐ฆ
Definition
A function M of two variables x and y is said to be homogenous of degree-n if it
satisfies
๐ ๐ก๐ฅ, ๐ก๐ฆ = ๐ก๐๐ ๐ฅ, ๐ฆ
Example
๐ ๐ฅ, ๐ฆ = ๐ฅ3 + ๐ฅ2๐ฆ
is a homogenous of degree-3 function because for every number t,
๐ ๐ก๐ฅ, ๐ก๐ฆ = ๐ก๐ฅ 3 + ๐ก๐ฅ 2 ๐ก๐ฆ = ๐ก3๐ฅ3 + ๐ก3๐ฅ2๐ฆ = ๐ก3 ๐ฅ3 + ๐ฅ2๐ฆ = ๐ก3๐(๐ฅ, ๐ฆ)
By here, we can define homogeneous differential equation as follows
Definition
A first differential equation
๐ ๐ฅ, ๐ฆ ๐๐ฅ + ๐ ๐ฅ, ๐ฆ ๐๐ฆ = 0 or ๐๐ฆ
๐๐ฅ= ๐(๐ฅ, ๐ฆ)
is called homogeneous differential equation if M and N are homogeneous
functions of the same degree n or f is a homogenous function.
To solve homogeneous differential equation, we can use the following theorem:
Theorem
If
๐ ๐ฅ, ๐ฆ ๐๐ฅ + ๐ ๐ฅ, ๐ฆ ๐๐ฆ = 0
is a homogeneous differential equation, then the change of variables ๐ฆ = ๐ฃ๐ฅ
transforms it into a separable differential equation in the variables v and x.
Here, we can summarize the steps of solving homogeneous differential equation as follow:
1. Recognize that the equation is a homogeneous differential equation
2. Transforms it into a separable differential equation by ๐ฆ = ๐ฃ๐ฅ
3. Solve the separable differential equation in the variable v and x by integrating by parts.
4. Inverse it into the origin differential equation ๐ฃ =๐ฆ
๐ฅ.
Example.
Solve this differential equation
2๐ฅ๐ฆ ๐๐ฅ + ๐ฅ2 + 1 ๐๐ฆ = 0
Answer:
As we can see that M and N are homogeneous functions with the same degree 2, therefore
the we should transform it into separable equation by substituting ๐ฆ = ๐ฃ๐ฅ. Here we get,
๐๐ฆ = ๐ฃ๐๐ฅ + ๐ฅ๐๐ฃ.
Substitute into the equation, we get
2๐ฅ(๐ฃ๐ฅ) ๐๐ฅ + ๐ฅ2 + 1 ๐ฃ ๐๐ฅ + ๐ฅ ๐๐ฃ = 0
2๐ฅ2๐ฃ ๐๐ฅ + ๐ฅ2 + 1 ๐ฃ ๐๐ฅ + ๐ฅ3 + ๐ฅ ๐๐ฃ = 0
3๐ฅ2 + 1 ๐ฃ ๐๐ฅ + ๐ฅ3 + ๐ฅ ๐๐ฃ = 0
The last equation is separable equation. To solve this equation, we multiply it with integrating
factor 1
๐ฃ ๐ฅ3+๐ฅ . We get,
3๐ฅ2 + 1
๐ฅ3 + ๐ฅ ๐๐ฅ +
1
๐ฃ ๐๐ฃ = 0
By integrating it in both side, we get
3๐ฅ2 + 1
๐ฅ3 + ๐ฅ ๐๐ฅ +
1
๐ฃ ๐๐ฃ = ln ๐
ln ๐ฅ3 + ๐ฅ + ln ๐ฃ = ln ๐
ln ๐ฅ3 + ๐ฅ ๐ฃ = ln ๐
๐ฅ3 + ๐ฅ ๐ฃ = ๐ โ ๐ฅ3 + ๐ฅ ๐ฆ
๐ฅ= ๐ โ ๐ฅ2๐ฆ + ๐ฆ = ๐
So, the solution of the differential equation above is ๐ฅ2๐ฆ + ๐ฆ = ๐.
Exercise 9.
Solve the following differential equations.
1. ๐ฅ + 2๐ฆ ๐๐ฅ + 2๐ฅ โ ๐ฆ ๐๐ฆ = 0
2. 3๐ฅ โ ๐ฆ ๐๐ฅ โ ๐ฅ + ๐ฆ ๐๐ฆ = 0
3. 2๐ฅ๐ฆ + 3๐ฆ2 ๐๐ฅ โ 2๐ฅ๐ฆ + ๐ฅ2 ๐๐ฆ = 0
4. ๐ฆ3๐๐ฅ + ๐ฅ3 โ ๐ฅ๐ฆ2 ๐๐ฆ = 0
5. 2๐ 2 + 2๐ ๐ก + ๐ก2 ๐๐ + ๐ 2 + 2๐ ๐ก โ ๐ก2 ๐๐ก = 0
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION Tenth Meeting :
II. First Order Differential Equations for Which Exact Solutions are obtainable - Linear Differential Equations
C. LINEAR EQUATIONS
Definition
A first-order ordinary differential equation is linear in the dependent variable y and
the independent variable x if it is, or can be, written in the form
๐๐ฆ
๐๐ฅ+ ๐ ๐ฅ ๐ฆ = ๐ ๐ฅ
By several multiplications, equation above can also be expressed as
๐ ๐ฅ ๐ฆ โ ๐ ๐ฅ ๐๐ฅ + ๐๐ฆ = 0
Suppose the integrating factor
๐ ๐ฅ = ๐ ๐ ๐ฅ ๐๐ฅ
The general solution of linear differential equation as follows
๐ฆ = ๐โ1 ๐ฅ ๐ ๐ฅ ๐ ๐ฅ ๐๐ฅ + ๐
Steps to solve linear differential equation are
1. If the differential equation is given as
๐ ๐ฅ ๐๐ฆ
๐๐ฅ+ ๐ ๐ฅ ๐ฆ = ๐ ๐ฅ
Rewrite it in the form
๐๐ฆ
๐๐ฅ+ ๐ ๐ฅ ๐ฆ = ๐ ๐ฅ
2. Find the integrating factor
๐ ๐ฅ = ๐ ๐ ๐ฅ ๐๐ฅ
3. Evaluate the integral
๐ ๐ฅ ๐ ๐ฅ ๐๐ฅ
4. Write down the general solution
๐ฆ = ๐โ1 ๐ฅ ๐ ๐ฅ ๐ ๐ฅ ๐๐ฅ + ๐
5. If it is given an initial value, use it to find the constant C.
Example. Solve
๐๐ฆ
๐๐ฅโ 3๐ฆ = 0
Answer :
1. As we can see from the formula above that ๐ ๐ฅ = โ3 and ๐ ๐ฅ = 0. Therefore, the
integrating factor of the equation is
๐ ๐ฅ = ๐ โ3 ๐๐ฅ = ๐โ3๐ฅ
2. Multiply both sides with the integrating factor, yields
๐โ3๐ฅ๐๐ฆ
๐๐ฅโ 3๐โ3๐ฅ๐ฆ = 0
3. Evaluate
๐ ๐ฅ ๐ ๐ฅ ๐๐ฅ = ๐โ3๐ฅ . 0 ๐๐ฅ = ๐1
4. The general solution is
๐ฆ = ๐โ1 ๐ฅ ๐ ๐ฅ ๐ ๐ฅ ๐๐ฅ + ๐
= ๐3๐ฅ ๐1 + ๐
๐ฆ = ๐0๐3๐ฅ
Exercise 10.
1. ๐๐ฆ
๐๐ฅ+
3๐ฆ
๐ฅ= 6๐ฅ2
2. ๐๐ฆ
๐๐ฅ+ 3๐ฆ = 3๐ฅ2๐โ๐ฅ
3. ๐๐ฆ
๐๐ฅ+ 4๐ฅ๐ฆ = 8๐ฅ
4. ๐ฅ๐๐ฆ
๐๐ฅ+ 3๐ฅ + 1 ๐ฆ = ๐โ3๐ฅ
5. ๐ฅ + 1 ๐๐ฆ
๐๐ฅ+ ๐ฅ + 2 ๐ฆ = 2๐ฅ๐โ๐ฅ
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION Eleventh and twelfth Meetings
II. First Order Differential Equations for Which Exact Solutions are obtainable - Bernoulli Differential Equations
D. BERNOULLI EQUATIONS
Definition
An equation of the form
๐๐ฆ
๐๐ฅ+ ๐ ๐ฅ ๐ฆ = ๐ ๐ฅ ๐ฆ๐
is called a Bernoulli differential equation.
To solve Bernoulli differential equation, where n โ 0 or n โ 1, we can use the following
theorem.
Therefore, the steps to solve Bernoulli Differential Equation are :
1. Recognize that the differential equation is a Bernoulli Differential Equation. Then find
the parameter n from the equation.
2. The main idea is to transform the Bernoulli Differential Equation into Linear
Differential Equation, therefore the things that we should do are
a. Divided both side with ๐ฆ๐ .
b. Transform the equation by ๐ฃ = ๐ฆ1โ๐ . Here we get, ๐๐ฃ
๐๐ฆ= 1 โ ๐ ๐ฆโ๐ .
๐๐ฆ
๐๐ฅ+ ๐ ๐ฅ ๐ฆ = ๐ ๐ฅ ๐ฆ๐
Theorem
Suppose n โ 0 or n โ 1, then the transformation ๐ฃ = ๐ฆ1โ๐ reduces the Bernoulli
equation
into a linear equation in v.
c. By using manipulations, we ge
๐๐ฃ
๐๐ฅ+ ๐โ ๐ฅ ๐ฃ = ๐โ ๐ฅ
d. Solve the linear equation.
Example
Solve the differential equation below
๐ฅ๐๐ฆ
๐๐ฅ+ ๐ฆ = ๐ฅ2๐ฆ2
Answer :
To solve the differential equations above, first we have to divided both side with ๐ฅ๐ฆ2. Here
we get,
๐ฆโ2๐๐ฆ
๐๐ฅ+ ๐ฅโ1๐ฆโ1 = ๐ฅ
Suppose ๐ฃ = ๐ฆโ1 then ๐๐ฃ
๐๐ฆ= โ๐ฆโ2 or else
๐๐ฃ
๐๐ฅ= โ๐ฆโ2 ๐๐ฆ
๐๐ฅ. By here, we get
๐๐ฃ
๐๐ฅ+ ๐ฅโ1๐ฃ = ๐ฅ
The differential equation above is linear equation. To solve the equation, we use integrating
factor
๐ ๐ฅ = ๐ 1๐ฅ๐๐ฅ = ๐ln ๐ฅ = ๐ฅ
Then the solution is
๐ฃ = ๐โ1 ๐ฅ ๐ ๐ฅ ๐ ๐ฅ ๐๐ฅ + ๐
๐ฃ = ๐ฅโ1 ๐ฅ2 ๐๐ฅ + ๐ โ ๐ฃ = ๐ฅโ1 1
3๐ฅ3 + ๐ =
1
3๐ฅ2 + ๐๐ฅโ1
๐ฆโ1 =1
3๐ฅ2 + ๐๐ฅโ1
1 =1
3๐ฅ2๐ฆ + ๐๐ฅโ1๐ฆ
Exercise 11.
Solve the following differential equations.
1. ๐๐ฆ
๐๐ฅโ
1
๐ฅ๐ฆ = ๐ฅ๐ฆ2
2. ๐๐ฆ
๐๐ฅ+
๐ฆ
๐ฅ= ๐ฆ2
3. ๐๐ฆ
๐๐ฅ+
1
3๐ฆ = ๐๐ฅ๐ฆ4
4. ๐ฅ๐๐ฆ
๐๐ฅ+ ๐ฆ = ๐ฅ๐ฆ3
5. ๐๐ฆ
๐๐ฅ+
2
๐ฅ๐ฆ = โ๐ฆ2๐ฅ2 cos ๐ฅ
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION Thirteenth Meeting :
II. First Order Differential Equations for Which Exact Solutions are obtainable - Transformation
E. SPECIAL INTEGRATING FACTOR
For the last four meetings, we had solved four different differential equations which are not
exact by transforming it into new equation which are exact. One of transformation that can
be done is using integrating factor. Integrating factor can be used to transform non exact
differential equation into exact differential equation. Unfortunately, there is no general
expression for transformation. Nevertheless, we shall consider a few of transformation for
special differential equations.
Consider the differential equation
๐ ๐ฅ, ๐ฆ ๐๐ฅ + ๐ ๐ฅ, ๐ฆ ๐๐ฆ = 0
Case Integrating factor
1
๐ ๐ฅ, ๐ฆ ๐๐ ๐ฅ, ๐ฆ
๐๐ฆโ
๐๐ ๐ฅ, ๐ฆ
๐๐ฅ
Depends upon x only
๐
1๐ ๐ฅ ,๐ฆ
๐๐ ๐ฅ ,๐ฆ
๐๐ฆโ
๐๐ ๐ฅ,๐ฆ ๐๐ฅ
๐๐ฅ
1
๐ ๐ฅ, ๐ฆ ๐๐ ๐ฅ, ๐ฆ
๐๐ฅโ
๐๐ ๐ฅ, ๐ฆ
๐๐ฆ
Depends upon y only, then
๐
1๐ ๐ฅ ,๐ฆ
๐๐ ๐ฅ ,๐ฆ
๐๐ฅโ
๐๐ ๐ฅ ,๐ฆ ๐๐ฆ
๐๐ฆ
Example
Solve it.
5๐ฅ๐ฆ + 4๐ฆ2 + 1 ๐๐ฅ + ๐ฅ2 + 2๐ฅ๐ฆ ๐๐ฆ = 0
Answer :
๐๐ ๐ฅ, ๐ฆ
๐๐ฆ=
๐ 5๐ฅ๐ฆ + 4๐ฆ2 + 1
๐๐ฆ= 5๐ฅ + 8๐ฆ
๐๐ ๐ฅ, ๐ฆ
๐๐ฅ=
๐ ๐ฅ2 + 2๐ฅ๐ฆ
๐๐ฅ= 2๐ฅ + 2๐ฆ
1
๐ ๐ฅ, ๐ฆ ๐๐ ๐ฅ, ๐ฆ
๐๐ฆโ
๐๐ ๐ฅ, ๐ฆ
๐๐ฅ =
1
๐ฅ2 + 2๐ฅ๐ฆ 5๐ฅ + 8๐ฆ โ 2๐ฅ + 2๐ฆ
=1
๐ฅ2 + 2๐ฅ๐ฆ 3๐ฅ + 6๐ฆ
=3
๐ฅ
Because 1
๐ ๐ฅ ,๐ฆ ๐๐ ๐ฅ ,๐ฆ
๐๐ฆโ
๐๐ ๐ฅ ,๐ฆ
๐๐ฅ depends on x only, then the integrating factor of equation
above is
๐
1๐ ๐ฅ ,๐ฆ
๐๐ ๐ฅ ,๐ฆ
๐๐ฆโ
๐๐ ๐ฅ ,๐ฆ ๐๐ฅ
๐๐ฅ= ๐
3๐ฅ
๐๐ฅ = ๐3 ln ๐ฅ = ๐ฅ3
Multiply both equation with ๐ฅ3, we get
๐ฅ3 5๐ฅ๐ฆ + 4๐ฆ2 + 1 ๐๐ฅ + ๐ฅ3 ๐ฅ2 + 2๐ฅ๐ฆ ๐๐ฆ = 0
5๐ฅ4๐ฆ + 4๐ฅ3๐ฆ2 + 1 ๐๐ฅ + ๐ฅ5 + 2๐ฅ4๐ฆ ๐๐ฆ = 0
By using method of grouping as follow
5๐ฅ4๐ฆ ๐๐ฅ + ๐ฅ5๐๐ฆ + 4๐ฅ3๐ฆ2 ๐๐ฅ + 2๐ฅ4๐ฆ ๐๐ฆ + 1 ๐๐ฅ = 0
and then define the total derivative as
๐ ๐ฅ5๐ฆ + ๐ ๐ฅ4๐ฆ2 + ๐๐ฅ = 0
Integrating it, we get the solution as follows
๐ฅ5๐ฆ + ๐ฅ4๐ฆ2 + ๐ฅ = ๐.
F. SPECIAL TRANSFORMATIONS
Consider the differential equation
๐1๐ฅ + ๐1๐ฆ + ๐1 ๐๐ฅ + ๐2๐ฅ + ๐2๐ฆ + ๐2 ๐๐ฆ = 0
where ๐1, ๐1, ๐1, ๐2 , ๐2 , and ๐2 are constants
Case Special Transformation
๐2
๐1โ
๐2
๐1
๐ฅ = ๐ + ๐, ๐ฆ = ๐ + ๐ Where (h,k) is the solution of the system
๐1๐ + ๐1๐ + ๐1 = 0
๐2๐ + ๐2๐ + ๐2 = 0 It will reduce into the homogenous differential equation
๐1๐ + ๐1๐ ๐๐ + ๐2๐ + ๐2๐ ๐๐ = 0 ๐2
๐1=
๐2
๐1= ๐
๐ง = ๐1๐ฅ + ๐1๐ฆ will reduce the equation into separable
differential equation
Example
Solve this differential equation.
3๐ฅ โ ๐ฆ + 1 ๐๐ฅ โ 6๐ฅ โ 2๐ฆ โ 3 ๐๐ฆ = 0
Answer :
We can rewrite the equation above with
3๐ฅ โ ๐ฆ + 1 ๐๐ฅ + โ6๐ฅ + 2๐ฆ + 3 ๐๐ฆ = 0
For the equation above, ๐1 = 3, ๐1 = โ1, ๐2 = โ6 and ๐2 = 2. So, we get
๐2
๐1=
๐2
๐1= โ2
Therefore, we can solve the equation by reduced it into separable differential equation using
๐ง = 3๐ฅ โ ๐ฆ. This is implied that ๐๐ง = 3๐๐ฅ โ ๐๐ฆ or ๐๐ฆ = 3๐๐ฅ โ ๐๐ง.
Substitute it into the question, we get
๐ง + 1 ๐๐ฅ + โ2๐ง + 3 3๐๐ฅ โ ๐๐ง = 0
๐ง + 1 โ 6๐ง + 9 ๐๐ฅ + 2๐ง โ 3 ๐๐ง = 0
โ5๐ง + 10 ๐๐ฅ + 2๐ง โ 3 ๐๐ง = 0
๐๐ฅ โ2๐ง โ 3
5๐ง โ 10 ๐๐ง = 0
By using some manipulations we get solution
๐ฅ โ2
5 ๐ง +
1
2ln 10๐ง โ 20 = ๐
atau
๐ฅ โ2
5 3๐ฅ โ ๐ฆ +
1
2ln 10 3๐ฅ โ ๐ฆ. โ 20 = ๐
Exercise 15.
Find the integrating factor and then solve the differential equations below.
1. 4๐ฅ๐ฆ + 3๐ฆ2 โ ๐ฅ ๐๐ฅ + ๐ฅ ๐ฅ + 2๐ฆ ๐๐ฆ = 0
2. ๐ฆ ๐ฅ + ๐ฆ ๐๐ฅ + ๐ฅ + 2๐ฆ โ 1 ๐๐ฆ = 0
3. ๐ฆ ๐ฅ + ๐ฆ + 1 ๐๐ฅ + ๐ฅ ๐ฅ + 3๐ฆ + 2 ๐๐ฆ = 0
4. 6๐ฅ + 4๐ฆ + 1 ๐๐ฅ + 4๐ฅ + 2๐ฆ + 2 ๐๐ฆ = 0
5. 3๐ฅ โ ๐ฆ โ 6 ๐๐ฅ + ๐ฅ + ๐ฆ + 2 ๐๐ฆ = 0
6. 2๐ฅ + 3๐ฆ + 1 ๐๐ฅ + 4๐ฅ + 6๐ฆ + 1 ๐๐ฆ = 0
7. 4๐ฅ + 3๐ฆ + 1 ๐๐ฅ + ๐ฅ + ๐ฆ + 1 ๐๐ฆ = 0
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION Sixteenth Meeting :
III. Applications of First Order Equations - Orthogonal Trajectories
As we had learned at the first meeting that differential equations were behind many
mathematical models. In this chapter, we will discuss about the application of differential
particularly for first order equations.
Before we study about the application of first order differential equation, first of all we will
study about orthogonal trajectories and oblique trajectories.
Suppose it is given differential equation in derivative form
๐๐ฆ
๐๐ฅ= ๐(๐ฅ, ๐ฆ)
The solution of its differential equation
๐น ๐ฅ, ๐ฆ = ๐ or ๐น ๐ฅ, ๐ฆ, ๐ = 0
When we draw ๐น ๐ฅ, ๐ฆ, ๐ = 0, we can get a lot of curve depends on the value of c. By here,
set of curves of ๐น ๐ฅ, ๐ฆ, ๐ = 0 is called one-parameter family of curves.
Definition
Let
๐น ๐ฅ, ๐ฆ, ๐ = 0
Be a given one-parameter family of curves in the XY plane. A curve that intersects the
curves of the family at right angles is called an orthogonal trajectory of the given family.
Consider two families of curves F1 and F2. We say that F1 and F2 are orthogonal whenever
any curve from F1 intersects any curve from F2, the two curves are orthogonal at the point of
intersection.
Procedures to find the ortogonal trajectories of the family of curve, ๐น ๐ฅ, ๐ฆ, ๐ = 0
1. Find the differential equation of the given family,
๐๐ฆ
๐๐ฅ= ๐(๐ฅ, ๐ฆ)
2. Find the differential equation of the orthogonal trajectories by replacing ๐ ๐ฅ, ๐ฆ by its
negative reciprocal
โ1
๐(๐ฅ, ๐ฆ)
3. Solve the new differential equation. ๐๐ฆ
๐๐ฅ= โ
1
๐(๐ฅ, ๐ฆ)
Example
Find the orthogonal trajectories of the family of curve as
follow :
๐ฅ2 + ๐ฆ2 = ๐ถ
Answer :
The differential equation related to the family of curve
above is
2๐ฅ๐๐ฅ + 2๐ฆ๐๐ฆ = 0
or
๐๐ฆ
๐๐ฅ= โ
๐ฅ
๐ฆ
Therefore we get the differential equation of the
orthogonal trajectories
๐๐ฆ
๐๐ฅ=
๐ฆ
๐ฅ
1
๐ฅ๐๐ฅ โ
1
๐ฆ๐๐ฆ = 0
Integrating both sides we get
ln ๐ฅ โ ln ๐ฆ = ln ๐0
๐ฅ
๐ฆ= ๐
Exercise 16.
1. ๐ฆ = ๐ถ๐โ2๐ฅ
2. ๐ฅ2 โ ๐ฆ2 = ๐ถ
3. ๐ฆ = ๐ถ๐ฅ2
4. ๐ฅ2 + ๐ฆ โ ๐ 2 = ๐ถ2
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION Seventeenth
Meeting :
III. Applications of First Order Equations - Oblique Trajectories
Definition
Let
๐น ๐ฅ, ๐ฆ, ๐ = 0
be a one-parameter family of curves. A curve that intersects the curves of this family at a
constant angle ๐ผ โ 900 is called an oblique trajectory of the given family.
Procedures to find the oblique trajectories of the family of curve, ๐น ๐ฅ, ๐ฆ, ๐ = 0 at angle
๐ผ โ 900
1. Find the differential equation of the given family,
๐๐ฆ
๐๐ฅ= ๐(๐ฅ, ๐ฆ)
2. Find the differential equation of the orthogonal trajectories by replacing ๐ ๐ฅ, ๐ฆ by
expression
๐ ๐ฅ, ๐ฆ + tan ๐ผ
1 โ ๐ ๐ฅ, ๐ฆ tan ๐ผ
3. Solve the new differential equation. ๐๐ฆ
๐๐ฅ=
๐ ๐ฅ, ๐ฆ + tan ๐ผ
1 โ ๐ ๐ฅ, ๐ฆ tan ๐ผ
Example
Find a family of oblique trajectories that intersect the family of straight lines ๐ฆ = ๐๐ฅ at angle
450 .
Answer :
The derivative of the straight lines above is
๐๐ฆ
๐๐ฅ= ๐
Therefore we get, the derivate of the oblique trajectory is
๐๐ฆ
๐๐ฅ=
๐ + tan 450
1 โ ๐ tan 450=
๐ + 1
1 โ ๐
๐ฆ =๐ + 1
1 โ ๐๐ฅ
or ๐ฆ = ๐๐ฅ, where ๐ =๐ + 1
1 โ ๐
Exercise 17.
1. Find a family of oblique trajectories that intersect the family of circles ๐ฅ2 + ๐ฆ2 = ๐ at
angle 450.
2. Find a family of oblique trajectories that intersect the family of parabolas ๐ฆ2 = ๐๐ฅ at
angle 600.
3. Find a family of oblique trajectories that intersect the family of curves ๐ฅ + ๐ฆ = ๐๐ฅ2 at
angle ๐ผ such that tan ๐ผ = 2.
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION 18th,19th Meeting :
III. Applications of First Order Equations - Application in Mechanics Problems and Rate Problems
Next, it will be presented examples where differential equations are widely applied to model
natural phenomena, engineering systems and many other situations.
III.A Exponential Growth โ Population
Let ๐ ๐ก be a quantity that increases with time t. Suppose the rate of increase is
proportional to the same quantity at that time. At first, the quantity is ๐0 > 0. This problem
can be modeled into differential equation as follows
๐๐
๐๐ก= ๐๐, ๐ > 0
where ๐ 0 = ๐0.
This equation is called an exponential growth model.
The solution of its equation is
๐ ๐ก = ๐0๐๐๐ก
III.B Exponential Decay
Let ๐ ๐ก be the amount of a product that decreases with time t. Suppose the rate of
decrease is proportional to the amount of product at any time t. Suppose that at initial time
๐ก = 0, the amount is ๐0 . This problem can be modeled into differential equation as follows
๐๐
๐๐ก= โ๐๐, ๐ > 0
Where ๐ 0 = ๐0.
This equation is called an exponential decay model.
The solution of its equation is
๐ ๐ก = ๐0๐โ๐๐ก
III.C Falling object
An object is dropped from a height at time ๐ก = 0. If ๐ ๐ก is the height of the object at time t,
๐ ๐ก is the acceleration and ๐ฃ(๐ก) is the velocity, then the relationship between a, v and h are
as follows :
๐ =๐๐ฃ
๐๐ก, ๐ฃ =
๐๐
๐๐ก
For a falling object, ๐ ๐ก is constant and is equal to ๐ = โ9.8๐/๐ .
Suppose that ๐0 and ๐ฃ0 are the initial height and initial velocity, respectively. The solution of
the equations is
๐ ๐ก =1
2๐๐ก + ๐ฃ0๐ก + ๐0
and is called the height of falling object at time t.
III.D Newtonโs Law of Cooling
It is a model that describes, mathematically, the change in temperature of an object in a given
environment. The law states that the rate of change (in time) of the temperature is
proportional to the difference between the temperature T of the object and the
temperature ๐๐ of the environment surrounding the object.
Assume that at t = 0, the temperature is ๐0.
This problem can be modeled as differential equation as follows
๐๐
๐๐ก= โ๐(๐ โ ๐๐)
Where ๐ 0 = ๐0.
The final expression for ๐ ๐ก is given by
๐ ๐ก = ๐๐ + ๐0 โ ๐๐ ๐โ๐๐ก
This last expression shows how the temperature T of the object changes with time.
III.E RL Circuit
Let us consider the RL (resistor R and inductor L) circuit shown below. At ๐ก = 0 the switch
is closed and current passes through the circuit. Electricity laws state that the voltage across
a resistor of resistance R is equal to R i and the voltage across an inductor L is given by ๐ฟ๐๐
๐๐ก
(๐ is th current). Another law gives an equation relating all voltages in the above circuit as
follows :
๐ฟ๐๐
๐๐ก+ ๐๐ = ๐ธ
Where E is a constant voltage and ๐ 0 = 0.
Rewrite the differential equation above as
๐ฟ
๐ธ โ ๐๐
๐๐
๐๐ก= 1
โ๐ฟ
๐
โ๐
๐ธ โ ๐๐ ๐๐ = ๐๐ก
Integrate both sides, we get
โ๐ฟ
๐ ln ๐ธ โ ๐๐ = ๐ก + ๐
By using the initial condition, the formula of i is
๐ =๐ธ
๐ 1 โ ๐โ
๐ ๐ก๐ฟ
Exercise 18, 19.
Find another application of first order linear differential equation.
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION 22nd, 23rd Meeting :
IV. Explicit Methods of Solving Higher Order Linear Differential Equations - Basic Theory of Linear Differential Equations
The most general ๐๐ก๐ order linear differential equation is
๐๐ ๐ฅ ๐ฆ ๐ + ๐๐โ1 ๐ฅ ๐ฆ ๐โ1 + โฏ + ๐1 ๐ฅ ๐ฆ โฒ + ๐๐ ๐ฅ ๐ฆ = ๐บ ๐ฅ
Where youโll hopefully recall that
๐ฆ ๐ =๐๐๐ฆ
๐๐ฅ๐
Itโs called homogeneous equation if ๐บ ๐ฅ = 0 and is called nonhomogeneous equation if
๐บ ๐ฅ โ 0.
Superposition Principle
Let ๐ฆ1, ๐ฆ2, โฆ , ๐ฆ๐ be solutions of the homogeneous equation above. Then, the function
๐ฆ = ๐1๐ฆ1 + ๐2๐ฆ2 + ๐3๐ฆ3 + โฏ + ๐๐๐ฆ๐
is also solution of the equation. This solution is called a linear combination of the functions
๐ฆ๐ .
The general solution of the homogeneous equation is given by
๐ฆ = ๐1๐ฆ1 + ๐2๐ฆ2 + ๐3๐ฆ3 + โฏ + ๐๐๐ฆ๐
Where ๐1, ๐2, ๐3, โฆ , ๐๐ are arbitrary constants and ๐ฆ1, ๐ฆ2, ๐ฆ3, โฆ , ๐ฆ๐ are n-solutions of the
homogeneous equation such that
๐ ๐ฆ1, ๐ฆ2, ๐ฆ3, โฆ , ๐ฆ๐ ๐ฅ =
๐ฆ1 ๐ฅ ๐ฆ2 ๐ฅ ๐ฆ3 ๐ฅ โฏ ๐ฆ๐(๐ฅ)
๐ฆโฒ1 ๐ฅ ๐ฆโฒ2 ๐ฅ ๐ฆโฒ3 ๐ฅ ๐ฆ๐โฒ (๐ฅ)
โฎ โฎ โฎ๐ฆ(๐โ1) 1 ๐ฅ ๐ฆ(๐โ1)
2 ๐ฅ ๐ฆ(๐โ1)
3 ๐ฅ โฏ ๐ฆ(๐โ1)
๐ ๐ฅ
โ 0
In this case, we will say that ๐ฆ1, ๐ฆ2, ๐ฆ3, โฆ , ๐ฆ๐ are linearly independent. The function
๐ ๐ฆ1, ๐ฆ2, ๐ฆ3, โฆ , ๐ฆ๐ = ๐ is called the Wronskian of ๐ฆ1, ๐ฆ2, ๐ฆ3, โฆ , ๐ฆ๐ .
The general solution of the nonhomogeneous equation is given by
๐ฆ = ๐1๐ฆ1 + ๐2๐ฆ2 + ๐3๐ฆ3 + โฏ + ๐๐๐ฆ๐ + ๐ฆ๐ = ๐ฆ๐ + ๐ฆ๐
Where ๐1, ๐2, ๐3, โฆ , ๐๐ are arbitrary constants and ๐ฆ1, ๐ฆ2, ๐ฆ3, โฆ , ๐ฆ๐ are linearly
independent solutions of the associated homogeneous equation, and ๐ฆ๐ is a particular
solution of nonhomogeneous equation.
Example.
Given that ๐๐ฅ , ๐โ๐ฅ and ๐2๐ฅ are the solutions of
๐ฆ 3 โ 2๐ฆ" โ ๐ฆโฒ + 2๐ฆ = 0
Show that these solutions are linearly independent on every real interval.
Answer :
๐ ๐๐ฅ , ๐โ๐ฅ , ๐2๐ฅ = ๐๐ฅ ๐โ๐ฅ ๐2๐ฅ
๐๐ฅ โ๐โ๐ฅ 2๐2๐ฅ
๐๐ฅ ๐โ๐ฅ 4๐2๐ฅ
= ๐2๐ฅ 1 1 11 โ1 21 1 4
= โ6๐2๐ฅ โ 0
Because the wronskrian is not equals to zero, then these solutions are linearly independent.
Exercise 22
1. Consider the differential equation
๐ฅ2๐2๐ฆ
๐๐ฅ2โ 2๐ฅ
๐๐ฆ
๐๐ฅ+ 2๐ฆ = 0
a. Show that ๐ฅ and ๐ฅ2 are linearly independent solutions of this equation on the
interval 0 < ๐ฅ < โ
b. Write the general solution of the given equation.
c. Find the solution that satisfies the conditions ๐ฆ 1 = 3, ๐ฆ โฒ 1 = 2. Explain why
this solution is unique. Over what interval is this solution defined?
2. Consider the differential equation
๐ฅ2๐2๐ฆ
๐๐ฅ2+ ๐ฅ
๐๐ฆ
๐๐ฅโ 4๐ฆ = 0
a. Show that ๐ฅ2 and ๐ฅโ2 are linearly independent solutions of this equation on the
interval 0 < ๐ฅ < โ.
b. Write the general solution of the given equation.
c. Find the solution that satisfies the condition ๐ฆ 2 = 3, ๐ฆ โฒ 2 = โ1. Explain why
this solution is unique. Over what interval is this solution defined?
3. Consider the differential equation
๐ฆ" โ 5๐ฆโฒ + 4๐ฆ = 0
a. Show that each of the functions ๐๐ฅ , ๐4๐ฅand 2๐๐ฅ โ 3๐4๐ฅ is a solution of this
equation on the interval โโ < ๐ฅ < โ.
b. Show that ๐๐ฅ and ๐4๐ฅ are linearly independent on โโ < ๐ฅ < โ.
c. Show that the solution ๐๐ฅ and 2๐๐ฅ โ 3๐4๐ฅ are also linearly independent on
โโ < ๐ฅ < โ.
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION 24th, 25th, 26th Meeting :
IV. Explicit Methods of Solving Higher Order Linear Differential Equations - The Homogeneous Linear Equation with Constant Coefficients
In this chapter we will be looking exclusively at linear second order differential equations.
The most general linear second order differential equation is in the form
๐๐ ๐ฅ ๐ฆ ๐ + ๐๐โ1 ๐ฅ ๐ฆ ๐โ1 + โฏ + ๐1 ๐ฅ ๐ฆ โฒ + ๐๐ ๐ฅ ๐ฆ = ๐บ ๐ฅ
In fact, we will rarely look at non-constant coefficient linear second order differential
equations. In the case where we assume constant coefficients we will use the following
differential equation.
๐๐๐ฆ ๐ + ๐๐โ1๐ฆ ๐โ1 + โฏ + ๐1๐ฆ
โฒ + ๐๐๐ฆ = ๐บ ๐ฅ
Initially we will make our life easier by looking at differential equations with ๐ ๐ก = 0.
we call the differential equation homogeneous and when ๐ ๐ฅ โ 0 we call the differential
equation nonhomogeneous.
So, letโs start thinking about how to go about solving a constant coefficient, homogeneous,
linear, higher order differential equation. Here is the general constant coefficient,
homogeneous, linear, higher order differential equation.
๐๐๐ฆ ๐ + ๐๐โ1๐ฆ ๐โ1 + โฏ + ๐1๐ฆ
โฒ + ๐๐๐ฆ = 0
All of the solutions in this example were in the form
๐ฆ ๐ฅ = ๐๐๐ฅ
To see if we are correct all we need to do is plug this into the differential equation and see
what happens. So, letโs get some derivatives and then plug in.
๐ฆ โฒ ๐ฅ = ๐๐๐๐ฅ , ๐ฆ 2 ๐ก = ๐2๐๐๐ฅ , โฆ , ๐ฆ ๐ ๐ก = ๐๐๐๐๐ฅ
๐๐ ๐๐๐๐๐ฅ + ๐๐โ1 ๐๐โ1๐๐๐ฅ + โฏ + ๐1๐๐
๐๐ฅ + ๐๐๐๐๐ฅ = 0
๐๐๐ฅ ๐๐๐๐ + ๐๐โ1๐๐โ1 + โฏ + ๐1๐ + ๐๐ = 0
This can be reduced further by noting that exponentials are never zero. Therefore, the
value of r should be the roots of
๐๐๐๐ + ๐๐โ1๐๐โ1 + โฏ + ๐1๐ + ๐๐ = 0.
This equation is typically called the characteristic equation for homogeneous equation.
Once we have these n roots, we have n solutions to the differential equation.
๐ฆ1 ๐ฅ = ๐๐1๐ฅ , ๐ฆ2 ๐ฅ = ๐๐2๐ฅ , โฆ . . , ๐ฆ๐ ๐ฅ = ๐๐๐ ๐ฅ
Youโll notice that we neglected to mention whether or not the n solutions listed above are
in fact โnice enoughโ to form the general solution. This was intentional. We have three
cases that we need to look at and this will be addressed differently in each of these cases.
So, what are the cases? The roots will have three possible forms. These are
1. Real, distinct roots, .
2. Complex root,
3. Double roots, .
For repeated roots we just add in a t for each of the solutions past the first one until we
have a total of k solutions. Again, we will leave it to you to compute the Wronskian to
verify that these are in fact a set of linearly independent solutions. Finally we need to deal
with complex roots. The biggest issue here is that we can now have repeated complex
roots for 4th order or higher differential equations. Weโll start off by assuming that ๐ = ๐ ยฑ
๐๐ occurs only once in the list of roots. In this case weโll get the standard two solutions,
๐๐๐ฅ cos ๐๐ฅ ๐๐๐ฅ sin ๐๐ฅ
Example.
Solve the following equation.
๐ฆ 3 โ 5๐ฆ" โ 22๐ฆโฒ + 56๐ฆ = 0
Answer :
The characteristic equation is
๐3 โ 5๐2 โ 22๐ + 56 = ๐ + 4 ๐ โ 2 ๐ โ 7 = 0
Therefore we get
๐1 = โ4, ๐2 = 2, ๐3 = 7
So we have three real distinct roots here and so the general solution is
๐ฆ ๐ฅ = ๐1๐โ4๐ฅ + ๐2๐
2๐ฅ + ๐3๐7๐ฅ
Example.
Solve the following differential equation
2๐ฆ 4 + 11๐ฆ 3 + 18๐ฆ" + 4๐ฆโฒ โ 8๐ฆ = 0
Answer :
The characteristic equation is
2๐4 + 11๐3 + 18๐2 + 4๐ โ 8 = 2๐ โ 1 ๐ + 2 3 = 0
So, we have two roots here, ๐1 =1
2 and ๐2 = โ2 which is multiplicity of 3. Remember that
weโll get three solutions for the second root and after the first we add xโs only the solution
until we reach three solutions.
The general solution is then,
๐ฆ ๐ฅ = ๐1๐12๐ฅ + ๐2๐
โ2๐ฅ + ๐3๐ฅ๐โ2๐ฅ + ๐4๐ฅ2๐โ2๐ฅ
Example.
Solve the following differential equation.
๐ฆ 5 + 12๐ฆ 4 + 104๐ฆ 3 + 408๐ฆ" + 1156๐ฆโฒ = 0
Answer:
The characteristic equation is
๐5 + 12๐4 + 104๐3 + 408๐2 + 1156๐ = 0
So, we have one real root r = 0 and a pair of complex roots ๐ = โ3 ยฑ 5 ยฑ ๐ each with
multiplicity 2. So, the solution for the real root is easy and for the complex roots weโll get a
total of 4 solutions.
The general solution is
๐ฆ ๐ฅ = ๐1 + ๐2๐โ3๐ฅ ๐๐๐ 5๐ฅ + ๐3๐
โ3๐ฅ ๐ ๐๐ 5๐ฅ + ๐4๐ฅ๐โ3๐ฅ ๐๐๐ 5๐ฅ + ๐5๐ฅ๐โ3๐ฅ ๐ ๐๐ 5๐ฅ
Exercise 24
Solve the problems below.
1. ๐ฆ" โ 5๐ฆโฒ + 6๐ฆ = 0
2. ๐ฆ 3 โ 3๐ฆ" โ ๐ฆ + 3๐ฆ = 0
3. ๐ฆ" + 9๐ฆ = 0
4. ๐ฆ 3 โ ๐ฆ" + ๐ฆ โ ๐ฆ = 0
5. ๐ฆ 4 + 8๐ฆ" + 16๐ฆ = 0
6. ๐ฆ 5 โ 2๐ฆ 4 + ๐ฆ 3 = 0
7. ๐ฆ 4 โ 3๐ฆ 3 โฒ โ 2๐ฆ" + 2๐ฆโฒ + 12๐ฆ = 0
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION 27th, 28th Meeting :
IV. Explicit Methods of Solving Higher Order Linear Differential Equations - The Method of Undetermined Coefficients
We now consider the n-order linear differential equation which is nonhomogeneous
๐๐๐ฆ ๐ + ๐๐โ1๐ฆ ๐โ1 + โฏ + ๐1๐ฆ
โฒ + ๐๐๐ฆ = ๐บ ๐ฅ
where ๐บ ๐ฅ โ 0.
As we have studied before that the solution of nonhomogeneous equation above is in the
form
๐ฆ = ๐ฆ๐ + ๐ฆ๐
Where ๐ฆ๐ is the general solution for the corresponding homogeneous equation and ๐ฆ๐ is the
particular solution.
How to determine the particular solution, can be done with Undetermined Coefficient
Method and Variation Parameters Method.
IV.A Undetermined Coefficient Method
If ๐บ ๐ฅ is an exponential function, polynomial, sine, cosine, sum/difference of one of these
and/or a product of one of these then we guess the form of a particular solution. We then
plug the guess into the differential equation, simplify and set the coefficients equal to solve
for the constants. The one thing that we need to recall is that we first need the
complimentary solution prior to making our guess for a particular solution. If any term in
our guess is in the complimentary solution then we need to multiply the portion of our guess
that contains that term by a x.
Example.
Solve the following differential equation
๐ฆ 3 โ 12๐ฆ" + 48๐ฆโฒ โ 64๐ฆ = 12 โ 32๐โ8๐ฅ + 2๐4๐ฅ
Answer :
The characteristic equation corresponds to the homogeneous part is
๐3 โ 12๐2 + 48๐ โ 64 = ๐ โ 4 3 = 0
So, the root is 4 of multiplicity 3.
Therefore the complimentary solution is
๐ฆ๐ ๐ฅ = ๐1๐4๐ฅ + ๐2๐ฅ๐4๐ฅ + ๐3๐ฅ
2๐4๐ฅ
Based on the right side of the equation 12 โ 32๐โ8๐ฅ8๐ฅ + 2๐4๐ฅ , our guess for a particular
solution is
๐๐ ๐ฅ = ๐ด + ๐ต๐โ8๐ฅ8๐ฅ + ๐ถ๐4๐ฅ
Notice that the last term in our guess is the complimentary solution, so weโll need to add
one at least t to the third term in our guest. Also notice that multiplying in the third term by
either ๐ฅ or ๐ฅ2 will result in a new term that is still in the complimentary solution. So, we
need to multiply the third term by ๐ฅ3 in order to get a term that is not contained in the
complimentary solution.
The final guess is then
๐๐ ๐ฅ = ๐ด + ๐ต๐โ8๐ฅ8๐ฅ + ๐ถ๐ฅ3๐4๐ฅ
Substitute this function to the equation by taking itโs first, second and third derivative then
set the coefficients equal we get,
๐ด = โ3
16, ๐ต =
1
54, ๐ถ =
1
3
The general solution is then
๐ฆ ๐ฅ = ๐1๐4๐ฅ + ๐2๐ฅ๐4๐ฅ + ๐3๐ฅ
2๐4๐ฅ โ3
16+
1
54๐โ8๐ฅ8๐ฅ +
1
3๐ฅ3๐4๐ฅ
Exercise 27
Find the general solution of the differential equations below
1. ๐ฆ" โ 2๐ฆโฒ โ 8๐ฆ = 4๐2๐ฅ โ 21๐โ3๐ฅ
2. ๐ฆ" โ 3๐ฆ + 2๐ฆ = 4๐ฅ2
3. ๐ฆ โฒโฒ + 2๐ฆ โฒ + 5๐ฆ = 6 sin 2๐ฅ + 7 cos 2๐ฅ
4. ๐ฆ โฒโฒ + 2๐ฆ โฒ + 2๐ฆ = 10 sin 4๐ฅ
5. ๐ฆ โฒโฒ + ๐ฆ โฒ โ 2๐ฆ = 6๐โ2๐ฅ + 3๐๐ฅ โ 4๐ฅ2
6. ๐ฆ 3 โ 4๐ฆ โฒโฒ + 5๐ฆ โฒ โ 2๐ฆ = 3๐ฅ2 ๐๐ฅ โ 7๐๐ฅ
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION 29th, 30th Meeting
:
IV. Explicit Methods of Solving Higher Order Linear Differential Equations - Variation of Parameters
IV.B Variation of Parameters Methods
The method of variation of parameters involves trying to find a set of new functions,
๐ข1 ๐ฅ , ๐ข2 ๐ฅ , โฆ , ๐ข๐ ๐ฅ so that,
๐ ๐ฅ = ๐ข1 ๐ฅ ๐ฆ1 ๐ฅ + ๐ข2 ๐ฅ ๐ฆ2 ๐ฅ + โฆ + ๐ข๐ ๐ฅ
will be a solution to the nonhomogeneous differential equation. In order to determine if this
is possible, and to find the ๐ข๐ ๐ฅ if itโs possible, weโll need a total of n equations involving the
unknown functions that we can solve.
Suppose
๐ ๐ฆ1, ๐ฆ2, โฆ , ๐ฆ๐ ๐ฅ =
๐ฆ1 ๐ฅ ๐ฆ2 ๐ฅ ๐ฆ3 ๐ฅ โฏ ๐ฆ๐(๐ฅ)
๐ฆโฒ1 ๐ฅ ๐ฆโฒ2 ๐ฅ ๐ฆโฒ3 ๐ฅ ๐ฆ๐โฒ (๐ฅ)
โฎ โฎ โฎ๐ฆ(๐โ1) 1 ๐ฅ ๐ฆ(๐โ1)
2 ๐ฅ ๐ฆ(๐โ1)
3 ๐ฅ โฏ ๐ฆ(๐โ1)
๐ ๐ฅ
Let ๐๐ represent the determinant we get by replacing the ith column of the Wronskian with
the column 0,0,0, โฆ ,0,1 . For example
๐1 =
0 ๐ฆ2 ๐ฅ ๐ฆ3 ๐ฅ โฏ ๐ฆ๐(๐ฅ)
0 ๐ฆโฒ2 ๐ฅ ๐ฆโฒ3 ๐ฅ ๐ฆ๐โฒ (๐ฅ)
โฎ โฎ โฎ1 ๐ฆ(๐โ1)
2 ๐ฅ ๐ฆ(๐โ1)
3 ๐ฅ โฏ ๐ฆ(๐โ1)
๐ ๐ฅ
the solution to the system can then be written as,
๐ข1 ๐ฅ = ๐ ๐ฅ ๐1 ๐ฅ
๐ ๐ฅ ๐๐ฅ , ๐ข2 ๐ฅ =
๐ ๐ฅ ๐2 ๐ฅ
๐ ๐ฅ ๐๐ฅ , โฆ , ๐ข๐ ๐ฅ =
๐ ๐ฅ ๐๐ ๐ฅ
๐ ๐ฅ ๐๐ฅ
Finally, the particular solution is given by
๐๐ ๐ฅ = ๐ฆ1(๐ฅ) ๐ ๐ฅ ๐1 ๐ฅ
๐ ๐ฅ ๐๐ฅ + ๐ฆ2(๐ฅ)
๐ ๐ฅ ๐2 ๐ฅ
๐ ๐ฅ ๐๐ฅ + โฆ + ๐ฆ๐(๐ฅ)
๐ ๐ฅ ๐๐ ๐ฅ
๐ ๐ฅ ๐๐ฅ
Example.
Solve the following differential equation
๐ฆ 3 โ 2๐ฆ" โ 21๐ฆโฒ โ 18๐ฆ = 3 + 4๐โ๐ฅ
Answer :
The characteristic equation corresponds to the homogeneous equation is
๐3 โ 2๐2 โ 21๐ โ 18 = 0 โ ๐ = โ3, ๐ = โ1, ๐ = 6
Here we get
๐ฆ๐ ๐ฅ = ๐1๐โ3๐ฅ + ๐2๐
โ๐ฅ + ๐3๐6๐ฅ
Several determinant that we should count are
๐ = ๐โ3๐ฅ ๐โ๐ฅ ๐6๐ฅ
โ3๐โ3๐ฅ โ๐โ๐ฅ 6๐6๐ฅ
9๐โ3๐ฅ ๐โ๐ฅ 36๐6๐ฅ
= 126๐2๐ฅ
๐1 = 0 ๐โ๐ฅ ๐6๐ฅ
0 โ๐โ๐ฅ 6๐6๐ฅ
1 ๐โ๐ฅ 36๐6๐ฅ
= 7๐5๐ฅ
๐2 = ๐โ3๐ฅ 0 ๐6๐ฅ
โ3๐โ3๐ฅ 0 6๐6๐ฅ
9๐โ3๐ฅ 1 36๐6๐ฅ
= โ9๐3๐ฅ
๐3 = ๐โ3๐ฅ ๐โ๐ฅ 0
โ3๐โ3๐ฅ โ๐โ๐ฅ 09๐โ3๐ฅ ๐โ๐ฅ 1
= 2๐โ4๐ฅ
Here we get
๐ข1 ๐ฅ = 3 + 4๐โ๐ฅ 7๐5๐ฅ
126๐2๐ฅ ๐๐ฅ =
1
18 ๐3๐ฅ + 2๐2๐ฅ
๐ข2 ๐ฅ = 3 + 4๐โ๐ฅ โ9๐3๐ฅ
126๐2๐ฅ ๐๐ฅ = โ
1
14 3๐๐ฅ + 4๐ฅ
๐ข3 ๐ฅ = 3 + 4๐โ๐ฅ 2๐โ4๐ฅ
126๐2๐ฅ ๐๐ฅ =
1
63 โ
1
2๐โ6๐ฅ โ
4
7๐โ7๐ฅ
The general solution is then,
๐ฆ ๐ฅ = ๐1๐โ3๐ฅ + ๐2๐
โ๐ฅ + ๐3๐6๐ฅ โ
1
6+
5
49๐โ๐ฅ โ
2
7๐โ๐ฅ
Exercise 29
Solve the differential equations below.
1. ๐ฆ" โ 2๐ฆโฒ โ 8๐ฆ = 4๐2๐ฅ โ 21๐โ3๐ฅ
2. ๐ฆ" โ 3๐ฆ + 2๐ฆ = 4๐ฅ2
3. ๐ฆ โฒโฒ + 2๐ฆ โฒ + 5๐ฆ = 6 sin 2๐ฅ + 7 cos 2๐ฅ
4. ๐ฆ โฒโฒ + 2๐ฆ โฒ + 2๐ฆ = 10 sin 4๐ฅ
5. ๐ฆ โฒโฒ + ๐ฆ โฒ โ 2๐ฆ = 6๐โ2๐ฅ + 3๐๐ฅ โ 4๐ฅ2
6. ๐ฆ 3 โ 4๐ฆ โฒโฒ + 5๐ฆ โฒ โ 2๐ฆ = 3๐ฅ2 ๐๐ฅ โ 7๐๐ฅ
STATE UNIVERSITY OF-YOGYAKARTA
FACULTY OF-MATHEMATICS AND NATURAL SCIENCE
DEPARTMENT OF MATHEMATICS EDUCATION 31st Meeting :
EXERCISES
Question 1 : Solve the differential equation below.
1
53
yx
yx
dx
dy
Question 2 : Sketch for the graph of solution of without finding itโs solution explicitly and
give some reasons.
21)0(,)2( yyyy
Question 3 : Find the general solution of differential equation 096 yy .
Question 4 : Find the general solution of differential equation below.
0,sin2 ttyyt
Question 5 : Find the general solution of the differential equation below.
0)()( 2 dyexdxyx y
Question 6 : Find the general solution of the second order linear differential equation
below.
tyy 2sin432