Überblick
Die charakteristische Gleichung λ 2 + λ + 1 = 0 \lambda^2 + \lambda + 1 = 0 λ 2 + λ + 1 = 0 hat die Wurzeln e ± 2 π i / 3 = [ 1 , ± 2 π 3 ] e^{\pm 2\pi i/3} = [1, \pm\frac{2\pi}{3}] e ± 2 πi /3 = [ 1 , ± 3 2 π ] . Die homogenen Lösungen sind also cos 2 n π 3 \cos\frac{2n\pi}{3} cos 3 2 nπ und sin 2 n π 3 \sin\frac{2n\pi}{3} sin 3 2 nπ – und die Störfunktion sin 2 n π 3 \sin\frac{2n\pi}{3} sin 3 2 nπ ist selbst eine davon: Resonanz . Der übliche Ansatz P cos + Q sin P\cos + Q\sin P cos + Q sin muss deshalb mit n n n multipliziert werden.
Schritt 1: Homogene Rekursion
λ 2 + λ + 1 = 0 ⟹ λ 1 , 2 = − 1 2 ± 3 2 i = [ 1 , ± 2 π 3 ] \lambda^2 + \lambda + 1 = 0 \implies \lambda_{1,2} = -\frac12 \pm \frac{\sqrt3}{2}i = [1, \pm\frac{2\pi}{3}] λ 2 + λ + 1 = 0 ⟹ λ 1 , 2 = − 2 1 ± 2 3 i = [ 1 , ± 3 2 π ] (vgl. Bsp. 247). Mit θ : = 2 π 3 \theta := \frac{2\pi}{3} θ := 3 2 π :
a n ( h ) = A cos ( n θ ) + B sin ( n θ ) . a_n^{(h)} = A\cos(n\theta) + B\sin(n\theta). a n ( h ) = A cos ( n θ ) + B sin ( n θ ) .
Schritt 2: Warum Resonanz?
Setzt man u n = P cos ( n θ ) + Q sin ( n θ ) u_n = P\cos(n\theta) + Q\sin(n\theta) u n = P cos ( n θ ) + Q sin ( n θ ) ein, erhält man u n + u n − 1 + u n − 2 = 0 u_n + u_{n-1} + u_{n-2} = 0 u n + u n − 1 + u n − 2 = 0 für alle P , Q P, Q P , Q , weil u n u_n u n homogene Lösung ist. Damit kann man sin ( n θ ) \sin(n\theta) sin ( n θ ) nicht erzeugen. Da e i θ e^{i\theta} e i θ eine einfache Wurzel ist, lautet der Ansatz
a n ( p ) = n u n = n ( P cos ( n θ ) + Q sin ( n θ ) ) . a_n^{(p)} = n\,u_n = n\bigl(P\cos(n\theta) + Q\sin(n\theta)\bigr). a n ( p ) = n u n = n ( P cos ( n θ ) + Q sin ( n θ ) ) .
Schritt 3: Einsetzen
a n ( p ) + a n − 1 ( p ) + a n − 2 ( p ) = n u n + ( n − 1 ) u n − 1 + ( n − 2 ) u n − 2 = n ( u n + u n − 1 + u n − 2 ) ⏟ = 0 − u n − 1 − 2 u n − 2 (nach n sortiert) = − u n − 1 − 2 u n − 2 . \begin{aligned}
a_n^{(p)} + a_{n-1}^{(p)} + a_{n-2}^{(p)} &= n\,u_n + (n-1)\,u_{n-1} + (n-2)\,u_{n-2} && \\
&= n\underbrace{\bigl(u_n + u_{n-1} + u_{n-2}\bigr)}_{=\,0} - u_{n-1} - 2u_{n-2} && \text{(nach } n \text{ sortiert)}\\
&= -u_{n-1} - 2u_{n-2}. &&
\end{aligned} a n ( p ) + a n − 1 ( p ) + a n − 2 ( p ) = n u n + ( n − 1 ) u n − 1 + ( n − 2 ) u n − 2 = n = 0 ( u n + u n − 1 + u n − 2 ) − u n − 1 − 2 u n − 2 = − u n − 1 − 2 u n − 2 . (nach n sortiert)
Mit den Additionstheoremen und cos θ = − 1 2 \cos\theta = -\frac12 cos θ = − 2 1 , sin θ = 3 2 \sin\theta = \frac{\sqrt3}{2} sin θ = 2 3 , cos 2 θ = − 1 2 \cos 2\theta = -\frac12 cos 2 θ = − 2 1 , sin 2 θ = − 3 2 \sin 2\theta = -\frac{\sqrt3}{2} sin 2 θ = − 2 3 :
u n − 1 = ( P cos θ − Q sin θ ) cos n θ + ( P sin θ + Q cos θ ) sin n θ = ( − 1 2 P − 3 2 Q ) cos n θ + ( 3 2 P − 1 2 Q ) sin n θ , u n − 2 = ( P cos 2 θ − Q sin 2 θ ) cos n θ + ( P sin 2 θ + Q cos 2 θ ) sin n θ = ( − 1 2 P + 3 2 Q ) cos n θ + ( − 3 2 P − 1 2 Q ) sin n θ . \begin{aligned}
u_{n-1} &= (P\cos\theta - Q\sin\theta)\cos n\theta + (P\sin\theta + Q\cos\theta)\sin n\theta = \Bigl(-\tfrac12 P - \tfrac{\sqrt3}{2}Q\Bigr)\cos n\theta + \Bigl(\tfrac{\sqrt3}{2}P - \tfrac12 Q\Bigr)\sin n\theta,\\
u_{n-2} &= (P\cos 2\theta - Q\sin 2\theta)\cos n\theta + (P\sin 2\theta + Q\cos 2\theta)\sin n\theta = \Bigl(-\tfrac12 P + \tfrac{\sqrt3}{2}Q\Bigr)\cos n\theta + \Bigl(-\tfrac{\sqrt3}{2}P - \tfrac12 Q\Bigr)\sin n\theta.
\end{aligned} u n − 1 u n − 2 = ( P cos θ − Q sin θ ) cos n θ + ( P sin θ + Q cos θ ) sin n θ = ( − 2 1 P − 2 3 Q ) cos n θ + ( 2 3 P − 2 1 Q ) sin n θ , = ( P cos 2 θ − Q sin 2 θ ) cos n θ + ( P sin 2 θ + Q cos 2 θ ) sin n θ = ( − 2 1 P + 2 3 Q ) cos n θ + ( − 2 3 P − 2 1 Q ) sin n θ .
Daraus
− u n − 1 − 2 u n − 2 = ( 3 2 P − 3 2 Q ) cos n θ + ( 3 2 P + 3 2 Q ) sin n θ = ! sin n θ . -u_{n-1} - 2u_{n-2} = \Bigl(\tfrac32 P - \tfrac{\sqrt3}{2}Q\Bigr)\cos n\theta + \Bigl(\tfrac{\sqrt3}{2}P + \tfrac32 Q\Bigr)\sin n\theta \overset{!}{=} \sin n\theta. − u n − 1 − 2 u n − 2 = ( 2 3 P − 2 3 Q ) cos n θ + ( 2 3 P + 2 3 Q ) sin n θ = ! sin n θ .
Koeffizientenvergleich (zulässig: α cos n θ + β sin n θ = 0 \alpha\cos n\theta + \beta\sin n\theta = 0 α cos n θ + β sin n θ = 0 für alle n n n liefert mit n = 0 n = 0 n = 0 α = 0 \alpha = 0 α = 0 , mit n = 1 n = 1 n = 1 β = 0 \beta = 0 β = 0 ):
3 2 P − 3 2 Q = 0 ⟹ Q = 3 P , 3 2 P + 3 2 Q = 1 ⟹ 3 2 P + 3 3 2 P = 2 3 P = 1 , \begin{aligned}
\tfrac32 P - \tfrac{\sqrt3}{2}Q &= 0 &&\implies Q = \sqrt3\,P,\\
\tfrac{\sqrt3}{2}P + \tfrac32 Q &= 1 &&\implies \tfrac{\sqrt3}{2}P + \tfrac{3\sqrt3}{2}P = 2\sqrt3\,P = 1,
\end{aligned} 2 3 P − 2 3 Q 2 3 P + 2 3 Q = 0 = 1 ⟹ Q = 3 P , ⟹ 2 3 P + 2 3 3 P = 2 3 P = 1 ,
also P = 1 2 3 = 3 6 P = \frac{1}{2\sqrt3} = \frac{\sqrt3}{6} P = 2 3 1 = 6 3 und Q = 1 2 Q = \frac12 Q = 2 1 .
Schritt 4: Allgemeine Lösung und Anfangsbedingungen
a n = A cos 2 n π 3 + B sin 2 n π 3 + n ( 3 6 cos 2 n π 3 + 1 2 sin 2 n π 3 ) . a_n = A\cos\frac{2n\pi}{3} + B\sin\frac{2n\pi}{3} + n\Bigl(\frac{\sqrt3}{6}\cos\frac{2n\pi}{3} + \frac12\sin\frac{2n\pi}{3}\Bigr). a n = A cos 3 2 nπ + B sin 3 2 nπ + n ( 6 3 cos 3 2 nπ + 2 1 sin 3 2 nπ ) .
n = 0 n = 0 n = 0 : A = 0 A = 0 A = 0 .
n = 1 n = 1 n = 1 : 3 2 B + 3 6 ⋅ ( − 1 2 ) + 1 2 ⋅ 3 2 = − 1 ⟺ 3 2 B + 3 6 = − 1 ⟺ B = − 2 3 − 1 3 = − 1 + 2 3 3 \frac{\sqrt3}{2}B + \frac{\sqrt3}{6}\cdot\bigl(-\frac12\bigr) + \frac12\cdot\frac{\sqrt3}{2} = -1 \iff \frac{\sqrt3}{2}B + \frac{\sqrt3}{6} = -1 \iff B = -\frac{2}{\sqrt3} - \frac13 = -\frac{1 + 2\sqrt3}{3} 2 3 B + 6 3 ⋅ ( − 2 1 ) + 2 1 ⋅ 2 3 = − 1 ⟺ 2 3 B + 6 3 = − 1 ⟺ B = − 3 2 − 3 1 = − 3 1 + 2 3 .
Kontrolle
Rekursion: a 2 = sin 4 π 3 − a 1 − a 0 = − 3 2 + 1 a_2 = \sin\frac{4\pi}{3} - a_1 - a_0 = -\frac{\sqrt3}{2} + 1 a 2 = sin 3 4 π − a 1 − a 0 = − 2 3 + 1 . Formel bei n = 2 n = 2 n = 2 (cos 4 π 3 = − 1 2 \cos\frac{4\pi}{3} = -\frac12 cos 3 4 π = − 2 1 , sin 4 π 3 = − 3 2 \sin\frac{4\pi}{3} = -\frac{\sqrt3}{2} sin 3 4 π = − 2 3 ): − 3 2 B + 2 ( − 3 12 − 3 4 ) = 3 + 6 6 − 2 3 3 = 1 − 3 2 -\frac{\sqrt3}{2}B + 2\bigl(-\frac{\sqrt3}{12} - \frac{\sqrt3}{4}\bigr) = \frac{\sqrt3 + 6}{6} - \frac{2\sqrt3}{3} = 1 - \frac{\sqrt3}{2} − 2 3 B + 2 ( − 12 3 − 4 3 ) = 6 3 + 6 − 3 2 3 = 1 − 2 3 ✓.
a 3 = sin 2 π − a 2 − a 1 = 3 2 a_3 = \sin 2\pi - a_2 - a_1 = \frac{\sqrt3}{2} a 3 = sin 2 π − a 2 − a 1 = 2 3 ; Formel: 3 ⋅ 3 6 = 3 2 3\cdot\frac{\sqrt3}{6} = \frac{\sqrt3}{2} 3 ⋅ 6 3 = 2 3 ✓.
Python (sympy, exakt): Übereinstimmung für n = 0 , … , 17 n = 0, \dots, 17 n = 0 , … , 17 ✓. Wegen des Faktors n n n wächst ∣ a n ∣ |a_n| ∣ a n ∣ linear (z. B. a 6 = 3 a_6 = \sqrt3 a 6 = 3 , a 12 = 2 3 a_{12} = 2\sqrt3 a 12 = 2 3 ) – typisch für Resonanz.
Ergebnis
a n = − 1 + 2 3 3 sin 2 n π 3 + n ( 3 6 cos 2 n π 3 + 1 2 sin 2 n π 3 ) . a_n = -\frac{1 + 2\sqrt3}{3}\sin\frac{2n\pi}{3} + n\Bigl(\frac{\sqrt3}{6}\cos\frac{2n\pi}{3} + \frac12\sin\frac{2n\pi}{3}\Bigr). a n = − 3 1 + 2 3 sin 3 2 nπ + n ( 6 3 cos 3 2 nπ + 2 1 sin 3 2 nπ ) .