Difference between revisions of "Selftest: Matrix multiplication with a scalar"

From Robotics
Jump to: navigation, search
Line 13: Line 13:
 
+ There is no <math>c</math>
 
+ There is no <math>c</math>
 
||<math>c=2</math> would be correct for all the green colored components in the result matrix: <math>\left[\begin{array}{ccc}{\color{Green}2}&{\color{Green}4}&{\color{Green}6}\\{\color{Green}0}&{\color{Green}4}&{\color{Green}2}\\{\color{Red}3}&{\color{Green}6}&{\color{Green}0}\end{array}\right]</math>. For the red component <math>c=1.5</math> would be right. So there is no general <math>c</math>, that holds for all the components.
 
||<math>c=2</math> would be correct for all the green colored components in the result matrix: <math>\left[\begin{array}{ccc}{\color{Green}2}&{\color{Green}4}&{\color{Green}6}\\{\color{Green}0}&{\color{Green}4}&{\color{Green}2}\\{\color{Red}3}&{\color{Green}6}&{\color{Green}0}\end{array}\right]</math>. For the red component <math>c=1.5</math> would be right. So there is no general <math>c</math>, that holds for all the components.
 +
 +
<quiz display=simple>
 +
{'''Is there any scalar constant <math>c</math>, so that the following equation holds?'''<br/>
 +
:<math>
 +
\left[\begin{array}{ccc}2&0&1\\0&2&3\\1&1&0\end{array}\right]\cdot c = \left[\begin{array}{ccc}4&0&2\\0&4&6\\2&2&0\end{array}\right]
 +
</math><br/>
 +
| typ="()" }
 +
- <math>c=0.5</math>
 +
- <math>c=1</math>
 +
+ <math>c=2</math>
 +
- There is no <math>c</math>
 +
||If all the components of the left matrix are multiplied by <math>c=2</math>, it results in the right matrix.
  
 
{'''Is the following equation correct?'''<br/>
 
{'''Is the following equation correct?'''<br/>

Revision as of 16:21, 18 June 2014

← Previous exercise: Minors and cofactors Exercises for chapter Matrices | Article: Multiplication with a scalar Next exercise: Transpose


Syntax error

1. Is there any scalar constant c, so that the following equation holds?


\left[\begin{array}{ccc}1&2&3\\0&2&1\\2&3&0\end{array}\right]\cdot c = \left[\begin{array}{ccc}2&4&6\\0&4&2\\3&6&0\end{array}\right]
c=0.5
c=1
c=2
There is no c
c=2 would be correct for all the green colored components in the result matrix: \left[\begin{array}{ccc}{\color{Green}2}&{\color{Green}4}&{\color{Green}6}\\{\color{Green}0}&{\color{Green}4}&{\color{Green}2}\\{\color{Red}3}&{\color{Green}6}&{\color{Green}0}\end{array}\right]. For the red component c=1.5 would be right. So there is no general c, that holds for all the components.
c=0.5
c=1
c=2
There is no c
If all the components of the left matrix are multiplied by c=2, it results in the right matrix.

2. Is the following equation correct?


\left[\begin{array}{ccc}2&0&1\\4&1&3\\2&2&1\end{array}\right]\cdot 3 = \left[\begin{array}{ccc}6&0&3\\12&2&9\\6&6&3\end{array}\right]
Yes
No
The central component in the resulting matrix is 2. But it has to be 3. So the equation is not correct.

Your score is 0 / 0