SlideShare a Scribd company logo
KNF1023
                                   Engineering
                                Mathematics II

                                   First Order ODEs
               Prepared By
              Annie ak Joseph




Prepared By
Annie ak Joseph                          Session 2007/2008
Learning Objectives



      Demonstrate how to find integrating
      factor for non-exact differential equation



          Demonstrate the solution of
          Homogeneous 1st order ODE in linear form



        Demonstrate the solution of
        inhomogeneous 1st order ODE in linear form
Integrating Factor


    The idea of the method in this section is quite
    simple. If given an equation

      P(x, y)dx + Q(x, y)dy = 0 −−− (1)
    that is not exact, but if multiply it by a suitable
    function F ( x, y) , the new equation

        FPdx + FQdy = 0 − − − (2)
    is exact, so that it can be solved, the function F ( x, y )
    is then called an integrating factor of equation (1).
How to Find Integrating Factors

  Equation (2) with M=FP, N=FQ is exact by
  the definition of an integrating factor. Hence

    ∂M ∂N           ∂        ∂
        =    now is    (FP) = (FQ) −−− (3)
     ∂y   ∂x        ∂y       ∂x
 That is F y P + FPy = Fx Q + FQ x (subscripts
 denoting partial derivatives) which is
 complicated and useless. So we follow the
 Golden Rule: If you cannot solve your
 problem, try to solve a simpler one—the
 result may be useful (and may also help you
 later on). Hence we look for an integrating
 factor depending only on one variable;
How to Find Integrating Factors


 fortunately, in many practical cases, there are
 such factors, as we shall see. Thus, let F = F (x).
 Then F y = 0 and F x = F ' =
                              dF so that (3)
 becomes                      dx
                         '
             FP = F Q + FQ
                 y                   x
 Dividing by F and reshuffling terms, we have

              FPy = F ' Q + FQ x
                            '
                       F Q   FQ           x
                Py   =     +
                        F     F
How to Find Integrating Factors

                1 dF
           Py =      Q + Qx
                F dx
                      1 dF
           Py − Q x =        Q
                      F dx
           1                1 dF
             ( Py − Q x ) =
           Q                F dx
          1 dF 1  ∂P ∂Q 
              =     −   
                  ∂y ∂x 
          F dx Q        
How to Find Integrating Factors

  Thus, we can write it as

   1 dF             1  ∂P ∂Q 
        =R       R =  −  −−− (4)
   F dx             Q  ∂y ∂x 
 This prove the following theorem.
How to Find Integrating Factors


                                                       dF
* If we assume F = F ( y ). Then Fx = 0 and F y = F ' =
  so that (3) becomes                                   dy
                      '
                   F P + FPy = FQ x

Dividing by F and reshuffling terms, we have
How to Find Integrating Factors


                F ' P FPy
          Qx =       +
                 F       F
                1 dF
          Qx =         P + Py
                F dy
                     1 dF
          Qx − Py =        P − − − (4*)
                     F dy
          1               1 dF
          P
            ( Qx − Py ) = F dy
          1 dF             1
                 = R, R = ( Qx − Py )
          F dy             P
Theorem 1 (Integrating factor F(x))


  If (1) is such that the right side of (4), call it R
  depends only on x, then (1) has an integrating
  factor F=F(x), which is obtained by integrating
  (4) and taking exponents on both sides,


            F ( x ) = exp ∫ R ( x ) dx − − − ( 5 )
  Similarly, if F=F(y), then instead of (4) we get
                1 dF  1  ∂Q ∂P 
                     =      −     − − − (6 )
                F dy  P  ∂x   ∂y 
     Here          1    ∂Q    ∂ P  And have the
               R =     
                        ∂ x − ∂ y  companion
                                   
                   p              
THEOREM 2 [Integrating factor F(y)]



  If (1) is such that the right side R of (6)
  depends only on y, then (1) has an
  integrating factor F=F(y), which is
  obtained from (4*) in the form



     F ( y) = exp ∫ R( y)dy − − − ( 7 )
