Sponsored Links

Selasa, 14 November 2017

Sponsored Links

integrating-factor-example - YouTube
src: i.ytimg.com

In mathematics, an integrating factor is a function that is chosen to facilitate the solving of a given equation involving differentials. It is commonly used to solve ordinary differential equations, but is also used within multivariable calculus when multiplying through by an integrating factor allows an inexact differential to be made into an exact differential (which can then be integrated to give a scalar field). This is especially useful in thermodynamics where temperature becomes the integrating factor that makes entropy an exact differential.


Video Integrating factor



Use in solving first order linear ordinary differential equations

Integrating factors are useful for solving ordinary differential equations that can be expressed in the form

y ? + P ( x ) y = Q ( x ) {\displaystyle y'+P(x)y=Q(x)}

The basic idea is to find some function M ( x ) {\displaystyle M(x)} , called the "integrating factor," which we can multiply through our differential equation in order to bring the left-hand side under a common derivative. For the canonical first-order, linear differential equation shown above, our integrating factor is chosen to be

M ( x ) = e ? s 0 x P ( s ) d s {\displaystyle M(x)=e^{\int _{s_{0}}^{x}P(s)ds}}

In order to derive this, let M ( x ) {\displaystyle M(x)} be the integrating factor of a first order, linear differential equation such that multiplication by M ( x ) {\displaystyle M(x)} transforms a partial derivative into a total derivative, then:

( 1 ) M ( x ) ( y ? + P ( x ) y ? ) partial derivative ( 2 ) M ( x ) y ? + M ( x ) P ( x ) y ( 3 ) M ( x ) y ? + M ? ( x ) y ? total derivative {\displaystyle {\begin{aligned}(1)\qquad &M(x){\underset {\text{partial derivative}}{(\underbrace {y'+P(x)y} )}}\\(2)\qquad &M(x)y'+M(x)P(x)y\\(3)\qquad &{\underset {\text{total derivative}}{\underbrace {M(x)y'+M'(x)y} }}\end{aligned}}}

Going from step 2 to step 3 requires that M ( x ) P ( x ) = M ? ( x ) {\displaystyle M(x)P(x)=M'(x)} , which is a separable differential equation, whose solution yields M ( x ) {\displaystyle M(x)} in terms of P ( x ) {\displaystyle P(x)} :

( 4 ) M ( x ) P ( x ) = M ? ( x ) ( 5 ) P ( x ) = M ? ( x ) M ( x ) ( 6 ) ? s 0 x P ( s ) d s = ln M ( x ) ( 7 ) e ? s 0 x P ( s ) d s = M ( x ) {\displaystyle {\begin{aligned}(4)\qquad &M(x)P(x)=M'(x)\\(5)\qquad &P(x)={\frac {M'(x)}{M(x)}}\\(6)\qquad &\int _{s_{0}}^{x}P(s)ds=\ln M(x)\\(7)\qquad &e^{\int _{s_{0}}^{x}P(s)ds}=M(x)\end{aligned}}}

To verify see that multiplying through by M ( x ) {\displaystyle M(x)} gives

y ? e ? s 0 x P ( s ) d s + P ( x ) y e ? s 0 x P ( s ) d s = Q ( x ) e ? s 0 x P ( s ) d s {\displaystyle y'e^{\int _{s_{0}}^{x}P(s)ds}+P(x)ye^{\int _{s_{0}}^{x}P(s)ds}=Q(x)e^{\int _{s_{0}}^{x}P(s)ds}}

By applying the product rule in reverse, we see that the left-hand side can be expressed as a single derivative in x {\displaystyle x}

y ? e ? s 0 x P ( s ) d s + P ( x ) y e ? s 0 x P ( s ) d s = d d x ( y e ? s 0 x P ( s ) d s ) {\displaystyle y'e^{\int _{s_{0}}^{x}P(s)ds}+P(x)ye^{\int _{s_{0}}^{x}P(s)ds}={\frac {d}{dx}}(ye^{\int _{s_{0}}^{x}P(s)ds})}

We use this fact to simplify our expression to

d d x ( y e ? s 0 x P ( s ) d s ) = Q ( x ) e ? s 0 x P ( s ) d s {\displaystyle {\frac {d}{dx}}\left(ye^{\int _{s_{0}}^{x}P(s)ds}\right)=Q(x)e^{\int _{s_{0}}^{x}P(s)ds}}

We then integrate both sides with respect to x {\displaystyle x} , firstly by renaming x {\displaystyle x} to t {\displaystyle t} , obtaining

y e ? s 0 x P ( s ) d s = ? t 0 x Q ( t ) e ? s 0 t P ( s ) d s d t + C {\displaystyle ye^{\int _{s_{0}}^{x}P(s)ds}=\int _{t_{0}}^{x}Q(t)e^{\int _{s_{0}}^{t}P(s)ds}dt+C}

Finally, we can move the exponential to the right-hand side to find a general solution to our ODE:

y = e - ? s 0 x P ( s ) d s ? t 0 x Q ( t ) e ? s 0 t P ( s ) d s d t + C e - ? s 0 x P ( s ) d s {\displaystyle y=e^{-\int _{s_{0}}^{x}P(s)ds}\int _{t_{0}}^{x}Q(t)e^{\int _{s_{0}}^{t}P(s)ds}dt+Ce^{-\int _{s_{0}}^{x}P(s)ds}}

In the case of a homogeneous differential equation, in which Q ( x ) = 0 {\displaystyle Q(x)=0} , we find that

y = C e ? s 0 x P ( s ) d s {\displaystyle y={\frac {C}{e^{\int _{s_{0}}^{x}P(s)ds}}}}

where C {\displaystyle C} is a constant.

Example

Solve the differential equation

y ? - 2 y x = 0. {\displaystyle y'-{\frac {2y}{x}}=0.}

We can see that in this case P ( x ) = - 2 x {\displaystyle P(x)={\frac {-2}{x}}}

M ( x ) = e ? 1 x P ( s ) d s {\displaystyle M(x)=e^{\int _{1}^{x}P(s)\,ds}} (Note we do not need to keep a general s 0 {\displaystyle s_{0}} - we need only a solution, not the general solution)
M ( x ) = e ? 1 x - 2 s d s = e - 2 ln x = ( e ln x ) - 2 = x - 2 {\displaystyle M(x)=e^{\int _{1}^{x}{\frac {-2}{s}}\,ds}=e^{-2\ln x}={(e^{\ln x})}^{-2}=x^{-2}}
M ( x ) = 1 x 2 . {\displaystyle M(x)={\frac {1}{x^{2}}}.}

Multiplying both sides by M ( x ) {\displaystyle M(x)} we obtain

y ? x 2 - 2 y x 3 = 0 {\displaystyle {\frac {y'}{x^{2}}}-{\frac {2y}{x^{3}}}=0}
y ? x 3 - 2 x 2 y x 5 = 0 {\displaystyle {\frac {y'x^{3}-2x^{2}y}{x^{5}}}=0}
x ( y ? x 2 - 2 x y ) x 5 = 0 {\displaystyle {\frac {x(y'x^{2}-2xy)}{x^{5}}}=0}
y ? x 2 - 2 x y x 4 = 0. {\displaystyle {\frac {y'x^{2}-2xy}{x^{4}}}=0.}

Reversing the quotient rule gives

( y x 2 ) ? = 0 {\displaystyle \left({\frac {y}{x^{2}}}\right)'=0}

or

y x 2 = C {\displaystyle {\frac {y}{x^{2}}}=C\,}

which gives

y ( x ) = C x 2 . {\displaystyle y\left(x\right)=Cx^{2}.}

Maps Integrating factor



General use

An integrating factor is any expression that a differential equation is multiplied by to facilitate integration and is not restricted to first order linear equations. For example, the nonlinear second order equation

d 2 y d t 2 = A y 2 / 3 {\displaystyle {\frac {d^{2}y}{dt^{2}}}=Ay^{2/3}}

admits d y d t {\displaystyle {\tfrac {dy}{dt}}} as an integrating factor:

d 2 y d t 2 d y d t = A y 2 / 3 d y d t . {\displaystyle {\frac {d^{2}y}{dt^{2}}}{\frac {dy}{dt}}=Ay^{2/3}{\frac {dy}{dt}}.}

To integrate, note that both sides of the equation may be expressed as derivatives by going backwards with the chain rule:

d d t ( 1 2 ( d y d t ) 2 ) = d d t ( A 3 5 y 5 / 3 ) . {\displaystyle {\frac {d}{dt}}\left({\frac {1}{2}}\left({\frac {dy}{dt}}\right)^{2}\right)={\frac {d}{dt}}\left(A{\frac {3}{5}}y^{5/3}\right).}

Therefore

( d y d t ) 2 = 6 A 5 y 5 / 3 + C 0 . {\displaystyle \left({\frac {dy}{dt}}\right)^{2}={\frac {6A}{5}}y^{5/3}+C_{0}.}

This form may be more useful, depending on application. Performing a separation of variables will give

? y ( 0 ) y ( t ) d y 6 A 5 y 5 / 3 + C 0 = t {\displaystyle \int _{y(0)}^{y(t)}{\frac {dy}{\sqrt {{\frac {6A}{5}}y^{5/3}+C_{0}}}}=t}

This is an implicit solution which involves a nonelementary integral. This same method is used to solve the period of a simple pendulum.


Non-exact differential equation with integrating factor example ...
src: i.ytimg.com


See also

  • Method of variation of parameters
  • Examples of differential equations
  • Product rule
  • Exact differential
  • Matrix exponential - for integrating factors for systems of n first order linear equations in n variables

Bernoulli Differential Equations - ppt video online download
src: slideplayer.com


External links

  • Munkhammar, Joakim, "Integrating Factor", MathWorld .

Source of the article : Wikipedia

Comments
0 Comments