Matrix mal Vektor

Du willst backen: 3 Rührkuchen und 2 Bleche Muffins. Im Rezeptbuch steht, wie viel Mehl, Eier und Zucker jede Sorte braucht. Wie viel brauchst du insgesamt? Genau diese Rechnung – „Menge pro Stück mal Anzahl, dann zusammenzählen“ – ist Matrix mal Vektor . { "title": "Zutaten pro Stück", "headers": ["", "Rührkuchen", "Muffins (Blech)"], "rows": "Mehl (g)", "500", "300"], ["Eier", "4", "2"], ["Zucker (g)", "200", "150" } Die Tabelle ist die Matrix, die Anzahlen begin{pmatrix} 3 2 end{pmatrix} sind der Vektor. Für das Mehl rechnest du ganz natürlich 500 cdot 3 + 300 cdot 2 = 2100 – das ist Zeile mal Spalte . Du brauchst 2100 g Mehl, 16 Eier und 900 g Zucker. Bedingung: Die Matrix muss so viele Spalten haben, wie der Vektor Zeilen hat: (m times mathbf{n}) cdot( mathbf{n} times 1) = (m times 1) Rechnung – Zeile mal Spalte, „erst mal, dann plus“: begin{pmatrix} a {11} & a {12} & a {13} a {21} & a {22} & a {23} end{pmatrix} cdot begin{pmatrix} v 1 v 2 v 3 end{pmatrix} = begin{pmatrix} a {11}v 1 + a {12}v 2 + a {13}v 3 a {21}v 1 + a {22}v 2 + a {23}v 3 end{pmatrix} - Das Ergebnis ist wieder ein Spaltenvektor . - Er hat so viele Einträge, wie die Matrix Zeilen hat. Berechne begin{pmatrix} 2 & 1 3 & 4 end{pmatrix} cdot begin{pmatrix} 1 2 end{pmatrix} . Format: (2 times 2) cdot(2 times 1) → Ergebnis 2 times 1 ✓ - Zeile 1: 2 cdot 1 + 1 cdot 2 = 4 - Zeile 2: 3 cdot 1 + 4 cdot 2 = 11 begin{pmatrix} 2 & 1 3 & 4 end{pmatrix} cdot begin{pmatrix} 1 2 end{pmatrix} = begin{pmatrix} 4 11 end{pmat

Worum geht's?

Du willst backen: 3 Rührkuchen und 2 Bleche Muffins. Im Rezeptbuch steht, wie viel Mehl, Eier und Zucker jede Sorte braucht. Wie viel brauchst du insgesamt? Genau diese Rechnung – „Menge pro Stück mal Anzahl, dann zusammenzählen“ – ist Matrix mal Vektor .
Zutaten pro Stück
RührkuchenMuffins (Blech)
Mehl (g)500300
Eier42
Zucker (g)200150
Die Tabelle ist die Matrix, die Anzahlen ( 3 2 ) \begin{pmatrix} 3 \\ 2 \end{pmatrix} ( 3 2 ​ ) sind der Vektor. Für das Mehl rechnest du ganz natürlich 500 ⋅ 3 + 300 ⋅ 2 = 2100 500\cdot 3 + 300\cdot 2 = 2100 500 ⋅ 3 + 300 ⋅ 2 = 2100 – das ist Zeile mal Spalte .
Zutaten für 3 Rührkuchen und 2 Bleche Muffins
A =50030042200150·v =32=210016900
  • Zeile 1 · Spalte 1: 500 · 3 + 300 · 2 = 2100
  • Zeile 2 · Spalte 1: 4 · 3 + 2 · 2 = 16
  • Zeile 3 · Spalte 1: 200 · 3 + 150 · 2 = 900
Schritt 3 von 3
Zeile 3 mal Spalte 1
Du brauchst 2100 g Mehl, 16 Eier und 900 g Zucker.

Formel mit Erklärung

Bedingung: Die Matrix muss so viele Spalten haben, wie der Vektor Zeilen hat: ( m × n ) ⋅ ( n × 1 ) = ( m × 1 ) (m\times \mathbf{n})\cdot(\mathbf{n}\times 1) = (m\times 1) ( m × n ) ⋅ ( n × 1 ) = ( m × 1 ) Rechnung – Zeile mal Spalte, „erst mal, dann plus“: ( a 11 a 12 a 13 a 21 a 22 a 23 ) ⋅ ( v 1 v 2 v 3 ) = ( a 11 v 1 + a 12 v 2 + a 13 v 3 a 21 v 1 + a 22 v 2 + a 23 v 3 ) \begin{pmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \end{pmatrix}\cdot\begin{pmatrix} v_1 \\ v_2 \\ v_3 \end{pmatrix} = \begin{pmatrix} a_{11}v_1 + a_{12}v_2 + a_{13}v_3 \\ a_{21}v_1 + a_{22}v_2 + a_{23}v_3 \end{pmatrix} ( a 11 ​ a 21 ​ ​ a 12 ​ a 22 ​ ​ a 13 ​ a 23 ​ ​ ) ⋅ ​ v 1 ​ v 2 ​ v 3 ​ ​ ​ = ( a 11 ​ v 1 ​ + a 12 ​ v 2 ​ + a 13 ​ v 3 ​ a 21 ​ v 1 ​ + a 22 ​ v 2 ​ + a 23 ​ v 3 ​ ​ ) Das Ergebnis ist wieder ein Spaltenvektor . Er hat so viele Einträge, wie die Matrix Zeilen hat.

Beispiele

Leicht#1
Berechne ( 2 1 3 4 ) ⋅ ( 1 2 ) \begin{pmatrix} 2 & 1 \\ 3 & 4 \end{pmatrix}\cdot\begin{pmatrix} 1 \\ 2 \end{pmatrix} ( 2 3 ​ 1 4 ​ ) ⋅ ( 1 2 ​ ) . Format: ( 2 × 2 ) ⋅ ( 2 × 1 ) (2\times 2)\cdot(2\times 1) ( 2 × 2 ) ⋅ ( 2 × 1 ) → Ergebnis 2 × 1 2\times 1 2 × 1 ✓ Zeile 1: 2 ⋅ 1 + 1 ⋅ 2 = 4 2\cdot 1 + 1\cdot 2 = 4 2 ⋅ 1 + 1 ⋅ 2 = 4 Zeile 2: 3 ⋅ 1 + 4 ⋅ 2 = 11 3\cdot 1 + 4\cdot 2 = 11 3 ⋅ 1 + 4 ⋅ 2 = 11 ( 2 1 3 4 ) ⋅ ( 1 2 ) = ( 4 11 ) \begin{pmatrix} 2 & 1 \\ 3 & 4 \end{pmatrix}\cdot\begin{pmatrix} 1 \\ 2 \end{pmatrix} = \begin{pmatrix} 4 \\ 11 \end{pmatrix} ( 2 3 ​ 1 4 ​ ) ⋅ ( 1 2 ​ ) = ( 4 11 ​ )

Zusammenfassung

Bedingung: Spalten der Matrix = Zeilen des Vektors. Rechnung: Zeile mal Spalte – „erst mal, dann plus“. Ergebnis: Spaltenvektor mit so vielen Einträgen, wie die Matrix Zeilen hat. Alltag: „Menge pro Stück · Anzahl, dann addieren“ (Rezepte, Bestellungen, Rohstoffe). v ⃗   T ⋅ A \vec{v}^{\,T}\cdot A v T ⋅ A (Zeilenvektor von links) ist etwas anderes als A ⋅ v ⃗ A\cdot\vec{v} A ⋅ v .

Jetzt üben

Kostenlose Aufgaben mit Lösungsweg zu diesem Begriff: