Você está na página 1de 25

LINEAR FIRST ORDER Ordinary Differential Equations

Topics Covered
General and Standard Forms of linear first-order ordinary differential equations. Theory of solving these ODEs. Direct Method of solving linear first-order ODEs. 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 with simple algebra. Integrating both sides, ln =

+ = 0 can be re-written as

= + 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 = sin + 3 3 Integrating both sides with respect to x, we get 1 ln = 3 sin +
cos 3 = + 1 3

= = Where is any arbitrarily chosen parameter. Alternatively, this answer for can be obtained from the formula on the previous slide.

cos 3

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 and therefore
1

+ 1 = 0, we get =

() 1 ()

= 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 , 4 y. = 4 = + 4


3 = + 4 Which is the desired solution for the differential equation. Here, is any arbitrary real number.

2. Solve: cos 2 sin

+ cos 3 = 1

SOLUTION: We first change it from the General Form to the Standard Form. cos() 1 + = sin() cos 2 sin The integrating factor is = ln |sin()| = sin() Multiplying the standard form with sin(), we get: 1 sin() + cos() = cos 2
cos() sin()

. sin . sin =

1 = cos 2 ()

sec 2 = 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 1 = ln || = 1 Multiplying the standard form with , 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: 49 2 = 2 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 ) = cos 2 SOLUTION: Integrating Factor is (tan ) = sec Multiplying, we get (sec ) + (sec tan ) = cos [. sec ] = cos Integrating, we get . sec = sin + = sin cos + . cos

References
A First Course in Differential Equations with Modeling Applications David G.Zill Rohit Agarwal Math Tutor at Academic Resource
Center

Illinois Institute of Technology


Made Spring 2012

Você também pode gostar