Integrating factor: Difference between revisions

From Rice Wiki
No edit summary
No edit summary
Line 1: Line 1:
'''Integrating factor''' is a method to solve scalar [[Linear First Order ODE]]<nowiki/>s.
'''Integrating factor''' is a method to solve scalar [[Linear First Order ODE]]<nowiki/>s. It takes advantage of the product rule of derivatives


Consider
<math>(\mu y)' = \mu' y + \mu y'</math>
 
and attempts to move all y terms into the same differential order.
 
= Procedure =
Consider a linear first order ODE.


<math>y' + p(t) y = g(t)</math>
<math>y' + p(t) y = g(t)</math>

Revision as of 23:28, 23 April 2024

Integrating factor is a method to solve scalar Linear First Order ODEs. It takes advantage of the product rule of derivatives

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (\mu y)' = \mu' y + \mu y'}

and attempts to move all y terms into the same differential order.

Procedure

Consider a linear first order ODE.

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y' + p(t) y = g(t)}

We multiply bothsides by integrating factor Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mu(t)} such that the left hand side to be the exact derivative of a product. For this to work, we need

Applying the integrating factor, we have

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{aligned} \mu(t) y + \mu(t) p(t) y &= \mu(t) g(t) \\ \mu y' + \mu ' y &= \mu g \\ (\mu y)' &= \mu g \end{aligned}}

From there, simple integration and algebra will solve the equation.

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y(t) = \frac{1}{\mu(t)}\int \mu g dt + C }