ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
Linear differential equation - Wikipedia, the free encyclopedia

Linear differential equation

From Wikipedia, the free encyclopedia

In mathematics, a linear differential equation is a differential equation of the form

Ly = f,

where the differential operator L is a linear operator, y is the unknown function, and the right hand side f is a given function (called the source term). The linearity condition on L rules out operations such as taking the square of the derivative of y; but permits, for example, taking the second derivative of y. Therefore a fairly general form of such an equation would be

 a_n(x) D^n y(x) + a_{n-1}(x)D^{n-1} y(x) + \cdots + a_1(x) D y(x) + a_0(x) y(x) =f(x)

where D is the differential operator d/dx (i.e. Dy = y' , D²y = y",... ), and the ai are given functions. Such an equation is said to have order n, the index of the highest derivative of y that is involved. (Assuming a possibly existing coefficient an of this derivative to be non zero, it is eliminated by dividing through it. In case it can become zero, different cases must be considered separately for the analysis of the equation.)

If y is assumed to be a function of only one variable, one speaks about an ordinary differential equation, else the derivatives and their coefficients must be understood as (contracted) vectors, matrices or tensors of higher rank, and we have a (linear) partial differential equation.

The case where f = 0 is called a homogeneous equation and its solutions are called complementary functions. It is particularly important to the solution of the general case, since any complementary function can be added to a solution of the inhomogeneous equation to give another solution (by a method traditionally called particular integral and complementary function). When the ai are numbers, the equation is said to have constant coefficients.

Contents

[edit] Homogeneous equations with constant coefficients

To solve such an equation one makes a substitution

y = e^{\lambda x}, \!\

to form the characteristic equation

{\lambda^n +a_{n-1}\lambda^{n-1}+\cdots+a_1\lambda+a_0 = 0}

to obtain the solutions

\lambda=s_0, s_1, \dots, s_{n-1}.

When this polynomial has distinct roots, we have immediately n solutions to the differential equation in the form

y_i(x)=e^{s_i x}.\,

It can be shown that these are linearly independent, by applying the Vandermonde determinant. Since homogeneous linear DEs obey the superposition principle, their linear combinations, with n coefficients, should provide a complete solution. So it proves: it is known that the general solution to the homogeneous equation can be formed from a linear combination of the yi, ie.,

{y_H(x)=A_0 y_0(x)+A_1 y_1+\cdots+A_{n-1} y_{n-1}}

where the solutions are not distinct, it may be necessary to multiply them by some power of x to obtain linear independence; the general solution therefore involves the product of polynomials, of degrees bounded in terms of the multiplicities of the roots, and exponentials.

The first method of solving linear ordinary differential equations with constant coefficients is due to Euler, who realized that solutions have the form ezx, for possibly-complex values of z. Thus to solve

\frac {d^{n}y} {dx^{n}} + A_{1}\frac {d^{n-1}y} {dx^{n-1}} + \cdots + A_{n}y = 0

we set y = ezx, leading to

z^n e^{zx} + A_1 z^{n-1} e^{zx} + \cdots + A_n e^{zx} = 0

so dividing by ezx gives the nth-order polynomial

F(z) = z^{n} + A_{1}z^{n-1} + \cdots + A_n = 0

In short, the terms

\frac {d^{k}y} {dx^{k}}\quad\quad(k = 1, 2, \dots, n).

of the original differential equation are replaced by zk. Solving the polynomial gives n values of z, z_1, \dots,z_n. Plugging those values into e^{z_i x} gives a basis for the solution; any linear combination of these basis functions will satisfy the differential equation.

This equation F(z) = 0, is the "characteristic" equation considered later by Monge and Cauchy.


Example
y''''-2y'''+2y''-2y'+y=0 \,

has the characteristic equation

z^4-2z^3+2z^2-2z+1=0 \,.

This has zeroes, i, −i, and 1 (multiplicity 2). The solution basis is then

e^{ix} ,\, e^{-ix} ,\, e^x ,\, xe^x \,.

This corresponds to the real-valued solution basis

\cos x ,\, \sin x ,\, e^x ,\, xe^x \,.

If z is a (possibly not real) zero(or root) of F(z) of multiplicity m and k\in\{0,1,\dots,m-1\} \, then y=x^ke^{zx} \, is a solution of the ODE. These functions make up a basis of the ODE's solutions.

If the Ai are real then real-valued solutions are preferable. Since the non-real z values will come in conjugate pairs, so will their corresponding ys; replace each pair with their linear combinations Re(y) and Im(y).

A case that involves complex roots can be solved with the aid of Euler's formula.

[edit] Examples

Given y''-4y'+5y=0 \,. The characteristic equation is z^2-4z+5=0 \, which has zeroes 2+i and 2−i. Thus the solution basis {y1,y2} is \{e^{(2+i)x},e^{(2-i)x}\} \,. Now y is a solution iff y=c_1y_1+c_2y_2 \, for c_1,c_2\in\mathbb C.

Because the coefficients are real,

  • we are likely not interested in the complex solutions
  • our basis elements are mutual conjugates

The linear combinations

u_1=\mbox{Re}(y_1)=\frac{y_1+y_2}{2}=e^{2x}\cos(x) \, and
u_2=\mbox{Im}(y_1)=\frac{y_1-y_2}{2i}=e^{2x}\sin(x) \,

will give us a real basis in {u1,u2}.

[edit] Simple harmonic oscillator

The second order differential equation

D2y = − k2y,

which represents a simple harmonic oscillator, can be restated as

(D2 + k2)y = 0.

The expression in parenthesis can be factored out, yielding

(D + ik)(Dik)y = 0,

which has a pair of linearly independent solutions, one for

(Dik)y = 0

and another for

(D + ik)y = 0.

The solutions are, respectively,

y0 = A0eikx

and

y1 = A1e ikx.

These solutions provide a basis for the two-dimensional "solution space" of the second order differential equation: meaning that linear combinations of these solutions will also be solutions. In particular, the following solutions can be constructed

 y_{0'} = {A_0 e^{i k x} + A_0 e^{-i k x} \over 2} = A_0 \cos (k x)

and

 y_{1'} = {A_1 e^{i k x} - A_1 e^{-i k x} \over 2 i} = A_1 \sin (k x).

These last two trigonometric solutions are linearly independent, so they can serve as another basis for the solution space, yielding the following general solution:

yH = A0cos(kx) + A1sin(kx).

[edit] Damped harmonic oscillator

Given the equation for the damped harmonic oscillator:

 \left(D^2 + {b \over m} D + \omega_0^2\right)  y =  0,

the expression in parentheses can be factored out: first obtain the characteristic equation by replacing D with λ. This equation must be satisfied for all y, thus:

 \lambda^2 + {b \over m} \lambda + \omega_0^2 = 0.

Solve using the quadratic formula:

 \lambda = {-b/m \pm \sqrt{b^2 / m^2 - 4 \omega_0^2} \over 2}.

Use these data to factor out the original differential equation:

 \left(D + {b \over 2 m} - \sqrt{{b^2 \over 4 m^2} - \omega_0^2} \right) \left(D + {b \over 2m} + \sqrt{{b^2 \over 4 m^2} - \omega_0^2}\right) y = 0.

This implies a pair of solutions, one corresponding to

 \left(D + {b \over 2 m} - \sqrt{{b^2 \over 4 m^2} - \omega_0^2} \right) y = 0

and another to

 \left(D + {b \over 2m} + \sqrt{{b^2 \over 4 m^2} - \omega_0^2}\right) y = 0

The solutions are, respectively,

 y_0 = A_0 e^{-\omega x + \sqrt{\omega^2 - \omega_0^2} x} = A_0 e^{-\omega x} e^{\sqrt{\omega^2 - \omega_0^2} x}

and

 y_1 = A_1 e^{-\omega x - \sqrt{\omega^2 - \omega_0^2} x} = A_1 e^{-\omega x} e^{-\sqrt{\omega^2 - \omega_0^2} x}

where ω = b / 2m. From this linearly independent pair of solutions can be constructed another linearly independent pair which thus serve as a basis for the two-dimensional solution space:

 y_H (A_0, A_1) (x) = \left(A_0 \sinh \sqrt{\omega^2 - \omega_0^2} x + A_1 \cosh \sqrt{\omega^2 - \omega_0^2} x\right) e^{-\omega x}.

However, if |ω| < |ω0| then it is preferable to get rid of the consequential imaginaries, expressing the general solution as

 y_H (A_0, A_1) (x) = \left(A_0 \sin \sqrt{\omega_0^2 - \omega^2} x + A_1 \cos \sqrt{\omega_0^2 - \omega^2} x\right) e^{-\omega x}.

This latter solution corresponds to the underdamped case, whereas the former one corresponds to the overdamped case: the solutions for the underdamped case oscillate whereas the solutions for the overdamped case do not.

[edit] Nonhomogeneous equation with constant coefficients

To obtain the solution to the non-homogeneous equation (sometimes called inhomogeneous equation), find a particular solution yP(x) by either the method of undetermined coefficients or the method of variation of parameters; the general solution to the linear differential equation is the sum of the general solution of the related homogeneous equation and the particular solution.

Suppose we face

\frac {d^{n}y} {dx^{n}} + A_{1}\frac {d^{n-1}y} {dx^{n-1}} + \cdots + A_{n}y = f(x).

For later convenience, define the characteristic polynomial

P(v)=v^n+A_1v^{n-1}+\cdots+A_n.

We find the solution basis \{y_1,y_2,\ldots,y_n\} as in the homogeneous (f=0) case. We now seek a particular solution yp by the variation of parameters method. Let the coefficients of the linear combination be functions of x:

y_p=u_1y_1+u_2y_2+\cdots+u_ny_n.

Using the "operator" notation D = d / dx and a broad-minded use of notation, the ODE in question is P(D)y = f; so

f=P(D)y_p=P(D)(u_1y_1)+P(D)(u_2y_2)+\cdots+P(D)(u_ny_n).

With the constraints

0=u'_1y_1+u'_2y_2+\cdots+u'_ny_n
0=u'_1y'_1+u'_2y'_2+\cdots+u'_ny'_n
 \cdots
0=u'_1y^{(n-2)}_1+u'_2y^{(n-2)}_2+\cdots+u'_ny^{(n-2)}_n

the parameters commute out, with a little "dirt":

f=u_1P(D)y_1+u_2P(D)y_2+\cdots+u_nP(D)y_n+u'_1y^{(n-1)}_1+u'_2y^{(n-1)}_2+\cdots+u'_ny^{(n-1)}_n.

But P(D)yj = 0, therefore

f=u'_1y^{(n-1)}_1+u'_2y^{(n-1)}_2+\cdots+u'_ny^{(n-1)}_n.

This, with the constraints, gives a linear system in the u'j. This much can always be solved; in fact, combining Cramer's rule with the Wronskian,

u'_j=(-1)^{n+j}\frac{W(y_1,\ldots,y_{j-1},y_{j+1}\ldots,y_n)_{0 \choose f}}{W(y_1,y_2,\ldots,y_n)}.

The rest is a matter of integrating u'j.

The particular solution is not unique; y_p+c_1y_1+\cdots+c_ny_n also satisfies the ODE for any set of constants cj.

[edit] Example

Suppose y'' − 4y' + 5y = sin(kx). We take the solution basis found above {e(2 + i)x,e(2 − i)x}.

W\, = \begin{vmatrix}e^{(2+i)x}&e^{(2-i)x} \\ (2+i)e^{(2+i)x}&(2-i)e^{(2-i)x} \end{vmatrix}
=e^{4x}\begin{vmatrix}1&1\\ 2+i&2-i\end{vmatrix}
=-2ie^{4x}\,
u'_1\, =\frac{1}{W}\begin{vmatrix}0&e^{(2-i)x}\\ \sin(kx)&(2-i)e^{(2-i)x}\end{vmatrix}
=-\frac{i}2\sin(kx)e^{(-2-i)x}
u'_2\, =\frac{1}{W}\begin{vmatrix}e^{(2+i)x}&0\\ (2+i)e^{(2+i)x}&\sin(kx)\end{vmatrix}
 =\frac{i}{2}\sin(kx)e^{(-2+i)x}.

Using the list of integrals of exponential functions

u_1\, =-\frac{i}{2}\int\sin(kx)e^{(-2-i)x}\,dx
=\frac{ie^{(-2-i)x}}{2(3+4i+k^2)}\left((2+i)\sin(kx)+k\cos(kx)\right)
u_2\, =\frac i2\int\sin(kx)e^{(-2+i)x}\,dx
=\frac{ie^{(i-2)x}}{2(3-4i+k^2)}\left((i-2)\sin(kx)-k\cos(kx)\right).

And so

y_p\, =\frac{i}{2(3+4i+k^2)}\left((2+i)\sin(kx)+k\cos(kx)\right)
+\frac{i}{2(3-4i+k^2)}\left((i-2)\sin(kx)-k\cos(kx)\right)
=\frac{(5-k^2)\sin(kx)+4k\cos(kx)}{(3+k^2)^2+16}.

(Notice that u1 and u2 had factors that canceled y1 and y2; that is typical.)

For interest's sake, this ODE has a physical interpretation as a driven damped harmonic oscillator; yp represents the steady state, and c1y1 + c2y2 is the transient.

[edit] Equation with variable coefficients

A linear ODE of order n with variable coefficients has the general form

p_{n}(x)y^{(n)}(x) + p_{n-1}(x) y^{(n-1)}(x) + \cdots + p_0(x) y(x) = r(x).

[edit] Examples

A particular simple example is the Cauchy-Euler equation often used in engineering

x^n y^{(n)}(x) + a_{n-1} x^{n-1} y^{(n-1)}(x) + \cdots + a_0 y(x) = 0.

[edit] First order equation

Example
-3y''+4y'=5 \,

with the initial condition

f\left(0\right)=2. \,

Using the general solution method:

f=e^{-3x}\left(\int 2 e^{3x}\, dx + \kappa\right). \,

The integration is done from 0 to x, giving:

f=e^{-3x}\left(2/3\left( e^{3x}-e^0 \right) + \kappa\right). \,

Then we can reduce to:

f=2/3\left(1-e^{-3x}\right) + e^{-3x}\kappa. \,

where kappa is 2 from the initial condition.

A linear ODE of order 1 with variable coefficients has the general form

Dy(x) + f(x)y(x) = g(x).

Equations of this form can be solved by multiplying the integrating factor

e^{\int f(x)\,dx}

throughout to obtain

 Dy(x)e^{\int f(x)\,dx}+f(x)y(x)e^{\int f(x)\,dx}=g(x)e^{\int f(x) \, dx},

which simplifies due to the product rule to

 D (y(x)e^{\int f(x)\,dx})=g(x)e^{\int f(x)\,dx}

which, on integrating both sides, yields

 y(x)e^{\int f(x)\,dx}=\int g(x)e^{\int f(x)\,dx} \,dx+c ~,
 y(x) = {\int g(x)e^{\int f(x)\,dx} \,dx+c \over e^{\int f(x)\,dx}} ~.

In other words: The solution of a first-order linear ODE

y'(x) + p(x)y(x) = r(x),

with coefficients that may or may not vary with x, is:

y=e^{-a(x)}\left(\int r(x) e^{a(x)}\, dx + \kappa\right)

where κ is the constant of integration, and

a(x)=\int{p(x)\,dx}.

[edit] Examples

Consider a first order differential equation with constant coefficients:

\frac{dy}{dx} + b y = 1.

This equation is particularly relevant to first order systems such as RC circuits and mass-damper systems.

In this case, p(x) = b, r(x) = 1.

Hence its solution is

y(x) = e^{-bx} \left( e^{bx}/b+ C \right) = 1/b + C e^{-bx} .

[edit] See also


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -