Find the general solution of the equation by constant coefficients. Linear differential equations of the second order

Educational institution "Belarusian State

agricultural Academy"

Department of Higher Mathematics

Methodical instructions

on the study of the topic "Linear differential equations of the second order" by students of the accounting department of correspondence education (NISPO)

Gorki, 2013

Linear differential equations

second order with constantscoefficients

    Linear homogeneous differential equations

Linear differential equation of the second order with constant coefficients is called an equation of the form

those. an equation that contains the desired function and its derivatives only in the first degree and does not contain their products. In this equation and
- some numbers, and the function
given on a certain interval
.

If a
on the interval
, then equation (1) takes the form

, (2)

and called linear homogeneous ... Otherwise, equation (1) is called linear non-uniform .

Consider the complex function

, (3)

where
and
- valid functions. If function (3) is a complex solution to equation (2), then the real part
, and the imaginary part
solutions
individually are solutions of the same homogeneous equation. Thus, any complex solution to equation (2) generates two real solutions to this equation.

Solutions to a homogeneous linear equation have the following properties:

If a is a solution to equation (2), then the function
where FROM - an arbitrary constant will also be a solution to equation (2);

If a and are solutions of equation (2), then the function
will also be a solution to equation (2);

If a and are solutions of equation (2), then their linear combination
will also be a solution to equation (2), where and
- arbitrary constants.

Functions
and
are called linearly dependent on the interval
if such numbers exist and
, not equal to zero at the same time, that on this interval the equality

If equality (4) holds only if
and
, then the functions
and
are called linearly independent on the interval
.

Example 1 ... Functions
and
are linearly dependent, since
on the whole number line. In this example
.

Example 2 ... Functions
and
are linearly independent on any interval, since the equality
is possible only if and
and
.

    Construction of a general solution to a linear homogeneous

equations

In order to find a general solution to equation (2), you need to find two of its linearly independent solutions and ... Linear combination of these solutions
where and
- arbitrary constants, and will give a general solution to a linear homogeneous equation.

We will seek linearly independent solutions to equation (2) in the form

, (5)

where - some number. Then
,
... Substitute these expressions into equation (2):

or
.

As
then
... So the function
will be a solution to equation (2) if will satisfy the equation

. (6)

Equation (6) is called characteristic equation for equation (2). This equation is an algebraic quadratic equation.

Let be and are the roots of this equation. They can be either real and different, or complex, or real and equal. Let's consider these cases.

Let the roots and characteristic equations are real and different. Then the solutions of equation (2) are the functions
and
... These solutions are linearly independent, since the equality
can be fulfilled only when and
and
... Therefore, the general solution to equation (2) has the form

,

where and
- arbitrary constants.

Example 3
.

Decision ... The characteristic equation for this differential will be
... Having solved this quadratic equation, we find its roots
and
... Functions
and
are solutions to a differential equation. The general solution to this equation has the form
.

Complex number is called an expression of the form
where and are real numbers, and
is called an imaginary unit. If a
, then the number
is called purely imaginary. If
, then the number
identified with a real number .

Number is called the real part of a complex number, and - the imaginary part. If two complex numbers differ from each other only in the sign of the imaginary part, then they are called conjugate:
,
.

Example 4 ... Solve Quadratic Equation
.

Decision ... Equation discriminant
... Then. Similarly,
... Thus, this quadratic equation has conjugate complex roots.

Let the roots of the characteristic equation be complex, i.e.
,
where
... The solutions to equation (2) can be written as
,
or
,
... According to Euler's formulas

,
.

Then,. As you know, if a complex function is a solution to a linear homogeneous equation, then the solutions of this equation are both the real and the imaginary parts of this function. Thus, the solutions to Eq. (2) are the functions
and
... Since equality

can only be performed if
and
, then these solutions are linearly independent. Therefore, the general solution of equation (2) has the form

where and
- arbitrary constants.

Example 5 ... Find the general solution to the differential equation
.

Decision ... The equation
is characteristic for this differential. Let's solve it and get complex roots
,
... Functions
and
are linearly independent solutions of the differential equation. The general solution to this equation is.

Let the roots of the characteristic equation be real and equal, i.e.
... Then the solutions of equation (2) are the functions
and
... These solutions are linearly independent, since the expression can be identically equal to zero only if
and
... Therefore, the general solution of equation (2) has the form
.

Example 6 ... Find the general solution to the differential equation
.

Decision ... Characteristic equation
has equal roots
... In this case, linearly independent solutions of the differential equation are the functions
and
... The general solution is
.

    Second order inhomogeneous linear differential equations with constant coefficients

and special right side

The general solution of the linear inhomogeneous equation (1) is equal to the sum of the general solution
corresponding homogeneous equation and any particular solution
inhomogeneous equation:
.

In some cases, a particular solution of an inhomogeneous equation can be found quite simply by the form of the right-hand side
equation (1). Consider the cases where this is possible.

those. the right-hand side of the inhomogeneous equation is a polynomial of degree m... If a
is not a root of the characteristic equation, then a particular solution of the inhomogeneous equation should be sought in the form of a polynomial of degree m, i.e.

Odds
are determined in the process of finding a particular solution.

If
is the root of the characteristic equation, then a particular solution of the inhomogeneous equation should be sought in the form

Example 7 ... Find the general solution to the differential equation
.

Decision ... The corresponding homogeneous equation for this equation is
... Its characteristic equation
has roots
and
... The general solution to the homogeneous equation has the form
.

As
is not a root of the characteristic equation, then the particular solution of the inhomogeneous equation will be sought in the form of the function
... Find the derivatives of this function
,
and substitute them into this equation:

or . Let us equate the coefficients at and free members:
Having solved this system, we get
,
... Then the particular solution of the inhomogeneous equation has the form
, and the general solution of this inhomogeneous equation will be the sum of the general solution of the corresponding homogeneous equation and the particular solution of the inhomogeneous one:
.

Let the inhomogeneous equation have the form

If a
is not a root of the characteristic equation, then a particular solution of the inhomogeneous equation should be sought in the form. If
is the root of the characteristic equation of multiplicity k (k\u003d 1 or k\u003d 2), then in this case the particular solution of the inhomogeneous equation will have the form.

Example 8 ... Find the general solution to the differential equation
.

Decision ... The characteristic equation for the corresponding homogeneous equation has the form
... Its roots
,
... In this case, the general solution of the corresponding homogeneous equation is written in the form
.

Since the number 3 is not a root of the characteristic equation, then a particular solution of the inhomogeneous equation should be sought in the form
... Find the derivatives of the first and second orders:

Substitute in the differential equation:
+ +,
+,.

Let us equate the coefficients at and free members:

From here
,
... Then the particular solution of this equation has the form
and the general solution

.

    Lagrange method of variation of arbitrary constants

The method of variation of arbitrary constants can be applied to any inhomogeneous linear equation with constant coefficients, regardless of the form of the right-hand side. This method allows you to always find a general solution to an inhomogeneous equation if the general solution of the corresponding homogeneous equation is known.

Let be
and
are linearly independent solutions of equation (2). Then the general solution to this equation is
where and
- arbitrary constants. The essence of the method of variation of arbitrary constants is that the general solution of equation (1) is sought in the form

where
and
- new unknown functions to be found. Since there are two unknown functions, two equations containing these functions are needed to find them. These two equations make up the system

which is a linear algebraic system of equations for
and
... Solving this system, we find
and
... Integrating both sides of the obtained equalities, we find

