SlideShare a Scribd company logo
KNF1023
                                   Engineering
                                Mathematics II

                                   Second Order ODEs
               Prepared By
              Annie ak Joseph




Prepared By
Annie ak Joseph                           Session 2007/2008
Learning Objectives




      Explain about Euler-Cauchy ODEs



          Discuss about Second order
         inhomogeneous ODEs



        Explain about Particular Solution by
        Guesswork
Euler-Cauchy ODEs

 An Euler-Cauchy ODE is one of the form

         ax 2 y "( x) + bxy '( x) + cy ( x) = 0
 Where a ≠ 0, b and c are given constants.

 To look for linearly independent solutions of this
 ODE, try y = x λ

where λ is a constant yet to be determined.

  Differentiating, we have
        y ' = λ x λ −1   and      y " = λ ( λ − 1) x λ − 2
Euler-Cauchy ODEs

Substituting into the ODE gives

      ax ⋅ λ ( λ − 1) x
        2                 λ −2
                                 + bx ⋅ λ x   λ −1      λ
                                                     + cx = 0
      ⇒x    λ
                ( aλ ( λ − 1) + bλ + c ) = 0
      ⇒ aλ ( λ − 1) + bλ + c = 0
      ⇒ aλ 2 + ( b − a ) λ + c = 0
Hence, the value of the constant λ can be
determined from the quadratic equation above. We
consider the following cases.
2
Case (a): [b − a ] − 4ac > 0

In this case, we can find two distinct real values for
as given by
                                                2
                          − [b − a ] +   [b − a ]   − 4ac
               λ = λ1 =
                                         2a
                                                2
                          − [b − a ] −   [b − a ] − 4ac
               λ = λ2 =
                                         2a

Thus, we have two solutions for the Euler-Cauchy
ODE, namely
                                λ1
                 y1 = x              ,        y 2 = x λ2
Continue…

These solutions are linearly independent, since

        y1 x λ1
          = λ2 = x λ1 −λ2 ≠ (cons tan t ) (as λ1 ≠ λ2 )
        y2 x

For this particular case where λ1 ≠ λ 2 and λ1 a nd λ 2
are real, the general solution of the Euler-Cauchy
                          λ      λ
ODE is given by y = A x 1 + B x 2

where A and B are arbitrary constants.
Example 1

Solve the ODE         x 2 y"+4 xy'+2 y = 0 subject to
y (1) = y ' (1) = 1
This is an Euler-Cauchy ODE. So try
   y=x     λ
                , y ' = λx   λ −1
                                    and     y" = λ (λ − 1)x   λ −2

Substituting into the ODE, we obtain
          x 2 (λ (λ − 1) x λ − 2 ) + 4 x(λ x λ −1 ) + 2 x λ = 0
                    x λ [λ (λ − 1) + 4λ + 2] = 0
                        λ (λ − 1) + 4λ + 2 = 0
                        λ2 + 3λ + 2 = 0
                        (λ + 1)(λ + 2) = 0
                        λ = −1, λ = −2
Continue…

                 y = Ax-1 + Bx-2
Where A and B are arbitrary constant.

Differentiating the general solution gives
                              −2            −3
                 y ' = − Ax        − 2 Bx
Putting the given conditions into the general
solution, we have

                y (1) = 1;    A+ B =1
                y ' (1) = 1; − A − 2 B = 1
Continue…

Solving for A and B, we obtain A=3 and B=-2.

The required particular solution is

                                 −1      −2
                      y = 3x − 2 x
2
Case (b): [b − a ] − 4ac = 0

In this case, the quadratic equation
aλ 2 + (b − a)λ + c = 0 has only one solution.

                             − [b − a ]
                  λ = λ1 =
                                2a
                       λ
Thus, in trying y = x we manage to find only
one solution for the Euler-Cauchy ODE. We need
two linearly independent solutions to construct the
general solution of the ODE. To find another
solution, let us try
Continue…

 y ( x ) = x λ1 ⋅ u ( x )
 y '( x ) = λ1 x λ1 −1 ⋅ u ( x ) + x λ1 ⋅ u '( x )
 y "( x ) = λ1 ( λ1 − 1) x λ1 − 2 ⋅ u ( x ) + 2 λ1 x λ1 −1 ⋅ u '( x ) + x λ1 ⋅ u "( x )


 Here, u ( x) is a function yet to be determined.

 Substitution into the ODE, we obtain

 ax 2 λ1 ( λ1 − 1) x λ1 − 2 ⋅ u ( x) + 2λ1 x λ1 −1 ⋅ u '( x) + x λ1 ⋅ u "( x) 
                                                                              
 +bx λ1 x λ1 −1 ⋅ u ( x) + x λ1 ⋅ u '( x)  + cx λ1 ⋅ u ( x) = 0
                                          
