Find matrices X given an equation.

  • Thread starter Thread starter candymountain
  • Start date Start date
  • Tags Tags
    Matrices
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 8K views
candymountain
Messages
8
Reaction score
0

Homework Statement



find all matrices x that satisfy the given matrix equation
[ 1 2 3
4 5 6] * X = I_2

I_2 is the identity matrix 2x2

Homework Equations


The Attempt at a Solution



I just inverted the square matrix
[ 1 2
4 5]
so it becomes
[5 -2
-4 1 ]
so X should be
[ 5 -2
-4 1
0 0]

but my book solution introduces 2 variables S and T to capture all the solutions, how do i do this?
*ps, how do i make my matrices neater?
 
Physics news on Phys.org
The way you went about it is a little odd. I personally would have written:
[tex] \left(<br /> \begin{array}{ccc}<br /> 1 & 2 & 3 \\<br /> 4 & 5 & 6<br /> \end{array}<br /> \right) \left(<br /> \begin{array}{cc}<br /> a_{1} & a_{2} \\<br /> a_{3} & a_{4} \\<br /> a_{5} & a_{6}<br /> \end{array}<br /> \right) =\left(<br /> \begin{array}{cc}<br /> 1 & 0 \\<br /> 0 & 1<br /> \end{array}<br /> \right)[/tex]
Multiplied them out and solved the linear equations. You will get four equations to solve for 6 unknowns, this is where the variables t & s come into it.
 
I would just treat it as two simple linear algebra problems of finding the solution space for Ax=b:[tex] <br /> \left(<br /> \begin{array}{ccc}<br /> 1 & 2 & 3 \\<br /> 4 & 5 & 6<br /> \end{array}<br /> \right)[/tex]

simplifies to the reduced row-echelon form matrix

[tex] \left(<br /> \begin{array}{ccc}<br /> 1 & 0 & -1 \\<br /> 0 & 1 & 2<br /> \end{array}<br /> \right)[/tex]

So we have
[tex] <br /> \left(<br /> \begin{array}{ccc}<br /> 1 & 0 & -1 \\<br /> 0 & 1 & 2<br /> \end{array}<br /> \right) \left(<br /> \begin{array}{c}<br /> a_{1} \\<br /> a_{3} \\<br /> a_{5}<br /> \end{array}<br /> \right) =\left(<br /> \begin{array}{c}<br /> 1 \\<br /> 0 <br /> \end{array}<br /> \right)<br /> [/tex]

and
[tex]\left(<br /> \begin{array}{ccc}<br /> 1 & 0 & -1 \\<br /> 0 & 1 & 2<br /> \end{array}<br /> \right) \left(<br /> \begin{array}{c}<br /> a_{2} \\<br /> a_{4} \\<br /> a_{6}<br /> \end{array}<br /> \right) =\left(<br /> \begin{array}{c}<br /> 0 \\<br /> 1 <br /> \end{array}<br /> \right)<br /> [/tex]
 
thanks for the replies.
I see how it's more intuitive to do it the algebraic way, so I'll just discard the inverse trick.
Using the rref makes it pretty simple, but when i reduce the one on the left side, do I reduce it on the right as well, if say we're given a matrix other than an I_n ?
 
candymountain said:
thanks for the replies.
I see how it's more intuitive to do it the algebraic way, so I'll just discard the inverse trick.
Using the rref makes it pretty simple, but when i reduce the one on the left side, do I reduce it on the right as well, if say we're given a matrix other than an I_n ?

Yea, sorry I forgot to change the right side. But yep, just apply Gauss-Jordan elimination to the augmented matrix (which includes the right-hand side).
 
can anyone verify this?

my 1st column came out to be
a = t
b = -2 -2t
c = 5/3 +t

and 2nd column
d= s
e= 1-2s
f= -2/3+s