Difference between revisions of "Integrating Factor"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
When solving first order linear differential equations of the form <math> y' + p(x)y = g(x) </math>, we can utilize the "integrating factor" <math> \mu (x) = e^{\int p(x)dx}</math>. | When solving first order linear differential equations of the form <math> y' + p(x)y = g(x) </math>, we can utilize the "integrating factor" <math> \mu (x) = e^{\int p(x)dx}</math>. | ||
− | Steps to solving an equation of the form \frac{dy}{dx} + p(x)y = g(x): | + | Steps to solving an equation of the form <math> \frac{dy}{dx} + p(x)y = g(x) </math>: |
− | # Find the integrating factor <math> \mu (x) = e^{\int p(x)dx}</math>, and note that <math> \mu '(x) = p(x)e^{\int p(x)dx} = p(x)\mu (x)</math>, | + | # Find the integrating factor <math> \mu (x) = e^{\int p(x)dx} </math>, and note that <math> \mu '(x) = p(x)e^{\int p(x)dx} = p(x)\mu (x)</math>, |
# Multiply both sides of the equation by the integrating factor. | # Multiply both sides of the equation by the integrating factor. | ||
− | # The left side of the equation, <math> y'\mu (x) + p(x)\mu (x)y </math>, can now be rewritten as <math> (\mu (x)y)' </math> since <math> y'\mu (x) + p(x)\mu (x)y = y'\mu (x) + \mu '(x)y</math>. Verify by taking the derivative of <math> \mu (x)y </math> with respect to x with the product rule. | + | # The left side of the equation, <math> y'\mu (x) + p(x)\mu (x)y </math>, can now be rewritten as <math> (\mu (x)y)' </math> since <math> y'\mu (x) + p(x)\mu (x)y = y'\mu (x) + \mu '(x)y </math>. Verify by taking the derivative of <math> \mu (x)y </math> with respect to x with the product rule. |
# Now, integrate <math> (\mu (x)y)' = g(x)\mu (x)</math> to get <math> \mu (x)y = \int g(x)\mu (x)dx </math>. | # Now, integrate <math> (\mu (x)y)' = g(x)\mu (x)</math> to get <math> \mu (x)y = \int g(x)\mu (x)dx </math>. | ||
# Solve for y. | # Solve for y. | ||
+ | |||
+ | Example problem: <math> y' + \frac{2}{t}y = t - 1 + \frac{1}{t} </math> | ||
+ | # <math> \mu (x) = e^{\int \frac{2}{t}dt} = e^{2\ln{|t|}} = e^{\ln{|t|^2}} = t^2 </math> | ||
+ | # <math> t^2y' + 2ty = t^3 - t^2 + t </math> | ||
+ | # <math> (t^2y)' = t^3 - t^2 + t </math> | ||
+ | # <math> t^2y = \int (t^3 - t^2 + t)dt = \frac{1}{4}t^4 - \frac{1}{3}t^3 + \frac{1}{2}t^2 + C </math> | ||
+ | # <math> y = \frac{1}{4}t^2 - \frac{1}{3}t + \frac{1}{2} + \frac{C}{t^2} </math> | ||
==Resources== | ==Resources== | ||
* [https://tutorial.math.lamar.edu/classes/de/linear.aspx Solving Linear Equations], Paul's Online Notes | * [https://tutorial.math.lamar.edu/classes/de/linear.aspx Solving Linear Equations], Paul's Online Notes |
Revision as of 12:47, 22 September 2021
When solving first order linear differential equations of the form , we can utilize the "integrating factor" .
Steps to solving an equation of the form :
- Find the integrating factor , and note that ,
- Multiply both sides of the equation by the integrating factor.
- The left side of the equation, , can now be rewritten as since . Verify by taking the derivative of with respect to x with the product rule.
- Now, integrate to get .
- Solve for y.
Example problem:
Resources
- Solving Linear Equations, Paul's Online Notes