SlideShare una empresa de Scribd logo
1 de 29
Descargar para leer sin conexión
KNF1023
                                   Engineering
                                Mathematics II

                                   First Order ODEs
               Prepared By
              Annie ak Joseph




Prepared By
Annie ak Joseph                          Session 2008/2009
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

    If a function u ( x, y ) has continuous partial
    derivatives, its total or exact differential is
                     ∂u      ∂u
                du =    dx +    dy
                     ∂x      ∂y
    From this it follows that if   u ( x, y ) =c=const,
    then du = 0

    A first-order differential equation of the form

    M ( x, y )dx + N ( x, y )dy = 0 − −− → (1)
    Is called exact if its left side is the total or exact
    differential
Exact Differential Equation
                   ∂u     ∂u
              du =    dx + dy − −− → (2)
                   ∂x     ∂y
 of some function u ( x, y ) . Then the differential
 equation (1) can be written

                     du = 0
 By integration we immediately obtain the
 general solution of (1) in the form


             u ( x, y ) = C − −− → (3)
Exact Differential Equation

  Comparing (1) and (2), we see that (1) is
  exact if there is some function u ( x, y ) such that
         ∂u                      ∂u
      a)    =M                b)    =N        (4)
         ∂x                      ∂y
        ∂M   ∂u  2
                                 ∂N ∂ 2u
           =                       =
         ∂y ∂y∂x                 ∂x ∂x∂y

By the assumption of continuity the two second
derivatives are equal. Thus
                ∂M ∂N
                    =    − −− → (5)
                 ∂y   ∂x
Exact Differential Equation

 This condition is not only necessary but also
 sufficient for Mdx + Ndy to be an exact
 differential.



 If (1) is exact, the function u ( x, y ) can be
 found by guessing or in the following
 systematic way. From 4(a) we have by
 integration with respect to x


            u = ∫ Mdx + k ( y ) − −− → ( 6 )
Exact Differential Equation


 in this integration, y is to be regarded as a
 constant, and k(y) plays the role of a “constant” of
 integration. To determine k(y), we derive∂u / ∂y from
 (6), use (4b) to get ∂k / ∂y and integrate ∂k / ∂y to get
 k.

 Formula (6) was obtained from (4a). Instead of
 4(a) we may equally well use (4b). Then instead of
 (6) we first have

         u = ∫ Ndy + l ( x) − −− → (*6 )
Exact Differential Equation



 To determine l(x) we derive ∂u / ∂x from (6*),
 use (4a) to get ∂l / ∂x and integrate it to get l .
Example 1: An exact equation
         3      2         2     3
Solve ( x + 3 xy )dx + (3x y + y )dy = 0     (7)

Solution:
1st step: Test for exactness.
Our equation is of the form (1) with

                         M = x 3 + 3 xy 2
                         N = 3x 2 y + y 3
                         ∂M
                             = 6 xy
                          ∂y
                         ∂N
                             = 6 xy
                         ∂x               exact solution
Continue…

2nd Step: Implicit solution.

From (6) we obtain

      u = ∫ Mdx + k ( y ) = ∫ ( x 3 + 3 xy 2 )dx + k ( y )
         1 4 3 2 2
        = x + x y + k ( y)                                   (8)
         4   2
To find k(y), we differentiate this formula
with respect to y and use formula (4b),
obtaining
             ∂u     2    dk
                = 3x y +    = N = 3x 2 y + y3
             ∂y          dy
Continue…

        dk    3               y4           *
  Hence dy = y , so that k =  4         + c . Inserting
                                       
  this into (8) we get the answer

                  1 4
      u ( x, y ) = ( x + 6 x 2 y 2 + y 4 ) = c       (9)
                  4

3rd step: Checking.
For checking, we can differentiate u ( x, y ) = c
implicitly and see whether this leads to dy = − M
                                              dx  N
or Mdx+ Ndy= 0 , the given equation.
Continue…

 In the present case, differentiating (9)
 implicitly with respect to x, we obtain

         1
           (4 x3 + 12 xy 2 + 12 x 2 yy '+ 4 y 3 y ') = 0
         4

 Collecting terms, we see that this equals M +
 Ny’=0 with M and N as in (7); thus Mdx + Ndy = 0
 .This completes the check.
