SlideShare une entreprise Scribd logo
1  sur  30
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

Module of algelbra analyses 2
Module of algelbra analyses 2Module of algelbra analyses 2
Module of algelbra analyses 2Bui Loi
 
01 derivadas
01   derivadas01   derivadas
01 derivadasklorofila
 
Implicit differentiation
Implicit differentiationImplicit differentiation
Implicit differentiationSporsho
 
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 ContinuityDEVTYPE
 
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 SoalAsrifida 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
 

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

En vedette (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
 

Similaire à 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 trajactoriesSukhvinder Singh
 
Engr 213 midterm 1b sol 2010
Engr 213 midterm 1b sol 2010Engr 213 midterm 1b sol 2010
Engr 213 midterm 1b sol 2010akabaka12
 
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)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
 
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.pptxmahamoh6
 
The chain rule
The chain ruleThe chain rule
The chain ruleJ M
 
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.pdfSantiagoGarridoBulln
 
Maths Notes - Differential Equations
Maths Notes - Differential EquationsMaths Notes - Differential Equations
Maths Notes - Differential EquationsJames McMurray
 
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
 
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 contractionAlexander 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 tmath260
 
Limits and Continuity of Functions
Limits and Continuity of Functions Limits and Continuity of Functions
Limits and Continuity of Functions OlooPundit
 

Similaire à 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
 

Plus 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 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
 

Plus de 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]
 

Dernier

Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 

Dernier (20)

Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 

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