13.07.2015 Views

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FIRST-ORDER ORDINARY DIFFERENTIAL EQUATIONS◮Solvedydx = − 2 y − 3y2x .Rearranging into the <strong>for</strong>m (14.9), we have(4x +3y 2 ) dx +2xy dy =0, (14.13)i.e. A(x, y) =4x +3y 2 <strong>and</strong> B(x, y) =2xy. Now∂A∂y =6y, ∂B∂x =2y,so the ODE is not exact in its present <strong>for</strong>m. However, we see that(1 ∂AB ∂y − ∂B )= 2 ∂x x ,a function of x alone. There<strong>for</strong>e an integrating factor exists that is also a function of xalone <strong>and</strong>, ignoring the arbitrary constant of integration, is given by{ ∫ } dxµ(x) =exp 2 =exp(2lnx) =x 2 .xMultiplying (14.13) through by µ(x) =x 2 we obtain(4x 3 +3x 2 y 2 ) dx +2x 3 ydy=4x 3 dx +(3x 2 y 2 dx +2x 3 ydy)=0.By inspection this integrates immediately to give the solution x 4 + y 2 x 3 = c, wherec is aconstant. ◭Solution method. Examine whether f(x) <strong>and</strong> g(y) are functions of only x or yrespectively. If so, then the required integrating factor is a function of either x ory only, <strong>and</strong> is given by (14.11) or (14.12) respectively. If the integrating factor isa function of both x <strong>and</strong> y, then sometimes it may be found by inspection or bytrial <strong>and</strong> error. In any case, the integrating factor µ must satisfy (14.10). Once theequation has been made exact, solve by the method of subsection 14.2.2.14.2.4 Linear equationsLinear first-order ODEs are a special case of inexact ODEs (discussed in theprevious subsection) <strong>and</strong> can be written in the conventional <strong>for</strong>mdy+ P (x)y = Q(x). (14.14)dxSuch equations can be made exact by multiplying through by an appropriateintegrating factor in a similar manner to that discussed above. In this case,however, the integrating factor is always a function of x alone <strong>and</strong> may beexpressed in a particularly simple <strong>for</strong>m. An integrating factor µ(x) must be suchthatµ(x) dyd+ µ(x)P (x)y = [µ(x)y] = µ(x)Q(x), (14.15)dx dx474

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!