and
.

Substituting these expressions in (9), we obtain the general solution of the inhomogeneous linear equation (1).

Example 9 ... Find the general solution to the differential equation
.

Decision. The characteristic equation for the homogeneous equation corresponding to the given differential equation is
... Its roots are complex
,
... As
and
then
,
, and the general solution of the homogeneous equation has the form. Then the general solution of this inhomogeneous equation will be sought in the form, where
and
- unknown functions.

The system of equations for finding these unknown functions has the form

Having solved this system, we find
,
... Then

,
... We substitute the obtained expressions into the general solution formula:

This is the general solution of this differential equation obtained by the Lagrange method.

Questions for self-control of knowledge

    What differential equation is called a second order linear differential equation with constant coefficients?

    Which linear differential equation is called homogeneous and which is called inhomogeneous?

    What properties does a linear homogeneous equation have?

    What equation is called characteristic for a linear differential equation and how is it obtained?

    In what form is the general solution of a linear homogeneous differential equation with constant coefficients written in the case of different roots of the characteristic equation?

    In what form is the general solution of a linear homogeneous differential equation with constant coefficients written in the case of equal roots of the characteristic equation?

    In what form is the general solution of a linear homogeneous differential equation with constant coefficients written in the case of complex roots of the characteristic equation?

    How is the general solution of a linear inhomogeneous equation written?

    In what form is a particular solution of a linear inhomogeneous equation sought if the roots of the characteristic equation are different and not equal to zero, and the right-hand side of the equation is a polynomial of degree m?

    In what form is a particular solution of a linear inhomogeneous equation sought if there is one zero among the roots of the characteristic equation, and the right side of the equation is a polynomial of degree m?

    What is the essence of the Lagrange method?

We have made sure that, in the case when the general solution of a linear homogeneous equation is known, it is possible to find a general solution of the inhomogeneous equation by the method of variation of arbitrary constants. However, the question of how to find a general solution to the homogeneous equation remained open. In the special case when in the linear differential equation (3) all the coefficients p i(x) \u003d a i - constants, it can be solved quite simply, even without integration.

Consider a linear homogeneous differential equation with constant coefficients, that is, equations of the form

y (n) + a 1 y (n 1) + ... a n 1 y " + a n y \u003d 0, (14)

where and i- constants (i= 1, 2, ..., n).

As is known, for a linear homogeneous equation of the 1st order, the solution is a function of the form e kx.We will seek a solution to equation (14) in the form j (x) = e kx.

Let us substitute into equation (14) the function j (x) and its derivatives of order m (1 £ m£ n)j (m) (x) = k m е kx... We get

(k n + a 1 k n 1 + ... a n 1 k + a n)e kx \u003d0,

but e k x ¹ 0 for any x, so

k n + a 1 k n 1 + ... a n 1 k + a n \u003d0. (15)

Equation (15) is called characteristic equation, the polynomial on the left,- characteristic polynomial , its roots- characteristic roots differential equation (14).

Output:

functionj (x) = e kx - the solution of the linear homogeneous equation (14) if and only if the number k - the root of the characteristic equation (15).

Thus, the process of solving the linear homogeneous equation (14) is reduced to solving the algebraic equation (15).

Various cases of characteristic roots are possible.

1. All roots of the characteristic equation are real and different.

In this case n different characteristic roots k 1 , k 2 , ..., k n corresponds n different solutions of homogeneous equation (14)

It can be shown that these solutions are linearly independent and therefore form a fundamental system of solutions. Thus, the general solution to the equation is the function

where FROM 1 , C 2 , ..., С n - arbitrary constants.

PRI me R7. Find the general solution to a linear homogeneous equation:

and) at¢ ¢ (x) - 6at¢ (x) + 8at(x) \u003d 0, b) at¢ ¢ ¢ (x) + 2at¢ ¢ (x) - 3at¢ (x) = 0.

Decision. Let's compose a characteristic equation. For this we replace the derivative of the order m functions y(x) to the appropriate degree

k(at (m) (x) « k m),

the function itself at(x) as a zero-order derivative is replaced by k 0 = 1.

In case (a), the characteristic equation has the form k 2 - 6k +8 = 0. The roots of this quadratic equation k 1 = 2, k 2 = 4. Since they are real and different, the general solution has the form j (x) \u003d C 1 e 2x + C 2 e 4x.

For case (b), the characteristic equation is the third-degree equation k 3 + 2k 2 - 3k \u003d 0. Let's find the roots of this equation:

k(k 2 + 2 k - 3)= 0 Þ k = 0and k 2 + 2 k - 3 = 0 Þ k = 0, (k - 1)(k + 3) = 0,

t . e . k 1 = 0, k 2 = 1, k 3 = - 3.

These characteristic roots correspond to the fundamental system of solutions to the differential equation:

j 1 (x) \u003d e 0x = 1, j 2 (x) \u003d e x, j 3 (x) \u003d e - 3x .

The general solution, according to formula (9), is the function

j (x) \u003d C 1 + C 2 fx + C 3 e - 3x .

II ... All roots of the characteristic equation are different, but some of them are complex.

