\( \newcommand{\br}[1]{\left( #1\right)} \newcommand{\logpar}[1]{\log\left( #1\right)} \newcommand{\cospar}[1]{\cos\left( #1\right)} \newcommand{\sinpar}[1]{\sin\left( #1\right)} \newcommand{\tanpar}[1]{\tan\left( #1\right)} \newcommand{\arcsinpar}[1]{\sin^{-1}\!\left( #1\right)} \newcommand{\arccospar}[1]{\cos^{-1}\!\left( #1\right)} \newcommand{\arctanpar}[1]{\tan^{-1}\!\left( #1\right)} \newcommand{\asin}[1]{\sin^{-1}\! #1} \newcommand{\acos}[1]{\cos^{-1}\! #1} \newcommand{\atan}[1]{\tan^{-1}\! #1} \newcommand{\asinh}[1]{\sinh^{-1}\! #1} \newcommand{\acosh}[1]{\cosh^{-1}\! #1} \newcommand{\atanh}[1]{\tanh^{-1}\! #1} \newcommand{\logten}[1]{\log_{10}\! #1} \definecolor{explaination}{RGB}{0, 166, 226} \newcommand{\ubrace}[2][u]{ { \color{explaination}{\underbrace{ {\color{black}{#2}} }_{#1}} } } \newcommand{\obrace}[2][u]{ { \color{explaination}{\overbrace{ {\color{black}{#2}} }^{#1}} } } \definecolor{highlight}{RGB}{181, 41, 118} \newcommand{\xplain}[1]{{ \textcolor{explaination} { \footnotesize{ #1 \newline}}}} \newcommand{\hilite}[1]{{ \textcolor{highlight} { { #1 }}}} \definecolor{lightergray}{gray}{.675} \newcommand{\hide}[1]{{ \textcolor{lightergray} { \footnotesize{ #1 \newline}}}} \newcommand{\mth}[1]{ { \textcolor{black} { { \small #1 } } } } \)

Winkel zwischen zwei Vektoren

Winkel Zwischen 2 Vektoren in R²In der linearen Algebra und der analytischen Geometrie ist häufig nach dem Winkel zwischen zwei Vektoren gefragt.

Definition

Seien u und v zwei Vektoren in \( \mathbb{R}^n \), dann ist der Kosinus des Winkels θ zwischen den beiden Vektoren definiert als:

\( \large{ \cos(\theta ) = \dfrac{\mathbf{u}\cdot \mathbf{v}}{\left | \mathbf{u} \right |\cdot \left | \mathbf{v} \right |} } \)

Der Winkel wird sich gemäß des Wertebereichs der cos-1-Funktion zwischen 0 und 180° bzw. zwischen 0 und π2 befinden: \( 0 \;\leq\; \measuredangle(\vec{\mathbf{u}},\vec{\mathbf{v}}) \;\leq\; 180^\circ \). Wie man an der Abbildung rechts sehen kann, gibt es noch einen zweiten Winkel θ‘. Bei der Berechnung wird immer der kleinere Winkel θ berechnet. θ‘ + θ ergibt immer 360°.

\( \mathbf{u}\cdot \mathbf{v} \) ist das Punktprodukt von u und v.

Beispiel in R²

Berechne den Winkel zwischen den Vektoren u und v:

\( \large{ \mathbf{u} = \begin{pmatrix}1\\ 5\end{pmatrix},\;\; \mathbf{v} = \begin{pmatrix}3\\ 7\end{pmatrix} } \)

Die Berechnung erfolgt nach der Formel aus der Definition:

\( \begin{align} \cos(\theta) &= \frac{\mathbf{u}\cdot \mathbf{v}}{\left | \mathbf{u} \right |\cdot \left | \mathbf{v} \right |} \\[1ex] \cos(\theta) &= \frac{1\cdot 3 + 5\cdot 7}{\sqrt{1^2+5^2}\cdot \sqrt{3^2+7^2}} \\[1ex] \cos(\theta) &= \frac{38}{\sqrt{26}\cdot \sqrt{58}}\\[1ex] \arccospar{\vphantom{\tfrac{1}{2}}\cos(\theta)} &= \arccospar{\frac{38}{\sqrt{26}\cdot \sqrt{58}}} \\[1ex]\theta &= \arccospar{\frac{38}{\sqrt{26}\cdot \sqrt{58}}} \approx 11{,}89^\circ \\[1ex]&\Rightarrow \theta^\prime = 360^\circ-11{,}89^\circ = 348{,}11^\circ \end{align} \)

Beispiel in R³

Berechne den Winkel zwischen den Vektoren u und v:

\( \large{ \mathbf{u} = \begin{pmatrix}2\\ 9 \\ 5\end{pmatrix},\;\; \mathbf{v} = \begin{pmatrix}6 \\ -2\\ 4\end{pmatrix} } \)

\( \begin{align} \cos(\theta) &= \frac{\mathbf{u}\cdot \mathbf{v}}{\left | \mathbf{u} \right |\cdot \left | \mathbf{v} \right |} \\[1ex] \cos(\theta) &= \frac{2\cdot 6 + 9\cdot -2 + 5\cdot 4}{\sqrt{2^2+9^2 + 5^2}\cdot \sqrt{6^2+(-2)^2+4^2}} \\[1ex] \cos(\theta) &= \frac{14}{\sqrt{110}\cdot \sqrt{56}}\\[1ex] \arccospar{\vphantom{\tfrac{1}{2}}\cos(\theta)} &= \arccospar{\frac{14}{\sqrt{110}\cdot \sqrt{56}}} \\[1ex]\theta &= \arccospar{\frac{14}{\sqrt{110}\cdot \sqrt{56}}} \approx 79{,}72^\circ \\[1ex]&\Rightarrow \theta^\prime = 360^\circ-79{,}72^\circ = 280{,}28^\circ \end{align} \)