RechenwegWS 2026/27
Rechenweg · Algebra und Diskrete Mathematik · Lineare Algebra
ADMBeispiel 612·Skalarprodukt (Winkel, Cauchy-Schwarz, Rang, Unterräume)

Skalarprodukt, Maximierung und ein Unterraum über Rangbedingung

PDF

(a) Berechnen Sie das Skalarprodukt ⟨a,b⟩\langle\mathbf a,\mathbf b\rangle der beiden ebenen Vektoren a=(3,2)\mathbf a = (3, 2) und b=(1,2)\mathbf b = (1, 2) und berechnen Sie den Winkel zwischen a\mathbf a und b\mathbf b.

(b) Halten Sie den Vektor a=(3,2)\mathbf a = (3, 2) aus (a) fest und bestimmen Sie jenen Vektor b\mathbf b der Länge 1, für den ⟨a,b⟩\langle\mathbf a,\mathbf b\rangle maximal wird.

(c) Sei UU der Raum aller Vektoren x=(x1,x2,x3)∈R3\mathbf x = (x_1, x_2, x_3) \in \R^3, für welche die Matrix

A=(a1b1x1a2b2x2a3b3x3)A = \begin{pmatrix} a_1 & b_1 & x_1 \\ a_2 & b_2 & x_2 \\ a_3 & b_3 & x_3 \end{pmatrix}

einen Rang ≤2\le 2 besitzt. Welche Dimension dd hat UU, sofern a=(a1,a2,a3)\mathbf a = (a_1, a_2, a_3) und b=(b1,b2,b3)\mathbf b = (b_1, b_2, b_3) linear unabhängig sind. (Begründung!)

(d) Geben Sie eine Basis BB, bestehend aus Vektoren c1,…,cd∈R3\mathbf c_1, \dots, \mathbf c_d \in \R^3, von UU in (c) an, wenn a=(1,2,3)\mathbf a = (1, 2, 3) und b=(2,3,4)\mathbf b = (2, 3, 4).

Lösung

Lösung verborgen – erst selbst probieren!

Überblick

(a) Standardskalarprodukt und cos⁡φ=⟨a,b⟩∥a∥∥b∥\cos\varphi = \frac{\langle\mathbf a,\mathbf b\rangle}{\|\mathbf a\|\|\mathbf b\|}. (b) Nach Cauchy-Schwarz ist ⟨a,b⟩≤∥a∥∥b∥\langle\mathbf a,\mathbf b\rangle \le \|\mathbf a\|\|\mathbf b\| mit Gleichheit genau dann, wenn b\mathbf b ein positives Vielfaches von a\mathbf a ist. (c) Die ersten beiden Spalten haben schon Rang 22; der Rang bleibt ≤2\le 2 genau dann, wenn x\mathbf x von a,b\mathbf a, \mathbf b linear abhängt, d. h. x∈span⁡(a,b)\mathbf x \in \operatorname{span}(\mathbf a,\mathbf b). (d) Dann sind a,b\mathbf a, \mathbf b selbst eine Basis.

(a) Skalarprodukt und Winkel

⟨a,b⟩=3⋅1+2⋅2=7,∥a∥=9+4=13,∥b∥=1+4=5.\langle\mathbf a,\mathbf b\rangle = 3\cdot1 + 2\cdot2 = 7, \qquad \|\mathbf a\| = \sqrt{9 + 4} = \sqrt{13}, \qquad \|\mathbf b\| = \sqrt{1 + 4} = \sqrt5.

cos⁡φ=7135=765≈0,86824,φ≈0,5191≈29,74∘.\cos\varphi = \frac{7}{\sqrt{13}\sqrt5} = \frac{7}{\sqrt{65}} \approx 0{,}86824, \qquad \varphi \approx 0{,}5191 \approx 29{,}74^\circ.

(a)

⟨a,b⟩=7\langle\mathbf a,\mathbf b\rangle = 7,  φ=arccos⁡765≈29,74∘\ \varphi = \arccos\dfrac{7}{\sqrt{65}} \approx 29{,}74^\circ.

(b) Maximales Skalarprodukt bei ∥b∥=1\|\mathbf b\| = 1

Für ∥b∥=1\|\mathbf b\| = 1 gilt ⟨a,b⟩=∥a∥⋅1⋅cos⁡φ=13cos⁡φ\langle\mathbf a,\mathbf b\rangle = \|\mathbf a\|\cdot1\cdot\cos\varphi = \sqrt{13}\cos\varphi, wobei φ\varphi der Winkel zwischen a\mathbf a und b\mathbf b ist. Das ist maximal, wenn cos⁡φ=1\cos\varphi = 1, also φ=0\varphi = 0: b\mathbf b zeigt in dieselbe Richtung wie a\mathbf a.

Formal mit Cauchy-Schwarz: ⟨a,b⟩≤∥a∥∥b∥=13\langle\mathbf a,\mathbf b\rangle \le \|\mathbf a\|\|\mathbf b\| = \sqrt{13}, Gleichheit genau für b=λa\mathbf b = \lambda\mathbf a mit λ>0\lambda > 0. Wegen ∥b∥=1\|\mathbf b\| = 1 ist λ=1∥a∥\lambda = \frac{1}{\|\mathbf a\|}:

b=a∥a∥=(313, 213)≈(0,832; 0,555).\mathbf b = \frac{\mathbf a}{\|\mathbf a\|} = \Bigl(\frac{3}{\sqrt{13}},\ \frac{2}{\sqrt{13}}\Bigr) \approx (0{,}832;\ 0{,}555).

