Variation der Konstanten

Die Variation der Konstanten ist ein Verfahren aus der Theorie linearer gewöhnlicher Differentialgleichungen zur Bestimmung einer speziellen Lösung eines inhomogenen linearen Differentialgleichungssystems erster Ordnung bzw. einer inhomogenen linearen Differentialgleichung beliebiger Ordnung. Vorausgesetzt wird hierfür eine vollständige Lösung (Fundamentalsystem) der zugehörigen homogenen Differentialgleichung.

Leonhard Euler benutzte einen Vorläufer dieser Methode bereits 1748 im Zusammenhang mit astronomischen Problemen.[1][2] In seiner heutigen Form wurde das Verfahren von dem Mathematiker Joseph-Louis Lagrange entwickelt.[3]

Motivation

Lineare Differentialgleichung erster Ordnung

Seien a : R R {\displaystyle a\colon \mathbb {R} \rightarrow \mathbb {R} } und b : R R {\displaystyle b\colon \mathbb {R} \rightarrow \mathbb {R} } stetige Funktionen, dann lautet die lineare Differentialgleichung erster Ordnung[4]

y ( x ) = a ( x ) y ( x ) + b ( x ) {\displaystyle y'(x)=a(x)y(x)+b(x)} .

Definiere die Funktion

A ( x ) := x 0 x a ( t ) d t {\displaystyle A(x):=\int _{x_{0}}^{x}a(t)\,\mathrm {d} t} ,

wobei x 0 {\displaystyle x_{0}} geeigneten Randbedingungen genügen muss, so ist A {\displaystyle A} eine Stammfunktion von a {\displaystyle a} . Dann ist

{ y ( x ) = c e A ( x )   |   c R } {\displaystyle \left\{y(x)=ce^{A(x)}\ |\ c\in \mathbb {R} \right\}}

die Menge aller Lösungen der homogenen Differentialgleichung y ( x ) = a ( x ) y ( x ) {\displaystyle y'(x)=a(x)y(x)} .

Zur Lösung der inhomogenen Differentialgleichung wird nun die Funktion c ( x ) {\displaystyle c(x)} eingeführt und der Ansatz der Variation der Konstanten gewählt:

y ( x ) = c ( x ) e A ( x ) {\displaystyle y(x)=c(x)e^{A(x)}} .

Dies ergibt eine eindeutige Zuordnung zwischen den Funktionen y {\displaystyle y} und c {\displaystyle c} , denn exp A {\displaystyle \exp \circ A} ist eine stets positive, stetig differenzierbare Funktion. Die Ableitung dieser Ansatzfunktion ist

y ( x ) = c ( x ) a ( x ) e A ( x ) + c ( x ) e A ( x ) = a ( x ) y ( x ) + c ( x ) e A ( x ) {\displaystyle y'(x)=c(x)a(x)e^{A(x)}+c'(x)e^{A(x)}=a(x)y(x)+c'(x)e^{A(x)}} .

Also löst y {\displaystyle y} die inhomogene Differentialgleichung

y ( x ) = a ( x ) y ( x ) + b ( x ) {\displaystyle y'(x)=a(x)y(x)+b(x)}

genau dann, wenn

c ( x ) = b ( x ) e A ( x ) {\displaystyle c'(x)=b(x)e^{-A(x)}}

gilt. Beispielsweise ist

c ( x ) := x 0 x b ( t ) e A ( t ) d t {\displaystyle c(x):=\int _{x_{0}}^{x}b(t)e^{-A(t)}\,\mathrm {d} t}

eine solche Funktion und somit

y sp ( x ) := e A ( x ) x 0 x b ( t ) e A ( t ) d t {\displaystyle y_{\text{sp}}(x):=e^{A(x)}\cdot \int _{x_{0}}^{x}b(t)e^{-A(t)}\,\mathrm {d} t}

die spezielle Lösung mit y sp ( x 0 ) = 0 {\displaystyle y_{\text{sp}}(x_{0})=0} . Also ist

{ y ( x ) = e A ( x ) [ x 0 x b ( t ) e A ( t ) d t + c ]   |   c R } {\displaystyle \left\{y(x)=e^{A(x)}\cdot \left[\int _{x_{0}}^{x}b(t)e^{-A(t)}\,\mathrm {d} t+c\right]\ |\ c\in \mathbb {R} \right\}}

die Menge aller Lösungen der inhomogenen Differentialgleichung y ( x ) = a ( x ) y ( x ) + b ( x ) {\displaystyle y'(x)=a(x)y(x)+b(x)} .

Beispiel

Liegt an einer Spule mit der Induktivität L {\displaystyle L} und dem ohmschen Widerstand R {\displaystyle R} eine Gleichspannung U 0 {\displaystyle U_{0}} an, so gilt für die Spannung an dem Widerstand

U ( t ) = U 0 L I ˙ ( t ) . {\displaystyle U(t)=U_{0}-L{\dot {I}}(t).\!\,}

Nach dem ohmschen Gesetz gilt zudem

I ( t ) = U ( t ) R = U 0 R L R I ˙ ( t ) {\displaystyle I(t)={\frac {U(t)}{R}}={\frac {U_{0}}{R}}-{\frac {L}{R}}{\dot {I}}(t)} .

Es handelt sich also um eine inhomogene lineare Differentialgleichung erster Ordnung mit konstanten Koeffizienten, die nun mithilfe des Verfahrens der Variation der Konstanten gelöst werden soll.

Für die zugehörige homogene Differentialgleichung I h {\displaystyle I_{h}}

I ˙ h ( t ) = R L I h ( t ) {\displaystyle {\dot {I}}_{h}(t)=-{\frac {R}{L}}I_{h}(t)}

lautet die allgemeine Lösung

I h ( t ) = c e R L t {\displaystyle I_{h}(t)=ce^{-{\frac {R}{L}}t}}

für ein beliebiges, aber konstantes c {\displaystyle c} .

Als Ansatz für die Lösung der inhomogenen Differentialgleichung ersetze man die Konstante c {\displaystyle c} durch einen variablen Ausdruck c ( t ) {\displaystyle c(t)} . Man setzt also

I ( t ) := c ( t ) e R L t {\displaystyle I(t):=c(t)e^{-{\frac {R}{L}}t}}

und versucht, eine differenzierbare Funktion c ( t ) {\displaystyle c(t)} so zu bestimmen, dass I {\displaystyle I} die inhomogene Differentialgleichung erfüllt. Es folgt

U 0 R L R I ˙ ( t ) = U 0 R L R c ˙ ( t ) e R L t + L R c ( t ) R L e R L t = U 0 R L R c ˙ ( t ) e R L t + c ( t ) e R L t = U 0 R L R c ˙ ( t ) e R L t + I ( t ) . {\displaystyle {\begin{aligned}{\frac {U_{0}}{R}}-{\frac {L}{R}}{\dot {I}}(t)&={\frac {U_{0}}{R}}-{\frac {L}{R}}{\dot {c}}(t)e^{-{\frac {R}{L}}t}+{\frac {L}{R}}c(t){\frac {R}{L}}e^{-{\frac {R}{L}}t}\\&={\frac {U_{0}}{R}}-{\frac {L}{R}}{\dot {c}}(t)e^{-{\frac {R}{L}}t}+c(t)e^{-{\frac {R}{L}}t}\\&={\frac {U_{0}}{R}}-{\frac {L}{R}}{\dot {c}}(t)e^{-{\frac {R}{L}}t}+I(t).\end{aligned}}}

Demnach ist die inhomogene Differentialgleichung genau dann gelöst, wenn gilt

U 0 R L R c ˙ ( t ) e R L t = 0 {\displaystyle {\frac {U_{0}}{R}}-{\frac {L}{R}}{\dot {c}}(t)e^{-{\frac {R}{L}}t}=0} .

Diese Randwertbedingung ist gleichbedeutend mit c ˙ ( t ) = U 0 L e R L t {\displaystyle \textstyle {\dot {c}}(t)={\frac {U_{0}}{L}}e^{{\frac {R}{L}}t}} oder nach Integration mit c ( t ) = U 0 R e R L t + d {\displaystyle \textstyle c(t)={\frac {U_{0}}{R}}e^{{\frac {R}{L}}t}+d} . Somit lautet die Lösung der inhomogenen Differentialgleichung

I ( t ) = U 0 R + d e R L t {\displaystyle I(t)={\frac {U_{0}}{R}}+de^{-{\frac {R}{L}}t}} .

Die Konstante d {\displaystyle d} lässt sich aus der Anfangsbedingung bestimmen und ergibt für I ( 0 ) = 0 {\displaystyle I(0)=0} die Lösung

I ( t ) = U 0 R U 0 R e R L t {\displaystyle I(t)={\frac {U_{0}}{R}}-{\frac {U_{0}}{R}}e^{-{\frac {R}{L}}t}} .

Inhomogene lineare Differentialgleichungssysteme erster Ordnung

Das obige Verfahren lässt sich auf folgende Weise verallgemeinern[5]:

Formulierung

Seien A : R R n × n {\displaystyle A:\mathbb {R} \rightarrow \mathbb {R} ^{n\times n}} und b : R R n {\displaystyle b:\mathbb {R} \rightarrow \mathbb {R} ^{n}} stetige Funktionen und Φ ( x ) = ( y 1 ( x )   |     |   y n ( x ) ) {\displaystyle \Phi (x)=(y_{1}(x)\ |\ \cdots \ |\ y_{n}(x))} eine Fundamentalmatrix des homogenen Problems y ( x ) = A ( x ) y ( x ) {\displaystyle y'(x)=A(x)y(x)} sowie Φ k ( x ) {\displaystyle \Phi _{k}(x)} diejenige Matrix, die aus Φ ( x ) {\displaystyle \Phi (x)} entsteht, indem man die k {\displaystyle k} -te Spalte durch b ( x ) {\displaystyle b(x)} ersetzt. Dann ist

y s p ( x ) := k = 1 n c k ( x ) y k ( x ) {\displaystyle y_{sp}(x):=\sum _{k=1}^{n}c_{k}(x)y_{k}(x)}

mit

c k ( x ) := x 0 x det Φ k ( s ) det Φ ( s ) d s {\displaystyle c_{k}(x):=\int _{x_{0}}^{x}{\frac {\det \Phi _{k}(s)}{\det \Phi (s)}}{\rm {d}}s}

die Lösung des inhomogenen Anfangswertproblems y ( x ) = A ( x ) y ( x ) + b ( x ) {\displaystyle y'(x)=A(x)y(x)+b(x)} und y ( x 0 ) = 0 {\displaystyle y(x_{0})=0} .

Beweis

Setze

y s p ( x ) := Φ ( x ) x 0 x Φ ( s ) 1 b ( s ) d s   . {\displaystyle y_{sp}(x):=\Phi (x)\int _{x_{0}}^{x}\Phi (s)^{-1}b(s){\rm {d}}s\ .}

Es ist y s p ( x 0 ) = 0 {\displaystyle y_{sp}(x_{0})=0} , und wegen Φ ( x ) = A ( x ) Φ ( x ) {\displaystyle \Phi '(x)=A(x)\Phi (x)} sieht man durch Differenzieren, dass y s p {\displaystyle y_{sp}} die Differentialgleichung y s p ( x ) = A ( x ) y s p ( x ) + b ( x ) {\displaystyle y_{sp}'(x)=A(x)y_{sp}(x)+b(x)} erfüllt. Nun löst

a ( s ) := Φ ( s ) 1 b ( s ) R n {\displaystyle a(s):=\Phi (s)^{-1}b(s)\in \mathbb {R} ^{n}}

für festes s {\displaystyle s} das lineare Gleichungssystem

Φ ( s ) a ( s ) = b ( s )   . {\displaystyle \Phi (s)\cdot a(s)=b(s)\ .}

Nach der cramerschen Regel ist somit

a k ( s ) = det Φ k ( s ) det Φ ( s )   ,   k = 1 , , n   . {\displaystyle a_{k}(s)={\frac {\det \Phi _{k}(s)}{\det \Phi (s)}}\ ,\ k=1,\ldots ,n\ .}

Also gilt

y s p ( x ) = x 0 x Φ ( x ) a ( s ) d s = k = 1 n [ x 0 x det Φ k ( s ) det Φ ( s ) d s ] y k ( x )   . {\displaystyle y_{sp}(x)=\int _{x_{0}}^{x}\Phi (x)a(s){\rm {d}}s=\sum _{k=1}^{n}\left[\int _{x_{0}}^{x}{\frac {\det \Phi _{k}(s)}{\det \Phi (s)}}{\rm {d}}s\right]y_{k}(x)\ .}

Spezialfall: Resonanzfall

Falls die Inhomogenität b {\displaystyle b} selber Lösung des homogenen Problems ist, d. h. b ( x ) = A ( x ) b ( x ) {\displaystyle b'(x)=A(x)b(x)} , so bezeichnet man dies als Resonanzfall. In diesem Fall ist

  y s p ( x ) := ( x x 0 ) b ( x ) {\displaystyle \ y_{sp}(x):=(x-x_{0})b(x)}

die Lösung des inhomogenen Anfangswertproblems y ( x ) = A ( x ) y ( x ) + b ( x ) {\displaystyle y'(x)=A(x)y(x)+b(x)} und y ( x 0 ) = 0 {\displaystyle y(x_{0})=0} .

Inhomogene lineare Differentialgleichungen höherer Ordnung

Das Lösen einer Differentialgleichung höherer Ordnung ist äquivalent zum Lösen eines geeigneten Differentialgleichungssystems erster Ordnung. Auf diese Weise kann man obiges Verfahren nutzen, um eine spezielle Lösung für eine Differentialgleichung höherer Ordnung zu konstruieren.[6]

Formulierung

Seien a 0 , , a n 1 , b : R R {\displaystyle a_{0},\ldots ,a_{n-1},b:\mathbb {R} \rightarrow \mathbb {R} } stetige Funktionen und Φ ( x ) {\displaystyle \Phi (x)} eine Fundamentalmatrix des homogenen Problems y ( n ) ( x ) = k = 0 n 1 a k ( x ) y ( k ) ( x ) {\displaystyle \textstyle y^{(n)}(x)=\sum _{k=0}^{n-1}a_{k}(x)y^{(k)}(x)} , deren erste Zeile ( y 1 ( x )   |     |   y n ( x ) ) {\displaystyle (y_{1}(x)\ |\ \cdots \ |\ y_{n}(x))} lautet, sowie Φ k ( x ) {\displaystyle \Phi _{k}(x)} diejenige Matrix, die aus Φ ( x ) {\displaystyle \Phi (x)} entsteht, indem man die k {\displaystyle k} -te Spalte durch ( 0 0 b ( x ) ) {\displaystyle \textstyle {\begin{pmatrix}0\\\vdots \\0\\b(x)\\\end{pmatrix}}} ersetzt. Dann ist

y s p ( x ) := k = 1 n c k ( x ) y k ( x ) {\displaystyle y_{sp}(x):=\sum _{k=1}^{n}c_{k}(x)y_{k}(x)}

mit

c k ( x ) := x 0 x det Φ k ( s ) det Φ ( s ) d s {\displaystyle c_{k}(x):=\int _{x_{0}}^{x}{\frac {\det \Phi _{k}(s)}{\det \Phi (s)}}{\rm {d}}s}

die Lösung des inhomogenen Anfangswertproblems y ( n ) ( x ) = k = 0 n 1 a k ( x ) y ( k ) ( x ) + b ( x ) {\displaystyle \textstyle y^{(n)}(x)=\sum _{k=0}^{n-1}a_{k}(x)y^{(k)}(x)+b(x)} und y ( x 0 ) = 0 {\displaystyle y(x_{0})=0} .

Beweis

Man betrachte zunächst das hierzu korrespondierende Differentialgleichungssystem erster Ordnung, bestehend aus n {\displaystyle n} Gleichungen

  Y ( x ) = A ( x ) Y ( x ) + B ( x ) {\displaystyle \ Y'(x)=A(x)Y(x)+B(x)} mit A ( x ) := ( 0 1 0 1 a 0 ( x ) a 1 ( x ) a n 1 ( x ) )   ,   B ( x ) := ( 0 0 b ( x ) )   . {\displaystyle A(x):={\begin{pmatrix}0&1&&0\\&\ddots &\ddots &\\&&\ddots &1\\a_{0}(x)&a_{1}(x)&\cdots &a_{n-1}(x)\\\end{pmatrix}}\ ,\ B(x):={\begin{pmatrix}0\\\vdots \\0\\b(x)\\\end{pmatrix}}\ .}

Es gilt: y ( x ) {\displaystyle y(x)} löst die skalare Gleichung n {\displaystyle n} -ter Ordnung genau dann, wenn Y ( x ) := ( y ( x ) y ( x ) y ( n 1 ) ( x ) ) {\displaystyle \textstyle Y(x):={\begin{pmatrix}y(x)\\y'(x)\\\vdots \\y^{(n-1)}(x)\\\end{pmatrix}}} Lösung obigen Systems erster Ordnung ist. Per definitionem ist Φ {\displaystyle \Phi } eine Fundamentalmatrix für dieses System erster Ordnung. Darauf wende man schließlich das oben bewiesene Verfahren der Variation der Konstanten an.

Alternative: Grundlösungsverfahren

Im Fall konstanter Koeffizienten ist es gelegentlich von Vorteil, das Grundlösungsverfahren zur Konstruktion einer speziellen Lösung zu verwenden: Ist y h {\displaystyle y_{h}} diejenige homogene Lösung von y ( n ) ( x ) = k = 0 n 1 a k y ( k ) ( x ) {\displaystyle \textstyle y^{(n)}(x)=\sum _{k=0}^{n-1}a_{k}y^{(k)}(x)} , welche

y h ( k ) ( x 0 ) = 0   ,   k = 0 , , n 2   ,   y h ( n 1 ) ( x 0 ) = 1 {\displaystyle y_{h}^{(k)}(x_{0})=0\ ,\ k=0,\ldots ,n-2\ ,\ y_{h}^{(n-1)}(x_{0})=1}

erfüllt, dann ist

y s p ( x ) := x 0 x y h ( x 0 + x t ) b ( t ) d t {\displaystyle y_{sp}(x):=\int _{x_{0}}^{x}y_{h}(x_{0}+x-t)b(t){\rm {d}}t}

diejenige spezielle Lösung von y ( n ) ( x ) = k = 0 n 1 a k y ( k ) ( x ) + b ( x ) {\displaystyle \textstyle y^{(n)}(x)=\sum _{k=0}^{n-1}a_{k}y^{(k)}(x)+b(x)} mit y s p ( x 0 ) = 0 {\displaystyle y_{sp}(x_{0})=0} .

Beweis

Durch Differenzieren überprüft man

y s p ( k ) ( x ) = x 0 x y h ( k ) ( x 0 + x t ) b ( t ) d t   ,   k = 0 , , n 1 {\displaystyle y_{sp}^{(k)}(x)=\int _{x_{0}}^{x}y_{h}^{(k)}(x_{0}+x-t)b(t){\rm {d}}t\ ,\ k=0,\ldots ,n-1}

und

y s p ( n ) ( x ) = b ( x ) + x 0 x y h ( n ) ( x 0 + x t ) b ( t ) d t   . {\displaystyle y_{sp}^{(n)}(x)=b(x)+\int _{x_{0}}^{x}y_{h}^{(n)}(x_{0}+x-t)b(t){\rm {d}}t\ .}

Es ergibt sich

y s p ( n ) ( x ) k = 0 n 1 a k y s p ( k ) ( x ) = b ( x ) + x 0 x [ y h ( n ) k = 0 n 1 a k y h ( k ) ] ( x 0 + x t ) b ( t ) d t = b ( x )   . {\displaystyle y_{sp}^{(n)}(x)-\sum _{k=0}^{n-1}a_{k}y_{sp}^{(k)}(x)=b(x)+\int _{x_{0}}^{x}\left[y_{h}^{(n)}-\sum _{k=0}^{n-1}a_{k}y_{h}^{(k)}\right](x_{0}+x-t)b(t){\rm {d}}t=b(x)\ .}

Einzelnachweise

  1. 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
  2. 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, J.B. Coignard, & H.L. Guerin, 1749, online Bei: Google.com
  3. Joseph-Louis Lagrange: (1766) “Solution de différens problèmes du calcul integral,” Mélanges de philosophie et de mathématique de la Société royale de Turin, vol. 3, pages 179–380.
  4. Wolfgang Walter: Gewöhnliche Differentialgleichungen. 3. Auflage. Springer Verlag, 1986, ISBN 3-540-16143-0, §2, Abschnitt II
  5. Wolfgang Walter: Gewöhnliche Differentialgleichungen. 3. Auflage. Springer Verlag, 1986, ISBN 3-540-16143-0, §16
  6. Differentialgleichungen n-ter Ordnung. In: Otto Forster: Analysis II. Vieweg Verlag, 1977, ISBN 3-499-27031-5, Kapitel II, §12.