Upload
vandat
View
218
Download
1
Embed Size (px)
Citation preview
Topics Covered
β’ General and Standard Forms of linear first-order ordinary differential equations.
β’ Theory of solving these ODEβs.
β’ Direct Method of solving linear first-order ODEβs.
β’ Examples.
Definition
π1 π₯ .ππ¦
ππ₯+ π0 π₯ . π¦ = π(π₯)
β’ It is linear, so there are no functions of π¦ or any of its derivatives.
β’ The highest order is ππ¦
ππ₯.
β’ There is a function of π₯ represented by π(π₯), though this function may also be equal to 0.
General and Standard Form
β’ The general form of a linear first-order ODE is
ππ π .π π
π π+ ππ π . π = π(π)
β’ In this equation,
if π1 π₯ = 0, it is no longer an differential equation and so π1 π₯ cannot be 0; and if π0 π₯ = 0, it is a variable separated ODE and can easily be solved by integration, thus in this chapter π0 π₯ cannot be 0. If π π₯ = 0, it is called a Homogenous Equation, and can easily be solved by separating the variables, thus in this chapter g(π₯) is generally not 0. If π(π₯) β 0 it is a non-homogenous equation.
Standard Form
By dividing both sides of this general form by π1(π₯) we get the standard form, which is much more useful for solving it:
π π
π π+ π· π π = π(π)
where π π₯ = π0 π₯ /π1 π₯ and f π₯ = π π₯ /π1 π₯
There is a very important theory behind the solution of differential equations which is covered in the next few slides. For a review of the direct method to solve linear first-order differential equations, jump ahead to the direct method on slide 14.
The Property
β’ Solving differential equations is based on the property that the solution π¦(π₯) can be represented as π¦π π₯ + π¦π(π₯), where
π¦π π₯ is the solution of the homogenous equation ππ¦
ππ₯+
π π₯ π¦ = 0 and π¦π(π₯) is a particular solution of the entire
non-homogenous equation ππ¦
ππ₯+ π π₯ π¦ = π π₯ .
NOTE
β’ There are 2 important points to note:
1. Clearly, if the original problem is a homogenous equation, π¦π π₯ = 0 and the solution is π¦ = π¦π π₯ .
2. We can see that π¦π π₯ = 0 is always valid. However this is known as the trivial solution and we are only interested in finding out all non-trivial solutions.
To find π¦π(π₯)
The equation ππ¦
ππ₯+ π π₯ π¦ = 0 can be re-written as
ππ¦
π¦=
β π π₯ ππ₯ with simple algebra. Integrating both sides,
ln π¦ = β π π₯ ππ₯
β΄ π¦ = πβ π π₯ ππ₯+π
Where c is the constant of integration.
To find π¦π π₯ contd.
We can rewrite this expression for π¦π π₯ as
π¦π = ππβ π π₯ ππ₯ = ππ¦1
where π is the parameter which can have any real value, and all the obtained functions will be solutions of the associated homogenous equation of the original differential equation; and
π¦1 = πβ π π₯ ππ₯
Example of π¦π π₯
Let us consider the homogenous equation 3π¦β² + sin π₯ + 3πππ₯ π¦ = 0
where a is a constant. The equation can be re-written as: π¦β²
π¦= β
1
3sin π₯ + 3πππ₯
Integrating both sides with respect to x, we get
ln π¦ = β1
3 sin π₯ ππ₯ + 3πππ₯ππ₯ =
cos π₯
3βπππ₯
π+ π1
β΄ π¦ = ππcos π₯3 β
πππ₯
π = π¦π
Where π is any arbitrarily chosen parameter. Alternatively, this answer for π¦π π₯ can be obtained from the formula on the previous slide.
To find π¦π(π₯)
To find π¦π(π₯) we use the method of Variation of Parameters and make
the assumption that it is of the form π’(π₯)π¦1(π₯) where π’(π₯) is an
unknown function and π¦1 = πβ π π₯ ππ₯. Substituting this form of
π¦π(π₯) into the Standard form of the equation, we get
π’π¦1β² + π¦1π’
β² + π π₯ π’π¦1 = π(π₯)
Rearranging and substituting ππ¦1
ππ₯+ π π₯ π¦1 = 0, we get π’ =
π(π₯)
π¦1(π₯)ππ₯
and therefore
π¦π π₯ = π’ π₯ π¦1 π₯ = πβ π π₯ ππ₯ π π π₯ ππ₯π(π₯)ππ₯
Putting it together for π¦(π₯)
Going back to the original equation π¦ π₯ = π¦π π₯ + π¦π(π₯) we
substitute and get
π¦ π₯ = πβ π π₯ ππ₯(π + π π π₯ ππ₯π π₯ ππ₯)
Which is the entire solution for the differential equation that we started with.
Using this equation we can now derive an easier method to solve linear first-order differential equation.
The previous equation can be re-written as:
π¦ π₯ π π π₯ ππ₯ = π + π π π₯ ππ₯π π₯ ππ₯
Differentiating both sides, we get
π¦β²π π π₯ ππ₯ + π π₯ π¦π π π₯ ππ₯ = π π π₯ ππ₯π π₯
Which is clearly the Standard Form multiplied with π π π₯ ππ₯. Thus we can clearly see following these steps in reverse, we get an easy way to solve these differential equations.
Direct Method
The trick is to represent the left side of the Standard Form of the equation in the form of the product rule, while the right side is some function of the independent variable (π₯). To do so, we multiply the entire differential equation with the Integrating
Factor π π π₯ ππ₯ to get the equation: ππ¦
ππ₯π π π₯ ππ₯ + π π₯ π¦π π π₯ ππ₯ = π π π₯ ππ₯π π₯
Direct Method (contd.)
We can see that the left side is in the form of the product rule: π
ππ₯π¦ π₯ . π π π₯ ππ₯ = π π π₯ ππ₯π π₯
Integrating this equation with respect to π₯, we get
π¦ π₯ . π π π₯ ππ₯ = π π π₯ ππ₯π π₯ ππ₯ + π
Which can then easily be solved for π¦(π₯).
Examples!
1. Solve the differential equation ππ¦
ππ₯+ π¦ = π3π₯.
SOLUTION: Since it is already in the standard form, we can directly see that π π₯ = 1.
Thus, the Integrating factor is:
π π π₯ ππ₯ = π 1ππ₯ = ππ₯
Multiplying the equation with this, we get ππ¦
ππ₯ππ₯ + π¦ππ₯ = π3π₯ . ππ₯
β΄π
ππ₯π¦. ππ₯ = π4π₯
Integrating this equation with respect to π₯,
y. ππ₯ = π4π₯ππ₯ =π4π₯
4+ π
β΄ π¦ =π3π₯
4+ ππβπ₯
Which is the desired solution for the differential equation. Here, π is any arbitrary real number.
2. Solve: cos2 π₯ sin π₯ππ¦
ππ₯+ cos3 π₯ π¦ = 1
SOLUTION: We first change it from the General Form to the Standard Form.
ππ¦
ππ₯+cos (π₯)
sin (π₯)π¦ =
1
cos2 π₯ sin π₯
The integrating factor is
π cos (π₯)sin (π₯)
ππ₯= πln |sin (π₯)| = sin (π₯)
Multiplying the standard form with sin (π₯), we get:
sin (π₯)ππ¦
ππ₯+ cos (π₯)π¦ =
1
cos2 π₯
β΄π
ππ₯π¦. sin π₯ =
1
cos2(π₯)
β΄ π¦. sin π₯ = sec2 π₯ ππ₯ = tan π₯ + π
β΄ π¦ π₯ =1
cos (π₯)+
π
sin (π₯)
Alternatively we can write:
β΄ π¦ π₯ = sec π₯ + π. csc (π₯)
which is the desired solution.
3. Solve: π¦ππ₯
ππ¦β π₯ = 2π¦2 ; π¦ 1 = 5
SOLUTION: This sum covers 2 important new ideas. Firstly, as can be seen from the given ODE, π₯ is the dependent variable and not π¦. Secondly, an Initial Value of π¦ = 5 when π₯ = 1 is given to find a specific value of the arbitrary parameter π. Keeping in mind that x is dependent and so we will integrate with respect to y, we convert to Standard Form as:
ππ₯
ππ¦β1
π¦π₯ = 2π¦
The integrating factor is
π β1π¦ππ¦= πβln |π¦| =
1
π¦
Multiplying the standard form with 1
π¦, we get:
1
π¦
ππ₯
ππ¦β1
π¦2π₯ = 2
β΄π
ππ¦
1
π¦. π₯ = 2
Integrating with respect to π¦; 1
π¦. π₯ = 2π¦ + π
β΄ π₯ = 2π¦2 + ππ¦
This equation is the solution of the ODE that we started off with. However we are not done yet. We will now use the given Initial Value to solve for a particular value of π for this problem.
Substituting π¦ = 5 and π₯ = 1 into the solution π₯ = 2π¦2 + ππ¦, we get: 1 = 2. 52 + π. 5 β΄ 1 β 50 = 5π
β΄ π = β49
5
Substituting this value for π back into the solution equation, we get our complete final solution:
π₯ = 2π¦2 β49
5π¦
4. Solve ππ
ππ‘= π(π β ππ) ; π 0 = π0 where π, ππ and π0 are
constants.
SOLUTION: Rewriting in standard form: ππ
ππ‘β ππ = βπππ
Integrating Factor: π βπππ‘ = πβππ‘.
Multiplying with the Integrating Factor,
πβππ‘ππ
ππ‘β ππβππ‘π = βππβππ‘ππ
β΄π
ππ‘π. πβππ‘ = βππβππ‘ππ
β΄ π. πβππ‘ = πππβππ‘ + π
β΄ π = ππ + ππππ‘
Putting in the given initial conditions, β΄ π0 = ππ + ππ
0 β΄ π = (π0 β ππ)
Substituting back into the original solution equation, π = ππ + (π0 β ππ)π
ππ‘
which is our answer.
5. Solve π¦β² + (tan π₯)π¦ = cos2π₯
SOLUTION: Integrating Factor is
π (tan π₯)ππ₯ = sec π₯
Multiplying, we get (sec π₯)π¦β² + (sec π₯ tan π₯)π¦ = cos π₯
β΄π
ππ₯[π¦. sec π₯] = cos π₯
Integrating, we get β΄ π¦. sec π₯ = sin π₯ + π
β΄ π¦ = sin π₯ cos π₯ + π. cos π₯