Probe: ∥b∥2=9+413=1\|\mathbf b\|^2 = \frac{9 + 4}{13} = 1 ✓, ⟨a,b⟩=9+413=13≈3,606\langle\mathbf a,\mathbf b\rangle = \frac{9 + 4}{\sqrt{13}} = \sqrt{13} \approx 3{,}606 ✓.

(b)

b=113(3,2)\mathbf b = \frac{1}{\sqrt{13}}(3, 2); der Maximalwert ist ⟨a,b⟩=13\langle\mathbf a,\mathbf b\rangle = \sqrt{13}.

(c) Dimension von UU

Da a,b\mathbf a, \mathbf b linear unabhängig sind, haben die ersten beiden Spalten von AA den Rang 22; also ist rg⁡A≥2\rg A \ge 2 für jedes x\mathbf x, und rg⁡A∈{2,3}\rg A \in \{2, 3\}.

rg⁡A≤2  ⟺  die Spalten a,b,x sind linear abha¨ngig  ⟺  x∈span⁡(a,b).\rg A \le 2 \iff \text{die Spalten } \mathbf a, \mathbf b, \mathbf x \text{ sind linear abhängig} \iff \mathbf x \in \operatorname{span}(\mathbf a, \mathbf b).

Die letzte Äquivalenz: Ist λa+μb+νx=0\lambda\mathbf a + \mu\mathbf b + \nu\mathbf x = 0 nichttrivial, so ist ν≠0\nu \ne 0 (sonst wären a,b\mathbf a, \mathbf b abhängig), also x=−λνa−μνb\mathbf x = -\frac{\lambda}{\nu}\mathbf a - \frac{\mu}{\nu}\mathbf b. Umgekehrt liefert x=αa+βb\mathbf x = \alpha\mathbf a + \beta\mathbf b die nichttriviale Relation αa+βb−x=0\alpha\mathbf a + \beta\mathbf b - \mathbf x = 0.

Somit U=span⁡(a,b)U = \operatorname{span}(\mathbf a, \mathbf b), und wegen der linearen Unabhängigkeit ist {a,b}\{\mathbf a, \mathbf b\} eine Basis von UU.

Gleichwertig: rg⁡A≤2  ⟺  det⁡A=0\rg A \le 2 \iff \det A = 0, und det⁡A=⟨a×b,x⟩\det A = \langle\mathbf a\times\mathbf b, \mathbf x\rangle ist eine lineare Gleichung in x\mathbf x mit Koeffizientenvektor a×b≠0\mathbf a\times\mathbf b \ne 0 – ihre Lösungsmenge ist eine Ebene durch 00.

(c)

U=span⁡(a,b)U = \operatorname{span}(\mathbf a, \mathbf b) ist ein Unterraum der Dimension d=2d = 2 (eine Ebene durch den Ursprung).

(d) Basis für a=(1,2,3)\mathbf a = (1,2,3), b=(2,3,4)\mathbf b = (2,3,4)

a\mathbf a und b\mathbf b sind linear unabhängig (nicht proportional: 21≠32\frac21 \ne \frac32). Nach (c) ist

B={c1,c2},c1=(1,2,3),c2=(2,3,4).B = \{\mathbf c_1, \mathbf c_2\}, \qquad \mathbf c_1 = (1, 2, 3), \quad \mathbf c_2 = (2, 3, 4).

Beschreibung durch eine Gleichung: a×b=(2⋅4−3⋅3, 3⋅2−1⋅4, 1⋅3−2⋅2)=(−1,2,−1)\mathbf a\times\mathbf b = (2\cdot4 - 3\cdot3,\ 3\cdot2 - 1\cdot4,\ 1\cdot3 - 2\cdot2) = (-1, 2, -1), also

U={x∈R3:−x1+2x2−x3=0}.U = \{\mathbf x \in \R^3 : -x_1 + 2x_2 - x_3 = 0\}.

(d)

Eine Basis von UU ist c1=(1,2,3)\mathbf c_1 = (1,2,3), c2=(2,3,4)\mathbf c_2 = (2,3,4) (gleichwertig z. B. (1,2,3)(1,2,3), (1,1,1)(1,1,1)). UU ist die Ebene x1−2x2+x3=0x_1 - 2x_2 + x_3 = 0.

Kontrolle

c1\mathbf c_1: 1−4+3=01 - 4 + 3 = 0 ✓, c2\mathbf c_2: 2−6+4=02 - 6 + 4 = 0 ✓. Für einen Vektor außerhalb, etwa x=(1,0,0)\mathbf x = (1,0,0): det⁡(121230340)=1⋅(8−9)=−1≠0\det\begin{pmatrix} 1 & 2 & 1 \\ 2 & 3 & 0 \\ 3 & 4 & 0\end{pmatrix} = 1\cdot(8 - 9) = -1 \ne 0, Rang 33 ✓.

Hilfreiches

Cauchy-Schwarz-Ungleichung

∣⟨a,b⟩∣≤∥a∥ ∥b∥|\langle\mathbf a,\mathbf b\rangle| \le \|\mathbf a\|\,\|\mathbf b\|, mit Gleichheit genau dann, wenn a,b\mathbf a, \mathbf b linear abhängig sind.

Rang und lineare Abhängigkeit

Der Rang einer Matrix ist die Maximalzahl linear unabhängiger Spalten. Für A∈R3×3A \in \R^{3\times3}: rg⁡A≤2  ⟺  det⁡A=0\rg A \le 2 \iff \det A = 0.

Typische Fehler
  • In (b) b=a\mathbf b = \mathbf a angeben, obwohl ∥b∥=1\|\mathbf b\| = 1 verlangt ist.
  • In (c) d=1d = 1 oder d=3d = 3 antworten: UU ist weder nur eine Gerade noch der ganze Raum.

Verwandte Beispiele: Bsp. 606, Bsp. 605, Bsp. 571.