Example 1 (Integrating factor F(x))


  Solve 2 sin( y 2 )dx + xy cos( y 2 )dy = 0 by Theorem 1.


 We have P = 2 sin( y 2 ), Q = xy cos( y 2 ) hence (4) on
 the right,
             1                                  3
     R=          2
        xy cos( y )
                         [    2            2
                    4 y cos( y ) − y cos( y ) =
                                                x
                                                       ]
 And thus

           F ( x) = exp ∫ (3 / x )dx = x           3
Example 2


  Solve the initial value problem

                2 xydx + (4 y + 3 x 2 )dy = 0,
                 y (0.2) = −1.5

                                  2
Here P = 2xy , Q = 4 y + 3 x , the equation is not
  exact, the right side of (4) depends on both x
  and y (verify!), but the right side of (6) is

                    1                  2
                R=      (6 x − 2 x ) =
                   2 xy                y
                ThusF ( y ) = y 2
Continue...


   Is an integrating factor by (7). Multiplication
         2
   by y gives the exact equation

               3         3        2   2
          2xy dx + (4 y + 3x y )dy = 0
   Which we can write as

                              3
             M = 2 xy
                          3               2   2
              N = 4y          + 3x y
Continue...

  As we know that

                      u ( x, y ) = c

 So to get u   (x, y ) = c , we use u = ∫ Mdx + k ( y )
                    u = ∫ 2 xy dx + k ( y )
                               3




                    u = x y + k(y)
                           2   3
Continue...

          ( )
  To get k y , we differential   u with respect to
     y
  ,from there we get

        ∂u      2 2 dk          3    2 2
           = 3x y +    = N = 4 y + 3x y
        ∂y          dy
           dk
        so    = 4y3    k = y4 + c *
           dy
                     2   3       4       *
                u=x y + y +c =c
                         2   3       4
                 u=x y +y =c
Continue...



          x = 0.2, y = −1.5
              4   2   3
          y + x y = 4.9275
1st Order ODEs In Linear Form


 A first order differential equation is linear if it
 has the form

               dy
                  + f ( x) y = r ( x)
               dx

 If the right side r(x) is zero for all x in the
 interval in which we consider the equation
 (written r(x)≡0), the equation is said to be
 homogeneous other it is said to be
 nonhomogeous.
Homogeneous 1st Order ODEs In Linear Form



  Linear ODE is said to be homogeneous if the
  function r(x) is given by r(x)=0 for all x. That
  is, a homogeneous 1st order ODE is given by

                   dy
                      + f ( x) y = 0
                   dx
                     dy
                        = − f ( x) y
                     dx

                     1
                       dy = − f ( x)dx
                     y
Homogeneous 1st Order ODEs In Linear Form


                          1
                        ∫ y dy = −∫ f ( x)dx
Gives us the general solution of the homogeneous 1st order
ODE above.


               ln( y ) = − ∫ f ( x)dx

                  y = exp(− ∫ f ( x)dx)
Inhomogeneous 1st Order ODEs in Linear
Form (Method 1:use of integrating factor)

   dy
1.    + f ( x ) y = r ( x ) is a general form of the
   dx
   linear DE.
2. Here f and r are function of x or constants

3.   ∫ fdx
                                 e ∫ fdx
4. Integrating factor =I.f=

5. Solution is   y (I . f ) = ∫ r (I . f )dx + C
Example

                    dy          2x
                       + 5y = e
                    dx
                              dy
  The above DE is of the form    + f (x ) y = r (x )
                              dx
                                    2x
                  f = 5, r = e

             I. f = e ∫       fdx
                                    =e    5x


         y (I . f ) = ∫ r (I . f )dx + C
Continue...


          ( )= ∫ e
         ye   5x           2x    5x
                                e dx + C
         ye   5x
                   = ∫ e dx + C
                       7x


                      7x
              e
              5x
         ye =    +C
               7
            1 2x    −5 x
         y = e + Ce
            7
Method 2: Variation Parameter

 In the 1st step, we solve the corresponding
 homogeneous ODE, i.e

                   dy
                      + f ( x) y = 0
                   dx
 Let us say that we obtain y = y h (x) as particular
 solution for the above homogeneous ODE. We
 will use it in the 2nd step below to construct a
 general solution for the original inhomogeneous
 ODE.
