Kapitel 5: Operationen mit Matrizen

5.1 Matrixaddition

HinweisDefinition: Matrixaddition

Seien A,B∈ℝm×nA, B \in \mathbb{R}^{m \times n}. Die Summe A+B∈ℝm×nA + B \in \mathbb{R}^{m \times n} ist komponentenweise definiert: (A+B)ij=aij+bij(A + B)_{ij} = a_{ij} + b_{ij} Addition ist nur für Matrizen gleicher Dimension definiert.

TippBeispiel

(1230)+(−142−3)=(065−3)\begin{pmatrix} 1 & 2 \\ 3 & 0 \end{pmatrix} + \begin{pmatrix} -1 & 4 \\ 2 & -3 \end{pmatrix} = \begin{pmatrix} 0 & 6 \\ 5 & -3 \end{pmatrix}

VorsichtÜbung

Berechne A+BA + B für A=(4−1203−5)A = \begin{pmatrix} 4 & -1 & 2 \\ 0 & 3 & -5 \end{pmatrix} und B=(−2101−34)B = \begin{pmatrix} -2 & 1 & 0 \\ 1 & -3 & 4 \end{pmatrix}.


5.2 Skalarmultiplikation

HinweisDefinition: Skalarmultiplikation

Sei c∈ℝc \in \mathbb{R} und A∈ℝm×nA \in \mathbb{R}^{m \times n}. Das skalare Vielfache cA∈ℝm×ncA \in \mathbb{R}^{m \times n} ist: (cA)ij=c⋅aij(cA)_{ij} = c \cdot a_{ij}

TippBeispiel

3⋅(2−104)=(6−3012)3 \cdot \begin{pmatrix} 2 & -1 \\ 0 & 4 \end{pmatrix} = \begin{pmatrix} 6 & -3 \\ 0 & 12 \end{pmatrix}

VorsichtÜbung

Berechne −2A-2A für A=(15−302−4)A = \begin{pmatrix} 1 & 5 \\ -3 & 0 \\ 2 & -4 \end{pmatrix}.


5.3 Matrixmultiplikation

HinweisDefinition: Matrixmultiplikation

Seien A∈ℝm×kA \in \mathbb{R}^{m \times k} und B∈ℝk×nB \in \mathbb{R}^{k \times n}. Das Produkt AB∈ℝm×nAB \in \mathbb{R}^{m \times n} ist definiert durch: (AB)ij=∑l=1kail⋅blj(AB)_{ij} = \sum_{l=1}^{k} a_{il} \cdot b_{lj} Das Produkt ist nur definiert, wenn die Spaltenzahl von AA gleich der Zeilenzahl von BB ist.

TippBeispiel

(1234)(5678)=(1⋅5+2⋅71⋅6+2⋅83⋅5+4⋅73⋅6+4⋅8)=(19224350)\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} \begin{pmatrix} 5 & 6 \\ 7 & 8 \end{pmatrix} = \begin{pmatrix} 1\cdot5 + 2\cdot7 & 1\cdot6 + 2\cdot8 \\ 3\cdot5 + 4\cdot7 & 3\cdot6 + 4\cdot8 \end{pmatrix} = \begin{pmatrix} 19 & 22 \\ 43 & 50 \end{pmatrix}

Wichtig: Matrixmultiplikation ist im Allgemeinen nicht kommutativ: AB≠BAAB \neq BA.

VorsichtÜbung

Berechne ABAB und BABA für A=(1023)A = \begin{pmatrix} 1 & 0 \\ 2 & 3 \end{pmatrix} und B=(4102)B = \begin{pmatrix} 4 & 1 \\ 0 & 2 \end{pmatrix}. Sind die Ergebnisse gleich?


5.4 Transponierte Matrix

HinweisDefinition: Transponierte

Die Transponierte A⊤∈ℝn×mA^\top \in \mathbb{R}^{n \times m} einer Matrix A∈ℝm×nA \in \mathbb{R}^{m \times n} entsteht durch Vertauschen von Zeilen und Spalten: (A⊤)ij=aji(A^\top)_{ij} = a_{ji}

TippBeispiel

A=(123456)∈ℝ2×3⟹A⊤=(142536)∈ℝ3×2A = \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{pmatrix} \in \mathbb{R}^{2 \times 3} \implies A^\top = \begin{pmatrix} 1 & 4 \\ 2 & 5 \\ 3 & 6 \end{pmatrix} \in \mathbb{R}^{3 \times 2}

Eine quadratische Matrix mit A=A⊤A = A^\top heißt symmetrisch, z. B.: S=(1332)S = \begin{pmatrix} 1 & 3 \\ 3 & 2 \end{pmatrix}

VorsichtÜbung

Bestimme B⊤B^\top für B=(0−1423−5106)B = \begin{pmatrix} 0 & -1 & 4 \\ 2 & 3 & -5 \\ 1 & 0 & 6 \end{pmatrix} und prüfe, ob BB symmetrisch ist.