Difference between revisions of "Selftest: Multiplication of matrices"

From Robotics
Jump to: navigation, search
Line 4: Line 4:
 
<quiz display=simple>
 
<quiz display=simple>
  
{'''Which statement is the correct one describing the requirements for matrix multiplication?'''<br/>
+
{'''Consider the matrix multiplication <math>\mathbf{A}\cdot\mathbf{B}</math>. Which statement describes the requirements for this multiplication correctly?'''<br/>
|typ="{}" }
+
|typ="()" }
<math>\left[\begin{array}{ccc}3&0&1\\2&1&2\\0&3&1\end{array}\right]+\left[\begin{array}{ccc}1&1&0\\0&3&1\\2&1&4\end{array}\right]=</math>
+
- number of rows of <math>\mathbf{A}</math> has to equal number of colums of <math>\mathbf{B}</math>
<br/>{ 4 _3 } { 1 _3 } { 1 _3 }<br/>{ 2 _3 } { 4 _3 } { 3 _3 }<br/>{ 2 _3 } { 4 _3 } { 5 _3 }
+
- number of rows of <math>\mathbf{A}</math> has to equal number of rows of <math>\mathbf{B}</math>
 +
+ number of colums of <math>\mathbf{A}</math> has to equal number of rows of <math>\mathbf{B}</math>
 +
- number of colums of <math>\mathbf{A}</math> has to equal number of colums of <math>\mathbf{B}</math>
  
{'''Fill in the correct values of the sum of the two matrices:'''<br/>
+
{'''Which dimensions does the resulting matrix of a multiplication of an l-by-m with an m-by-n matrix have?'''<br/>
|typ="{}" }
+
|typ="()" }
<math>\left[\begin{array}{ccc}2&-2&3\\-1&3&1\\2&4&0\end{array}\right]+\left[\begin{array}{ccc}-1&3&-2\\0&2&1\\-1&2&1\end{array}\right]=</math>
+
- m-by-m
<br/>{ 1 _3 } { 1 _3 } { 1 _3 }<br/>{ -1 _3 } { 5 _3 } { 2 _3 }<br/>{ 1 _3 } { 6 _3 } { 1 _3 }
+
+ l-by-n
 +
- l-by-m
 +
- m-by-n
 +
 
 +
 
 +
{'''Mark the correct calculation specification for the following matrix multiplication:'''<br/>
 +
|typ="()" }
 +
<math> \left[\begin{array}{ccc}
 +
a_{11} & a_{12} & a_{13}\\
 +
a_{21} & a_{22} & a_{23}
 +
end{array}\right]
 +
</math>
 +
- m-by-m
 +
+ l-by-n
 +
- l-by-m
 +
- m-by-n
  
 
</quiz>
 
</quiz>

Revision as of 15:00, 4 July 2014

← Previous exercise: Addition of matrices Exercises for chapter Matrices | Article: Multiplication of matrices Next exercise: The determinant of a matrix


1. Consider the matrix multiplication \mathbf{A}\cdot\mathbf{B}. Which statement describes the requirements for this multiplication correctly?

number of rows of \mathbf{A} has to equal number of colums of \mathbf{B}
number of rows of \mathbf{A} has to equal number of rows of \mathbf{B}
number of colums of \mathbf{A} has to equal number of rows of \mathbf{B}
number of colums of \mathbf{A} has to equal number of colums of \mathbf{B}

2. Which dimensions does the resulting matrix of a multiplication of an l-by-m with an m-by-n matrix have?

m-by-m
l-by-n
l-by-m
m-by-n

3. Mark the correct calculation specification for the following matrix multiplication:

m-by-m
l-by-n
l-by-m
m-by-n

Your score is 0 / 0