Continue…

                                             [b − a ]
Since  aλ ( λ − 1) + bλ + c = 0 and λ1 = −              this further
                                               2a
reduces to
                      u '( x ) + xu "( x ) = 0
                                                        dv
To solve for u ( x) let v ( x ) = u '( x) so that v + x    =0
                                                        dx
This leads to
                         dv      dx
                        ∫v  = −∫
                                  x
                                                1
                        ⇒ ln(v) = − ln( x) = ln  
                                                x
                              1
                        ⇒v=
                              x
                          du 1
                        ⇒     =
                           dx x
                        ⇒ u = ln( x)
Continue…

The solution of the Euler-Cauchy ODE which
we are looking for is therefore given by       y = x λ1 ⋅ ln ( x )
                   λ           λ
The solutions y = x 1 and y = x 1 ⋅ ln( x ) are linearly
independent to each other.
                            λ1        λ1
                 y = Ax + Bx ln( x)
where A and B are arbitrary constants.
Example 2

Solve the ODE x 2 y "+ 3 xy '+ y = 0 subject to

y (1) = 1 and y (e) = 2

This is an Euler-CODE. So let us try

   y=x ,  λ
                   y ' = λx        λ −1
                                          ,   y " = λ ( λ − 1) x   λ −2


Substitution into the ODE gives
                 x λ [λ (λ − 1) + 3λ + 1] = 0
                    λ ( λ − 1) + 3λ + 1 = 0
                    λ 2 + 2λ + 1 = 0
                              2
                   ( λ + 1)       =0
                    λ = −1 is the only solution
Continue…

Thus, general solution of the ODE is

                       y = Ax −1 + Bx −1 ln( x)
Where A and B are arbitrary constants.
Using the given conditions, we have

          y (1) = 1;     A =1
                     1 B ln(e)
          y (e) = 2;   +       = 2; B = 2e − 1
                     e    e
The required particular solution is therefore

               y = x −1 + ( 2e − 1) x −1 ln( x)
2
Case C:   [b − a ]   − 4ac < 0


In this case, the quadratic equation
aλ 2 + (b − a )λ + c = 0 has two complex solutions given
by.
                                                   2
                           [b − a ] +   i   [b − a ]       − 4ac
               λ = λ1   =−
                              2a                 2a
                                                       2
                           [b − a ] −   i   [b − a ]       − 4ac
               λ = λ2   =−
                              2a                 2a

If we proceed on, without bothering about the facts
that λ 1 and λ 2 are complex, we can construct the
general solution of the Euler-Cauchy ODE as
                         λ1          λ2
               y = Ax                        + Bx
Continue…

                                                     λ
Our only problem is to interpret what x
means when λ is complex and also to find a way to
calculate this complex power. Once again we can
resort to the theory of complex functions to resolve
this problem. We can use the following results

1 x z + w = x z ⋅ x w if z and w are any numbers (real or
    complex) and x is a real number

2 x iy = eiy ln( x ) if x > 0 and y are real numbers

        ± ix
3   e          = cos( x) ± i sin( x) if x   is any real numbers
Example 3

                    2
Solve the ODE x y "( x) + 3 xy '( x) + 2 y ( x) = 0
subject to y (1) = y '(1) = 1
           λ                   λ −1
     y=x ,          y ' = λx          ,     y " = λ ( λ − 1) x   λ −2


                x λ [λ (λ − 1) + 3λ + 2] = 0

                  λ ( λ − 1) + 3λ + 2 = 0
                  λ 2 + 2λ + 2 = 0
                  λ = −1 + i , − 1 − i
                             −1+ i               −1−i
                 y = Ax                   + Bx
Continue…