Example 2

                           (                    )
  Solve cos( x + y)dx + 3y 2 + 2 y + cos(x + y) dy = 0

Solution:
             M = cos( x + y )
             N = 3 y 2 + 2 y + cos( x + y )
Thus
                 ∂M
                     = − sin( x + y )
                  ∂y
                                        exact
                 ∂N
                    = − sin( x + y )
                 ∂x
Continue…

Step 2: Implicit general solution.

     u = ∫ Mdx + k ( y ) = ∫ cos( x + y )dx + k ( y ) = sin( x + y ) + k ( y )

To find k(y), we differentiate this formula
with respect to y and obtain
          ∂u                  dk
             = cos( x + y ) +    = N = 3 y 2 + 2 y + cos( x + y )
          ∂y                  dy

                   2
Hence dk / dy = 3 y + 2 y
By integration, k = y 3 + y 2 + c * . Inserting this result

             u ( x, y ) = sin( x + y ) + y 3 + y 2 = c
Continue…

Step 3: Checking an implicit solution.

We can check by differentiating the implicit solution
u(x,y) = c implicitly and see whether this leads to
the given ODE:

            ∂u     ∂u
     du =      dx + dy = cos( x + y )dx + (cos( x + y ) + 3 y 2 + 2 y )dy = 0
            ∂x     ∂y


This completes the check.
Homogeneous Equation
Identify whether the ODE is
homogeneous or not???
                           dy
  Differential equation     ( x , y ) is call
                              = f
                           dx
  Homogeneous equation if f ( λ x, λ y ) = f ( x, y )
  for every real value of λ

Example 3: Identify whether dy = y − x is
                            dx y + x
homogeneous or not.
Continue…


                          y−x
            f ( x, y ) =
                          y+x
                             λ y − λx
            f ( λ x, λ y ) =
                             λ y + λx
                           y−x
                         =
                           y+x

                         = f ( x, y )

This equation is homogeneous
Example 4

 Check whether the equation given is
 homogeneous or not?

                dy
                   = x− y
                dx
               f ( x, y ) = x − y
               f ( λ x, λ y ) = λ x − λ y

                           = λ ( x − y)
                           = λ f ( x, y )

This equation is not homogeneous.
Example 5

        dy x + 3 y
Solve      =
        dx   2x

Solution:
The above equation is a homogeneous
                     y = ux
                dy      du
                   =u+x
                dx      dx

            du x + 3(ux) x(1 + 3u ) 1 + 3u
        u+x    =        =          =
            dx    2x        2x         2
Continue…


                    dv 1 + 3u
                u+x    =
                    dx    2
           du 1 + 3u      1 + 3u − 2u 1 + u
       x      =      −u =            =
           dx    2             2        2

               du 1 + u            1
                  =     = (1 + u )( )
               dx   2x             2x

                    du   dx
                       =
                   u +1 2x
                    du    1 dx
                 ∫ u +1 = 2 ∫ x
Continue…



                         1
            ln ( u + 1) = ln x + ln c
                         2
                             1
            ln ( u + 1) = ln x + ln c
                             2



                                 1
            ln ( u + 1) = ln( x c)
                                 2


                             1
                  u + 1 = x 2c
Continue…


            y        1
              + 1 = x 2c
            x

                      3
            y + x = x 2c
Example 6

        dy     xy
Solve      = 2
        dx x + y 2
                     subject y(0)=2

Let y = xu , rewrite this equation become
                    du     x ( xu )
                u+x    = 2
                    dx x + ( xu )2
                                 u
                             =
                               1+ u2
                          du    u
                      x      =     2
                                     −u
                          dx 1 + u

                                 u3
                             =−
                                1+ u2
Continue…

                1+ u2         dx
                3      du = −
                u              x

                1 1         dx
                3 +  du = −
               u u           x

               1 1             dx
            ∫  u 3 + u du = − ∫ x
              
                        

               1
             − 2 + ln u = − ln x + c
              2u
Continue…

                               1
             ln u + ln x = c + 2
                              2u
                                1
                    ln xu = c + 2
                               2u
                y
Substitute   u=
                x
                                x2
                    ln y = c +
                               2y2
                               x2
                               2 y2
                      y = Ae
