SlideShare uma empresa Scribd logo
1 de 29
Baixar para ler offline
KNF1023
                                   Engineering
                                Mathematics II

                                   Second Order ODEs
               Prepared By
              Annie ak Joseph




Prepared By
Annie ak Joseph                          Session 2008/2009
Learning Objectives




      Explain about 2nd Order Linear ODEs



         Discuss about General Solutions of
         Homogeneous ODEs



        Explain about Homogeneous ODEs with
       constants coefficients
Second Order Linear ODEs

 A second-order ODEs is called linear if it
 can be written as
       ,,          '
      y + p ( x) y + q ( x) y = r ( x) − − − (1)

 and nonlinear if it cannot be written in this
 form.

 Here p(x), q(x) and r(x) are given
 functions of x.
Second Order Linear ODEs

                ,,         '
               y + p ( x) y + q ( x) y = 0
     called homogeneous. If r ( x ) ≠ 0 , then equation
     (1) is called non-homogeneous.

   Below are some examples of 2nd order linear
   ODEs
    2
1. d y − 4 dy + 5 y = 8 x
   dx 2    dx
      ,,             ,                    2
2.   y (x) + 2xy (x) + (x + 1) y(x) = x
3. d2y
      2
        + 9y = 0
   dx
General Solutions Of Homogeneous
ODEs

 Consider the 2nd order linear homogeneous ODE
 given by
           ,,          ,
          y + f ( x) y + g ( x) y = 0
 We have the following lemmas and
 theorem concerning the solutions of the
 ODE.
Lemma #1, #2 and Theorem 2

Lemma #1
  If y1 (x ) and y 2 ( x ) are solutions of the above
  ODE (over a certain interval), then y(x) = Ay1 (x) + By2 (x)
  where A and B are any arbitrary constants, is
  also a solution of the ODE (over the interval).

Lemma# 2
  If y 1 ( x ) and y 2 ( x ) are solutions of the above 2nd
  order linear homogeneous ODE, then
                '
              2 1
                       '
                     1 2           (
             y y − y y = D exp − ∫ f ( x ) dx   )
  where D is a constant
Theorem 2

 If y1 (x ) and y 2 ( x ) are solutions of the above
 2nd order linear homogeneous ODE (over a
 certain interval) and if y1 (x ) and y 2 ( x ) are linearly
 independent of each other (over the interval),
 then the general solution of the ODE is given by

               y( x ) = Ay1 ( x ) + By 2 ( x )
  where A and B are arbitrary constants.
Homogeneous ODEs With Constant
Coefficients

 A 2nd order linear homogeneous ODE with
 constant coefficients is one which can be written
 in the form

       ay ( x ) + by ( x ) + cy ( x ) = 0
          ''           '


 Here a ≠ 0, b and c are given constants.


 According to Theorem #2, to construct the
 general solution of the ODE, we have to
 find any two linearly independent solutions
 of the ODE.
Homogeneous ODEs With Constant
Coefficients

 To look for a solution of the ODE, let us try
                       y ( x ) = eλ x

 Where   λ is a constant

 Differentiating, we obtain

                 y '( x) = λ eλ x
                 y "( x) = λ ⋅ λ eλ x = λ 2 eλ x
Homogeneous ODEs With Constant
Coefficients

 Substituting into the ODE, we obtain

             aλ 2 eλ x + bλ eλ x + ceλ x = 0
                aλ 2 + bλ + c  = 0
              λx
             e                
  which will be true for all x if
                   2
              aλ + bλ + c = 0
 We can therefore determine the constant form
 this quadratic equations. We consider the
 following cases.
Case (a):       2
              b − 4ac > 0
Now if b 2 − 4ac > 0 then the quadratic equation
has two distinct real solutions given by

                         −b + b 2 − 4ac
                λ = λ1 =
                              2a
                         −b − b 2 − 4ac
                λ = λ2 =
                              2a
Thus, we obtain two solutions for the ODE is

                λ1 x                         λ2x
        y1 = e , and                y2 = e