Method 2: Variation Parameter


   In the 2nd step, for the general solution of the
                                         ()
   inhomogeneous ODE, we let y ( x) = y h x . v(x)
   and substitute it into ODE to obtain a 1st
   order separable ODE in v(x).
Example


          dy          2x
             + 5y = e
          dx
          dy
             + 5y = 0
          dx
          dy
             = −5 y
          dx
           dy
          ∫ y = −5∫ dx
Continue...



       ln y = −5 x
              −5 x
       y=e
       y=e    −5 x
                     .v ( x )
       dy
          = e .v − 5e .v ( x )
             −5 x '  −5 x

       dx
Continue…



  e   −5 x     '
             .v − 5e   −5 x
                              .v ( x ) + 5.e   −5 x
                                                      .v = e   2x

      −5 x '       2x
  e v =e
  dv −5 x    2x
     e =e
  dx
          2x
  dv e
     = −5 x
  dx e
Continue…

       dv     7x
          =e
       dx
            7x
          e
       v=       +c
           7
                   7x
            −5 x e
       y=e (           + c)
                  7
            2x
          e           −5 x
       y=       + ce
            7
Prepared By
              Annie ak Joseph




Prepared By
Annie ak Joseph                 Session 2007/2008

More Related Content

What's hot

Week 2
Week 2 Week 2
Week 2
Hazrul156
 
Algo Final
Algo FinalAlgo Final
Algo Final
johnsonchou
 
Legendre Function
Legendre FunctionLegendre Function
Legendre Function
Dr. Nirav Vyas
 
Module of algelbra analyses 2
Module of algelbra analyses 2Module of algelbra analyses 2
Module of algelbra analyses 2
Bui Loi
 
01 derivadas
01   derivadas01   derivadas
01 derivadasklorofila
 
Implicit differentiation
Implicit differentiationImplicit differentiation
Implicit differentiation
Sporsho
 
Lesson 1: Functions and their representations (slides)
Lesson 1: Functions and their representations (slides)Lesson 1: Functions and their representations (slides)
Lesson 1: Functions and their representations (slides)
Matthew Leingang
 
3.2 implicit equations and implicit differentiation
3.2 implicit equations and implicit differentiation3.2 implicit equations and implicit differentiation
3.2 implicit equations and implicit differentiationmath265
 
Linear algebra-solutions-manual-kuttler-1-30-11-otc
Linear algebra-solutions-manual-kuttler-1-30-11-otcLinear algebra-solutions-manual-kuttler-1-30-11-otc
Linear algebra-solutions-manual-kuttler-1-30-11-otckjalili
 
Engr 213 midterm 1a sol 2009
Engr 213 midterm 1a sol 2009Engr 213 midterm 1a sol 2009
Engr 213 midterm 1a sol 2009akabaka12
 
Continuity and Uniform Continuity
Continuity and Uniform ContinuityContinuity and Uniform Continuity
Continuity and Uniform Continuity
DEVTYPE
 
Sifat Limit Fungsi Aljabar dan Contoh Soal
Sifat Limit Fungsi Aljabar dan Contoh SoalSifat Limit Fungsi Aljabar dan Contoh Soal
Sifat Limit Fungsi Aljabar dan Contoh Soal
Asrifida Juwita Tanjung
 
4.1 implicit differentiation
4.1 implicit differentiation4.1 implicit differentiation
4.1 implicit differentiationdicosmo178
 
Chapter 1 functions
Chapter 1  functionsChapter 1  functions
Chapter 1 functionsUmair Pearl
 

What's hot (18)

Chapter 1 (maths 3)
Chapter 1 (maths 3)Chapter 1 (maths 3)
Chapter 1 (maths 3)
 
Week 2
Week 2 Week 2
Week 2
 
Algo Final
Algo FinalAlgo Final
Algo Final
 
Legendre Function
Legendre FunctionLegendre Function
Legendre Function
 
Lap lace
Lap laceLap lace
Lap lace
 
Module of algelbra analyses 2
Module of algelbra analyses 2Module of algelbra analyses 2
Module of algelbra analyses 2
 
01 derivadas
01   derivadas01   derivadas
01 derivadas
 
