SlideShare una empresa de Scribd logo
1 de 29
Descargar para leer sin conexión
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

Más contenido relacionado

La actualidad más candente

Persamaan Differensial Biasa 2014
Persamaan Differensial Biasa 2014 Persamaan Differensial Biasa 2014
Persamaan Differensial Biasa 2014 Rani Sulvianuri
 
Differential equations
Differential equationsDifferential equations
Differential equationsCharan Kumar
 
Automobile 3rd sem aem ppt.2016
Automobile 3rd sem aem ppt.2016Automobile 3rd sem aem ppt.2016
Automobile 3rd sem aem ppt.2016kalpeshvaghdodiya
 
Sturm liouville problems6
Sturm liouville problems6Sturm liouville problems6
Sturm liouville problems6Nagu Vanamala
 
Differential equation.ypm
Differential equation.ypmDifferential equation.ypm
Differential equation.ypmyogirajpm
 
Emat 213 midterm 1 fall 2005
Emat 213 midterm 1 fall 2005Emat 213 midterm 1 fall 2005
Emat 213 midterm 1 fall 2005akabaka12
 
Engr 213 midterm 2a sol 2009
Engr 213 midterm 2a sol 2009Engr 213 midterm 2a sol 2009
Engr 213 midterm 2a sol 2009akabaka12
 
Introduction to Differential Equations
Introduction to Differential EquationsIntroduction to Differential Equations
Introduction to Differential EquationsVishvaraj Chauhan
 
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 applicationsJayanshu Gundaniya
 
Differential equation
Differential equation Differential equation
Differential equation azyanmdzahri
 
Engr 213 final sol 2009
Engr 213 final sol 2009Engr 213 final sol 2009
Engr 213 final sol 2009akabaka12
 
Top Schools in delhi NCR
Top Schools in delhi NCRTop Schools in delhi NCR
Top Schools in delhi NCREdhole.com
 

La actualidad más candente (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
 

Destacado

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 usersProject KRIT
 
Applied numerical methods lec10
Applied numerical methods lec10Applied numerical methods lec10
Applied numerical methods lec10Yasser Ahmed
 
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 analysisShaikh 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
 
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 LifeTaqwa It Center
 
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 transferArun Sarasan
 
application of numerical method
application of numerical methodapplication of numerical method
application of numerical methodShaikat Saha
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methodsTarun Gehlot
 

Destacado (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
 

Similar a Engineering Mathematics II: 2nd Order ODEs

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 2009akabaka12
 
first order ode with its application
 first order ode with its application first order ode with its application
first order ode with its applicationKrishna Peshivadiya
 
Higher Differential Equation
Higher Differential Equation Higher Differential Equation
Higher Differential Equation Abdul Hannan
 
separation_of_var_examples.pdf
separation_of_var_examples.pdfseparation_of_var_examples.pdf
separation_of_var_examples.pdfAlelignAsfaw
 
linearequns-classx-180912070018.pdf
linearequns-classx-180912070018.pdflinearequns-classx-180912070018.pdf
linearequns-classx-180912070018.pdfMayankYadav777500
 
CLASS X MATHS LINEAR EQUATIONS
CLASS X MATHS LINEAR EQUATIONSCLASS X MATHS LINEAR EQUATIONS
CLASS X MATHS LINEAR EQUATIONSRc Os
 
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 equationMahaswari 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
 
34032 green func
34032 green func34032 green func
34032 green funcansarixxx
 
Maths assignment
Maths assignmentMaths assignment
Maths assignmentNtshima
 
Higher order ODE with applications
Higher order ODE with applicationsHigher order ODE with applications
Higher order ODE with applicationsPratik Gadhiya
 
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 2010akabaka12
 

Similar a Engineering Mathematics II: 2nd Order ODEs (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
 

Más de Hazrul156

C hapter 2 diode applications
C hapter 2 diode applicationsC hapter 2 diode applications
C hapter 2 diode applicationsHazrul156
 
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
 

Más 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

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 

Último (20)

Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 

Engineering Mathematics II: 2nd Order ODEs

  • 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