Continue…

     y1 eλ1 x
       = λ 2 x = e[ 1 2 ] ≠ cons tan t ,since λ1 ≠ λ2 .
                   λ −λ x
 Now
     y2 e
 Hence, the two solutions are linearly
 independent. For this case where b 2 − 4 ac > 0
 from Theorem #2, the general solution of the
 ODE ay "+ by '+ cy = 0 (a≠0, b, and c are constants)
 is given by
                          λ1 x          λ2 x
                 y = Ae          + Be
 where A and B are arbitrary constants and λ1 and λ2
 are the solutions of the quadratic equation
                      2
                 aλ + bλ + c = 0
Example 1

Solve the ODE y"+ y '−6 y = 0 subject to y (0) = 1
and y ' (0) = 7
*This is 2nd order linear homogeneous ODE with
constant coefficient. So, we use
            λx                 λx                    2 λx
      y=e         , y ' = λe         and        y" = λ e
Substituting into the ODE, we obtain
                 λ 2 e λ x + λ e λ x − 6e λ x = 0
                 ⇒e  λ 2 + λ − 6  = 0
                      λx
                                   
                 ⇒ λ2 + λ − 6 = 0
                 ⇒ ( λ + 3)( λ − 2 ) = 0
                 ⇒ λ = −3 λ = 2
Continue…

The two linearly independent solutions are
                       −3 x                          2x
              y1 = e          and           y2 = e
The general solution is
                              −3 x            2x
                  y = Ae             + Be
where A and B are arbitrary constants.
We will now use y ( 0 ) = 1 and y ' ( 0 ) = 7 to work
out A and B. Differentiating the general solution,
we have
                                     −3 x             2x
                 y ' = −3 Ae                + 2 Be
Continue…

So,   y (0) = 1; A + B = 1
      y ' (0) = 7; − 3 A + 2 B = 7

Solving for A and B, we obtain A = −1 and B = 2
Thus, the required particular solution of the ODE
is
                             −3 x           2x
                   y = −e            + 2e
2
Case b:     b − 4ac = 0
  In this case, the quadratic equation
   aλ 2 + bλ + c = 0 has only one real solution given
            b
  by  λ =−
            2a
               . Hence, in trying y = eλ x we have
  succeeded in finding only one solution for the
                − bx /(2 a )
  ODE y = e

  To construct the general solution of the ODE, we
  need another solution, which is linearly
  independent to the one we have already found.
  To look for another solution, let us try the
                               λx
  substitution y = u ( x ) ⋅ e
Continue…

     where u ( x ) is a function to be determined.

     Differentiating, we obtain

                                λx                λx
            y ' = λu ( x) ⋅ e + u '( x) ⋅ e
            y '' = λ 2u ( x) ⋅ eλ x + 2λu '( x) ⋅ eλ x + u "( x)eλ x
     Substituting into the ODE, we have

 (                                       ) (                           )
a λ2u(x) ⋅ eλx + 2λu '(x) ⋅ eλx + u"(x)eλx + b λu(x) ⋅ eλx + u '(x) ⋅ eλx + cu(x)eλx = 0
Continue…

                                         b
Since aλ 2 + bλ + c = 0 and λ = −           , the equation
                                         2a
                                    λx
above reduces to        au "( x)e        =0
                        λx
Since   a≠0   and   e        ≠0   , we find that

                         u "( x ) = 0
