Skalarprodukt, Orthogonalität und Vektorlänge in der linearen Algebra
Die Konzepte des Skalarprodukts, der Orthogonalitätsbedingung und der Vektorlänge bilden die Grundlage geometrischer Interpretationen in der linearen Algebra. Diese werden im Folgenden zusammen mit detaillierten Schritt-für-Schritt-Beispielen vorgestellt.
Inhaltsverzeichnis
Definition des Skalarprodukts zweier Vektoren
Seien die Vektoren \( \textbf{x} \) und \( \textbf{y} \) zwei Spaltenvektoren (oder \( n \times 1 \)-Matrizen) definiert durch:
\[ \textbf{x} = \begin{bmatrix} x_1 \\ x_2 \\ \vdots \\ x_n \end{bmatrix}, \quad \textbf{y} = \begin{bmatrix} y_1 \\ y_2 \\ \vdots \\ y_n \end{bmatrix} \]Das Skalarprodukt (oder innere Produkt) von \( \textbf{x} \) und \( \textbf{y} \) ist eine Skalargröße, geschrieben als \( \textbf{x} \cdot \textbf{y} \), definiert durch:
\[ \textbf{x} \cdot \textbf{y} = x_1 y_1 + x_2 y_2 + \dots + x_n y_n \]Eigenschaften des Skalarprodukts
Wenn \( \textbf{x}, \textbf{y} \) und \( \textbf{z} \) Vektoren in \( \mathbb{R}^n \) sind und \( k_1, k_2 \) Skalare, dann gelten die folgenden Eigenschaften:
- Kommutativität: \( \textbf{x} \cdot \textbf{y} = \textbf{y} \cdot \textbf{x} \)
- Distributivität: \( (\textbf{x} + \textbf{y}) \cdot \textbf{z} = \textbf{x} \cdot \textbf{z} + \textbf{y} \cdot \textbf{z} \)
- Skalarmultiplikation: \( (k_1 \textbf{x}) \cdot (k_2 \textbf{y}) = (k_1 k_2) (\textbf{x} \cdot \textbf{y}) \)
Orthogonale Vektoren
Vektoren \( \textbf{x} \) und \( \textbf{y} \) werden als orthogonal (senkrecht) bezeichnet, wenn ihr Skalarprodukt gleich Null ist:
\[ \textbf{x} \cdot \textbf{y} = 0 \]Definition der Länge (oder Norm) und des Einheitsvektors
Die Länge (oder Norm) eines Vektors \( \textbf{x} \), geschrieben als \( \|\textbf{x}\| \), ist gegeben durch die Quadratwurzel des Skalarprodukts des Vektors mit sich selbst:
\[ \|\textbf{x}\| = \sqrt{x_1^2 + x_2^2 + \dots + x_n^2} = \sqrt{\textbf{x} \cdot \textbf{x}} \]Aus dieser Definition folgt, dass \( \|\textbf{x}\| \ge 0 \) und \( \|\textbf{x}\|^2 = \textbf{x} \cdot \textbf{x} \) ist.
Ein Einheitsvektor ist jeder Vektor, dessen Länge (oder Norm) gleich 1 ist. Um einen Vektor zu normieren, teilt man ihn durch seine Norm:
\[ \hat{\textbf{x}} = \frac{\textbf{x}}{\|\textbf{x}\|} \]Cauchy-Schwarz- und Dreiecksungleichung
Zwei grundlegende Ungleichungen folgen direkt aus dem Skalarprodukt und der Norm:
Cauchy-Schwarz-Ungleichung: Für beliebige Vektoren \( \textbf{x} \) und \( \textbf{y} \) in \( \mathbb{R}^n \):
\[ |\textbf{x} \cdot \textbf{y}| \leq \|\textbf{x}\| \, \|\textbf{y}\| \]Dreiecksungleichung: Für beliebige Vektoren \( \textbf{x} \) und \( \textbf{y} \) in \( \mathbb{R}^n \):
\[ \|\textbf{x} + \textbf{y}\| \leq \|\textbf{x}\| + \|\textbf{y}\| \]Satz des Pythagoras & Abstand zwischen Vektoren
Satz des Pythagoras: Die Vektoren \( \textbf{x} \) und \( \textbf{y} \) sind genau dann orthogonal, wenn:
\[ \|\textbf{x} + \textbf{y}\|^2 = \|\textbf{x}\|^2 + \|\textbf{y}\|^2 \]Abstand: Der Abstand zwischen zwei Vektoren \( \textbf{x} \) und \( \textbf{y} \) ist als die Länge ihrer Differenz definiert:
\[ \operatorname{dist}(\textbf{x}, \textbf{y}) = \|\textbf{x} - \textbf{y}\| \]Beispiele mit Lösungen
Beispiel 1: Berechnung von Skalarprodukten
Lösung anzeigen
Gegeben sind die Vektoren:
\[ \textbf{x} = \begin{bmatrix} -2 \\ 3 \\ 0 \\ -1 \end{bmatrix}, \quad \textbf{y} = \begin{bmatrix} 3 \\ -1 \\ 4 \\ 0 \end{bmatrix}, \quad \textbf{z} = \begin{bmatrix} 2 \\ -1 \\ 4 \\ -7 \end{bmatrix} \]Bestimmen Sie:
a) \( \textbf{x} \cdot \textbf{y} \) und \( \textbf{y} \cdot \textbf{x} \)
b) \( \textbf{x} \cdot \textbf{y} + \textbf{x} \cdot \textbf{z} \) und \( \textbf{x} \cdot (\textbf{y} + \textbf{z}) \)
c) \( (3\textbf{x}) \cdot (-2\textbf{z}) \)
Lösung
a) Berechne \( \textbf{x} \cdot \textbf{y} \) unter Verwendung der Definition des Skalarprodukts:
\[ \textbf{x} \cdot \textbf{y} = (-2)(3) + (3)(-1) + (0)(4) + (-1)(0) = -6 - 3 = -9 \]Nach der Kommutativitätseigenschaft (Eigenschaft 1) gilt \( \textbf{y} \cdot \textbf{x} = \textbf{x} \cdot \textbf{y} = -9 \).
b) Berechne zunächst \( \textbf{x} \cdot \textbf{z} \):
\[ \textbf{x} \cdot \textbf{z} = (-2)(2) + (3)(-1) + (0)(4) + (-1)(-7) = -4 - 3 + 0 + 7 = 0 \]Dann ist \( \textbf{x} \cdot \textbf{y} + \textbf{x} \cdot \textbf{z} = -9 + 0 = -9 \).
Gemäß der Distributivitätseigenschaft (Eigenschaft 2) muss \( \textbf{x} \cdot (\textbf{y} + \textbf{z}) \) dasselbe Ergebnis liefern. Überprüfen wir dies, indem wir zuerst \( \textbf{y} + \textbf{z} \) berechnen:
\[ \textbf{y} + \textbf{z} = \begin{bmatrix} 5 \\ -2 \\ 8 \\ -7 \end{bmatrix} \implies \textbf{x} \cdot (\textbf{y} + \textbf{z}) = (-2)(5) + (3)(-2) + (0)(8) + (-1)(-7) = -10 - 6 + 0 + 7 = -9 \]c) Unter Verwendung der Skalarmultiplikationseigenschaft (Eigenschaft 3) und des Ergebnisses aus Teil b), dass \( \textbf{x} \cdot \textbf{z} = 0 \) ist:
\[ (3\textbf{x}) \cdot (-2\textbf{z}) = (3)(-2)(\textbf{x} \cdot \textbf{z}) = -6(0) = 0 \]Beispiel 2: Orthogonale Vektoren und unbekannte Konstanten
Lösung anzeigen
a) Zeigen Sie, dass die Vektoren \( \textbf{x} = \begin{bmatrix} -2 \\ 3 \\ 0 \end{bmatrix} \) und \( \textbf{y} = \begin{bmatrix} 3 \\ 2 \\ 4 \end{bmatrix} \) orthogonal sind.
b) Finden Sie die Konstanten \( a \) und \( b \), so dass der Vektor \( \textbf{z} = \begin{bmatrix} a \\ b \\ 4 \end{bmatrix} \) sowohl zu \( \textbf{x} \) als auch zu \( \textbf{y} \) orthogonal ist.
Lösung
a) Berechne das Skalarprodukt von \( \textbf{x} \) und \( \textbf{y} \):
\[ \textbf{x} \cdot \textbf{y} = (-2)(3) + (3)(2) + (0)(4) = -6 + 6 + 0 = 0 \]Da das Skalarprodukt Null ist, sind die beiden Vektoren orthogonal.
b) Berechne das Skalarprodukt von \( \textbf{z} \) mit sowohl \( \textbf{x} \) als auch \( \textbf{y} \):
\[ \textbf{x} \cdot \textbf{z} = -2(a) + 3(b) + 0(4) = -2a + 3b \] \[ \textbf{y} \cdot \textbf{z} = 3(a) + 2(b) + 4(4) = 3a + 2b + 16 \]Damit der Vektor \( \textbf{z} \) sowohl zu \( \textbf{x} \) als auch zu \( \textbf{y} \) orthogonal ist, müssen beide Skalarprodukte gleich Null sein. Dies führt zu einem linearen Gleichungssystem:
\[ \begin{cases} -2a + 3b = 0 \\ 3a + 2b + 16 = 0 \end{cases} \]Aus der ersten Gleichung folgt \( 2a = 3b \implies a = 1{,}5b \). Setzen wir dies in die zweite Gleichung ein:
\[ 3(1{,}5b) + 2b + 16 = 0 \implies 4{,}5b + 2b = -16 \implies 6{,}5b = -16 \implies b = -\frac{32}{13} \]Berechne nun \( a \):
\[ a = 1{,}5 \left(-\frac{32}{13}\right) = -\frac{48}{13} \]Die Konstanten sind \( a = -\frac{48}{13} \) und \( b = -\frac{32}{13} \).
Beispiel 3: Vektorlängen und der Satz des Pythagoras
Lösung anzeigen
Seien \( \textbf{x} = \begin{bmatrix} \sqrt{2} \\ 0 \\ 1 \end{bmatrix} \) und \( \textbf{y} = \begin{bmatrix} 0 \\ \sqrt{5} \\ 0 \end{bmatrix} \).
Bestimmen Sie \( \|\textbf{x}\| \), \( \|\textbf{y}\| \) und \( \|\textbf{x} + \textbf{y}\| \). Vergleichen Sie \( \|\textbf{x}\|^2 + \|\textbf{y}\|^2 \) mit \( \|\textbf{x} + \textbf{y}\|^2 \).
Lösung
Verwende die Formel für die Länge eines Vektors:
\[ \|\textbf{x}\| = \sqrt{(\sqrt{2})^2 + 0^2 + 1^2} = \sqrt{2 + 0 + 1} = \sqrt{3} \] \[ \|\textbf{y}\| = \sqrt{0^2 + (\sqrt{5})^2 + 0^2} = \sqrt{0 + 5 + 0} = \sqrt{5} \]Berechne nun den Summenvektor \( \textbf{x} + \textbf{y} \):
\[ \textbf{x} + \textbf{y} = \begin{bmatrix} \sqrt{2} \\ \sqrt{5} \\ 1 \end{bmatrix} \]Finde dessen Länge:
\[ \|\textbf{x} + \textbf{y}\| = \sqrt{(\sqrt{2})^2 + (\sqrt{5})^2 + 1^2} = \sqrt{2 + 5 + 1} = \sqrt{8} \]Vergleiche die quadrierten Beträge:
\[ \|\textbf{x}\|^2 + \|\textbf{y}\|^2 = 3 + 5 = 8 \] \[ \|\textbf{x} + \textbf{y}\|^2 = 8 \]Schlussfolgerung: Wir stellen fest, dass \( \|\textbf{x} + \textbf{y}\|^2 = \|\textbf{x}\|^2 + \|\textbf{y}\|^2 \) gilt. Dies tritt auf, weil die Vektoren \( \textbf{x} \) und \( \textbf{y} \) orthogonal sind (\( \textbf{x} \cdot \textbf{y} = 0 \)), was den Satz des Pythagoras für Vektorräume perfekt bestätigt.
Häufig gestellte Fragen (FAQ)
Was ist das Skalarprodukt zweier Vektoren?
Das Skalarprodukt (innere Produkt) der Vektoren \( \textbf{x} \) und \( \textbf{y} \) ist die Summe der Produkte ihrer entsprechenden Komponenten: \( \textbf{x} \cdot \textbf{y} = x_1 y_1 + x_2 y_2 + \dots + x_n y_n \).
Wann sind zwei Vektoren orthogonal?
Zwei Vektoren sind orthogonal (senkrecht), wenn und nur wenn ihr Skalarprodukt gleich Null ist: \( \textbf{x} \cdot \textbf{y} = 0 \).
Wie berechnet man die Länge eines Vektors?
Die Länge (Norm) eines Vektors \( \textbf{x} \) ist die Quadratwurzel aus der Summe der Quadrate seiner Komponenten: \( \|\textbf{x}\| = \sqrt{x_1^2 + x_2^2 + \dots + x_n^2} \).
Was ist ein Einheitsvektor?
Ein Einheitsvektor ist jeder Vektor, dessen Länge (Norm) gleich 1 ist. Um einen Vektor zu normieren, teilt man ihn durch seine Norm: \( \hat{\textbf{x}} = \frac{\textbf{x}}{\|\textbf{x}\|} \).
Was besagt der Satz des Pythagoras für Vektoren?
Vektoren \( \textbf{x} \) und \( \textbf{y} \) sind genau dann orthogonal, wenn \( \|\textbf{x} + \textbf{y}\|^2 = \|\textbf{x}\|^2 + \|\textbf{y}\|^2 \) gilt.
Weitere Referenzen und Links
- Vektorräume – Fragen mit Lösungen
- Linear Algebra and its Applications – 5th Edition – David C. Lay, Steven R. Lay, Judi J. McDonald
- Elementary Linear Algebra – 7th Edition – Howard Anton and Chris Rorres