All coefficients of differential equation (14), and hence of its characteristic equation (15)- real numbers, so if c among the characteristic roots there is a complex root k 1 \u003d a + ib,that is, its conjugate root k 2 = ` k 1 \u003d a- ib.First root k 1 corresponds to the solution of the differential equation (14)

j 1 (x) \u003d e (a + ib)x \u003d e a x e ibx \u003d e ax(cosbx + isinbx)

(we used Euler's formula e i x \u003d cosx + isinx). Similarly, the root k 2 \u003d a- ibmatch solution

j 2 (x) \u003d e (a - -ib)x \u003d е a х е - ib x\u003d e ax(cosbx - isinbx).

These solutions are complex. To obtain real solutions from them, we use the properties of solutions of a linear homogeneous equation (see 13.2). Functions

are real solutions to equation (14). Moreover, these solutions are linearly independent. Thus, the following conclusion can be drawn.

Rule 1. A pair of conjugate complex roots a± ib of the characteristic equation in the FSL of the linear homogeneous equation (14) matches two valid private solutionsand .

PRI me R8. Find the general solution to the equation:

and) at¢ ¢ (x) - 2at ¢ (x) + 5at(x) = 0 ; b) at¢ ¢ ¢ (x) - at¢ ¢ (x) + 4at ¢ (x) - 4at(x) = 0.

Decision. In the case of equation (a), the roots of the characteristic equation k 2 - 2k +5 \u003d 0 are two conjugate complex numbers

k 1, 2 = .

Therefore, according to rule 1, they correspond to two real linearly independent solutions: and, and the general solution of the equation is the function

j (x) \u003d C 1 e x cos2x + C 2 e x sin2x.

In case (b), to find the roots of the characteristic equation k 3 - k 2 + 4k- 4 = 0, factor its left side:

k 2 (k - 1) + 4(k - 1) = 0 Þ (k - 1)(k 2 + 4) = 0 Þ (k - 1) = 0, (k 2 + 4) = 0.

Therefore, we have three characteristic roots: k 1 = 1, k 2 , 3 = ± 2i.Cornu k 1 match solution , and a pair of conjugate complex roots k 2, 3 = ± 2i \u003d0 ± 2i- two valid solutions: and. We compose a general solution to the equation:

j (x) \u003d C 1 fx + C 2 cos2x + C 3 sin2x.

III . The roots of the characteristic equation contain multiples.

Let be k 1 - real root of multiplicity mcharacteristic equation (15), i.e., among the roots there is m equal roots. Each of them corresponds to the same solution of the differential equation (14) However, include m equal solutions in the FSR are impossible, since they constitute a linearly dependent system of functions.

It can be shown that in the case of a multiple root k 1 solutions of equation (14), in addition to the function, are the functions

Functions are linearly independent on the entire numerical axis, since, that is, they can be included in the FSR.

Rule 2. The real characteristic root k 1 multiplicity min the FSR corresponds m solutions:

If a k 1 - complex root of multiplicity mcharacteristic equation (15), then there is a conjugate root k 1 multiplicity m... By analogy, we obtain the following rule.

Rule 3. A pair of conjugate complex roots a± ib in FSR corresponds to 2m real linearly independent solutions:

, , ..., ,

, , ..., .

PRI me R9. Find the general solution to the equation:

and) at¢ ¢ ¢ (x) + 3at¢ ¢ (x) + 3at¢ (x) + y ( x) \u003d 0; b) in IV(x) + 6at¢ ¢ (x) + 9at(x) = 0.

Decision. In case (a), the characteristic equation has the form

k 3 + 3 k 2 + 3 k + 1 = 0

(k +1) 3 = 0,

i.e. k \u003d- 1 - root of multiplicity 3. Based on rule 2, we write down the general solution:

j (x) \u003d C 1 + C 2 x + C 3 x 2 .

The characteristic equation in case (b) is the equation

k 4 + 6k 2 + 9 = 0

or, otherwise,

(k 2 + 3) 2 = 0 Þ k 2 = - 3 Þ k 1, 2 = ± i.

We have a pair of conjugate complex roots, each of which has multiplicity 2. According to Rule 3, the general solution is written in the form

j (x) \u003d C 1 + C 2 x + C 3 + C 4 x.

It follows from the above that for any linear homogeneous equation with constant coefficients, one can find a fundamental system of solutions and compose a general solution. Therefore, the solution to the corresponding inhomogeneous equation for any continuous function f(x) on the right-hand side can be found using the method of variation of arbitrary constants (see Section 5.3).

EXAMPLE 10 Using the variation method, find the general solution of the inhomogeneous equation at¢ ¢ (x) - at¢ (x) - 6at(x) = x e 2x .

Decision. First, we find the general solution of the corresponding homogeneous equation at¢ ¢ (x) - at¢ (x) - 6at(x) \u003d 0. The roots of the characteristic equation k 2 - k- 6 = 0 are k 1 = 3, k 2 = - 2, a the general solution of the homogeneous equation - function ` at ( x) \u003d C 1 e 3x + C 2 e - 2x .

We will seek a solution to the inhomogeneous equation in the form

at( x) = FROM 1 (x)e 3x + C 2 (x)e 2x . (*)

Find the Vronsky determinant

W[e 3x , e 2x ] = .

Let us compose the system of equations (12) for the derivatives of the unknown functions FROM ¢ 1 (x) and FROM¢ 2 (x):

Solving the system using Cramer's formulas, we obtain

Integrating, we find FROM 1 (x) and FROM 2 (x):

Substituting functions FROM 1 (x) and FROM 2 (x) into equality (*), we obtain a general solution of the equation at¢ ¢ (x) - at¢ (x) - 6at(x) = x e 2x :

In the case when the right-hand side of a linear inhomogeneous equation with constant coefficients has a special form, a particular solution of the inhomogeneous equation can be found without resorting to the method of variation of arbitrary constants.

Consider the equation with constant coefficients

y (n) + a 1 y (n 1) + ... a n 1 y " + a n y \u003d f (x), (16)

f( x) = e ax(P n(x)cosbx + R m(x)sinbx), (17)

where P n(x) and R m(x) - polynomials of degree n and m respectively.

Private solution y *(x) of equation (16) is determined by the formula

at* (x) = x se ax(M r(x)cosbx + N r(x)sinbx), (18)

where M r(x) and N r(x) - polynomials of degree r \u003d max(n, m) with undefined coefficients , and s equal to the multiplicity of the root k 0 \u003d a + ib characteristic polynomial of Eq. (16), in this case it is assumed s \u003d0 if k 0 is not a characteristic root.

In order to compose a particular solution using formula (18), you need to find four parameters - a, b, r and s.The first three are determined by the right-hand side of the equation, and r- this is actually the highest degree xfound on the right side. Parameter s is found by comparing the number k 0 \u003d a + ib and the set of all (taking into account multiplicities) characteristic roots of equation (16), which are found by solving the corresponding homogeneous equation.

Consider special cases of the form of function (17):

1) at a ¹ 0, b= 0f(x)= e ax P n(x);

2) at a= 0, b ¹ 0f(x)= P n(x) fromosbx + R m(x)sinbx;

3) at a = 0, b = 0f(x) \u003d P n(x).

Remark 1. If P n (x) º 0 or R m (x)º 0, then the right-hand side of the equation f (x) \u003d e ax P n (x) with osbx or f (x) \u003d e ax R m (x) sinbx, i.e., it contains only one of the functions - cosine or sine. But in the record of a particular solution, they must both be present, since, according to formula (18), each of them is multiplied by a polynomial with undefined coefficients of the same degree r \u003d max (n, m).

PRI me R 11. Determine the form of a particular solution to a linear homogeneous equation of the 4th order with constant coefficients if the right side of the equation is known f(x) \u003d e x(2xcos3x +(x 2 + 1)sin3x) and the roots of the characteristic equation:

and ) k 1 \u003d k 2 = 1, k 3 = 3, k 4 = - 1;

b ) k 1, 2 = 1 ± 3i, k 3, 4 = ± 1;

in ) k 1, 2 = 1 ± 3i, k 3, 4 = 1 ± 3i.

Decision. On the right-hand side, we find that in the particular solution at*(x), which is determined by formula (18), parameters: a= 1, b= 3, r \u003d2. They remain unchanged for all three cases, therefore, the number k 0, which defines the last parameter s formula (18) is k 0 = 1+ 3i... In case (a), among the characteristic roots there is no number k 0 = 1 + 3i,means s\u003d 0, and the particular solution has the form

y *(x) = x 0 f x(M 2 (x)cos3x + N 2 (x)sin3x) =