y = Ax −1+i + Bx −1−i
      Axi + Bx − i 
  =x  −1
                    
  = x −1  Aei ln( x ) + Be −i ln( x ) 
                                      
  = x −1  A ( cos ( ln( x) ) + i sin(ln( x) ) + B(cos(ln( x)) − i sin(ln( x)) 
               (                                                             )
                                                                              
  = x −1 [C cos(ln( x)) + D sin(ln( x))]
Continue…

    where C = A + B and D = i ( A − B ) are arbitrary
    constants.

    Differentiating, we have

y ' = x −1  −Cx −1 sin ( ln ( x ) ) + Dx −1 cos ( ln ( x ) )  − x −2 C cos ( ln ( x ) ) + D sin ( ln ( x ) ) 
                                                                                                             

    Using the given conditions, we have

                                     y (1) = 1; C = 1
                                     y '(1) = 1; D − C = 1; D = 2
Continue…

Thus, the required particular solution is

               y = x −1 cos ( ln ( x ) ) + 2sin ( ln ( x ) ) 
                                                             
THEORY FOR INHOMOGENEOUS ODEs


Consider the 2nd order linear inhomogeneous
ODE
                  y "+ f ( x) y '+ g ( x) y = r ( x)

Let y p = y p ( x) be any particular solution of
the inhomogeneous ODE. Then
              "               '
            y + f ( x) y + g ( x) y p = r ( x)
              p               p

To solve the inhomogeneous ODE, let us make the
substitution

                       y = y p ( x) + Y ( x)
Continue…

On substituting into the ODE, we obtain
 "
 p
                           y'p ( x) + Y '( x) + g( x)  yp ( x) + Y ( x) = r( x)
y ( x) + Y "( x) + f ( x)                                              
 y"p + f ( x) y'p + g( x) yp  + Y "+ f ( x)Y '+ g( x)Y = r( x)
                             
r( x) + Y "+ f ( x)Y '+ g( x)Y = r( x)
Y "+ f ( x)Y '+ g( x)Y = 0

Thus, we obtain a 2nd order linear
homogeneous ODE in Y = Y ( x)
Continue…

To summarise, assuming that we can find a
particular solution for the 2nd order linear
inhomogeneous ODE and also that we can solve the
homogeneous ODE in for its general solution of the
inhomogeneous ODE is given by


      y=         y p ( x)           +              Y ( x)
                                                   {
                 {
           a particular solution        general solution of the
           of in hom ogeneous ODE       corresponding hom ogeneous ODE
PARTICULAR SOLUTIONS BY
GUESSWORK: Example

Solve the ODE y "( x) + 3 y '+ 2 y = 2 exp(5 x) subject to
y (0) = y '(0) = 0


Firstly let us solve the corresponding homogeneous
ODE

                      Y "+ 3Y '+ 2Y = 0
This is a 2nd order linear ODE with constant
coefficients. Let us try


       Y = eλ x ,        Y ' = λ eλ x ,        Y " = λ 2 eλ x
Continue…

Then, substitution into the homogeneous ODE
Gives
                 λ 2 + 3λ + 2 = 0
                 ( λ + 1)( λ + 2 ) = 0
                 λ = −1, − 2
The general solution of the homogeneous ODE is


               Y = Ae− x + Be−2 x
Continue…

Now, to construct the general solution of the
inhomogeneous ODE y "( x) + 3 y '+ 2 y = 2exp(5x) we
need to find one particular solution of the ODE. We
will try to look for one by guesswork. The right
hand side of the ODE, namely the term 2 exp(5 x )
suggests that we try a particular solution of the
Form
                  y p = α exp(5 x)

where the constant α is to be selected to satisfy the
ODE
Continue…

Differentiating, we have
                                       "
          y p ' = 5α exp(5 x),        y = 25α exp(5 x)
                                       p

Substituting into the ODE, we obtain
       25α exp(5 x) + 15α exp(5 x) + 2α exp(5 x) = 2 exp(5 x)
       ⇒ 42α exp(5 x) = 2 exp(5 x)
              1
       ⇒α =
             21
            1
Hence, y p = exp(5 x ) is a particular solution of the
            21
inhomogeneous ODE.
Continue…

The general solution of the inhomogeneous
ODE is            1
              y = exp(5 x ) + Ae − x + Be − 2 x
                 21
                    5
             y' =      exp(5 x ) − A exp(− x) − 2 B exp( −2 x)
                    21
                                           1
                    y (0) = 0;    A+ B = −
                                           21
                                            5
                    y '(0) = 0;   A + 2B =
                                           21

                           2           1
                     B=      and A = −
                           7           3

             1          1          2
          y = exp(5 x) − exp(− x) + exp(−2 x)
             21         3          7
Prepared By
              Annie ak Joseph




Prepared By
Annie ak Joseph                 Session 2008/2009

More Related Content

What's hot

Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010akabaka12
 
Emat 213 midterm 2 fall 2005
Emat 213 midterm 2 fall 2005Emat 213 midterm 2 fall 2005
Emat 213 midterm 2 fall 2005akabaka12
 
Engr 213 final 2009
Engr 213 final 2009Engr 213 final 2009
Engr 213 final 2009akabaka12
 
Emat 213 final fall 2005
Emat 213 final fall 2005Emat 213 final fall 2005
Emat 213 final fall 2005akabaka12
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equationsAhmed Haider
 
Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010akabaka12
 
Engr 213 midterm 1a sol 2010
Engr 213 midterm 1a sol 2010Engr 213 midterm 1a sol 2010
Engr 213 midterm 1a sol 2010akabaka12
 
Introduction to Differential Equations
Introduction to Differential EquationsIntroduction to Differential Equations
Introduction to Differential Equations
Vishvaraj Chauhan
 
Ma 104 differential equations
Ma 104 differential equationsMa 104 differential equations
Ma 104 differential equations
arvindpt1
 
Engr 213 midterm 2a 2009
Engr 213 midterm 2a 2009Engr 213 midterm 2a 2009
Engr 213 midterm 2a 2009akabaka12
 
DIFFERENTIAL EQUATION
DIFFERENTIAL EQUATIONDIFFERENTIAL EQUATION
DIFFERENTIAL EQUATION
shahzadebaujiti
 
Engr 213 midterm 1b sol 2010
Engr 213 midterm 1b sol 2010Engr 213 midterm 1b sol 2010
Engr 213 midterm 1b sol 2010akabaka12
 
Methods of variation of parameters- advance engineering mathe mathematics
Methods of variation of parameters- advance engineering mathe mathematicsMethods of variation of parameters- advance engineering mathe mathematics
Methods of variation of parameters- advance engineering mathe mathematics
Kaushal Patel
 
Differential equations
Differential equationsDifferential equations
Differential equationsCharan Kumar
 
Engr 213 midterm 2b 2009
Engr 213 midterm 2b 2009Engr 213 midterm 2b 2009
Engr 213 midterm 2b 2009akabaka12
 
Week 2
Week 2 Week 2
Week 2
Hazrul156
 
Calculus First Test 2011/10/20
Calculus First Test 2011/10/20Calculus First Test 2011/10/20
Calculus First Test 2011/10/20
Kuan-Lun Wang
 

What's hot (20)

Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010
 
Emat 213 midterm 2 fall 2005
Emat 213 midterm 2 fall 2005Emat 213 midterm 2 fall 2005
Emat 213 midterm 2 fall 2005
 
Engr 213 final 2009
Engr 213 final 2009Engr 213 final 2009
Engr 213 final 2009
 
Emat 213 final fall 2005
Emat 213 final fall 2005Emat 213 final fall 2005
Emat 213 final fall 2005
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equations
 
Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010
 
Engr 213 midterm 1a sol 2010
Engr 213 midterm 1a sol 2010Engr 213 midterm 1a sol 2010
Engr 213 midterm 1a sol 2010
 
Introduction to Differential Equations
Introduction to Differential EquationsIntroduction to Differential Equations
Introduction to Differential Equations
 
Chapter 1 (maths 3)
Chapter 1 (maths 3)Chapter 1 (maths 3)
Chapter 1 (maths 3)
 
Ma 104 differential equations
Ma 104 differential equationsMa 104 differential equations
Ma 104 differential equations
 
Engr 213 midterm 2a 2009
Engr 213 midterm 2a 2009Engr 213 midterm 2a 2009
Engr 213 midterm 2a 2009
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
DIFFERENTIAL EQUATION
DIFFERENTIAL EQUATIONDIFFERENTIAL EQUATION
DIFFERENTIAL EQUATION
 
Engr 213 midterm 1b sol 2010
Engr 213 midterm 1b sol 2010Engr 213 midterm 1b sol 2010
Engr 213 midterm 1b sol 2010
 
Methods of variation of parameters- advance engineering mathe mathematics
Methods of variation of parameters- advance engineering mathe mathematicsMethods of variation of parameters- advance engineering mathe mathematics
Methods of variation of parameters- advance engineering mathe mathematics
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
Engr 213 midterm 2b 2009
Engr 213 midterm 2b 2009Engr 213 midterm 2b 2009
Engr 213 midterm 2b 2009
 
Week 2
Week 2 Week 2
Week 2
 
Quadratic equations
Quadratic equationsQuadratic equations
Quadratic equations
 
Calculus First Test 2011/10/20
Calculus First Test 2011/10/20Calculus First Test 2011/10/20
Calculus First Test 2011/10/20
 

Similar to Week 7 [compatibility mode]

Engr 213 midterm 2b sol 2009
Engr 213 midterm 2b sol 2009Engr 213 midterm 2b sol 2009
Engr 213 midterm 2b sol 2009akabaka12
 
Week 8 [compatibility mode]
Week 8 [compatibility mode]Week 8 [compatibility mode]
Week 8 [compatibility mode]
Hazrul156
 
19 3
19 319 3
19 3
Mayar Zo
 
Maths Notes - Differential Equations
Maths Notes - Differential EquationsMaths Notes - Differential Equations
Maths Notes - Differential Equations
James McMurray
 
Ankit vyas
Ankit vyasAnkit vyas
Ankit vyas
ANKIT VYAS
 
34032 green func
34032 green func34032 green func
34032 green func
ansarixxx
 
Emat 213 midterm 1 winter 2006
Emat 213 midterm 1 winter 2006Emat 213 midterm 1 winter 2006
Emat 213 midterm 1 winter 2006akabaka12
 
Engr 213 midterm 1b sol 2009
Engr 213 midterm 1b sol 2009Engr 213 midterm 1b sol 2009
Engr 213 midterm 1b sol 2009akabaka12
 
OrthogonalFunctionsPaper
OrthogonalFunctionsPaperOrthogonalFunctionsPaper
OrthogonalFunctionsPaperTyler Otto
 
Solution to schrodinger equation with dirac comb potential
Solution to schrodinger equation with dirac comb potential Solution to schrodinger equation with dirac comb potential
Solution to schrodinger equation with dirac comb potential
slides
 
Maths assignment
Maths assignmentMaths assignment
Maths assignmentNtshima
 
Solving quadratics by graphing
Solving quadratics by graphingSolving quadratics by graphing
Solving quadratics by graphing
chrystal_brinson
 
Differential equation study guide for exam (formula sheet)
Differential equation study guide for exam (formula sheet)Differential equation study guide for exam (formula sheet)
Differential equation study guide for exam (formula sheet)
Dan Al
 
QUADRATIC EQUATIONS WITH MATHS PROPER VERIFY
QUADRATIC EQUATIONS WITH MATHS PROPER VERIFYQUADRATIC EQUATIONS WITH MATHS PROPER VERIFY
QUADRATIC EQUATIONS WITH MATHS PROPER VERIFY
ssuser2e348b
 
Change of variables in double integrals
Change of variables in double integralsChange of variables in double integrals
Change of variables in double integralsTarun Gehlot
 
Change of variables in double integrals
Change of variables in double integralsChange of variables in double integrals
Change of variables in double integralsTarun Gehlot
 
Pydata Katya Vasilaky
Pydata Katya VasilakyPydata Katya Vasilaky
Pydata Katya Vasilaky
knv4
 
linearequns-classx-180912070018.pdf
linearequns-classx-180912070018.pdflinearequns-classx-180912070018.pdf
linearequns-classx-180912070018.pdf
MayankYadav777500
 
CLASS X MATHS LINEAR EQUATIONS
CLASS X MATHS LINEAR EQUATIONSCLASS X MATHS LINEAR EQUATIONS
CLASS X MATHS LINEAR EQUATIONS
Rc Os
 

Similar to Week 7 [compatibility mode] (20)

Engr 213 midterm 2b sol 2009
Engr 213 midterm 2b sol 2009Engr 213 midterm 2b sol 2009
Engr 213 midterm 2b sol 2009
 
Week 8 [compatibility mode]
Week 8 [compatibility mode]Week 8 [compatibility mode]
Week 8 [compatibility mode]
 
19 3
19 319 3
19 3
 
Maths Notes - Differential Equations
Maths Notes - Differential EquationsMaths Notes - Differential Equations
Maths Notes - Differential Equations
 
Ankit vyas
Ankit vyasAnkit vyas
Ankit vyas
 
34032 green func
34032 green func34032 green func
34032 green func
 
Emat 213 midterm 1 winter 2006
Emat 213 midterm 1 winter 2006Emat 213 midterm 1 winter 2006
Emat 213 midterm 1 winter 2006
 
Engr 213 midterm 1b sol 2009
Engr 213 midterm 1b sol 2009Engr 213 midterm 1b sol 2009
Engr 213 midterm 1b sol 2009
 
OrthogonalFunctionsPaper
OrthogonalFunctionsPaperOrthogonalFunctionsPaper
OrthogonalFunctionsPaper
 
Hw2 s
Hw2 sHw2 s
Hw2 s
 
Solution to schrodinger equation with dirac comb potential
Solution to schrodinger equation with dirac comb potential Solution to schrodinger equation with dirac comb potential
Solution to schrodinger equation with dirac comb potential
 
Maths assignment
Maths assignmentMaths assignment
Maths assignment
 
Solving quadratics by graphing
Solving quadratics by graphingSolving quadratics by graphing
Solving quadratics by graphing
 
Differential equation study guide for exam (formula sheet)
Differential equation study guide for exam (formula sheet)Differential equation study guide for exam (formula sheet)
Differential equation study guide for exam (formula sheet)
 
QUADRATIC EQUATIONS WITH MATHS PROPER VERIFY
QUADRATIC EQUATIONS WITH MATHS PROPER VERIFYQUADRATIC EQUATIONS WITH MATHS PROPER VERIFY
QUADRATIC EQUATIONS WITH MATHS PROPER VERIFY
 
Change of variables in double integrals
Change of variables in double integralsChange of variables in double integrals
Change of variables in double integrals
 
Change of variables in double integrals
Change of variables in double integralsChange of variables in double integrals
Change of variables in double integrals
 
Pydata Katya Vasilaky
Pydata Katya VasilakyPydata Katya Vasilaky
Pydata Katya Vasilaky
 
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
 

Recently uploaded

Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
DhatriParmar
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 

Recently uploaded (20)

Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 

Week 7 [compatibility mode]

  • 1. KNF1023 Engineering Mathematics II Second Order ODEs Prepared By Annie ak Joseph Prepared By Annie ak Joseph Session 2007/2008
  • 2. Learning Objectives Explain about Euler-Cauchy ODEs Discuss about Second order inhomogeneous ODEs Explain about Particular Solution by Guesswork
  • 3. Euler-Cauchy ODEs An Euler-Cauchy ODE is one of the form ax 2 y "( x) + bxy '( x) + cy ( x) = 0 Where a ≠ 0, b and c are given constants. To look for linearly independent solutions of this ODE, try y = x λ where λ is a constant yet to be determined. Differentiating, we have y ' = λ x λ −1 and y " = λ ( λ − 1) x λ − 2
  • 4. Euler-Cauchy ODEs Substituting into the ODE gives ax ⋅ λ ( λ − 1) x 2 λ −2 + bx ⋅ λ x λ −1 λ + cx = 0 ⇒x λ ( aλ ( λ − 1) + bλ + c ) = 0 ⇒ aλ ( λ − 1) + bλ + c = 0 ⇒ aλ 2 + ( b − a ) λ + c = 0 Hence, the value of the constant λ can be determined from the quadratic equation above. We consider the following cases.
  • 5. 2 Case (a): [b − a ] − 4ac > 0 In this case, we can find two distinct real values for as given by 2 − [b − a ] + [b − a ] − 4ac λ = λ1 = 2a 2 − [b − a ] − [b − a ] − 4ac λ = λ2 = 2a Thus, we have two solutions for the Euler-Cauchy ODE, namely λ1 y1 = x , y 2 = x λ2
  • 6. Continue… These solutions are linearly independent, since y1 x λ1 = λ2 = x λ1 −λ2 ≠ (cons tan t ) (as λ1 ≠ λ2 ) y2 x For this particular case where λ1 ≠ λ 2 and λ1 a nd λ 2 are real, the general solution of the Euler-Cauchy λ λ ODE is given by y = A x 1 + B x 2 where A and B are arbitrary constants.
  • 7. Example 1 Solve the ODE x 2 y"+4 xy'+2 y = 0 subject to y (1) = y ' (1) = 1 This is an Euler-Cauchy ODE. So try y=x λ , y ' = λx λ −1 and y" = λ (λ − 1)x λ −2 Substituting into the ODE, we obtain x 2 (λ (λ − 1) x λ − 2 ) + 4 x(λ x λ −1 ) + 2 x λ = 0 x λ [λ (λ − 1) + 4λ + 2] = 0 λ (λ − 1) + 4λ + 2 = 0 λ2 + 3λ + 2 = 0 (λ + 1)(λ + 2) = 0 λ = −1, λ = −2
  • 8. Continue… y = Ax-1 + Bx-2 Where A and B are arbitrary constant. Differentiating the general solution gives −2 −3 y ' = − Ax − 2 Bx Putting the given conditions into the general solution, we have y (1) = 1; A+ B =1 y ' (1) = 1; − A − 2 B = 1
  • 9. Continue… Solving for A and B, we obtain A=3 and B=-2. The required particular solution is −1 −2 y = 3x − 2 x
  • 10. 2 Case (b): [b − a ] − 4ac = 0 In this case, the quadratic equation aλ 2 + (b − a)λ + c = 0 has only one solution. − [b − a ] λ = λ1 = 2a λ Thus, in trying y = x we manage to find only one solution for the Euler-Cauchy ODE. We need two linearly independent solutions to construct the general solution of the ODE. To find another solution, let us try
  • 11. Continue… y ( x ) = x λ1 ⋅ u ( x ) y '( x ) = λ1 x λ1 −1 ⋅ u ( x ) + x λ1 ⋅ u '( x ) y "( x ) = λ1 ( λ1 − 1) x λ1 − 2 ⋅ u ( x ) + 2 λ1 x λ1 −1 ⋅ u '( x ) + x λ1 ⋅ u "( x ) Here, u ( x) is a function yet to be determined. Substitution into the ODE, we obtain ax 2 λ1 ( λ1 − 1) x λ1 − 2 ⋅ u ( x) + 2λ1 x λ1 −1 ⋅ u '( x) + x λ1 ⋅ u "( x)    +bx λ1 x λ1 −1 ⋅ u ( x) + x λ1 ⋅ u '( x)  + cx λ1 ⋅ u ( x) = 0  
  • 12. Continue… [b − a ] Since aλ ( λ − 1) + bλ + c = 0 and λ1 = − this further 2a reduces to u '( x ) + xu "( x ) = 0 dv To solve for u ( x) let v ( x ) = u '( x) so that v + x =0 dx This leads to dv dx ∫v = −∫ x 1 ⇒ ln(v) = − ln( x) = ln   x 1 ⇒v= x du 1 ⇒ = dx x ⇒ u = ln( x)
  • 13. Continue… The solution of the Euler-Cauchy ODE which we are looking for is therefore given by y = x λ1 ⋅ ln ( x ) λ λ The solutions y = x 1 and y = x 1 ⋅ ln( x ) are linearly independent to each other. λ1 λ1 y = Ax + Bx ln( x) where A and B are arbitrary constants.
  • 14. Example 2 Solve the ODE x 2 y "+ 3 xy '+ y = 0 subject to y (1) = 1 and y (e) = 2 This is an Euler-CODE. So let us try y=x , λ y ' = λx λ −1 , y " = λ ( λ − 1) x λ −2 Substitution into the ODE gives x λ [λ (λ − 1) + 3λ + 1] = 0 λ ( λ − 1) + 3λ + 1 = 0 λ 2 + 2λ + 1 = 0 2 ( λ + 1) =0 λ = −1 is the only solution
  • 15. Continue… Thus, general solution of the ODE is y = Ax −1 + Bx −1 ln( x) Where A and B are arbitrary constants. Using the given conditions, we have y (1) = 1; A =1 1 B ln(e) y (e) = 2; + = 2; B = 2e − 1 e e The required particular solution is therefore y = x −1 + ( 2e − 1) x −1 ln( x)
  • 16. 2 Case C: [b − a ] − 4ac < 0 In this case, the quadratic equation aλ 2 + (b − a )λ + c = 0 has two complex solutions given by. 2 [b − a ] + i [b − a ] − 4ac λ = λ1 =− 2a 2a 2 [b − a ] − i [b − a ] − 4ac λ = λ2 =− 2a 2a If we proceed on, without bothering about the facts that λ 1 and λ 2 are complex, we can construct the general solution of the Euler-Cauchy ODE as λ1 λ2 y = Ax + Bx
  • 17. Continue… λ Our only problem is to interpret what x means when λ is complex and also to find a way to calculate this complex power. Once again we can resort to the theory of complex functions to resolve this problem. We can use the following results 1 x z + w = x z ⋅ x w if z and w are any numbers (real or complex) and x is a real number 2 x iy = eiy ln( x ) if x > 0 and y are real numbers ± ix 3 e = cos( x) ± i sin( x) if x is any real numbers
  • 18. Example 3 2 Solve the ODE x y "( x) + 3 xy '( x) + 2 y ( x) = 0 subject to y (1) = y '(1) = 1 λ λ −1 y=x , y ' = λx , y " = λ ( λ − 1) x λ −2 x λ [λ (λ − 1) + 3λ + 2] = 0 λ ( λ − 1) + 3λ + 2 = 0 λ 2 + 2λ + 2 = 0 λ = −1 + i , − 1 − i −1+ i −1−i y = Ax + Bx
  • 19. Continue… y = Ax −1+i + Bx −1−i  Axi + Bx − i  =x  −1  = x −1  Aei ln( x ) + Be −i ln( x )    = x −1  A ( cos ( ln( x) ) + i sin(ln( x) ) + B(cos(ln( x)) − i sin(ln( x))  ( )   = x −1 [C cos(ln( x)) + D sin(ln( x))]
  • 20. Continue… where C = A + B and D = i ( A − B ) are arbitrary constants. Differentiating, we have y ' = x −1  −Cx −1 sin ( ln ( x ) ) + Dx −1 cos ( ln ( x ) )  − x −2 C cos ( ln ( x ) ) + D sin ( ln ( x ) )      Using the given conditions, we have y (1) = 1; C = 1 y '(1) = 1; D − C = 1; D = 2
  • 21. Continue… Thus, the required particular solution is y = x −1 cos ( ln ( x ) ) + 2sin ( ln ( x ) )   
  • 22. THEORY FOR INHOMOGENEOUS ODEs Consider the 2nd order linear inhomogeneous ODE y "+ f ( x) y '+ g ( x) y = r ( x) Let y p = y p ( x) be any particular solution of the inhomogeneous ODE. Then " ' y + f ( x) y + g ( x) y p = r ( x) p p To solve the inhomogeneous ODE, let us make the substitution y = y p ( x) + Y ( x)
  • 23. Continue… On substituting into the ODE, we obtain " p  y'p ( x) + Y '( x) + g( x)  yp ( x) + Y ( x) = r( x) y ( x) + Y "( x) + f ( x)      y"p + f ( x) y'p + g( x) yp  + Y "+ f ( x)Y '+ g( x)Y = r( x)   r( x) + Y "+ f ( x)Y '+ g( x)Y = r( x) Y "+ f ( x)Y '+ g( x)Y = 0 Thus, we obtain a 2nd order linear homogeneous ODE in Y = Y ( x)
  • 24. Continue… To summarise, assuming that we can find a particular solution for the 2nd order linear inhomogeneous ODE and also that we can solve the homogeneous ODE in for its general solution of the inhomogeneous ODE is given by y= y p ( x) + Y ( x) { { a particular solution general solution of the of in hom ogeneous ODE corresponding hom ogeneous ODE
  • 25. PARTICULAR SOLUTIONS BY GUESSWORK: Example Solve the ODE y "( x) + 3 y '+ 2 y = 2 exp(5 x) subject to y (0) = y '(0) = 0 Firstly let us solve the corresponding homogeneous ODE Y "+ 3Y '+ 2Y = 0 This is a 2nd order linear ODE with constant coefficients. Let us try Y = eλ x , Y ' = λ eλ x , Y " = λ 2 eλ x
  • 26. Continue… Then, substitution into the homogeneous ODE Gives λ 2 + 3λ + 2 = 0 ( λ + 1)( λ + 2 ) = 0 λ = −1, − 2 The general solution of the homogeneous ODE is Y = Ae− x + Be−2 x
  • 27. Continue… Now, to construct the general solution of the inhomogeneous ODE y "( x) + 3 y '+ 2 y = 2exp(5x) we need to find one particular solution of the ODE. We will try to look for one by guesswork. The right hand side of the ODE, namely the term 2 exp(5 x ) suggests that we try a particular solution of the Form y p = α exp(5 x) where the constant α is to be selected to satisfy the ODE
  • 28. Continue… Differentiating, we have " y p ' = 5α exp(5 x), y = 25α exp(5 x) p Substituting into the ODE, we obtain 25α exp(5 x) + 15α exp(5 x) + 2α exp(5 x) = 2 exp(5 x) ⇒ 42α exp(5 x) = 2 exp(5 x) 1 ⇒α = 21 1 Hence, y p = exp(5 x ) is a particular solution of the 21 inhomogeneous ODE.
  • 29. Continue… The general solution of the inhomogeneous ODE is 1 y = exp(5 x ) + Ae − x + Be − 2 x 21 5 y' = exp(5 x ) − A exp(− x) − 2 B exp( −2 x) 21 1 y (0) = 0; A+ B = − 21 5 y '(0) = 0; A + 2B = 21 2 1 B= and A = − 7 3 1 1 2 y = exp(5 x) − exp(− x) + exp(−2 x) 21 3 7
  • 30. Prepared By Annie ak Joseph Prepared By Annie ak Joseph Session 2008/2009