MatrixSolutions: Difference between revisions

From Center for Cognitive Neuroscience
Jump to navigation Jump to search
(New page: The general idea of a matrix inverse is that if '''A''' is a matrix, its inverse, <math>\mathbf^{-1}</math> is the matrix which, when multiplied by '''A''' yields the identity matrix, '''I...)
 
No edit summary
Line 1: Line 1:
The general idea of a matrix inverse is that if '''A''' is a matrix, its inverse, <math>\mathbf^{-1}</math> is the matrix which, when multiplied by '''A''' yields the identity matrix, '''I'''. '''I''', in turn, is the matrix which, when multiplied by any matrix '''B''' just gives bavk '''B'''.
The general idea of a matrix inverse is that if '''A''' is a matrix, its inverse, <math>\mathbf{X}^{-1}</math> is the matrix which, when multiplied by '''A''' yields the identity matrix, '''I'''. '''I''', in turn, is the matrix which, when multiplied by any matrix '''B''' just gives bavk '''B'''.


For the problem posed in the quiz:
For the problem posed in the quiz:
Line 13: Line 13:
<math>\left[\begin{array}{cc}
<math>\left[\begin{array}{cc}
1 & 4\\
1 & 4\\
1 & 2\end{array}\right] * \mathbf{X} = \left[\begin{array}{cc}
1 & 2\end{array}\right] \left[\begin{array}{cc}
a & b\\
c & d\end{array}\right] = \left[\begin{array}{cc}
1 & 0\\
1 & 0\\
0 & 1\end{array}\right]</math>
0 & 1\end{array}\right]</math>


Thus, the rules of matrix multiplication give us:
Thus, the rules of matrix multiplication give us this set of four equations:
<math>a+4c=1</math><br>
 
<math>b+4d=0-</math><br>
:<math>a+4c=1</math><br>
<math>-a+2c=0</math><br>
:<math>b+4d=0</math><br>
<math>-b+2d=1</math><br>
:<math>-a+2c=0</math><br>
:<math>-b+2d=1</math><br>


which is very easy to solve by substitution:
which is very easy to solve by substitution:
<math>b = -4d</math><br>
 
<math>a = 2c</math><br>
:<math>b = -4d</math><br>
<math>2c+4c=1</math><br>
:<math>a = 2c</math><br>
<math>c = 1/6</math><br>
:<math>2c+4c=1</math><br>
''etc,...''
:<math>c = 1/6</math><br>
::''etc,...''
 
Of course, you can use Cramer's rule if you remember it, or some other solving algorithm. I think you can get a matrix solution app for your iPhone, as well.

Revision as of 01:02, 13 January 2009

The general idea of a matrix inverse is that if A is a matrix, its inverse, is the matrix which, when multiplied by A yields the identity matrix, I. I, in turn, is the matrix which, when multiplied by any matrix B just gives bavk B.

For the problem posed in the quiz:

find

I think that the easiest solution is to solve as a set of simultaneous equations. If is the inverse,

Thus, the rules of matrix multiplication give us this set of four equations:





which is very easy to solve by substitution:





etc,...

Of course, you can use Cramer's rule if you remember it, or some other solving algorithm. I think you can get a matrix solution app for your iPhone, as well.