Continue…


            y ( 0) = 2

                     0
            2 = Ae
                     x2
                     2 y2
            y = 2e
Summary on solving Homogeneous
equations

1. Identify whether the equation is
   homogeneous or not.
                                   dy        du
2. Use substitution of y = xu and dx = u + x dx
   in the original equation.
3. Separate the variable x and u in 2.
4. Integral both sides with respect to
   the related variables and put only
   one constant, say A.
                       y
5. Substitute back u =    .
                       x
6. If the equation has subject to any
   value, substitute it to get the
   constant value A.
Prepared By
              Annie ak Joseph




Prepared By
Annie ak Joseph                 Session 2008/2009

Más contenido relacionado

La actualidad más candente

Automobile 3rd sem aem ppt.2016
Automobile 3rd sem aem ppt.2016Automobile 3rd sem aem ppt.2016
Automobile 3rd sem aem ppt.2016kalpeshvaghdodiya
 
Engr 213 midterm 2a sol 2009
Engr 213 midterm 2a sol 2009Engr 213 midterm 2a sol 2009
Engr 213 midterm 2a sol 2009akabaka12
 
Lesson 11: Implicit Differentiation
Lesson 11: Implicit DifferentiationLesson 11: Implicit Differentiation
Lesson 11: Implicit DifferentiationMatthew Leingang
 
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 2a 2009
Engr 213 midterm 2a 2009Engr 213 midterm 2a 2009
Engr 213 midterm 2a 2009akabaka12
 
Calculus First Test 2011/10/20
Calculus First Test 2011/10/20Calculus First Test 2011/10/20
Calculus First Test 2011/10/20Kuan-Lun Wang
 
Lecture3 ode (1) lamia
Lecture3 ode (1) lamiaLecture3 ode (1) lamia
Lecture3 ode (1) lamiamalkinh
 
Methods of solving ODE
Methods of solving ODEMethods of solving ODE
Methods of solving ODEkishor pokar
 
Maths Notes - Differential Equations
Maths Notes - Differential EquationsMaths Notes - Differential Equations
Maths Notes - Differential EquationsJames McMurray
 
Implicit Differentiation, Part 1
Implicit Differentiation, Part 1Implicit Differentiation, Part 1
Implicit Differentiation, Part 1Pablo Antuna
 
Solve ODE - BVP through the Least Squares Method
Solve ODE - BVP through the Least Squares MethodSolve ODE - BVP through the Least Squares Method
Solve ODE - BVP through the Least Squares MethodSuddhasheel GHOSH, PhD
 
Math refresher
Math refresherMath refresher
Math refresherdelilahnan
 
Ma 104 differential equations
Ma 104 differential equationsMa 104 differential equations
Ma 104 differential equationsarvindpt1
 
Differential equations
Differential equationsDifferential equations
Differential equationsCharan Kumar
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equationsAhmed Haider
 
Differential equation.ypm
Differential equation.ypmDifferential equation.ypm
Differential equation.ypmyogirajpm
 
Engr 213 midterm 2b sol 2009
Engr 213 midterm 2b sol 2009Engr 213 midterm 2b sol 2009
Engr 213 midterm 2b sol 2009akabaka12
 
C2 st lecture 6 handout
C2 st lecture 6 handoutC2 st lecture 6 handout
C2 st lecture 6 handoutfatima d
 

La actualidad más candente (20)

Automobile 3rd sem aem ppt.2016
Automobile 3rd sem aem ppt.2016Automobile 3rd sem aem ppt.2016
Automobile 3rd sem aem ppt.2016
 
Engr 213 midterm 2a sol 2009
Engr 213 midterm 2a sol 2009Engr 213 midterm 2a sol 2009
Engr 213 midterm 2a sol 2009
 
Lesson 11: Implicit Differentiation
Lesson 11: Implicit DifferentiationLesson 11: Implicit Differentiation
Lesson 11: Implicit Differentiation
 
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 2a 2009
Engr 213 midterm 2a 2009Engr 213 midterm 2a 2009
Engr 213 midterm 2a 2009
 
Calculus First Test 2011/10/20
Calculus First Test 2011/10/20Calculus First Test 2011/10/20
Calculus First Test 2011/10/20
 