Implicit differentiation
Implicit differentiationImplicit differentiation
Implicit differentiation
 
Lesson 1: Functions and their representations (slides)
Lesson 1: Functions and their representations (slides)Lesson 1: Functions and their representations (slides)
Lesson 1: Functions and their representations (slides)
 
3.2 implicit equations and implicit differentiation
3.2 implicit equations and implicit differentiation3.2 implicit equations and implicit differentiation
3.2 implicit equations and implicit differentiation
 
Number theory lecture (part 2)
Number theory lecture (part 2)Number theory lecture (part 2)
Number theory lecture (part 2)
 
Linear algebra-solutions-manual-kuttler-1-30-11-otc
Linear algebra-solutions-manual-kuttler-1-30-11-otcLinear algebra-solutions-manual-kuttler-1-30-11-otc
Linear algebra-solutions-manual-kuttler-1-30-11-otc
 
Engr 213 midterm 1a sol 2009
Engr 213 midterm 1a sol 2009Engr 213 midterm 1a sol 2009
Engr 213 midterm 1a sol 2009
 
Continuity and Uniform Continuity
Continuity and Uniform ContinuityContinuity and Uniform Continuity
Continuity and Uniform Continuity
 
Sifat Limit Fungsi Aljabar dan Contoh Soal
Sifat Limit Fungsi Aljabar dan Contoh SoalSifat Limit Fungsi Aljabar dan Contoh Soal
Sifat Limit Fungsi Aljabar dan Contoh Soal
 
Midterm II Review
Midterm II ReviewMidterm II Review
Midterm II Review
 
4.1 implicit differentiation
4.1 implicit differentiation4.1 implicit differentiation
4.1 implicit differentiation
 
Chapter 1 functions
Chapter 1  functionsChapter 1  functions
Chapter 1 functions
 

Viewers also liked

Scales-engineering drawing b.tech
Scales-engineering drawing b.techScales-engineering drawing b.tech
Scales-engineering drawing b.tech
Mohd Mujahid Nasir
 
Numerical solution using runge kutta with programming in c++
Numerical solution using runge kutta with programming in c++Numerical solution using runge kutta with programming in c++
Numerical solution using runge kutta with programming in c++
Vijay Choudhary
 
Newton’s Divided Difference Formula
Newton’s Divided Difference FormulaNewton’s Divided Difference Formula
Newton’s Divided Difference Formula
Jas Singh Bhasin
 
Drawing Ellipses
Drawing EllipsesDrawing Ellipses
Drawing Ellipses
marsha devine
 
Eigen value , eigen vectors, caley hamilton theorem
Eigen value , eigen vectors, caley hamilton theoremEigen value , eigen vectors, caley hamilton theorem
Eigen value , eigen vectors, caley hamilton theorem
gidc engineering college
 
Runge kutta
Runge kuttaRunge kutta
Runge kutta
Shubham Tomar
 
How to draw an ellipse
How to draw an ellipseHow to draw an ellipse
How to draw an ellipse
tcloss01
 
Interpolation
InterpolationInterpolation
Interpolationmbhuiya6
 
interpolation
interpolationinterpolation
interpolation8laddu8
 
Newton’s Forward & backward interpolation
Newton’s Forward &  backward interpolation Newton’s Forward &  backward interpolation
Newton’s Forward & backward interpolation
Meet Patel
 
Interpolation Methods
Interpolation MethodsInterpolation Methods
Interpolation Methods
Mohammad Tawfik
 
Engineering Drawing
Engineering DrawingEngineering Drawing
Engineering DrawingLai Chun Tat
 
Polymers
PolymersPolymers
Polymers
sportymaaz
 
Runge Kutta Methods
Runge Kutta MethodsRunge Kutta Methods
Runge Kutta Methods
Diego Tramontina
 
Engineering Drawing
Engineering DrawingEngineering Drawing
Engineering Drawing
Dr. Bhuiyan S. M. Ebna Hai
 

Viewers also liked (19)

Unit iv
Unit ivUnit iv
Unit iv
 
Ch08 3
Ch08 3Ch08 3
Ch08 3
 
Scales-engineering drawing b.tech
Scales-engineering drawing b.techScales-engineering drawing b.tech
Scales-engineering drawing b.tech
 