A solution for this simple ODE is u ( x ) = x (We
do not have to look for the general solution of this
simple ODE, we are just interested in finding two
linearly independent solutions of the ODE
ay "( x ) + by '( x ) + cy ( x ) = 0 )
Continue…

To summarise, for this case where b 2 − 4ac = 0
, two particular solutions of the ODEay "(x) + by '(x) + cy(x) = 0
   (a≠0, b and c are constants) are given by

                    − bx                          − bx
           y1 = e   2a
                                   y2 = x ⋅ e     2a


           y1 1
Now, since y2 = x ≠ (co ns tan t ) , the two solutions above
are linearly independent and hence from Theorem
#2, the general solution of the ODE is
                            − bx           − bx
                   y = Ae   2a
                                   + Bxe   2a
Example 2:

Solve the ODE y"+6 y '+9 y                = 0subject to
y ( 0) = y ' ( 0 ) = 1

This is a 2nd order linear homogeneous ODE with
constant coefficients. So let us try

         y = e λx        , y ' = λ e λx     and     y" = λ2 e λx

Substituting into the ODE, we obtain
                             λ 2 + 6λ + 9 = 0
                             (λ + 3) 2 = 0
                             λ = −3
Continue…

Since λ = −3 is the only possible solution of the
quadratic equation, the general solution of
the ODE is given by
                            −3 x           −3 x
                   y = Ae          + Bxe
Differentiating the general solution, we obtain
              '           −3 x              −3 x          −3 x
            y = −3 Ae              − 3Bxe          + Be
Using the given conditions, we have
            y (0) = 1;   A =1
            y ' (0) = 1; − 3 + B = 1 or            B=4
Continue…

Hence, the required particular solution is

                        −3 x            −3 x
                  y=e          + 4 xe
Case C:   b 2 − 4ac < 0

In this case, the quadratic equation
aλ 2 + bλ + c = 0 does not have any real solutions. It
has two distinct complex solutions given by

                         b          b 2 − 4ac
               λ = λ1 = − + i
                         2a           2a

                            b       b 2 − 4ac
               λ = λ2 = −      −i
                            2a        2a
Where i = −1
If we simply ignore the fact that λ1 and λ2
are complex and proceed as in case (a) above, the
                                              λx     λ x
general solution of the ODE is given by y = Ae 1 + Be 2
Continue…

Theory which will be useful to us in dealing
      λx
with e when λ is complex.

1. If z and w are any numbers (either real or
   complex) then e z + w = e z ⋅ e w

2. If x is any real number then

                  ± ix
              e          = cos( x) ± i sin( x)
Example 3


Solve the ODE y ' '−4 y '+13 y = 0 subject to
 y (0) = 1 and y ' (0) = 2 . What is the value of y at
     π
 x=      ?
    2

This is 2nd order linear homogeneous ODE with
constant coefficients. Let us try

        y = e λx   , y ' = λ e λx     and       y" = λ 2 e λx
Substituting into the ODE, we obtain

                   λ2 − 4λ + 13 = 0
                   λ = 2 + 3i λ = 2 − 3i
Continue…

Thus, the general solution is given by

                              y = Ae ( 2+3i ) x + Be ( 2−3i ) x
Before we proceed any further, it is useful to
Rewrite the general solution as

           (2 + 3i ) x          (2 −3i ) x
y = Ae                   + Be
      2x           i (3 x )          − i (3 x )
y = e ( Ae                    + Be                )
y = e 2 x ( A [ cos(3 x) + i sin(3 x) ] + B [ cos(3 x) − i sin(3 x) ])
y = e 2 x ([ A + B ] cos(3 x) + i [ A − B ] sin(3 x) )
Continue…

Thus, we can rewrite the general solution as
                y = e 2 x [C cos(3 x) + D sin(3 x) ]
where C=A+B and D=i[A-B] are arbitrary
constants.
Differentiating, we have

y ' = e 2 x [− 3C sin(3x) + 3D cos(3x)] + 2e 2 x [C cos(3x) + D sin(3x)]
Using the given conditions, we find that

             y (0) = 1; C = 1
             y ' (0) = 2; 3D + 2C = 2 or               D=0
Continue…

Thus, the required particular solution is
                             2x
                   y = e cos(3 x)
The value of y at x =
                        π
                            is    ( 2) = e
                                  yπ         π
                                                    ( 2) = 0
                                                 cos 3π
                        2
Prepared By
              Annie ak Joseph




Prepared By
Annie ak Joseph                 Session 2007/2008

Mais conteúdo relacionado

Mais procurados (20)

Persamaan Differensial Biasa 2014
Persamaan Differensial Biasa 2014 Persamaan Differensial Biasa 2014
Persamaan Differensial Biasa 2014
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
Higher order differential equations
Higher order differential equationsHigher order differential equations
Higher order differential equations
 
Automobile 3rd sem aem ppt.2016
Automobile 3rd sem aem ppt.2016Automobile 3rd sem aem ppt.2016
Automobile 3rd sem aem ppt.2016
 
Ch04 2
Ch04 2Ch04 2
Ch04 2
 
Sturm liouville problems6
Sturm liouville problems6Sturm liouville problems6
Sturm liouville problems6
 
Differential equation.ypm
Differential equation.ypmDifferential equation.ypm
Differential equation.ypm
 
19 6
19 619 6
19 6
 
Emat 213 midterm 1 fall 2005
Emat 213 midterm 1 fall 2005Emat 213 midterm 1 fall 2005
Emat 213 midterm 1 fall 2005
 
19 1
19 119 1
19 1
 
Engr 213 midterm 2a sol 2009
Engr 213 midterm 2a sol 2009Engr 213 midterm 2a sol 2009
Engr 213 midterm 2a sol 2009
 
Ch05 2
Ch05 2Ch05 2
Ch05 2
 
Nts
NtsNts
Nts
 
Ch03 1
Ch03 1Ch03 1
Ch03 1
 
Introduction to Differential Equations
Introduction to Differential EquationsIntroduction to Differential Equations
Introduction to Differential Equations
 
First order non-linear partial differential equation & its applications
First order non-linear partial differential equation & its applicationsFirst order non-linear partial differential equation & its applications
First order non-linear partial differential equation & its applications
 
Differential equation
Differential equation Differential equation
Differential equation
 
Engr 213 final sol 2009
Engr 213 final sol 2009Engr 213 final sol 2009
Engr 213 final sol 2009
 
Chapter 1 (maths 3)
Chapter 1 (maths 3)Chapter 1 (maths 3)
Chapter 1 (maths 3)
 
Top Schools in delhi NCR
Top Schools in delhi NCRTop Schools in delhi NCR
Top Schools in delhi NCR
 

Destaque

S6 l04 analytical and numerical methods of structural analysis
S6 l04 analytical and numerical methods of structural analysisS6 l04 analytical and numerical methods of structural analysis
S6 l04 analytical and numerical methods of structural analysis
Shaikh Mohsin
 
Computational Fluid Dynamics Simulations for Risk Analysis of Fires in Road T...
Computational Fluid Dynamics Simulations for Risk Analysis of Fires in Road T...Computational Fluid Dynamics Simulations for Risk Analysis of Fires in Road T...
Computational Fluid Dynamics Simulations for Risk Analysis of Fires in Road T...
Franco Bontempi
 

Destaque (10)

Nsm ppt.ppt
Nsm ppt.pptNsm ppt.ppt
Nsm ppt.ppt
 
M.G.Goman and A.V.Khramtsovsky (1993) - Textbook for KRIT Toolbox users
M.G.Goman and A.V.Khramtsovsky (1993) - Textbook for KRIT Toolbox usersM.G.Goman and A.V.Khramtsovsky (1993) - Textbook for KRIT Toolbox users
M.G.Goman and A.V.Khramtsovsky (1993) - Textbook for KRIT Toolbox users
 
Applied numerical methods lec10
Applied numerical methods lec10Applied numerical methods lec10
Applied numerical methods lec10
 
S6 l04 analytical and numerical methods of structural analysis
S6 l04 analytical and numerical methods of structural analysisS6 l04 analytical and numerical methods of structural analysis
S6 l04 analytical and numerical methods of structural analysis
 
Computational Fluid Dynamics Simulations for Risk Analysis of Fires in Road T...
Computational Fluid Dynamics Simulations for Risk Analysis of Fires in Road T...Computational Fluid Dynamics Simulations for Risk Analysis of Fires in Road T...
Computational Fluid Dynamics Simulations for Risk Analysis of Fires in Road T...
 
Application of Numerical method in Real Life
Application of Numerical method in Real LifeApplication of Numerical method in Real Life
Application of Numerical method in Real Life
 
Numerical methods for 2 d heat transfer
Numerical methods for 2 d heat transferNumerical methods for 2 d heat transfer
Numerical methods for 2 d heat transfer
 
application of numerical method
application of numerical methodapplication of numerical method
application of numerical method
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methods
 
APPLICATION OF NUMERICAL METHODS IN SMALL SIZE
APPLICATION OF NUMERICAL METHODS IN SMALL SIZEAPPLICATION OF NUMERICAL METHODS IN SMALL SIZE
APPLICATION OF NUMERICAL METHODS IN SMALL SIZE
 

Semelhante a Week 6 [compatibility mode]

Week 8 [compatibility mode]
Week 8 [compatibility mode]Week 8 [compatibility mode]
Week 8 [compatibility mode]
Hazrul156
 
Engr 213 midterm 2b sol 2009
Engr 213 midterm 2b sol 2009Engr 213 midterm 2b sol 2009
Engr 213 midterm 2b sol 2009
akabaka12
 
formulation of first order linear and nonlinear 2nd order differential equation
formulation of first order linear and nonlinear 2nd order differential equationformulation of first order linear and nonlinear 2nd order differential equation
formulation of first order linear and nonlinear 2nd order differential equation
Mahaswari Jogia
 
Second order homogeneous linear differential equations
Second order homogeneous linear differential equations Second order homogeneous linear differential equations
Second order homogeneous linear differential equations
Viraj Patel
 
Maths assignment
Maths assignmentMaths assignment
Maths assignment
Ntshima
 
Engr 213 sample midterm 2b sol 2010
Engr 213 sample midterm 2b sol 2010Engr 213 sample midterm 2b sol 2010
Engr 213 sample midterm 2b sol 2010
akabaka12
 

Semelhante a Week 6 [compatibility mode] (20)

19 3
19 319 3
19 3
 
Week 8 [compatibility mode]
Week 8 [compatibility mode]Week 8 [compatibility mode]
Week 8 [compatibility mode]
 
Engr 213 midterm 2b sol 2009
Engr 213 midterm 2b sol 2009Engr 213 midterm 2b sol 2009
Engr 213 midterm 2b sol 2009
 
first order ode with its application
 first order ode with its application first order ode with its application
first order ode with its application
 
Higher Differential Equation
Higher Differential Equation Higher Differential Equation
Higher Differential Equation
 
160280102031 c2 aem
160280102031 c2 aem160280102031 c2 aem
160280102031 c2 aem
 
cursul 3.pdf
cursul 3.pdfcursul 3.pdf
cursul 3.pdf
 
Thesis
ThesisThesis
Thesis
 
Ch05 4
Ch05 4Ch05 4
Ch05 4
 
separation_of_var_examples.pdf
separation_of_var_examples.pdfseparation_of_var_examples.pdf
separation_of_var_examples.pdf
 
linearequns-classx-180912070018.pdf
linearequns-classx-180912070018.pdflinearequns-classx-180912070018.pdf
linearequns-classx-180912070018.pdf
 
CLASS X MATHS LINEAR EQUATIONS
CLASS X MATHS LINEAR EQUATIONSCLASS X MATHS LINEAR EQUATIONS
CLASS X MATHS LINEAR EQUATIONS
 
Ankit vyas
Ankit vyasAnkit vyas
Ankit vyas
 
formulation of first order linear and nonlinear 2nd order differential equation
formulation of first order linear and nonlinear 2nd order differential equationformulation of first order linear and nonlinear 2nd order differential equation
formulation of first order linear and nonlinear 2nd order differential equation
 
Second order homogeneous linear differential equations
Second order homogeneous linear differential equations Second order homogeneous linear differential equations
Second order homogeneous linear differential equations
 
34032 green func
34032 green func34032 green func
34032 green func
 
Class 3.pdf
Class 3.pdfClass 3.pdf
Class 3.pdf
 
Maths assignment
Maths assignmentMaths assignment
Maths assignment
 
Higher order ODE with applications
Higher order ODE with applicationsHigher order ODE with applications
Higher order ODE with applications
 
Engr 213 sample midterm 2b sol 2010
Engr 213 sample midterm 2b sol 2010Engr 213 sample midterm 2b sol 2010
Engr 213 sample midterm 2b sol 2010
 

Mais de Hazrul156

C hapter 2 diode applications
C hapter 2 diode applicationsC hapter 2 diode applications
C hapter 2 diode applications
Hazrul156
 
Week 5 [compatibility mode]
Week 5 [compatibility mode]Week 5 [compatibility mode]
Week 5 [compatibility mode]
Hazrul156
 
Week 4 [compatibility mode]
Week 4 [compatibility mode]Week 4 [compatibility mode]
Week 4 [compatibility mode]
Hazrul156
 
Week 3 [compatibility mode]
Week 3 [compatibility mode]Week 3 [compatibility mode]
Week 3 [compatibility mode]
Hazrul156
 
Week 1 [compatibility mode]
Week 1 [compatibility mode]Week 1 [compatibility mode]
Week 1 [compatibility mode]
Hazrul156
 

Mais de Hazrul156 (6)

C hapter 2 diode applications
C hapter 2 diode applicationsC hapter 2 diode applications
C hapter 2 diode applications
 
Week 2
Week 2 Week 2
Week 2
 
Week 5 [compatibility mode]
Week 5 [compatibility mode]Week 5 [compatibility mode]
Week 5 [compatibility mode]
 
Week 4 [compatibility mode]
Week 4 [compatibility mode]Week 4 [compatibility mode]
Week 4 [compatibility mode]
 
Week 3 [compatibility mode]
Week 3 [compatibility mode]Week 3 [compatibility mode]
Week 3 [compatibility mode]
 
Week 1 [compatibility mode]
Week 1 [compatibility mode]Week 1 [compatibility mode]
Week 1 [compatibility mode]
 

Último

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 

Week 6 [compatibility mode]

  • 1. KNF1023 Engineering Mathematics II Second Order ODEs Prepared By Annie ak Joseph Prepared By Annie ak Joseph Session 2008/2009
  • 2. Learning Objectives Explain about 2nd Order Linear ODEs Discuss about General Solutions of Homogeneous ODEs Explain about Homogeneous ODEs with constants coefficients
  • 3. Second Order Linear ODEs A second-order ODEs is called linear if it can be written as ,, ' y + p ( x) y + q ( x) y = r ( x) − − − (1) and nonlinear if it cannot be written in this form. Here p(x), q(x) and r(x) are given functions of x.
  • 4. Second Order Linear ODEs ,, ' y + p ( x) y + q ( x) y = 0 called homogeneous. If r ( x ) ≠ 0 , then equation (1) is called non-homogeneous. Below are some examples of 2nd order linear ODEs 2 1. d y − 4 dy + 5 y = 8 x dx 2 dx ,, , 2 2. y (x) + 2xy (x) + (x + 1) y(x) = x 3. d2y 2 + 9y = 0 dx
  • 5. General Solutions Of Homogeneous ODEs Consider the 2nd order linear homogeneous ODE given by ,, , y + f ( x) y + g ( x) y = 0 We have the following lemmas and theorem concerning the solutions of the ODE.
  • 6. Lemma #1, #2 and Theorem 2 Lemma #1 If y1 (x ) and y 2 ( x ) are solutions of the above ODE (over a certain interval), then y(x) = Ay1 (x) + By2 (x) where A and B are any arbitrary constants, is also a solution of the ODE (over the interval). Lemma# 2 If y 1 ( x ) and y 2 ( x ) are solutions of the above 2nd order linear homogeneous ODE, then ' 2 1 ' 1 2 ( y y − y y = D exp − ∫ f ( x ) dx ) where D is a constant
  • 7. Theorem 2 If y1 (x ) and y 2 ( x ) are solutions of the above 2nd order linear homogeneous ODE (over a certain interval) and if y1 (x ) and y 2 ( x ) are linearly independent of each other (over the interval), then the general solution of the ODE is given by y( x ) = Ay1 ( x ) + By 2 ( x ) where A and B are arbitrary constants.
  • 8. Homogeneous ODEs With Constant Coefficients A 2nd order linear homogeneous ODE with constant coefficients is one which can be written in the form ay ( x ) + by ( x ) + cy ( x ) = 0 '' ' Here a ≠ 0, b and c are given constants. According to Theorem #2, to construct the general solution of the ODE, we have to find any two linearly independent solutions of the ODE.
  • 9. Homogeneous ODEs With Constant Coefficients To look for a solution of the ODE, let us try y ( x ) = eλ x Where λ is a constant Differentiating, we obtain y '( x) = λ eλ x y "( x) = λ ⋅ λ eλ x = λ 2 eλ x
  • 10. Homogeneous ODEs With Constant Coefficients Substituting into the ODE, we obtain aλ 2 eλ x + bλ eλ x + ceλ x = 0  aλ 2 + bλ + c  = 0 λx e   which will be true for all x if 2 aλ + bλ + c = 0 We can therefore determine the constant form this quadratic equations. We consider the following cases.
  • 11. Case (a): 2 b − 4ac > 0 Now if b 2 − 4ac > 0 then the quadratic equation has two distinct real solutions given by −b + b 2 − 4ac λ = λ1 = 2a −b − b 2 − 4ac λ = λ2 = 2a Thus, we obtain two solutions for the ODE is λ1 x λ2x y1 = e , and y2 = e
  • 12. Continue… y1 eλ1 x = λ 2 x = e[ 1 2 ] ≠ cons tan t ,since λ1 ≠ λ2 . λ −λ x Now y2 e Hence, the two solutions are linearly independent. For this case where b 2 − 4 ac > 0 from Theorem #2, the general solution of the ODE ay "+ by '+ cy = 0 (a≠0, b, and c are constants) is given by λ1 x λ2 x y = Ae + Be where A and B are arbitrary constants and λ1 and λ2 are the solutions of the quadratic equation 2 aλ + bλ + c = 0
  • 13. Example 1 Solve the ODE y"+ y '−6 y = 0 subject to y (0) = 1 and y ' (0) = 7 *This is 2nd order linear homogeneous ODE with constant coefficient. So, we use λx λx 2 λx y=e , y ' = λe and y" = λ e Substituting into the ODE, we obtain λ 2 e λ x + λ e λ x − 6e λ x = 0 ⇒e  λ 2 + λ − 6  = 0 λx  ⇒ λ2 + λ − 6 = 0 ⇒ ( λ + 3)( λ − 2 ) = 0 ⇒ λ = −3 λ = 2
  • 14. Continue… The two linearly independent solutions are −3 x 2x y1 = e and y2 = e The general solution is −3 x 2x y = Ae + Be where A and B are arbitrary constants. We will now use y ( 0 ) = 1 and y ' ( 0 ) = 7 to work out A and B. Differentiating the general solution, we have −3 x 2x y ' = −3 Ae + 2 Be
  • 15. Continue… So, y (0) = 1; A + B = 1 y ' (0) = 7; − 3 A + 2 B = 7 Solving for A and B, we obtain A = −1 and B = 2 Thus, the required particular solution of the ODE is −3 x 2x y = −e + 2e
  • 16. 2 Case b: b − 4ac = 0 In this case, the quadratic equation aλ 2 + bλ + c = 0 has only one real solution given b by λ =− 2a . Hence, in trying y = eλ x we have succeeded in finding only one solution for the − bx /(2 a ) ODE y = e To construct the general solution of the ODE, we need another solution, which is linearly independent to the one we have already found. To look for another solution, let us try the λx substitution y = u ( x ) ⋅ e
  • 17. Continue… where u ( x ) is a function to be determined. Differentiating, we obtain λx λx y ' = λu ( x) ⋅ e + u '( x) ⋅ e y '' = λ 2u ( x) ⋅ eλ x + 2λu '( x) ⋅ eλ x + u "( x)eλ x Substituting into the ODE, we have ( ) ( ) a λ2u(x) ⋅ eλx + 2λu '(x) ⋅ eλx + u"(x)eλx + b λu(x) ⋅ eλx + u '(x) ⋅ eλx + cu(x)eλx = 0
  • 18. Continue… b Since aλ 2 + bλ + c = 0 and λ = − , the equation 2a λx above reduces to au "( x)e =0 λx Since a≠0 and e ≠0 , we find that u "( x ) = 0 A solution for this simple ODE is u ( x ) = x (We do not have to look for the general solution of this simple ODE, we are just interested in finding two linearly independent solutions of the ODE ay "( x ) + by '( x ) + cy ( x ) = 0 )
  • 19. Continue… To summarise, for this case where b 2 − 4ac = 0 , two particular solutions of the ODEay "(x) + by '(x) + cy(x) = 0 (a≠0, b and c are constants) are given by − bx − bx y1 = e 2a y2 = x ⋅ e 2a y1 1 Now, since y2 = x ≠ (co ns tan t ) , the two solutions above are linearly independent and hence from Theorem #2, the general solution of the ODE is − bx − bx y = Ae 2a + Bxe 2a
  • 20. Example 2: Solve the ODE y"+6 y '+9 y = 0subject to y ( 0) = y ' ( 0 ) = 1 This is a 2nd order linear homogeneous ODE with constant coefficients. So let us try y = e λx , y ' = λ e λx and y" = λ2 e λx Substituting into the ODE, we obtain λ 2 + 6λ + 9 = 0 (λ + 3) 2 = 0 λ = −3
  • 21. Continue… Since λ = −3 is the only possible solution of the quadratic equation, the general solution of the ODE is given by −3 x −3 x y = Ae + Bxe Differentiating the general solution, we obtain ' −3 x −3 x −3 x y = −3 Ae − 3Bxe + Be Using the given conditions, we have y (0) = 1; A =1 y ' (0) = 1; − 3 + B = 1 or B=4
  • 22. Continue… Hence, the required particular solution is −3 x −3 x y=e + 4 xe
  • 23. Case C: b 2 − 4ac < 0 In this case, the quadratic equation aλ 2 + bλ + c = 0 does not have any real solutions. It has two distinct complex solutions given by b b 2 − 4ac λ = λ1 = − + i 2a 2a b b 2 − 4ac λ = λ2 = − −i 2a 2a Where i = −1 If we simply ignore the fact that λ1 and λ2 are complex and proceed as in case (a) above, the λx λ x general solution of the ODE is given by y = Ae 1 + Be 2
  • 24. Continue… Theory which will be useful to us in dealing λx with e when λ is complex. 1. If z and w are any numbers (either real or complex) then e z + w = e z ⋅ e w 2. If x is any real number then ± ix e = cos( x) ± i sin( x)
  • 25. Example 3 Solve the ODE y ' '−4 y '+13 y = 0 subject to y (0) = 1 and y ' (0) = 2 . What is the value of y at π x= ? 2 This is 2nd order linear homogeneous ODE with constant coefficients. Let us try y = e λx , y ' = λ e λx and y" = λ 2 e λx Substituting into the ODE, we obtain λ2 − 4λ + 13 = 0 λ = 2 + 3i λ = 2 − 3i
  • 26. Continue… Thus, the general solution is given by y = Ae ( 2+3i ) x + Be ( 2−3i ) x Before we proceed any further, it is useful to Rewrite the general solution as (2 + 3i ) x (2 −3i ) x y = Ae + Be 2x i (3 x ) − i (3 x ) y = e ( Ae + Be ) y = e 2 x ( A [ cos(3 x) + i sin(3 x) ] + B [ cos(3 x) − i sin(3 x) ]) y = e 2 x ([ A + B ] cos(3 x) + i [ A − B ] sin(3 x) )
  • 27. Continue… Thus, we can rewrite the general solution as y = e 2 x [C cos(3 x) + D sin(3 x) ] where C=A+B and D=i[A-B] are arbitrary constants. Differentiating, we have y ' = e 2 x [− 3C sin(3x) + 3D cos(3x)] + 2e 2 x [C cos(3x) + D sin(3x)] Using the given conditions, we find that y (0) = 1; C = 1 y ' (0) = 2; 3D + 2C = 2 or D=0
  • 28. Continue… Thus, the required particular solution is 2x y = e cos(3 x) The value of y at x = π is ( 2) = e yπ π ( 2) = 0 cos 3π 2
  • 29. Prepared By Annie ak Joseph Prepared By Annie ak Joseph Session 2007/2008