Lecture3 ode (1) lamia
Lecture3 ode (1) lamiaLecture3 ode (1) lamia
Lecture3 ode (1) lamia
 
Methods of solving ODE
Methods of solving ODEMethods of solving ODE
Methods of solving ODE
 
Maths Notes - Differential Equations
Maths Notes - Differential EquationsMaths Notes - Differential Equations
Maths Notes - Differential Equations
 
Implicit Differentiation, Part 1
Implicit Differentiation, Part 1Implicit Differentiation, Part 1
Implicit Differentiation, Part 1
 
Solve ODE - BVP through the Least Squares Method
Solve ODE - BVP through the Least Squares MethodSolve ODE - BVP through the Least Squares Method
Solve ODE - BVP through the Least Squares Method
 
Nts
NtsNts
Nts
 
Math refresher
Math refresherMath refresher
Math refresher
 
Ma 104 differential equations
Ma 104 differential equationsMa 104 differential equations
Ma 104 differential equations
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
Guia edo todas
Guia edo todasGuia edo todas
Guia edo todas
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equations
 
Differential equation.ypm
Differential equation.ypmDifferential equation.ypm
Differential equation.ypm
 
Engr 213 midterm 2b sol 2009
Engr 213 midterm 2b sol 2009Engr 213 midterm 2b sol 2009
Engr 213 midterm 2b sol 2009
 
C2 st lecture 6 handout
C2 st lecture 6 handoutC2 st lecture 6 handout
C2 st lecture 6 handout
 

Destacado

Research results task 3
Research results   task 3Research results   task 3
Research results task 3Benjamin Irons
 
Week 4 [compatibility mode]
Week 4 [compatibility mode]Week 4 [compatibility mode]
Week 4 [compatibility mode]Hazrul156
 
Task 2 marketing campaign pres.
Task 2   marketing campaign pres.Task 2   marketing campaign pres.
Task 2 marketing campaign pres.Benjamin Irons
 
Task 6 film company research
Task 6   film company researchTask 6   film company research
Task 6 film company researchBenjamin Irons
 
Week 6 [compatibility mode]
Week 6 [compatibility mode]Week 6 [compatibility mode]
Week 6 [compatibility mode]Hazrul156
 
Task 4 audience profile
Task 4   audience profileTask 4   audience profile
Task 4 audience profileBenjamin Irons
 
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
 
Research results task 3
Research results   task 3Research results   task 3
Research results task 3Benjamin Irons
 
Task 7 film posters research
Task 7   film posters researchTask 7   film posters research
Task 7 film posters researchBenjamin Irons
 
Career goals of incoming pharmacy graduates
Career goals of incoming pharmacy graduatesCareer goals of incoming pharmacy graduates
Career goals of incoming pharmacy graduatesShizuo Heiwajima
 
Task 8 film magazine covers
Task 8   film magazine coversTask 8   film magazine covers
Task 8 film magazine coversBenjamin Irons
 
1 1 ict & tourism_introduction
1 1 ict & tourism_introduction1 1 ict & tourism_introduction
1 1 ict & tourism_introductionUsha Sandesh
 
Front cover and contents page analysis
Front cover and contents page analysisFront cover and contents page analysis
Front cover and contents page analysisBenjamin Irons
 

Destacado (16)

Research results task 3
Research results   task 3Research results   task 3
Research results task 3
 
Week 4 [compatibility mode]
Week 4 [compatibility mode]Week 4 [compatibility mode]
Week 4 [compatibility mode]
 
Focus group pres.
Focus group pres.Focus group pres.
Focus group pres.
 
Task 2 marketing campaign pres.
Task 2   marketing campaign pres.Task 2   marketing campaign pres.
Task 2 marketing campaign pres.
 
Task 6 film company research
Task 6   film company researchTask 6   film company research
Task 6 film company research
 
Week 6 [compatibility mode]
Week 6 [compatibility mode]Week 6 [compatibility mode]
Week 6 [compatibility mode]
 
Task 4 audience profile
Task 4   audience profileTask 4   audience profile
Task 4 audience profile
 
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]
 
Research results task 3
Research results   task 3Research results   task 3
Research results task 3
 
Task 7 film posters research
Task 7   film posters researchTask 7   film posters research
Task 7 film posters research
 