Numerical solution using runge kutta with programming in c++
Numerical solution using runge kutta with programming in c++Numerical solution using runge kutta with programming in c++
Numerical solution using runge kutta with programming in c++
 
Newton’s Divided Difference Formula
Newton’s Divided Difference FormulaNewton’s Divided Difference Formula
Newton’s Divided Difference Formula
 
Drawing Ellipses
Drawing EllipsesDrawing Ellipses
Drawing Ellipses
 
Eigen value , eigen vectors, caley hamilton theorem
Eigen value , eigen vectors, caley hamilton theoremEigen value , eigen vectors, caley hamilton theorem
Eigen value , eigen vectors, caley hamilton theorem
 
Runge kutta
Runge kuttaRunge kutta
Runge kutta
 
How to draw an ellipse
How to draw an ellipseHow to draw an ellipse
How to draw an ellipse
 
Interpolation
InterpolationInterpolation
Interpolation
 
interpolation
interpolationinterpolation
interpolation
 
Newton’s Forward & backward interpolation
Newton’s Forward &  backward interpolation Newton’s Forward &  backward interpolation
Newton’s Forward & backward interpolation
 
Interpolation Methods
Interpolation MethodsInterpolation Methods
Interpolation Methods
 
Numerical method
Numerical methodNumerical method
Numerical method
 
Polymer ppt
Polymer pptPolymer ppt
Polymer ppt
 
Engineering Drawing
Engineering DrawingEngineering Drawing
Engineering Drawing
 
Polymers
PolymersPolymers
Polymers
 
Runge Kutta Methods
Runge Kutta MethodsRunge Kutta Methods
Runge Kutta Methods
 
Engineering Drawing
Engineering DrawingEngineering Drawing
Engineering Drawing
 

Similar to Week 4 [compatibility mode]

AEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactoriesAEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactories
Sukhvinder Singh
 
Engr 213 midterm 1b sol 2010
Engr 213 midterm 1b sol 2010Engr 213 midterm 1b sol 2010
Engr 213 midterm 1b sol 2010akabaka12
 
Imc2017 day2-solutions
Imc2017 day2-solutionsImc2017 day2-solutions
Imc2017 day2-solutions
Christos Loizos
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
Matthew Leingang
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
Mel Anthony Pepito
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
Matthew Leingang
 
Engr 213 final sol 2009
Engr 213 final sol 2009Engr 213 final sol 2009
Engr 213 final sol 2009akabaka12
 
Lattices and codes
Lattices and codesLattices and codes
Lattices and codesSpringer
 
Extra Help 19- differential equations.pptx
Extra Help 19- differential equations.pptxExtra Help 19- differential equations.pptx
Extra Help 19- differential equations.pptx
mahamoh6
 
The chain rule
The chain ruleThe chain rule
The chain rule
J M
 
DIFFERENTIAL EQUATION
DIFFERENTIAL EQUATIONDIFFERENTIAL EQUATION
DIFFERENTIAL EQUATION
shahzadebaujiti
 
5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.
Jan Plaza
 
Lecture_Slides_Mathematics_06_Optimization.pdf
Lecture_Slides_Mathematics_06_Optimization.pdfLecture_Slides_Mathematics_06_Optimization.pdf
Lecture_Slides_Mathematics_06_Optimization.pdf
SantiagoGarridoBulln
 
Maths Notes - Differential Equations
Maths Notes - Differential EquationsMaths Notes - Differential Equations
Maths Notes - Differential Equations
James McMurray
 
first order ode with its application
 first order ode with its application first order ode with its application
first order ode with its application
Krishna Peshivadiya
 
Frobenious theorem
Frobenious theoremFrobenious theorem
Frobenious theorem
Pantelis Sopasakis
 
Coincidence points for mappings under generalized contraction
Coincidence points for mappings under generalized contractionCoincidence points for mappings under generalized contraction
Coincidence points for mappings under generalized contraction
Alexander Decker
 
3.2 properties of division and roots t
3.2 properties of division and roots t3.2 properties of division and roots t
3.2 properties of division and roots t
math260
 
