First-order linear differential equation: Difference between revisions

From Calculus
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:

dydx+p(x)y=q(x)

where p,q are known functions.

Solution method and formula: indefinite integral version

Let H(x) be an antiderivative for p(x), so that H(x)=p(x). Then, we multiply both sides by eH(x). Simplifying, we get:

ddx[eH(x)y]=q(x)eH(x)

Integrating, we get:

eH(x)y=q(x)eH(x)dx

Rearranging, we get:

y=eH(x)q(x)eH(x)dx

where

H

is an antiderivative of

p

.

In particular, we obtain that:

General solution=Particular solution+CeH(x),CR

The function eH(x) 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 x=x0,y=y0.

Let H(x) be an antiderivative for p(x), so that H(x)=p(x). Then, we multiply both sides by eH(x). Simplifying, we get:

ddx[eH(x)y]=q(x)eH(x)

Integrating from x0 to (arbitrary) x, we get:

eH(x)yeH(x0)y0=x0xq(t)eH(t)dt

Thus, the general expression is:

y=eH(x)(eH(x0)y0+x0xq(t)eH(t)dt)