74hc4020
74hc402074hc4020
74hc4020
 
Career goals of incoming pharmacy graduates
Career goals of incoming pharmacy graduatesCareer goals of incoming pharmacy graduates
Career goals of incoming pharmacy graduates
 
Task 8 film magazine covers
Task 8   film magazine coversTask 8   film magazine covers
Task 8 film magazine covers
 
1 1 ict & tourism_introduction
1 1 ict & tourism_introduction1 1 ict & tourism_introduction
1 1 ict & tourism_introduction
 
Front cover and contents page analysis
Front cover and contents page analysisFront cover and contents page analysis
Front cover and contents page analysis
 

Similar a Week 3 [compatibility mode]

Engr 213 midterm 1a sol 2010
Engr 213 midterm 1a sol 2010Engr 213 midterm 1a sol 2010
Engr 213 midterm 1a sol 2010akabaka12
 
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 2009
Engr 213 midterm 1a sol 2009Engr 213 midterm 1a sol 2009
Engr 213 midterm 1a sol 2009akabaka12
 
Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010akabaka12
 
Engr 213 midterm 1b sol 2010
Engr 213 midterm 1b sol 2010Engr 213 midterm 1b sol 2010
Engr 213 midterm 1b sol 2010akabaka12
 
Extra Help 19- differential equations.pptx
Extra Help 19- differential equations.pptxExtra Help 19- differential equations.pptx
Extra Help 19- differential equations.pptxmahamoh6
 
AEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactoriesAEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactoriesSukhvinder Singh
 
Emat 213 midterm 1 fall 2005
Emat 213 midterm 1 fall 2005Emat 213 midterm 1 fall 2005
Emat 213 midterm 1 fall 2005akabaka12
 
Differential Calculus
Differential Calculus Differential Calculus
Differential Calculus OlooPundit
 
Techniques of differentiation further
Techniques of differentiation furtherTechniques of differentiation further
Techniques of differentiation furthermanrak
 
Maths assignment
Maths assignmentMaths assignment
Maths assignmentNtshima
 
Engr 213 midterm 1b sol 2009
Engr 213 midterm 1b sol 2009Engr 213 midterm 1b sol 2009
Engr 213 midterm 1b sol 2009akabaka12
 
first order ode with its application
 first order ode with its application first order ode with its application
first order ode with its applicationKrishna Peshivadiya
 

Similar a Week 3 [compatibility mode] (20)

Engr 213 midterm 1a sol 2010
Engr 213 midterm 1a sol 2010Engr 213 midterm 1a sol 2010
Engr 213 midterm 1a sol 2010
 
Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010
 
lec12.pdf
lec12.pdflec12.pdf
lec12.pdf
 
Engr 213 midterm 1a sol 2009
Engr 213 midterm 1a sol 2009Engr 213 midterm 1a sol 2009
Engr 213 midterm 1a sol 2009
 
Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010Engr 213 midterm 2a sol 2010
Engr 213 midterm 2a sol 2010
 
Engr 213 midterm 1b sol 2010
Engr 213 midterm 1b sol 2010Engr 213 midterm 1b sol 2010
Engr 213 midterm 1b sol 2010
 
Extra Help 19- differential equations.pptx
Extra Help 19- differential equations.pptxExtra Help 19- differential equations.pptx
Extra Help 19- differential equations.pptx
 
AEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactoriesAEM Integrating factor to orthogonal trajactories
AEM Integrating factor to orthogonal trajactories
 
Emat 213 midterm 1 fall 2005
Emat 213 midterm 1 fall 2005Emat 213 midterm 1 fall 2005
Emat 213 midterm 1 fall 2005
 
Differential Calculus
Differential Calculus Differential Calculus
Differential Calculus
 
Taller 2
Taller 2 Taller 2
Taller 2
 
Em12 ftd
Em12 ftdEm12 ftd
Em12 ftd
 
Techniques of differentiation further
Techniques of differentiation furtherTechniques of differentiation further
Techniques of differentiation further
 
Maths assignment
Maths assignmentMaths assignment
Maths assignment
 
Engr 213 midterm 1b sol 2009
Engr 213 midterm 1b sol 2009Engr 213 midterm 1b sol 2009
Engr 213 midterm 1b sol 2009
 