Limits and Continuity of Functions
Limits and Continuity of Functions Limits and Continuity of Functions
Limits and Continuity of Functions
OlooPundit
 

Similar to Week 4 [compatibility mode] (20)

AEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactoriesAEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactories
 
Engr 213 midterm 1b sol 2010
Engr 213 midterm 1b sol 2010Engr 213 midterm 1b sol 2010
Engr 213 midterm 1b sol 2010
 
Imc2017 day2-solutions
Imc2017 day2-solutionsImc2017 day2-solutions
Imc2017 day2-solutions
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
 
Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)Lesson 26: The Fundamental Theorem of Calculus (slides)
Lesson 26: The Fundamental Theorem of Calculus (slides)
 
Engr 213 final sol 2009
Engr 213 final sol 2009Engr 213 final sol 2009
Engr 213 final sol 2009
 
Lattices and codes
Lattices and codesLattices and codes
Lattices and codes
 
Extra Help 19- differential equations.pptx
Extra Help 19- differential equations.pptxExtra Help 19- differential equations.pptx
Extra Help 19- differential equations.pptx
 
The chain rule
The chain ruleThe chain rule
The chain rule
 
DIFFERENTIAL EQUATION
DIFFERENTIAL EQUATIONDIFFERENTIAL EQUATION
DIFFERENTIAL EQUATION
 
5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.
 
F.Komposisi
F.KomposisiF.Komposisi
F.Komposisi
 
Lecture_Slides_Mathematics_06_Optimization.pdf
Lecture_Slides_Mathematics_06_Optimization.pdfLecture_Slides_Mathematics_06_Optimization.pdf
Lecture_Slides_Mathematics_06_Optimization.pdf
 
Maths Notes - Differential Equations
Maths Notes - Differential EquationsMaths Notes - Differential Equations
Maths Notes - Differential Equations
 
first order ode with its application
 first order ode with its application first order ode with its application
first order ode with its application
 
Frobenious theorem
Frobenious theoremFrobenious theorem
Frobenious theorem
 
Coincidence points for mappings under generalized contraction
Coincidence points for mappings under generalized contractionCoincidence points for mappings under generalized contraction
Coincidence points for mappings under generalized contraction
 
3.2 properties of division and roots t
3.2 properties of division and roots t3.2 properties of division and roots t
3.2 properties of division and roots t
 
Limits and Continuity of Functions
Limits and Continuity of Functions Limits and Continuity of Functions
Limits and Continuity of Functions
 

More from 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 6 [compatibility mode]
Week 6 [compatibility mode]Week 6 [compatibility mode]
Week 6 [compatibility mode]
Hazrul156
 
Week 7 [compatibility mode]
Week 7 [compatibility mode]Week 7 [compatibility mode]
Week 7 [compatibility mode]
Hazrul156
 
Week 8 [compatibility mode]
Week 8 [compatibility mode]Week 8 [compatibility mode]
Week 8 [compatibility mode]
Hazrul156
 
Week 1 [compatibility mode]
Week 1 [compatibility mode]Week 1 [compatibility mode]
Week 1 [compatibility mode]Hazrul156
 

More from Hazrul156 (6)

C hapter 2 diode applications
C hapter 2 diode applicationsC hapter 2 diode applications
C hapter 2 diode applications
 
Week 5 [compatibility mode]
Week 5 [compatibility mode]Week 5 [compatibility mode]
Week 5 [compatibility mode]
 
Week 6 [compatibility mode]
Week 6 [compatibility mode]Week 6 [compatibility mode]
Week 6 [compatibility mode]
 
Week 7 [compatibility mode]
Week 7 [compatibility mode]Week 7 [compatibility mode]
Week 7 [compatibility mode]
 
Week 8 [compatibility mode]
Week 8 [compatibility mode]Week 8 [compatibility mode]
Week 8 [compatibility mode]
 
Week 1 [compatibility mode]
Week 1 [compatibility mode]Week 1 [compatibility mode]
Week 1 [compatibility mode]
 

Recently uploaded

Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
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
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
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
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 
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
 
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
 
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
 
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
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 

Recently uploaded (20)

Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
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
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
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
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 
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
 
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
 
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
 
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
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 

