The variation of the constants is a method from the theory of linear ordinary differential equations for the determination of a special solution of an inhomogeneous linear differential equation system of the first order or an inhomogeneous linear differential equation of any order. A complete solution ( fundamental system ) of the corresponding homogeneous differential equation is required for this .
Leonhard Euler used a forerunner of this method as early as 1748 in connection with astronomical problems. In its current form, the method was developed by the mathematician Joseph-Louis Lagrange .
motivation
First order linear differential equation
Let and be continuous functions, then the linear differential equation of the first order reads
Let also be an antiderivative of , then
where suitable boundary conditions must be satisfied. Then
the set of all solutions to the homogeneous differential equation .
To solve the inhomogeneous differential equation, the function is now introduced and the approach of varying the constants selected
-
.
This results in a clear assignment between the functions and , because it is an always positive, continuously differentiable function. The derivation of this approach function is
So solves the inhomogeneous differential equation
exactly when
applies. For example is
such a function and thus
the special solution with . So is
the set of all solutions to the inhomogeneous differential equation .
example
If a DC voltage is applied to a coil with the inductance and the ohmic resistor , then the following applies to the voltage at the resistor
According to Ohm's law , this also applies
-
.
It is therefore an inhomogeneous linear differential equation of the first order with constant coefficients, which is now to be solved using the method of varying the constants.
For the corresponding homogeneous differential equation
is the solution for each constant
-
.
As a starting point for the solution of the inhomogeneous differential equation, replace the constant with a variable expression . So you bet
and tries to determine a differentiable function that satisfies the inhomogeneous differential equation. It follows
Accordingly, the inhomogeneous differential equation is solved if and only if applies
-
.
This boundary value condition is equivalent to or after integration with . So the solution to the inhomogeneous differential equation is
-
.
The constant can be determined from the initial condition and results in the solution
-
.
Inhomogeneous systems of linear differential equations of the first order
The above procedure can be generalized in the following way:
formulation
Let and be continuous functions and a fundamental matrix of the homogeneous problem as well as the matrix that results from by replacing the -th column with . Then
With
the solution of the inhomogeneous initial value problem and .
proof
Set
It is , and because of differentiation, one sees that the differential equation is satisfied. Well solves
for fixed the system of linear equations
According to Cramer's rule is
So it applies
Special case: resonance case
If the inhomogeneity itself is the solution of the homogeneous problem, ie , this is called a resonance case . In this case it is
the solution of the inhomogeneous initial value problem and .
Inhomogeneous linear differential equations of higher order
Solving a higher order differential equation is equivalent to solving an appropriate first order differential equation system. In this way the above procedure can be used to construct a special solution for a higher order differential equation.
formulation
Let be continuous functions and a fundamental matrix of the homogeneous problem whose first row reads, as well as the matrix that results from by replacing the -th column with . Then
With
the solution of the inhomogeneous initial value problem and .
proof
First consider the corresponding system of differential equations of the first order, consisting of equations
-
With
The following applies: solves the scalar equation -th order if and only if the
solution of the above system is first order. By definition,
a fundamental matrix for this system is first order. Finally, we apply the method of varying the constants, which has been proven above.
Alternative: basic solution procedure
In the case of constant coefficients it is sometimes advantageous to use the basic solution method to construct a special solution: Is that homogeneous solution of which
met then is
that special solution from with .
proof
You check by differentiating
and
It turns out
Individual evidence
-
^ Forest Ray Moulton : An Introduction to Celestial Mechanics , 2nd ed. (First published by the Macmillan Company in 1914; reprinted in 1970 by Dover Publications, Inc., Mineola, New York), page 431
-
^ Leonhard Euler: Recherches sur la question des inégalités du mouvement de Saturne et de Jupiter, sujet proposé pour le prix de l'année 1748 par l'Académie Royale des Sciences de Paris, France: G. Martin, JB Coignard, & HL Guerin , 1749, online at: Google.com
-
^ Joseph-Louis Lagrange: (1766) “Solution de différensproblemèmes du calcul integral,” Mélanges de philosophie et de mathématique de la Société royale de Turin , vol. 3, pages 179-380.
-
↑ Wolfgang Walter : Ordinary differential equations. 3. Edition. Springer Verlag, 1986, ISBN 3-540-16143-0 , §2, Section II
-
↑ Wolfgang Walter : Ordinary differential equations. 3. Edition. Springer Verlag, 1986, ISBN 3-540-16143-0 , §16
-
↑ Differential equations of the nth order. In: Otto Forster : Analysis II. Vieweg Verlag, 1977, ISBN 3-499-27031-5 , Chapter II, §12.