first order ode with its application
 first order ode with its application first order ode with its application
first order ode with its application
 
DIFFERENTIAL EQUATION
DIFFERENTIAL EQUATIONDIFFERENTIAL EQUATION
DIFFERENTIAL EQUATION
 
160280102021 c2 aem (2)
160280102021 c2 aem (2)160280102021 c2 aem (2)
160280102021 c2 aem (2)
 
Differentiation.pptx
Differentiation.pptxDifferentiation.pptx
Differentiation.pptx
 
Double integration
Double integrationDouble integration
Double integration
 

Último

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 

Último (20)

Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 

Week 3 [compatibility mode]

  • 1. KNF1023 Engineering Mathematics II First Order ODEs Prepared By Annie ak Joseph Prepared By Annie ak Joseph Session 2008/2009
  • 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 If a function u ( x, y ) has continuous partial derivatives, its total or exact differential is ∂u ∂u du = dx + dy ∂x ∂y From this it follows that if u ( x, y ) =c=const, then du = 0 A first-order differential equation of the form M ( x, y )dx + N ( x, y )dy = 0 − −− → (1) Is called exact if its left side is the total or exact differential
  • 4. Exact Differential Equation ∂u ∂u du = dx + dy − −− → (2) ∂x ∂y of some function u ( x, y ) . Then the differential equation (1) can be written du = 0 By integration we immediately obtain the general solution of (1) in the form u ( x, y ) = C − −− → (3)
  • 5. Exact Differential Equation Comparing (1) and (2), we see that (1) is exact if there is some function u ( x, y ) such that ∂u ∂u a) =M b) =N (4) ∂x ∂y ∂M ∂u 2 ∂N ∂ 2u = = ∂y ∂y∂x ∂x ∂x∂y By the assumption of continuity the two second derivatives are equal. Thus ∂M ∂N = − −− → (5) ∂y ∂x
  • 6. Exact Differential Equation This condition is not only necessary but also sufficient for Mdx + Ndy to be an exact differential. If (1) is exact, the function u ( x, y ) can be found by guessing or in the following systematic way. From 4(a) we have by integration with respect to x u = ∫ Mdx + k ( y ) − −− → ( 6 )
  • 7. Exact Differential Equation in this integration, y is to be regarded as a constant, and k(y) plays the role of a “constant” of integration. To determine k(y), we derive∂u / ∂y from (6), use (4b) to get ∂k / ∂y and integrate ∂k / ∂y to get k. Formula (6) was obtained from (4a). Instead of 4(a) we may equally well use (4b). Then instead of (6) we first have u = ∫ Ndy + l ( x) − −− → (*6 )
  • 8. Exact Differential Equation To determine l(x) we derive ∂u / ∂x from (6*), use (4a) to get ∂l / ∂x and integrate it to get l .
  • 9. Example 1: An exact equation 3 2 2 3 Solve ( x + 3 xy )dx + (3x y + y )dy = 0 (7) Solution: 1st step: Test for exactness. Our equation is of the form (1) with M = x 3 + 3 xy 2 N = 3x 2 y + y 3 ∂M = 6 xy ∂y ∂N = 6 xy ∂x exact solution
  • 10. Continue… 2nd Step: Implicit solution. From (6) we obtain u = ∫ Mdx + k ( y ) = ∫ ( x 3 + 3 xy 2 )dx + k ( y ) 1 4 3 2 2 = x + x y + k ( y) (8) 4 2 To find k(y), we differentiate this formula with respect to y and use formula (4b), obtaining ∂u 2 dk = 3x y + = N = 3x 2 y + y3 ∂y dy
  • 11. Continue… dk 3  y4  * Hence dy = y , so that k =  4  + c . Inserting   this into (8) we get the answer 1 4 u ( x, y ) = ( x + 6 x 2 y 2 + y 4 ) = c (9) 4 3rd step: Checking. For checking, we can differentiate u ( x, y ) = c implicitly and see whether this leads to dy = − M dx N or Mdx+ Ndy= 0 , the given equation.
  • 12. Continue… In the present case, differentiating (9) implicitly with respect to x, we obtain 1 (4 x3 + 12 xy 2 + 12 x 2 yy '+ 4 y 3 y ') = 0 4 Collecting terms, we see that this equals M + Ny’=0 with M and N as in (7); thus Mdx + Ndy = 0 .This completes the check.
  • 13. Example 2 ( ) Solve cos( x + y)dx + 3y 2 + 2 y + cos(x + y) dy = 0 Solution: M = cos( x + y ) N = 3 y 2 + 2 y + cos( x + y ) Thus ∂M = − sin( x + y ) ∂y exact ∂N = − sin( x + y ) ∂x
  • 14. Continue… Step 2: Implicit general solution. u = ∫ Mdx + k ( y ) = ∫ cos( x + y )dx + k ( y ) = sin( x + y ) + k ( y ) To find k(y), we differentiate this formula with respect to y and obtain ∂u dk = cos( x + y ) + = N = 3 y 2 + 2 y + cos( x + y ) ∂y dy 2 Hence dk / dy = 3 y + 2 y By integration, k = y 3 + y 2 + c * . Inserting this result u ( x, y ) = sin( x + y ) + y 3 + y 2 = c
  • 15. Continue… Step 3: Checking an implicit solution. We can check by differentiating the implicit solution u(x,y) = c implicitly and see whether this leads to the given ODE: ∂u ∂u du = dx + dy = cos( x + y )dx + (cos( x + y ) + 3 y 2 + 2 y )dy = 0 ∂x ∂y This completes the check.
  • 17. Identify whether the ODE is homogeneous or not??? dy Differential equation ( x , y ) is call = f dx Homogeneous equation if f ( λ x, λ y ) = f ( x, y ) for every real value of λ Example 3: Identify whether dy = y − x is dx y + x homogeneous or not.
  • 18. Continue… y−x f ( x, y ) = y+x λ y − λx f ( λ x, λ y ) = λ y + λx y−x = y+x = f ( x, y ) This equation is homogeneous
  • 19. Example 4 Check whether the equation given is homogeneous or not? dy = x− y dx f ( x, y ) = x − y f ( λ x, λ y ) = λ x − λ y = λ ( x − y) = λ f ( x, y ) This equation is not homogeneous.
  • 20. Example 5 dy x + 3 y Solve = dx 2x Solution: The above equation is a homogeneous y = ux dy du =u+x dx dx du x + 3(ux) x(1 + 3u ) 1 + 3u u+x = = = dx 2x 2x 2
  • 21. Continue… dv 1 + 3u u+x = dx 2 du 1 + 3u 1 + 3u − 2u 1 + u x = −u = = dx 2 2 2 du 1 + u 1 = = (1 + u )( ) dx 2x 2x du dx = u +1 2x du 1 dx ∫ u +1 = 2 ∫ x
  • 22. Continue… 1 ln ( u + 1) = ln x + ln c 2 1 ln ( u + 1) = ln x + ln c 2 1 ln ( u + 1) = ln( x c) 2 1 u + 1 = x 2c
  • 23. Continue… y 1 + 1 = x 2c x 3 y + x = x 2c
  • 24. Example 6 dy xy Solve = 2 dx x + y 2 subject y(0)=2 Let y = xu , rewrite this equation become du x ( xu ) u+x = 2 dx x + ( xu )2 u = 1+ u2 du u x = 2 −u dx 1 + u u3 =− 1+ u2
  • 25. Continue…  1+ u2  dx  3  du = −  u  x  1 1 dx  3 +  du = − u u x  1 1 dx ∫  u 3 + u du = − ∫ x   1 − 2 + ln u = − ln x + c 2u
  • 26. Continue… 1 ln u + ln x = c + 2 2u 1 ln xu = c + 2 2u y Substitute u= x x2 ln y = c + 2y2 x2 2 y2 y = Ae
  • 27. Continue… y ( 0) = 2 0 2 = Ae x2 2 y2 y = 2e
  • 28. Summary on solving Homogeneous equations 1. Identify whether the equation is homogeneous or not. dy du 2. Use substitution of y = xu and dx = u + x dx in the original equation. 3. Separate the variable x and u in 2. 4. Integral both sides with respect to the related variables and put only one constant, say A. y 5. Substitute back u = . x 6. If the equation has subject to any value, substitute it to get the constant value A.
  • 29. Prepared By Annie ak Joseph Prepared By Annie ak Joseph Session 2008/2009