Inhomogene lineare Differentialgleichung

Eine inhomogene lineare Differentialgleichung ist eine Differentialgleichung 1. Ordnung der Form

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

mit stetigen Funktionen a ( x ) , b ( x ) {\displaystyle a(x),b(x)} , oder allgemeiner eine Differentialgleichung n. Ordnung der Form

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)}

mit stetigen Funktionen a 0 ( x ) , , a n 1 ( x ) , b ( x ) {\displaystyle a_{0}(x),\ldots ,a_{n-1}(x),b(x)} . Die Funktion b ( x ) {\displaystyle b(x)} wird als Inhomogenität der Differentialgleichung bezeichnet.

Lösung

Inhomogene lineare Differentialgleichungen können mit der Methode der Variation der Konstanten gelöst werden:

Man bestimmt zunächst ein Fundamentalsystem y 1 ( x ) , , y n ( x ) {\displaystyle y_{1}(x),\ldots ,y_{n}(x)} von n {\displaystyle n} Lösungen der zugehörigen homogenen Gleichung 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)} . (Im Fall 1. Ordnung y ( x ) = a ( x ) y ( x ) + b ( x ) {\displaystyle y^{\prime }(x)=a(x)y(x)+b(x)} verwendet man nur eine Lösung der Gleichung y ( x ) = a ( x ) y ( x ) {\displaystyle y^{\prime }(x)=a(x)y(x)} .)

Dann wählt man den Ansatz y ( x ) = k = 1 n c k ( x ) y k ( x ) {\displaystyle y(x)=\sum _{k=1}^{n}c_{k}(x)y_{k}(x)} und löst die sich ergebenden Differentialgleichungen für die Konstanten c 1 ( x ) , , c n ( x ) {\displaystyle c_{1}(x),\ldots ,c_{n}(x)} .

Beispiel 1

Wir betrachten die Differentialgleichung

y ( x ) = x y ( x ) + x e x 2 2 {\displaystyle y^{\prime }(x)=xy(x)+xe^{\frac {x^{2}}{2}}} .

Die zugehörige homogene Gleichung y ( x ) = x y ( x ) {\displaystyle y^{\prime }(x)=xy(x)} hat die Lösungen y ( x ) = C e x 2 2 {\displaystyle y(x)=Ce^{\frac {x^{2}}{2}}} .

Wir wählen deshalb den Ansatz

y ( x ) = C ( x ) e x 2 2 {\displaystyle y(x)=C(x)e^{\frac {x^{2}}{2}}} ,

woraus sich für C ( x ) {\displaystyle C(x)} die Differentialgleichung

C ( x ) = x {\displaystyle C^{\prime }(x)=x}

mit Lösung C ( x ) = 1 2 x 2 + D {\displaystyle C(x)={\frac {1}{2}}x^{2}+D} ergibt. Die Lösungen der inhomogenen Gleichung sind also von der Form

y ( x ) = 1 2 x 2 e x 2 2 + D e x 2 2 {\displaystyle y(x)={\frac {1}{2}}x^{2}e^{\frac {x^{2}}{2}}+De^{\frac {x^{2}}{2}}} .

Beispiel 2

Gegeben sei eine Differentialgleichung (DGL), wie sie z. B. für lineare zeitinvariante Systeme oder in der Zustandsraumdarstellung für dynamische Systeme Verwendung findet:

x ( t ) = a x ( t ) + b u ( t ) {\displaystyle x^{\prime }(t)=ax(t)+bu(t)}

Die zugehörige homogene Differentialgleichung x ( t ) = a x ( t ) {\displaystyle x^{\prime }(t)=ax(t)} hat folgende Lösung:

x ( t ) = e a ( t t 0 ) x 0 {\displaystyle x(t)=e^{a(t-t_{0})}x_{0}}

Die Lösung der inhomogenen DGL erfolgt mit der Methode Variation der Konstanten. Dazu wird auf die Lösung der homogenen DGL aufgebaut. Die Lösungs-Konstante x 0 {\displaystyle x_{0}} wird „variiert“ und im Folgenden C(t) genannt:

Lösungs Ansatz:

x ( t ) = C ( t ) e a ( t t 0 ) {\displaystyle x(t)=C(t)e^{a(t-t_{0})}}

Ableitung mit Kettenregel:

x ( t ) = C ( t ) e a ( t t 0 ) + C ( t ) a e a ( t t 0 ) {\displaystyle x^{\prime }(t)=C^{\prime }(t)e^{a(t-t_{0})}+C(t)ae^{a(t-t_{0})}}

