maths.freeDifferential Equations › First order › Integrating factor

Integrating factor

In mathematics, an integrating factor is a function that is chosen to facilitate the solving of a given equation involving differentials.

Integrating factor

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 non-exact 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.

Use

An integrating factor is any expression that a differential equation is multiplied by to facilitate integration. For example, the nonlinear second order equation

\(\frac{d^2 y}{d t^2} = A y^{2/3}\)

admits \(\frac{d y}{d t}\) as an integrating factor:

\(\frac{d^2 y}{d t^2} \frac{d y}{d t} = A y^{2/3} \frac{d y}{d t}.\)

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

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

Therefore,

\(\left(\frac{d y}{d t}\right)^2 = \frac{6 A}{5} y^{5/3} + C_0.\)

where \(C_0\) is a constant.

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

\(\int_{y(0)}^{y(t)} \frac{d y}{\sqrt{\frac{6 A}{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.

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)\)

The basic idea is to find some function, say \(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, the integrating factor is \(e^{\int P(x) \, dx}\).

Note that it is not necessary to include the arbitrary constant in the integral, or absolute values in case the integral of \(P(x)\) involves a logarithm. Firstly, we only need one integrating factor to solve the equation, not all possible ones; secondly, such constants and absolute values will cancel out even if included. For absolute values, this can be seen by writing \(|f(x)| = f(x) \sgn f(x)\), where \(\sgn\) refers to the sign function, which will be constant on an interval if \(f(x)\) is continuous. As \(\ln |f(x)|\) is undefined when \(f(x) = 0\), and a logarithm in the antiderivative only appears when the original function involved a logarithm or a reciprocal (neither of which are defined for 0), such an interval will be the interval of validity of our solution.

To derive this, let \(M(x)\) be the integrating factor of a first order linear differential equation such that multiplication by \(M(x)\) transforms a non-integrable expression into an integrable derivative, then:

  1. \(M(x)\underset{\text{non-integrable expression}}{(\underbrace{y'+P(x)y})}\)
  2. \(M(x)y'+M(x)P(x)y\)
  3. \(\underbrace{M(x)y'+M'(x)y}_{\text{integrable derivative}}\)

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

  1. \(M(x)P(x) = M'(x)\)
  2. \(P(x) = \frac{M'(x)}{M(x)}\)
  3. \(\int P(x) \, dx = \ln M(x) + c\)
  4. \(M(x)=Ce^{\int P(x) \, dx}\)

To verify, multiplying by \(M(x)\) gives

\(M(x)y' + P(x) M(x)y = Q(x)M(x)\)

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

\(M(x)y' + P(x) M(x)y = M(x)y' + M'(x)y = \frac{d}{dx}( M(x)y)\)

\(\frac{d}{dx}\left( M(x)y\right) = Q(x) M(x)\)

\(Ce^{\int P(x) \, dx}y = \int Q(x) Ce^{\int P(x) \, dx} dx\)

\(e^{\int P(x) \, dx}y = \left( \int Q(x) e^{\int P(x) \, dx} \,dx \right)+ C\)

\(y = e^{-\int P(x) \, dx}\left( \int Q(x) e^{\int P(x) \, dx} \,dx \right)+ Ce^{- \int P(x) \, dx}\)

\(y = Ce^{- \int P(x) \, dx}\).

\(y'-\frac{2y}{x} = 0.\)

\(M(x)=e^{\int_1^x P(x) dx}\)

\(M(x)=e^{\int_1^x \frac{-2}{x}\,dx} = e^{-2 \ln x} = {\left(e^{\ln x}\right)}^{-2} = x^{-2}\)

\(M(x)=\frac{1}{x^2}.\)

\(\frac{y'}{x^2} - \frac{2y}{x^3} = 0\)

\(\frac{d (x^{-2}y)}{dx} = 0\)

\(x^{-2}y = C\)

\(y = Cx^2\)

\(\frac{y'}{x^2} - \frac{2y}{x^3} = 0\)

\(\frac{y'x^3 - 2x^2y}{x^5} = 0\)

\(\frac{x(y'x^2 - 2xy)}{x^5} = 0\)

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

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

\(\frac{y}{x^2} = C,\)

\(y = Cx^2.\)

Condensed: the full section is in Wikipedia.

Solving second order linear ordinary differential equations

The method of integrating factors for first order equations can be naturally extended to second order equations as well. The main goal in solving first order equations was to find an integrating factor \(M(x)\) such that multiplying \(y'+p(x)y=h(x)\) by it would yield \((M(x)y)'=M(x)h(x)\), after which subsequent integration and division by \(M(x)\) would yield \(y\). For second order linear differential equations, if we want \(M(x)=e^{\int p(x)\,dx}\) to work as an integrating factor, then

\((M(x)y)''=M(x)\left(y'' + 2p(x)y' + \left(p(x)^2+p'(x)\right) y \right)=M(x)h(x)\)

This implies that a second order equation must be exactly in the form \(y'' + 2p(x)y' + \left(p(x)^2+p'(x)\right) y=h(x)\) for the integrating factor to be usable.

Solving nth order linear differential equations

Integrating factors can be extended to any order, though the form of the equation needed to apply them gets more and more specific as order increases, making them less useful for orders 3 and above. The general idea is to differentiate the function \(M(x)y\) \(n\) times for an \(n\)th order differential equation and combine like terms. This will yield an equation in the form

\(M(x)F\!\left(y,y',y'',\ldots,y^{(n)}\right)\)

If an \(n\)th order equation matches the form \(F\!\left(y,y',y'',\ldots,y^{(n)}\right)\) that is gotten after differentiating \(n\) times, one can multiply all terms by the integrating factor and integrate \(h(x)M(x)\) \(n\) times, dividing by the integrating factor on both sides to achieve the final result.

Now you Ոչ մի հաշվիչ չի կարող լուծել այս խնդիրը, բայց դրա մասերը հաշվարկելի են։ Փորձեք ստորեւ նշվածներից մեկը կամ գրեք ձեր սեփականը։

Ձեր սեփական աշխատանքը շարունակեք

Ազատ հաշիվը յուրաքանչյուր դասավանդման համար գրառումներ է ավելացնում, Ձեր ավարտելիք դասերի և լուծված խնդիրների ցուցակ է պահում մեկ տեղում, և ուսուցիչ, ում կարող եք հարցնել այս էջի մասին։ Մաթեմատիկան բաց է բոլորի համար, անկախ նրանից մուտքագրվել եք արդյոք կամ ոչ։

Գրանցվել Գրանցում

Օգտագործված սիմվոլներ

Տեղադրեք ցանկացած նշան՝ ամբողջական սահմանման, նկարի և դրա մեջ ամեն մի տառի իմաստը տեսնելու համար։

Հարցեր, որոնք մարդիկ տալիս են :

What is a differential equation?

An equation whose unknown is a function, relating it to its own derivatives. "The rate of growth is proportional to the population" is y′ = ky, and solving it means finding y as a function of time.

Why does the solution have arbitrary constants?

Integrating loses information: many functions share the same derivative. An n-th order equation has n constants, fixed by n initial or boundary conditions.

Այս էջը կառուցված է հետևյալ սկզբունքով. Wikipedia (CC BY-SA 4.0). Ընդհանուր և հատուկ դասակարգումներ: Ընդհանուր դասակարգում.

Ցուցադրել Differential Equations