Week 4 [compatibility mode]

  • 1. KNF1023 Engineering Mathematics II First Order ODEs Prepared By Annie ak Joseph Prepared By Annie ak Joseph Session 2007/2008
  • 2. Learning Objectives Demonstrate how to find integrating factor for non-exact differential equation Demonstrate the solution of Homogeneous 1st order ODE in linear form Demonstrate the solution of inhomogeneous 1st order ODE in linear form
  • 3. Integrating Factor The idea of the method in this section is quite simple. If given an equation P(x, y)dx + Q(x, y)dy = 0 −−− (1) that is not exact, but if multiply it by a suitable function F ( x, y) , the new equation FPdx + FQdy = 0 − − − (2) is exact, so that it can be solved, the function F ( x, y ) is then called an integrating factor of equation (1).
  • 4. How to Find Integrating Factors Equation (2) with M=FP, N=FQ is exact by the definition of an integrating factor. Hence ∂M ∂N ∂ ∂ = now is (FP) = (FQ) −−− (3) ∂y ∂x ∂y ∂x That is F y P + FPy = Fx Q + FQ x (subscripts denoting partial derivatives) which is complicated and useless. So we follow the Golden Rule: If you cannot solve your problem, try to solve a simpler one—the result may be useful (and may also help you later on). Hence we look for an integrating factor depending only on one variable;
  • 5. How to Find Integrating Factors fortunately, in many practical cases, there are such factors, as we shall see. Thus, let F = F (x). Then F y = 0 and F x = F ' = dF so that (3) becomes dx ' FP = F Q + FQ y x Dividing by F and reshuffling terms, we have FPy = F ' Q + FQ x ' F Q FQ x Py = + F F
  • 6. How to Find Integrating Factors 1 dF Py = Q + Qx F dx 1 dF Py − Q x = Q F dx 1 1 dF ( Py − Q x ) = Q F dx 1 dF 1  ∂P ∂Q  =  −   ∂y ∂x  F dx Q  
  • 7. How to Find Integrating Factors Thus, we can write it as 1 dF 1  ∂P ∂Q  =R R =  −  −−− (4) F dx Q  ∂y ∂x  This prove the following theorem.
  • 8. How to Find Integrating Factors dF * If we assume F = F ( y ). Then Fx = 0 and F y = F ' = so that (3) becomes dy ' F P + FPy = FQ x Dividing by F and reshuffling terms, we have
  • 9. How to Find Integrating Factors F ' P FPy Qx = + F F 1 dF Qx = P + Py F dy 1 dF Qx − Py = P − − − (4*) F dy 1 1 dF P ( Qx − Py ) = F dy 1 dF 1 = R, R = ( Qx − Py ) F dy P
  • 10. Theorem 1 (Integrating factor F(x)) If (1) is such that the right side of (4), call it R depends only on x, then (1) has an integrating factor F=F(x), which is obtained by integrating (4) and taking exponents on both sides, F ( x ) = exp ∫ R ( x ) dx − − − ( 5 ) Similarly, if F=F(y), then instead of (4) we get 1 dF 1  ∂Q ∂P  =  −  − − − (6 ) F dy P  ∂x ∂y  Here 1  ∂Q ∂ P  And have the R =   ∂ x − ∂ y  companion  p  
  • 11. THEOREM 2 [Integrating factor F(y)] If (1) is such that the right side R of (6) depends only on y, then (1) has an integrating factor F=F(y), which is obtained from (4*) in the form F ( y) = exp ∫ R( y)dy − − − ( 7 )
  • 12. Example 1 (Integrating factor F(x)) Solve 2 sin( y 2 )dx + xy cos( y 2 )dy = 0 by Theorem 1. We have P = 2 sin( y 2 ), Q = xy cos( y 2 ) hence (4) on the right, 1 3 R= 2 xy cos( y ) [ 2 2 4 y cos( y ) − y cos( y ) = x ] And thus F ( x) = exp ∫ (3 / x )dx = x 3
  • 13. Example 2 Solve the initial value problem 2 xydx + (4 y + 3 x 2 )dy = 0, y (0.2) = −1.5 2 Here P = 2xy , Q = 4 y + 3 x , the equation is not exact, the right side of (4) depends on both x and y (verify!), but the right side of (6) is 1 2 R= (6 x − 2 x ) = 2 xy y ThusF ( y ) = y 2
  • 14. Continue... Is an integrating factor by (7). Multiplication 2 by y gives the exact equation 3 3 2 2 2xy dx + (4 y + 3x y )dy = 0 Which we can write as 3 M = 2 xy 3 2 2 N = 4y + 3x y
  • 15. Continue... As we know that u ( x, y ) = c So to get u (x, y ) = c , we use u = ∫ Mdx + k ( y ) u = ∫ 2 xy dx + k ( y ) 3 u = x y + k(y) 2 3
  • 16. Continue... ( ) To get k y , we differential u with respect to y ,from there we get ∂u 2 2 dk 3 2 2 = 3x y + = N = 4 y + 3x y ∂y dy dk so = 4y3 k = y4 + c * dy 2 3 4 * u=x y + y +c =c 2 3 4 u=x y +y =c
  • 17. Continue... x = 0.2, y = −1.5 4 2 3 y + x y = 4.9275
  • 18. 1st Order ODEs In Linear Form A first order differential equation is linear if it has the form dy + f ( x) y = r ( x) dx If the right side r(x) is zero for all x in the interval in which we consider the equation (written r(x)≡0), the equation is said to be homogeneous other it is said to be nonhomogeous.
  • 19. Homogeneous 1st Order ODEs In Linear Form Linear ODE is said to be homogeneous if the function r(x) is given by r(x)=0 for all x. That is, a homogeneous 1st order ODE is given by dy + f ( x) y = 0 dx dy = − f ( x) y dx 1 dy = − f ( x)dx y
  • 20. Homogeneous 1st Order ODEs In Linear Form 1 ∫ y dy = −∫ f ( x)dx Gives us the general solution of the homogeneous 1st order ODE above. ln( y ) = − ∫ f ( x)dx y = exp(− ∫ f ( x)dx)
  • 21. Inhomogeneous 1st Order ODEs in Linear Form (Method 1:use of integrating factor) dy 1. + f ( x ) y = r ( x ) is a general form of the dx linear DE. 2. Here f and r are function of x or constants 3. ∫ fdx e ∫ fdx 4. Integrating factor =I.f= 5. Solution is y (I . f ) = ∫ r (I . f )dx + C
  • 22. Example dy 2x + 5y = e dx dy The above DE is of the form + f (x ) y = r (x ) dx 2x f = 5, r = e I. f = e ∫ fdx =e 5x y (I . f ) = ∫ r (I . f )dx + C
  • 23. Continue... ( )= ∫ e ye 5x 2x 5x e dx + C ye 5x = ∫ e dx + C 7x 7x e 5x ye = +C 7 1 2x −5 x y = e + Ce 7
  • 24. Method 2: Variation Parameter In the 1st step, we solve the corresponding homogeneous ODE, i.e dy + f ( x) y = 0 dx Let us say that we obtain y = y h (x) as particular solution for the above homogeneous ODE. We will use it in the 2nd step below to construct a general solution for the original inhomogeneous ODE.
  • 25. Method 2: Variation Parameter In the 2nd step, for the general solution of the () inhomogeneous ODE, we let y ( x) = y h x . v(x) and substitute it into ODE to obtain a 1st order separable ODE in v(x).
  • 26. Example dy 2x + 5y = e dx dy + 5y = 0 dx dy = −5 y dx dy ∫ y = −5∫ dx
  • 27. Continue... ln y = −5 x −5 x y=e y=e −5 x .v ( x ) dy = e .v − 5e .v ( x ) −5 x ' −5 x dx
  • 28. Continue… e −5 x ' .v − 5e −5 x .v ( x ) + 5.e −5 x .v = e 2x −5 x ' 2x e v =e dv −5 x 2x e =e dx 2x dv e = −5 x dx e
  • 29. Continue… dv 7x =e dx 7x e v= +c 7 7x −5 x e y=e ( + c) 7 2x e −5 x y= + ce 7
  • 30. Prepared By Annie ak Joseph Prepared By Annie ak Joseph Session 2007/2008