Beides eingesetzt in die ursprüngliche inhomogene DGL und durch Multiplikation mit e a ( t t 0 ) {\displaystyle e^{-a(t-t_{0})}} nach C ( t ) {\displaystyle C^{\prime }(t)} aufgelöst:

C ( t ) e a ( t t 0 ) + C ( t ) a e a ( t t 0 ) = a C ( t ) e a ( t t 0 ) + b u ( t ) {\displaystyle C^{\prime }(t)e^{a(t-t_{0})}+C(t)ae^{a(t-t_{0})}=aC(t)e^{a(t-t_{0})}+bu(t)}
C ( t ) e a ( t t 0 ) = b u ( t ) {\displaystyle C^{\prime }(t)e^{a(t-t_{0})}=bu(t)}
C ( t ) = b u ( t ) e a ( t t 0 ) {\displaystyle C^{\prime }(t)=bu(t)e^{-a(t-t_{0})}}

Beide Seiten dieser Gleichung werden integriert. Der linke Term ergibt sich aus der Überlegung, dass die Ableitung von C ( t ) C ( t 0 ) {\displaystyle C(t)-C(t_{0})} ja C ( t ) {\displaystyle C^{\prime }(t)} ergibt:

C ( t ) C ( t 0 ) = t 0 t b u ( τ ) e a ( τ t 0 ) d τ {\displaystyle C(t)-C(t_{0})=\int _{t_{0}}^{t}bu(\tau )e^{-a(\tau -t_{0})}d\tau } .

Auflösung nach C ( t ) {\displaystyle C(t)} und Verwendung von C ( t 0 ) = x 0 {\displaystyle C(t_{0})=x_{0}} :

C ( t ) = t 0 t b u ( τ ) e a ( τ t 0 ) d τ + C ( t 0 ) {\displaystyle C(t)=\int _{t_{0}}^{t}bu(\tau )e^{-a(\tau -t_{0})}d\tau +C(t_{0})}
C ( t ) = x 0 + t 0 t b u ( τ ) e a ( τ t 0 ) d τ {\displaystyle C(t)=x_{0}+\int _{t_{0}}^{t}bu(\tau )e^{-a(\tau -t_{0})}d\tau }

Eingesetzt in obigen Lösungs-Ansatz x ( t ) = C ( t ) e a ( t t 0 ) {\displaystyle x(t)=C(t)e^{a(t-t_{0})}} ergibt sich das Ergebnis nach einigen Umformungen:

x ( t ) = ( x 0 + t 0 t b u ( τ ) e a ( τ t 0 ) d τ ) e a ( t t 0 ) {\displaystyle x(t)=(x_{0}+\int _{t_{0}}^{t}bu(\tau )e^{-a(\tau -t_{0})}d\tau )\cdot e^{a(t-t_{0})}}
x ( t ) = e a ( t t 0 ) x 0 + e a ( t t 0 ) t 0 t b u ( τ ) e a ( τ t 0 ) d τ {\displaystyle x(t)=e^{a(t-t_{0})}x_{0}+e^{a(t-t_{0})}\int _{t_{0}}^{t}bu(\tau )e^{-a(\tau -t_{0})}d\tau }
x ( t ) = e a ( t t 0 ) x 0 + t 0 t b u ( τ ) e a ( t t 0 ) e a ( τ t 0 ) d τ {\displaystyle x(t)=e^{a(t-t_{0})}x_{0}+\int _{t_{0}}^{t}bu(\tau )e^{a(t-t_{0})}e^{-a(\tau -t_{0})}d\tau }
x ( t ) = e a ( t t 0 ) x 0 + t 0 t b u ( τ ) e a t a t 0 e a τ + a t 0 ) d τ {\displaystyle x(t)=e^{a(t-t_{0})}x_{0}+\int _{t_{0}}^{t}bu(\tau )e^{at-at_{0}}e^{-a\tau +at_{0})}d\tau }

Die Lösung für die inhomogene DGL der Zustandsraumdarstellung ergibt sich schließlich zu:

x ( t ) = e a ( t t 0 ) x 0 + t 0 t b u ( τ ) e a ( t τ ) d τ {\displaystyle x(t)=e^{a(t-t_{0})}x_{0}+\int _{t_{0}}^{t}bu(\tau )e^{a(t-\tau )}d\tau }

Literatur

  • Wolfgang Walter: Gewöhnliche Differentialgleichungen. 3. Auflage. Springer Verlag, 1986, ISBN 3-540-16143-0