= e x( (Ax 2 + Bx + C)cos3x +(A 1 x 2 + B 1 x + C 1)sin3x.

In case (b) the number k 0 = 1 + 3ioccurs among the characteristic roots once, which means that s \u003d1 and

y *(x) \u003d x e x((Ax 2 + Bx + C)cos3x +(A 1 x 2 + B 1 x + C 1)sin3x.

For case (c) we have s \u003d2 and

y *(x) \u003d x 2 f x((Ax 2 + Bx + C)cos3x +(A 1 x 2 + B 1 x + C 1)sin3x.

In example 11, in the record of a particular solution, there are two polynomials of the 2nd degree with undefined coefficients. To find a solution, you need to determine the numerical values \u200b\u200bof these coefficients. Let's formulate a general rule.

To determine the unknown coefficients of the polynomials M r(x) and N r(x) equality (17) is differentiated the required number of times, the function y *(x) and its derivatives into equation (16). Comparing its left and right sides, a system of algebraic equations is obtained to find the coefficients.

PRI me R 12. Find a solution to the equation at¢ ¢ (x) - at¢ (x) - 6at(x) = xe 2x , having determined the particular solution of the inhomogeneous equation by the form of the right-hand side.

Decision. The general solution to the inhomogeneous equation has the form

at( x) = ` at(x) + y *(x),

where ` at ( x) - the general solution of the corresponding homogeneous equation, and y *(x) - particular solution of an inhomogeneous equation.

First, we solve the homogeneous equation at¢ ¢ (x) - at¢ (x) - 6at(x) \u003d 0. Its characteristic equation k 2 - k- 6 = 0 has two roots k 1 = 3, k 2 = - 2, hence, ` at ( x) \u003d C 1 e 3x + C 2 e - 2x .

We will use formula (18) to determine the form of a particular solution at*(x). Function f(x) = xe 2x is a special case (a) of formula (17), while a \u003d2, b \u003d0 and r \u003d1, i.e. k 0 = 2 + 0i \u003d2. Comparing with characteristic roots, we conclude that s \u003d0. Substituting the values \u200b\u200bof all parameters into formula (18), we have y *(x) = (Ah + B)e 2x .

To find the meanings AND and IN, find the derivatives of the first and second orders of the function y *(x) = (Ah + B)e 2x :

y *¢ (x) \u003d Ae 2x + 2(Ah + B)e 2x = (2Ax + A +2B)e 2x,

y *¢ ¢ (x) = 2Ae 2x + 2(2Ax + A +2B)e 2x = (4Ah +4A +4B)e 2x .

After function substitution y *(x) and its derivatives into the equation, we have

(4Ah +4A +4B)e 2x - (2Ax + A +2B)e 2x - 6(Ah + B)e 2x \u003d xe 2x Þ Þ A \u003d- 1/4, B \u003d- 3/16.

Thus, a particular solution of the inhomogeneous equation has the form

y *(x) = (- 1/4x- 3/16)e 2x ,

and the general solution - at ( x) \u003d C 1 e 3x + C 2 e - 2x + (- 1/4x- 3/16)e 2x .

Remark 2.In the case when the Cauchy problem is posed for an inhomogeneous equation, one must first find the general solution of the equation

at( x) = ,

having determined all the numerical values \u200b\u200bof the coefficients in at*(x). Then use the initial conditions and, substituting them into the general solution (and not into y *(x)), find the values \u200b\u200bof the constants C i.

PRI me R 13. Find the solution to the Cauchy problem:

at¢ ¢ (x) - at¢ (x) - 6at(x) = xe 2x , at(0) = 0, at ¢ (x) = 0.

Decision. The general solution to this equation

at(x) \u003d C 1 e 3x + C 2 e - 2x + (- 1/4x- 3/16)e 2x

was found in Example 12. To find a particular solution satisfying the initial conditions of this Cauchy problem, we obtain the system of equations

Solving it, we have C 1 = 1/8, C 2 \u003d 1/16. Therefore, the solution to the Cauchy problem is the function

at(x) = 1/8e 3x + 1/16e - 2x + (- 1/4x- 3/16)e 2x .

Remark 3(superposition principle). If in the linear equation L n[y(x)] \u003d f(x), where f(x) \u003d f 1 (x) + f 2 (x) and y * 1 (x) - equation solution L n[y(x)] \u003d f 1 (x), and y * 2 (x) - equation solution L n[y(x)] \u003d f 2 (x), then the function y *(x) \u003d y * 1 (x) + y * 2 (x) is an by solving the equation L n[y(x)] \u003d f(x).

PRI me R14. Indicate the form of the general solution of the linear equation

at¢ ¢ (x) + 4at(x) \u003d x + sinx.

Decision. General solution of the corresponding homogeneous equation

` at(x) \u003d C 1 cos2x + C 2 sin2x,

since the characteristic equation k 2 + 4 = 0 has roots k 1, 2 = ± 2iThe right-hand side of the equation does not correspond to formula (17), but if we introduce the notation f 1 (x) \u003d x, f 2 (x) \u003d sinx and use the principle of superposition , then a particular solution of the inhomogeneous equation can be found in the form y *(x) \u003d y * 1 (x) + y * 2 (x), where y * 1 (x) - equation solution at¢ ¢ (x) + 4at(x) \u003d x, and y * 2 (x) - equation solution at¢ ¢ (x) + 4at(x) \u003d sinх. By the formula (18)

y * 1 (x) \u003d Ax + B,y * 2 (x) \u003d Ссosx + Dsinx.

Then the particular solution

y *(x) \u003d Ax + B + Csosx + Dsinx,

therefore, the general solution has the form

at(x) \u003d C 1 cos2x + C 2 e - 2x + A x + B + Csosx + Dsinx.

PRI me R15. The electrical circuit consists of a series-connected current source with emf e(t) \u003d E sinw t, inductance Land capacity FROM , and

This article reveals the question of solving linear inhomogeneous differential equations of the second order with constant coefficients. The theory will be considered together with examples of the problems presented. To decipher the incomprehensible terms, it is necessary to refer to the topic of the basic definitions and concepts of the theory of differential equations.

Consider a second order linear differential equation (LDE) with constant coefficients of the form y "" + p y "+ q y \u003d f (x), where p and q are arbitrary numbers, and the existing function f (x) is continuous on the integration interval x.

Let us turn to the formulation of the theorem for the general solution of LNDE.

Yandex.RTB R-A-339285-1

General solution theorem for LDNU

Theorem 1

The general solution, located on the interval x, of an inhomogeneous differential equation of the form y (n) + f n - 1 (x) y (n - 1) +. ... ... + f 0 (x) y \u003d f (x) with continuous integration coefficients on the x interval f 0 (x), f 1 (x),. ... ... , f n - 1 (x) and a continuous function f (x) is equal to the sum of the general solution y 0, which corresponds to the LODE and some particular solution y ~, where the original inhomogeneous equation is y \u003d y 0 + y ~.

Hence, it is seen that the solution of such a second-order equation has the form y \u003d y 0 + y ~. The algorithm for finding y 0 is considered in the article on linear homogeneous differential equations of the second order with constant coefficients. Then you should go to the definition of y ~.

The choice of a particular solution to the LNDE depends on the form of the existing function f (x) located on the right side of the equation. To do this, it is necessary to consider separately the solutions of linear inhomogeneous differential equations of the second order with constant coefficients.

When f (x) is considered to be a polynomial of degree n f (x) \u003d P n (x), it follows that the particular solution of the LNDE is found by a formula of the form y ~ \u003d Q n (x) x γ, where Q n ( x) is a polynomial of degree n, r is the number of zero roots of the characteristic equation. The value y ~ is a particular solution y ~ "" + p y ~ "+ q y ~ \u003d f (x), then the available coefficients, which are determined by the polynomial
Q n (x), we find using the method of undefined coefficients from the equality y ~ "" + p · y ~ "+ q · y ~ \u003d f (x).

Example 1

Calculate by Cauchy's theorem y "" - 2 y "\u003d x 2 + 1, y (0) \u003d 2, y" (0) \u003d 1 4.

Decision

In other words, it is necessary to pass to a particular solution of a linear inhomogeneous differential equation of the second order with constant coefficients y "" - 2 y "\u003d x 2 + 1, which will satisfy the given conditions y (0) \u003d 2, y" (0) \u003d 1 4 ...

The general solution to a linear inhomogeneous equation is the sum of the general solution, which corresponds to the equation y 0 or a particular solution to the inhomogeneous equation y ~, that is, y \u003d y 0 + y ~.

To begin with, we will find a general solution for the LNDE, and then a particular one.

Let's move on to finding y 0. Writing the characteristic equation will help you find the roots. We get that

k 2 - 2 k \u003d 0 k (k - 2) \u003d 0 k 1 \u003d 0, k 2 \u003d 2

Got the roots different and valid. Therefore, we write

y 0 \u003d C 1 e 0 x + C 2 e 2 x \u003d C 1 + C 2 e 2 x.

Find y ~. It is seen that the right side of the given equation is a polynomial of the second degree, then one of the roots is equal to zero. From this we obtain that the particular solution for y ~ will be

y ~ \u003d Q 2 (x) x γ \u003d (A x 2 + B x + C) x \u003d A x 3 + B x 2 + C x, where the values \u200b\u200bA, B, C take undefined coefficients.

Let us find them from an equality of the form y ~ "" - 2 y ~ "\u003d x 2 + 1.

Then we get that:

y ~ "" - 2 y ~ "\u003d x 2 + 1 (A x 3 + B x 2 + C x)" "- 2 (A x 3 + B x 2 + C x)" \u003d x 2 + 1 3 A x 2 + 2 B x + C "- 6 A x 2 - 4 B x - 2 C \u003d x 2 + 1 6 A x + 2 B - 6 A x 2 - 4 B x - 2 C \u003d x 2 + 1 - 6 A x 2 + x (6 A - 4 B) + 2 B - 2 C \u003d x 2 + 1

Equating the coefficients with the same exponents of x, we obtain a system of linear expressions - 6 A \u003d 1 6 A - 4 B \u003d 0 2 B - 2 C \u003d 1. When solving by any of the methods, we find the coefficients and write down: A \u003d - 1 6, B \u003d - 1 4, C \u003d - 3 4 and y ~ \u003d A x 3 + B x 2 + C x \u003d - 1 6 x 3 - 1 4 x 2 - 3 4 x.

This notation is called the general solution of the original linear inhomogeneous differential equation of the second order with constant coefficients.

To find a particular solution that satisfies the conditions y (0) \u003d 2, y "(0) \u003d 1 4, it is required to determine the values C 1 and C 2based on an equality of the form y \u003d C 1 + C 2 e 2 x - 1 6 x 3 + 1 4 x 2 + 3 4 x.

We get that:

y (0) \u003d C 1 + C 2 e 2 x - 1 6 x 3 + 1 4 x 2 + 3 4 xx \u003d 0 \u003d C 1 + C 2 y "(0) \u003d C 1 + C 2 e 2 x - 1 6 x 3 + 1 4 x 2 + 3 4 x "x \u003d 0 \u003d \u003d 2 C 2 e 2 x - 1 2 x 2 + 1 2 x + 3 4 x \u003d 0 \u003d 2 C 2 - 3 4

We work with the resulting system of equations of the form C 1 + C 2 \u003d 2 2 C 2 - 3 4 \u003d 1 4, where C 1 \u003d 3 2, C 2 \u003d 1 2.

Applying the Cauchy theorem, we have that

y \u003d C 1 + C 2 e 2 x - 1 6 x 3 + 1 4 x 2 + 3 4 x \u003d \u003d 3 2 + 1 2 e 2 x - 1 6 x 3 + 1 4 x 2 + 3 4 x

Answer: 3 2 + 1 2 e 2 x - 1 6 x 3 + 1 4 x 2 + 3 4 x.

When the function f (x) is represented as a product of a polynomial with degree n and an exponent f (x) \u003d P n (x) eax, then from this we obtain that an equation of the form y ~ \u003d eax Q n ( x) x γ, where Q n (x) is a polynomial of the nth degree, and r is the number of roots of the characteristic equation equal to α.

The coefficients belonging to Q n (x) are found by the equality y ~ "" + p · y ~ "+ q · y ~ \u003d f (x).

Example 2

Find the general solution of a differential equation of the form y "" - 2 y "\u003d (x 2 + 1) · e x.

Decision

General equation y \u003d y 0 + y ~. The above equation corresponds to the LODE y "" - 2 y "\u003d 0. From the previous example, you can see that its roots are k 1 \u003d 0 and k 2 \u003d 2 and y 0 \u003d C 1 + C 2 e 2 x according to the characteristic equation.

It can be seen that the right side of the equation is x 2 + 1 · e x. From here, the LNDE is found through y ~ \u003d e a x Q n (x) x γ, where Q n (x), which is a polynomial of the second degree, where α \u003d 1 and r \u003d 0, because the characteristic equation has no root equal to 1. From this we get that

y ~ \u003d e a x Q n (x) x γ \u003d e x A x 2 + B x + C x 0 \u003d e x A x 2 + B x + C.

A, B, C are unknown coefficients that can be found by the equality y ~ "" - 2 y ~ "\u003d (x 2 + 1) · e x.

Got that

y ~ "\u003d ex A x 2 + B x + C" \u003d ex A x 2 + B x + C + ex 2 A x + B \u003d \u003d ex A x 2 + x 2 A + B + B + C y ~ "" \u003d ex A x 2 + x 2 A + B + B + C "\u003d \u003d ex A x 2 + x 2 A + B + B + C + ex 2 A x + 2 A + B \u003d \u003d ex A x 2 + x 4 A + B + 2 A + 2 B + C

y ~ "" - 2 y ~ "\u003d (x 2 + 1) ex ⇔ ex A x 2 + x 4 A + B + 2 A + 2 B + C - - 2 ex A x 2 + x 2 A + B + B + C \u003d x 2 + 1 ex ⇔ ex - A x 2 - B x + 2 A - C \u003d (x 2 + 1) ex ⇔ - A x 2 - B x + 2 A - C \u003d x 2 + 1 ⇔ - A x 2 - B x + 2 A - C \u003d 1 x 2 + 0 x + 1

Indicators with the same coefficients are equated and we get a system of linear equations. From here we find A, B, C:

A \u003d 1 - B \u003d 0 2 A - C \u003d 1 ⇔ A \u003d - 1 B \u003d 0 C \u003d - 3

Answer: it is seen that y ~ \u003d ex (A x 2 + B x + C) \u003d ex - x 2 + 0 x - 3 \u003d - ex x 2 + 3 is a particular solution of the LNDE, and y \u003d y 0 + y \u003d C 1 e 2 x - ex · x 2 + 3 - the general solution for the inhomogeneous second-order differential equation.

When the function is written as f (x) \u003d A 1 cos (β x) + B 1 sin β x, and A 1 and IN 1are numbers, then an equation of the form y ~ \u003d A cos β x + B sin β x x γ, where A and B are considered undefined coefficients, and r is the number of complex conjugate roots related to the characteristic equation, equal to ± i β ... In this case, the search for the coefficients is carried out according to the equality y ~ "" + p · y ~ "+ q · y ~ \u003d f (x).

Example 3

Find the general solution of a differential equation of the form y "" + 4 y \u003d cos (2 x) + 3 sin (2 x).

Decision

Before writing the characteristic equation, we find y 0. Then

k 2 + 4 \u003d 0 k 2 \u003d - 4 k 1 \u003d 2 i, k 2 \u003d - 2 i

We have a pair of complex conjugate roots. Let's transform and get:

y 0 \u003d e 0 (C 1 cos (2 x) + C 2 sin (2 x)) \u003d C 1 cos 2 x + C 2 sin (2 x)

The roots from the characteristic equation are considered to be the conjugate pair ± 2 i, then f (x) \u003d cos (2 x) + 3 sin (2 x). Hence, it can be seen that the search for y ~ will be performed from y ~ \u003d (A cos (β x) + B sin (β x) x γ \u003d (A cos (2 x) + B sin (2 x)) x. Unknown the coefficients A and B will be sought from an equality of the form y ~ "" + 4 y ~ \u003d cos (2 x) + 3 sin (2 x).

Let's transform:

y ~ "\u003d ((A cos (2 x) + B sin (2 x) x)" \u003d (- 2 A sin (2 x) + 2 B cos (2 x)) x + A cos (2 x) + B sin (2 x) y ~ "" \u003d ((- 2 A sin (2 x) + 2 B cos (2 x)) x + A cos (2 x) + B sin (2 x)) "\u003d \u003d (- 4 A cos (2 x) - 4 B sin (2 x)) x - 2 A sin (2 x) + 2 B cos (2 x) - - 2 A sin (2 x) + 2 B cos (2 x) \u003d \u003d (- 4 A cos (2 x) - 4 B sin (2 x)) x - 4 A sin (2 x) + 4 B cos (2 x)

Then it is clear that

y ~ "" + 4 y ~ \u003d cos (2 x) + 3 sin (2 x) ⇔ (- 4 A cos (2 x) - 4 B sin (2 x)) x - 4 A sin (2 x) + 4 B cos (2 x) + + 4 (A cos (2 x) + B sin (2 x)) x \u003d cos (2 x) + 3 sin (2 x) ⇔ - 4 A sin (2 x) + 4 B cos (2 x) \u003d cos (2 x) + 3 sin (2 x)

It is necessary to equate the coefficients of the sines and cosines. We get a system of the form:

4 A \u003d 3 4 B \u003d 1 ⇔ A \u003d - 3 4 B \u003d 1 4

It follows that y ~ \u003d (A cos (2 x) + B sin (2 x) x \u003d - 3 4 cos (2 x) + 1 4 sin (2 x) x.

Answer:the general solution of the original second-order LDE with constant coefficients is

y \u003d y 0 + y ~ \u003d \u003d C 1 cos (2 x) + C 2 sin (2 x) + - 3 4 cos (2 x) + 1 4 sin (2 x) x

When f (x) \u003d eax P n (x) sin (β x) + Q k (x) cos (β x), then y ~ \u003d eax (L m (x) sin (β x) + N m (x) cos (β x) x γ. We have that r is the number of complex conjugate pairs of roots belonging to the characteristic equation equal to α ± i β, where P n (x), Q k (x), L m (x) and N m (x)are polynomials of degree n, k, m, m, where m \u003d m a x (n, k)... Finding coefficients L m (x) and N m (x) is produced proceeding from the equality y ~ "" + p · y ~ "+ q · y ~ \u003d f (x).

Example 4

Find the General Solution y "" + 3 y "+ 2 y \u003d - e 3 x · ((38 x + 45) sin (5 x) + (8 x - 5) cos (5 x)).

Decision

By condition, it is seen that

α \u003d 3, β \u003d 5, P n (x) \u003d - 38 x - 45, Q k (x) \u003d - 8 x + 5, n \u003d 1, k \u003d 1

Then m \u003d m a x (n, k) \u003d 1. We find y 0, having previously written down the characteristic equation of the form:

k 2 - 3 k + 2 \u003d 0 D \u003d 3 2 - 4 1 2 \u003d 1 k 1 \u003d 3 - 1 2 \u003d 1, k 2 \u003d 3 + 1 2 \u003d 2

Got the roots to be valid and distinct. Hence y 0 \u003d C 1 e x + C 2 e 2 x. Next, it is necessary to seek a general solution based on the inhomogeneous equation y ~ of the form

y ~ \u003d e α x (L m (x) sin (β x) + N m (x) cos (β x) x γ \u003d \u003d e 3 x ((A x + B) cos (5 x) + (C x + D) sin (5 x)) x 0 \u003d \u003d e 3 x ((A x + B) cos (5 x) + (C x + D) sin (5 x))

It is known that A, B, C are coefficients, r \u003d 0, because there is no pair of conjugate roots related to the characteristic equation with α ± i β \u003d 3 ± 5 · i. We find these coefficients from the obtained equality:

y ~ "" - 3 y ~ "+ 2 y ~ \u003d - e 3 x ((38 x + 45) sin (5 x) + (8 x - 5) cos (5 x)) ⇔ (e 3 x (( A x + B) cos (5 x) + (C x + D) sin (5 x))) "" - - 3 (e 3 x ((A x + B) cos (5 x) + (C x + D) sin (5 x))) \u003d - e 3 x ((38 x + 45) sin (5 x) + (8 x - 5) cos (5 x))

Finding the derivative and similar terms gives

E 3 x ((15 A + 23 C) x sin (5 x) + + (10 A + 15 B - 3 C + 23 D) sin (5 x) + + (23 A - 15 C) X cos (5 x) + (- 3 A + 23 B - 10 C - 15 D) cos (5 x)) \u003d \u003d - e 3 x (38 x sin (5 x) + 45 sin (5 x) + + 8 x cos (5 x) - 5 cos (5 x))

After equating the coefficients, we obtain a system of the form

15 A + 23 C \u003d 38 10 A + 15 B - 3 C + 23 D \u003d 45 23 A - 15 C \u003d 8 - 3 A + 23 B - 10 C - 15 D \u003d - 5 ⇔ A \u003d 1 B \u003d 1 C \u003d 1 D \u003d 1

It follows from everything that

y ~ \u003d e 3 x ((A x + B) cos (5 x) + (C x + D) sin (5 x)) \u003d \u003d e 3 x ((x + 1) cos (5 x) + (x + 1) sin (5 x))

Answer:now the general solution of the given linear equation is obtained:

y \u003d y 0 + y ~ \u003d \u003d C 1 e x + C 2 e 2 x + e 3 x ((x + 1) cos (5 x) + (x + 1) sin (5 x))

Algorithm for solving LDNU

Definition 1

Any other kind of function f (x) for the solution provides for the observance of the solution algorithm:

  • finding a general solution to the corresponding linear homogeneous equation, where y 0 \u003d C 1 ⋅ y 1 + C 2 ⋅ y 2, where y 1 and y 2are linearly independent particular solutions of the LODE, C 1 and C 2are considered arbitrary constants;
  • adoption as a general decision of the LNDE y \u003d C 1 (x) ⋅ y 1 + C 2 (x) ⋅ y 2;
  • definition of derivatives of a function in terms of a system of the form C 1 "(x) + y 1 (x) + C 2" (x) y 2 (x) \u003d 0 C 1 "(x) + y 1" (x) + C 2 " (x) y 2 "(x) \u003d f (x), and finding the functions C 1 (x) and C 2 (x) by means of integration.

Example 5

Find the General Solution for y "" + 36 y \u003d 24 sin (6 x) - 12 cos (6 x) + 36 e 6 x.

Decision

We proceed to writing the characteristic equation, having previously written down y 0, y "" + 36 y \u003d 0. Let's write down and solve:

k 2 + 36 \u003d 0 k 1 \u003d 6 i, k 2 \u003d - 6 i ⇒ y 0 \u003d C 1 cos (6 x) + C 2 sin (6 x) ⇒ y 1 (x) \u003d cos (6 x), y 2 (x) \u003d sin (6 x)

We have that the record of the general solution of the given equation will receive the form y \u003d C 1 (x) cos (6 x) + C 2 (x) sin (6 x). It is necessary to go to the definition of derivatives of functions C 1 (x) and C 2 (x) according to the system with equations:

C 1 "(x) cos (6 x) + C 2" (x) sin (6 x) \u003d 0 C 1 "(x) · (cos (6 x))" + C 2 "(x) (sin (6 x)) "\u003d 0 ⇔ C 1" (x) cos (6 x) + C 2 "(x) sin (6 x) \u003d 0 C 1" (x) (- 6 sin (6 x) + C 2 "(x) (6 cos (6 x)) \u003d \u003d 24 sin (6 x) - 12 cos (6 x) + 36 e 6 x

It is necessary to make a decision regarding C 1 "(x) and C 2 "(x) using any method. Then we write:

C 1 "(x) \u003d - 4 sin 2 (6 x) + 2 sin (6 x) cos (6 x) - 6 e 6 x sin (6 x) C 2" (x) \u003d 4 sin (6 x) cos (6 x) - 2 cos 2 (6 x) + 6 e 6 x cos (6 x)

Each of the equations should be integrated. Then we write the resulting equations:

C 1 (x) \u003d 1 3 sin (6 x) cos (6 x) - 2 x - 1 6 cos 2 (6 x) + + 1 2 e 6 x cos (6 x) - 1 2 e 6 x sin ( 6 x) + C 3 C 2 (x) \u003d - 1 6 sin (6 x) cos (6 x) - x - 1 3 cos 2 (6 x) + + 1 2 e 6 x cos (6 x) + 1 2 e 6 x sin (6 x) + C 4

From this it follows that the general solution will be:

y \u003d 1 3 sin (6 x) cos (6 x) - 2 x - 1 6 cos 2 (6 x) + + 1 2 e 6 x cos (6 x) - 1 2 e 6 x sin (6 x) + C 3 cos (6 x) + + - 1 6 sin (6 x) cos (6 x) - x - 1 3 cos 2 (6 x) + + 1 2 e 6 x cos (6 x) + 1 2 e 6 x sin (6 x) + C 4 sin (6 x) \u003d \u003d - 2 x cos (6 x) - x sin (6 x) - 1 6 cos (6 x) + + 1 2 e 6 x + C 3 cos (6 x) + C 4 sin (6 x)

Answer: y \u003d y 0 + y ~ \u003d - 2 x cos (6 x) - x sin (6 x) - 1 6 cos (6 x) + + 1 2 e 6 x + C 3 cos (6 x) + C 4 sin (6 x)

If you notice an error in the text, please select it and press Ctrl + Enter

Fundamentals of solving linear inhomogeneous differential equations of the second order (LNDU-2) with constant coefficients (PC)

The 2nd order LNDE with constant coefficients $ p $ and $ q $ has the form $ y "" + p \\ cdot y "+ q \\ cdot y \u003d f \\ left (x \\ right) $, where $ f \\ left (x \\ right) $ is a continuous function.

In relation to LNDU 2 with PC, the following two statements are true.

Suppose that some function $ U $ is an arbitrary particular solution of an inhomogeneous differential equation. Suppose also that some function $ Y $ is a general solution (GR) of the corresponding linear homogeneous differential equation (LDE) $ y "" + p \\ cdot y "+ q \\ cdot y \u003d 0 $. Then the GD of LDE-2 is equal to the sum of the indicated particular and general solutions, that is, $ y \u003d U + Y $.

If the right side of the 2nd order LNDE is a sum of functions, that is, $ f \\ left (x \\ right) \u003d f_ (1) \\ left (x \\ right) + f_ (2) \\ left (x \\ right) +. .. + f_ (r) \\ left (x \\ right) $, then first you can find the PD $ U_ (1), U_ (2), ..., U_ (r) $, which correspond to each of the functions $ f_ ( 1) \\ left (x \\ right), f_ (2) \\ left (x \\ right), ..., f_ (r) \\ left (x \\ right) $, and only after that write the CR LNDE-2 in the form $ U \u003d U_ (1) + U_ (2) + ... + U_ (r) $.

2nd order LNDU solution from PC

Obviously, the form of this or that PD $ U $ of a given LNDE-2 depends on the specific form of its right-hand side $ f \\ left (x \\ right) $. The simplest cases of searching for the PD LNDE-2 are formulated in the form of the following four rules.

Rule number 1.

The right side of LNDU-2 has the form $ f \\ left (x \\ right) \u003d P_ (n) \\ left (x \\ right) $, where $ P_ (n) \\ left (x \\ right) \u003d a_ (0) \\ cdot x ^ (n) + a_ (1) \\ cdot x ^ (n-1) + ... + a_ (n-1) \\ cdot x + a_ (n) $, that is, it is called a polynomial of degree $ n $. Then its PD $ U $ is sought in the form $ U \u003d Q_ (n) \\ left (x \\ right) \\ cdot x ^ (r) $, where $ Q_ (n) \\ left (x \\ right) $ is another polynomial of that of the same degree as $ P_ (n) \\ left (x \\ right) $, and $ r $ is the number of roots of the characteristic equation of the corresponding LODE-2 equal to zero. The coefficients of the polynomial $ Q_ (n) \\ left (x \\ right) $ are found by the method of undefined coefficients (NK).

Rule number 2.

The right side of LNDU-2 is $ f \\ left (x \\ right) \u003d e ^ (\\ alpha \\ cdot x) \\ cdot P_ (n) \\ left (x \\ right) $, where $ P_ (n) \\ left ( x \\ right) $ is a polynomial of degree $ n $. Then its PD $ U $ is sought in the form $ U \u003d Q_ (n) \\ left (x \\ right) \\ cdot x ^ (r) \\ cdot e ^ (\\ alpha \\ cdot x) $, where $ Q_ (n) \\ The coefficients of the polynomial $ Q_ (n) \\ left (x \\ right) $ are found by the NK method.

Rule number 3.

The right side of LNDU-2 is $ f \\ left (x \\ right) \u003d a \\ cdot \\ cos \\ left (\\ beta \\ cdot x \\ right) + b \\ cdot \\ sin \\ left (\\ beta \\ cdot x \\ right) $, where $ a $, $ b $ and $ \\ beta $ are known numbers. Then its PD $ U $ is sought in the form $ U \u003d \\ left (A \\ cdot \\ cos \\ left (\\ beta \\ cdot x \\ right) + B \\ cdot \\ sin \\ left (\\ beta \\ cdot x \\ right) \\ right ) \\ cdot x ^ (r) $, where $ A $ and $ B $ are unknown coefficients, and $ r $ is the number of roots of the characteristic equation of the corresponding LODE-2 equal to $ i \\ cdot \\ beta $. The coefficients $ A $ and $ B $ are found by the NK method.

Rule number 4.

The right side of the LNDE-2 is $ f \\ left (x \\ right) \u003d e ^ (\\ alpha \\ cdot x) \\ cdot \\ left $, where $ P_ (n) \\ left (x \\ right) $ is a polynomial of degree $ n $, and $ P_ (m) \\ left (x \\ right) $ is a polynomial of degree $ m $. Then its PD $ U $ is sought in the form $ U \u003d e ^ (\\ alpha \\ cdot x) \\ cdot \\ left \\ cdot x ^ (r) $, where $ Q_ (s) \\ left (x \\ right) $ and $ R_ (s) \\ left (x \\ right) $ are polynomials of degree $ s $, the number $ s $ is the maximum of two numbers $ n $ and $ m $, and $ r $ is the number of roots of the characteristic equation corresponding to LODE-2, equal to $ \\ alpha + i \\ cdot \\ beta $. The coefficients of the polynomials $ Q_ (s) \\ left (x \\ right) $ and $ R_ (s) \\ left (x \\ right) $ are found by the NK method.

The NDT method consists in applying the following rule. In order to find the unknown coefficients of the polynomial, which are part of the particular solution of the inhomogeneous differential equation of LNDE-2, it is necessary:

  • substitute PD $ U $, written in general form, into the left side of LNDU-2;
  • on the left side of LNDU-2 simplify and group members with the same powers of $ x $;
  • in the resulting identity, equate the coefficients of the terms with the same powers $ x $ of the left and right sides;
  • solve the resulting system of linear equations for unknown coefficients.

Example 1

Problem: find OR LNDU-2 $ y "" - 3 \\ cdot y "-18 \\ cdot y \u003d \\ left (36 \\ cdot x + 12 \\ right) \\ cdot e ^ (3 \\ cdot x) $. Find also PD satisfying the initial conditions $ y \u003d 6 $ for $ x \u003d 0 $ and $ y "\u003d 1 $ for $ x \u003d 0 $.

We write down the corresponding LODU-2: $ y "" - 3 \\ cdot y "-18 \\ cdot y \u003d 0 $.

Characteristic equation: $ k ^ (2) -3 \\ cdot k-18 \u003d 0 $. Roots of the characteristic equation: $ k_ (1) \u003d -3 $, $ k_ (2) \u003d 6 $. These roots are valid and distinct. Thus, the OR of the corresponding LODE-2 has the form: $ Y \u003d C_ (1) \\ cdot e ^ (- 3 \\ cdot x) + C_ (2) \\ cdot e ^ (6 \\ cdot x) $.

The right side of this LNDE-2 has the form $ \\ left (36 \\ cdot x + 12 \\ right) \\ cdot e ^ (3 \\ cdot x) $. It is necessary to consider the coefficient of the exponent exponent $ \\ alpha \u003d 3 $. This coefficient does not coincide with any of the roots of the characteristic equation. Therefore, the PD of this LNDE-2 has the form $ U \u003d \\ left (A \\ cdot x + B \\ right) \\ cdot e ^ (3 \\ cdot x) $.

We will search for the coefficients $ A $, $ B $ by the NK method.

We find the first derivative of the PD:

$ U "\u003d \\ left (A \\ cdot x + B \\ right) ^ ((")) \\ cdot e ^ (3 \\ cdot x) + \\ left (A \\ cdot x + B \\ right) \\ cdot \\ left ( e ^ (3 \\ cdot x) \\ right) ^ ((")) \u003d $

$ \u003d A \\ cdot e ^ (3 \\ cdot x) + \\ left (A \\ cdot x + B \\ right) \\ cdot 3 \\ cdot e ^ (3 \\ cdot x) \u003d \\ left (A + 3 \\ cdot A \\ We find the second derivative of the PD:

$ U "" \u003d \\ left (A + 3 \\ cdot A \\ cdot x + 3 \\ cdot B \\ right) ^ ((")) \\ cdot e ^ (3 \\ cdot x) + \\ left (A + 3 \\ cdot A \\ cdot x + 3 \\ cdot B \\ right) \\ cdot \\ left (e ^ (3 \\ cdot x) \\ right) ^ ((")) \u003d $

$ \u003d 3 \\ cdot A \\ cdot e ^ (3 \\ cdot x) + \\ left (A + 3 \\ cdot A \\ cdot x + 3 \\ cdot B \\ right) \\ cdot 3 \\ cdot e ^ (3 \\ cdot x) \u003d \\ left (6 \\ cdot A + 9 \\ cdot A \\ cdot x + 9 \\ cdot B \\ right) \\ cdot e ^ (3 \\ cdot x). $

Substitute the functions $ U "" $, $ U "$ and $ U $ instead of $ y" "$, $ y" $ and $ y $ into the given LNDU-2 $ y "" - 3 \\ cdot y "-18 \\ cdot y \u003d \\ left (36 \\ cdot x + 12 \\ right) \\ cdot e ^ (3 \\ cdot x). $ In this case, since the exponent $ e ^ (3 \\ cdot x) $ enters as a factor in all components, then its can be omitted.

$ 6 \\ cdot A + 9 \\ cdot A \\ cdot x + 9 \\ cdot B-3 \\ cdot \\ left (A + 3 \\ cdot A \\ cdot x + 3 \\ cdot B \\ right) -18 \\ cdot \\ left (A \\ We perform the actions on the left side of the resulting equality:

$ -18 \\ cdot A \\ cdot x + 3 \\ cdot A-18 \\ cdot B \u003d 36 \\ cdot x + 12. $

We apply the NDT method. We get a system of linear equations with two unknowns:

$ -18 \\ cdot A \u003d 36; $

$ 3 \\ cdot A-18 \\ cdot B \u003d 12. $

The solution to this system is: $ A \u003d -2 $, $ B \u003d -1 $.

{!LANG-af3e913e5b0ca675b95906779d069a1c!}

{!LANG-c88a3ea2888d077177ad53da08547e4f!}

CR $ U \u003d \\ left (A \\ cdot x + B \\ right) \\ cdot e ^ (3 \\ cdot x) $ for our problem looks like this: $ U \u003d \\ left (-2 \\ cdot x-1 \\ right) \\ cdot e ^ (3 \\ cdot x) $.

OP $ y \u003d Y + U $ for our problem looks like this: $ y \u003d C_ (1) \\ cdot e ^ (- 3 \\ cdot x) + C_ (2) \\ cdot e ^ (6 \\ cdot x) + \\ In order to find a PD satisfying the given initial conditions, we find the derivative $ y "$ OP:

$ y "\u003d - 3 \\ cdot C_ (1) \\ cdot e ^ (- 3 \\ cdot x) +6 \\ cdot C_ (2) \\ cdot e ^ (6 \\ cdot x) -2 \\ cdot e ^ (3 \\ Substitute in $ y $ and $ y "$ the initial conditions $ y \u003d 6 $ at $ x \u003d 0 $ and $ y" \u003d 1 $ at $ x \u003d 0 $:

$ 6 \u003d C_ (1) + C_ (2) -1; $

$ 1 \u003d -3 \\ cdot C_ (1) +6 \\ cdot C_ (2) -2-3 \u003d -3 \\ cdot C_ (1) +6 \\ cdot C_ (2) -5. $

We got a system of equations:

$ C_ (1) + C_ (2) \u003d 7; $

$ -3 \\ cdot C_ (1) +6 \\ cdot C_ (2) \u003d 6. $

We solve it. We find $ C_ (1) $ by Cramer's formula, and $ C_ (2) $ is determined from the first equation:

$ C_ (1) \u003d \\ frac (\\ left | \\ begin (array) (cc) (7) & (1) \\\\ (6) & (6) \\ end (array) \\ right |) (\\ left | \\ cdot 6- \\ left (-3 \\ right) \\ cdot 1) \u003d \\ frac (36) (9) \u003d 4; C_ (2) \u003d 7-C_ (1) \u003d 7-4 \u003d 3. $

Thus, the PD of this differential equation is: $ y \u003d 4 \\ cdot e ^ (- 3 \\ cdot x) +3 \\ cdot e ^ (6 \\ cdot x) + \\ left (-2 \\ cdot x-1 \\ right ) \\ cdot e ^ (3 \\ cdot x) $.

Medicinal plants

Types of definitions in Russian