First-order linear differential equation: Difference between revisions
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
The function <math>e^{H(x)}</math> is termed the [[integrating factor]] for the differential equation because multiplying by this turns the differential equation into an exact differential equation, i.e., a differential equation to which we can apply integration on both sides. | The function <math>e^{H(x)}</math> is termed the [[integrating factor]] for the differential equation because multiplying by this turns the differential equation into an exact differential equation, i.e., a differential equation to which we can apply integration on both sides. | ||
===Solution method and formula: definite integral version=== | |||
Suppose we are given the initial value condition that at <math>x = x_0, y = y_0</math>. | |||
Let <math>H(x)</math> be an [[antiderivative]] for <math>p(x)</math>, so that <math>H'(x) = p(x)</math>. Then, we multiply both sides by <math>e^{H(x)}</math>. Simplifying, we get: | |||
<math>\frac{d}{dx}[e^{H(x)}y] = q(x)e^{H(x)}</math> | |||
Integrating from <math>x_0</math> to (arbitrary) <math>x</math>, we get: | |||
<math>e^{H(x)}y - e^{H(x_0)}y_0= \int_{x_0}^x q(t)e^{H(t)} \, dt</math> | |||
Thus, the general expression is: | |||
<math>y = e^{-H(x)}\left(e^{H(x_0)}y_0 + \int_{x_0}^x q(t)e^{H(t)} \, dt\right)</math> |
Revision as of 15:15, 29 June 2012
Definition
Format of the differential equation
A first-order linear differential equation is a differential equation of the form:
where are known functions.
Solution method and formula: indefinite integral version
Let be an antiderivative for , so that . Then, we multiply both sides by . Simplifying, we get:
Integrating, we get:
Rearranging, we get:
where is an antiderivative of .
In particular, we obtain that:
The function is termed the integrating factor for the differential equation because multiplying by this turns the differential equation into an exact differential equation, i.e., a differential equation to which we can apply integration on both sides.
Solution method and formula: definite integral version
Suppose we are given the initial value condition that at .
Let be an antiderivative for , so that . Then, we multiply both sides by . Simplifying, we get:
Integrating from to (arbitrary) , we get:
Thus, the general expression is: