Search for notes by fellow students, in your own course and all over the country.
Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.
Title: Ordinary differential equation
Description: In mathematics, an ordinary differential equation (ODE) is a differential equation containing one or more functions of one independent variable and the derivatives of those functions. The term ordinary is used in contrast with the term partial differential equation which may be with respect to more than one independent variable.
Description: In mathematics, an ordinary differential equation (ODE) is a differential equation containing one or more functions of one independent variable and the derivatives of those functions. The term ordinary is used in contrast with the term partial differential equation which may be with respect to more than one independent variable.
Document Preview
Extracts from the notes are below, to see the PDF you'll receive please use the links above
Ordinary Differential Equations
A differential equation is an equation for a function that relates the values of the function
to the values of its derivatives
...
These equations may include
the unknown function as well as known functions of the same variable
...
Generally
speaking, a differential equation is a representation of a physical phenomenon, where
the derivatives correspond to the "rates of change" of the unknown function with respect
to the variable
...
g
...
For example:
d2 f
df
+ο§
+ ο· 2 f = Ae iοt
2
dt
dt
dy
β ky = 0
dx
On the other hand, partial differential equations (PDEs) contain functions of multiple
variables and partial derivatives, for example:
ππ(π₯, π¦)
= 2π₯π¦ + π₯ 2
ππ₯ππ¦
We will cover only ODEs in this unit
...
Solving an ODE means finding an equation with no derivatives that satisfies the given
ODE
...
It
is important to be able to identify the type of ODE we are dealing with before we attempt
to solve it
...
An equation containing only first derivatives is a first-order
differential equation; an equation containing the second derivative is a second-order
differential equation, and so on
...
The simplest ODE
ππ¦
can be integrated directly by finding antiderivatives, for example ππ₯ = 2π₯
...
First-order ODEs
The standard form for first-order DEs can be put into the form:
dy
= f ( x, y )
dx
Which is equivalent to ππ¦ = π(π₯, π¦)ππ₯ which gives ππ¦ β π(π₯, π¦)ππ₯ = 0
M ( x, y )dx + N ( x, y )dy = 0
The general solution of a first order DE contains one arbitrary constant
...
We will consider only few most practically
important special cases
...
+ a1 ( x) + a0 ( x) y = F ( x)
dx
dx
dx
That means all the derivatives (including the zeroth one, i
...
y) are present only to the
first power and there no terms with mixed order (e
...
π2 π¦
ππ₯ 2
ο π¦ 2)
...
But the one below is linear of order 2
...
Keeping the above notation, the equation is
homogeneous if π(π₯) = 0
...
+ a1 ( x) + a0 ( x) y = 0
n β1
n
n β1
dx
dx
dx
is homogeneous
...
The Solution of a differential equation is the function, e
...
f (t ), y ( x),οΉ ( x) which satisfies
the equation identically
...
To assign values to these constants, n additional conditions (initial
conditions, boundary conditions) are needed
...
Types of solutions of DEs
1
...
Example 1
Solve the π¦ β² β ππ¦ = 0
...
Solution
This is a nasty looking non-linear differential equation, but it is actually separable:
(
) dy
= 2 x + xy
dx
(
) dy
= x(2 + y )
dx
y 1 + x2
y 1 + x2
2
2
y
x
dy =
dx
2
(2 + y )
1 + x2
(
)
Integrating both sides:
1
1
ln(2 + y 2 ) = ln(1 + x 2 ) + C
2
2
and rearranging:
1
2 + π¦2
ln (
)=πΆ
2
1 + π₯2
ln (
2 + π¦2
) = 2πΆ
1 + π₯2
2 + π¦2
= π 2π = π
1 + π₯2
2 + π¦ 2 = π(1 + π₯ 2 )
π¦ 2 = π(1 + π₯ 2 ) β 2
π¦ = Β±βπ(1 + π₯ 2 ) β 2
2 + π¦ 2 β π(1 + π₯ 2 ) = 0
is the general solution
...
What happened to the one on the left? The answer is
quite straightforward
...
Example 3
Solve the following differential equation
...
Plug this into the general solution and then solve to get an explicit solution
...
Solve
6
3π₯ 2 + 4π₯ β 4
π¦ =
, π¦(1) = 3
2π¦ β 4
β²
(answer: π¦ = 2 + βπ₯ 3 + 2π₯ 2 β 4π₯ + 2)
2
...
ππ₯
ππ¦
= 5π₯ β 5π₯ 2
ππ₯
ππ¦ = 5π₯ β 5π₯ 2 ππ₯
3
...
3= 0+π
C=3
(Answer: π¦ =
β7
2
π₯ 2 + 3)
...
Solve the ODE:
π¦ β² = π βπ¦ (2π₯ β 4),
π¦(5) = 0
(ANSWER: π¦(π₯) = ππ(π₯ 2 β 4π₯ β 4)
5
...
(Answer: π¦ = 3π₯ 2 β 2π₯ + 3)
6
...
2
...
ππ¦
An equation of the form π ππ₯ = π, where P and Q are functions of both x and y of the same degree
throughout, is said to be homogeneous in y and x
...
However, π (π₯, π¦) =
π₯2 β π¦
2π₯ 2 +π¦2
homogeneous since the term in y in the numerator is of degree 1 and the other three terms are of
degree 2
...
Then ππ₯ = π£ + π₯ ππ₯
Substituting
π£+π₯
π£+π₯
ππ£ 3π₯(π£π₯) + (π£π₯)2
=
ππ₯
π₯2
ππ£ 3π£π₯ 2 + π£ 2 π₯ 2
=
= 3π£ + π£ 2
ππ₯
π₯2
π£+π₯
π₯
ππ£
= 3π£ + π£ 2
ππ₯
ππ£
= 3π£ + π£ 2 β π£
ππ₯
π₯
π£2
ππ£
= π£ 2 + 2π£
ππ₯
1
1
ππ£ = ππ₯
+ 2π£
π₯
Partial fractions
1
1
ππ£ = ππ₯
π£(π£ + 2)
π₯
Integrating both sides
π£
= π 2π₯2
π£+2
But π£ =
π¦
π₯
π¦
π₯ = π 2π₯2
π¦
+
π₯ 2
π¦
π¦
= π 2 π₯ 2 ( + 2)
π₯
π₯
8
is not
Procedure
Example
Solve the DE: π¦ β π₯ = π₯
ππ¦
,
ππ₯
given π¦(1) = 2
...
Solve π₯
ππ¦
ππ₯
=
π₯ 2 +π¦ 2
π¦
at π¦(1) = 4
...
2π¦βπ₯ ππ¦
2
...
Answer π₯ 2 + π₯π¦ β π¦ 2 = 1
Task
10
3
...
These DEs are non-separable or non-homogenous, for example,
ππ¦
+ π¦ = 2π₯ 2
ππ₯
ππ¦ 1
+
...
(ii) Determine the integrating factor π β« πππ₯ and simplify
...
F
...
Given boundary conditions, the particular solution may be determined
...
Solution
ππ¦
ππ₯
1
2
+ (π₯) π¦ = π₯
The integrating factor is
1
π β«π₯ππ₯ = π ln π₯ = π₯
...
F
...
ππ₯
ππ¦
π
ππ¦
NB: ππ₯ (π₯π¦) = π₯ ππ₯ + π¦
...
π₯
Notice that this differential equation is not separable because itβs impossible to factor
the expression for π¦β as a function of π₯ times a function of π¦
...
It turns out that every first-order linear differential equation can be solved in a similar
fashion by multiplying both sides by a suitable function π called an integrating factor
...
3
3
β« 2 Γ 3π₯ 2 π π₯ ππ₯ = 2 β« π π’ ππ’ = 2π π’ + π = 2π π₯ + π
Example
Find the solution of the initial-value problem π₯ 2 π¦β + π₯π¦ = 1, π₯ > 0 and π¦(1) = 2
...
π₯ ππ₯ + π¦ = 1
...
ππ₯ β 2(π₯ + 1)3 = π₯+1 π¦ at π¦(0) = 0
...
Multiplying by π we get
(
1
ππ¦
1
4
1
)
β(
)
π¦ = 2(
)(π₯ + 1)3
4
4
(π₯ + 1) ππ₯
(π₯ + 1) π₯ + 1
(π₯ + 1)4
π
π¦
2
(
)=
4
ππ₯ (π₯ + 1)
π₯+1
Integrating both sides (LHS is ππ¦) ALWAYS)
π¦
2
=
β«
ππ₯
(π₯ + 1)4
π₯+1
π¦
= 2 ln|π₯ + 1| + π
(π₯ + 1)4
14
Applying initial conditions
0=0+c
C=0
π¦
= 2 ln|π₯ + 1|
(π₯ + 1)4
π¦ = 2 ln|π₯ + 1| (π₯ + 1)4
...
Applications of First-Order Differential Equations
Exponential Growth and decay problems
Let N(t) denote the amount of substance {or population) that is either growing or
decaying
...
Then for growth
implies that
ππ
ππ‘
ππ
ππ‘
= ππ, where k is the constant of proportionality
...
Example
The population of a certain country is known to increase at a rate proportional to the
number of people presently living in the country
ππ
ππ‘
...
Solution
15
ππ
= ππ
ππ‘
To solve this, we have to integrate both sides
β«
ππ
= π β« 1 ππ‘
π
ln π = π
...
π π
π(π‘) = π΄π ππ‘ where A=π π
When t=0, π(0) = π΄π π
...
ln (2) = ln (π 2π )
ln 2 = 2π
π=
1
ln 2
2
16
Modelling Continuous Compound Interest
When interest on an account is compounded continuously, the account grows at a rate that is directly
proportional to the size of the account
...
This can be described by the differential equation
where A is the balance in the account after t years and r is the annual interest rate in decimal form
...
π΄ = π(1 + π)π where π interest rate per annum
1
...
1
...
Solve the initial-condition problem
, A(0) = 1000
...
07t
...
2
...
The investment will grow to approximately $8,166 in 30 years
...
07)30 = $7 612
...
035)60 = $7878
...
2
...
5%?
π(π‘) = π0 π ππ‘ = 5000π 0
...
3
...
5%
...
045π‘
It will take about 6
...
4
...
Consider the population of bacteria
...
02π‘ , where π‘ is measured in minutes
...
The population of Goth island at the end of the year 2000 was 500
...
What will the population be at the
end of the year 2050?
Solution
π(π‘) = π0 π ππ‘ = 500π 0
...
58 β 74 207
3
...
How much does
the student need to invest today to have $1 million when she retires at age 65?
4
...
Assuming no additional deposits or withdrawals, how much will be in
the account after seven years if the interest rate is a constant 8
...
25 percent for the last three years?
Answers
1
...
3
...
19
Second-order Linear ODEs
Linear ordinary differential equation of order π, in the dependent variable π¦ and the
independent variable π₯, is an equation that is in, or can be expressed in, the form
where π0 β 0
...
This is a hyperbola
...
π¦ = 2 sin π₯ +
2
...
(3) that no transcendental (trigonometric, logarithmic, exponential) functions of π¦ and/or
its derivatives occur
...
In each case y
is the dependent variable
...
ππ¦
ππ₯
= ππ₯ is a first-order DE and first degree DE
...
π2 π¦
2
(ππ₯ 2 ) = 3π₯
...
A nonlinear ordinary differential equation is an ordinary differential equation that is not
linear
...
Equation 2 owes its nonlinearity to the presence of the term
ππ¦
5(ππ₯ )3, which involves the third power/degree of the first derivative
...
21
Linear ordinary differential equations are further classified according to the nature of the
coefficients of the dependent variables and their derivatives
...
Linear 2nd order DEs with constant coefficients
What we have stated so far applies generally to any linear ODE
...
That means that all
the functions an ( x), anβ1 ( x),
...
a1 , a0
...
+ a1
+ a0 y = F ( x )
n β1
n
n β1
dx
dx
dx
Complementary (homogeneous) solution
...
+ a1
+ a0 y = 0
n β1
n
nβ1
dx
dx
dx
is always found following a simple general rule:
Use a trial solution of the form
y = e ο¬x
where π is some constant, which we do not know, but will find by substituting this trial
solution to the above homogeneous equation
...
+ a1ο¬ + a0 = 0
which in general will have n roots
...
If the roots ο¬1 , ο¬2 ,
...
+ Cn eο¬n x
where C1 , C2 ,
...
22
2
...
g
...
you
must multiply the corresponding exponential with a polynomial of the order k1 β 1 , k 2 β 1
etc
...
The solution then looks like this:
(
)
(
)
y = C1 + C2 x +
...
Dk2 x k2 β1 eο¬2 x +
...
e
...
At this level, we restrict our attention to second-order linear homogeneous differential
equations with constant coefficients only
...
In this section we study the case where πΊ(π₯) = 0, for all x, in the ODE
...
Or we can rewrite:
d2y
dy
a 2 + b + cy = 0
dx
dx
(basic form)
where a, b, and c are constants
...
Thus, the general solution of the 2nd β order linear differential equation
23
d2y
dy
a 2 + b + cy = 0
dx
dx
(where a, b, and c are constants)
depends on the roots of the auxiliary quadratic equation
am2 + bm + c = 0
such that
i) if π 2 β 4ππ β₯ 0 (2 distinct real roots m1 and m2)
then
y = c1e m1 x + c2 e m2 x
ii) if π 2 β 4ππ = 0
then
(1 real repeated root m1=m2=m)
y = c1emx + c2 xemx
iii) if π 2 β 4ππ < 0
(2 complex roots
m1 = ο‘ + ο’i and m2 = ο‘ β ο’i )
ο‘x
y
=
e
(c1 cos ο’x + c2 sin ο’x)
then
Note:
Each of these solutions contains two arbitrary constants c1 and c2 since solution of 2nd
β order differential involves two integrations
...
d2y
dy
2 2 + 5 β 3y = 0
dx
dx
Auxiliary eqn
...
Auxiliary eqn
...
The general solution will be:
y = (C1 + C2 x )e 4 x
Example
25
Task
We could verify that this is indeed a solution by differentiating and substituting into the
differential equation
...
Solution
Case III: ππ β πππ < π
In this case the roots and of the auxiliary equation are complex numbers
...
The problem π¦" + 2π¦β² =
ππ₯; π¦(0) = 1, π¦(1) = 1 is a boundary-value problem, because the two subsidiary
conditions are given at the different values x = 0 and x = 1
...
NB: If all of the associated supplementary conditions relate to one π₯ value, the problem
is called an initial-value problem (or one-point boundary-value problem)
...
Example
Solve the boundary-value problem π¦β + 2π¦β + π¦ = 0, π¦(0) = 1 and π¦(1) = 3
...
THE METHOD OF UNDETERMINED COEFFICIENTS
πΊ(π₯) is a polynomial and it is reasonable to guess that there is a particular solution yp
that is a polynomial of the same degree as G because if y is a polynomial, then ππ¦" +
29
ππ¦β + ππ¦ is also a polynomial
...
Example
Example
Solve π¦ββ β π¦β β 2π¦ = 4π₯ 2
Solution
30
The end
31
Title: Ordinary differential equation
Description: In mathematics, an ordinary differential equation (ODE) is a differential equation containing one or more functions of one independent variable and the derivatives of those functions. The term ordinary is used in contrast with the term partial differential equation which may be with respect to more than one independent variable.
Description: In mathematics, an ordinary differential equation (ODE) is a differential equation containing one or more functions of one independent variable and the derivatives of those functions. The term ordinary is used in contrast with the term partial differential equation which may be with respect to more than one independent variable.