Matrices, how to get this equality

  • Thread starter Thread starter Ry122
  • Start date Start date
  • Tags Tags
    Matrices
Ry122
Messages
563
Reaction score
2
How do I get the right side of the equation to equal the left side?<br /> <br /> \begin{bmatrix}<br /> 1 &amp; 0 \\ <br /> 0 &amp; 1<br /> \end{bmatrix} = <br /> \begin{bmatrix}<br /> a &amp; 1 \\ <br /> 1 &amp; 1<br /> \end{bmatrix}<br /> <br />

I tried multiplying the first row by 0 to get rid of a is this is the right first step?
 
Physics news on Phys.org
They aren't equal because 0 is not equal to 1. Face it. Massaging it won't change that.
 
Sorry I should have explained a bit better.

What I'm trying to do is find the inverse matrix of
ax + y = 1
x + y = b

I don't think that equal sign should be in there
 
Ry122 said:
Sorry I should have explained a bit better.

What I'm trying to do is find the inverse matrix of
ax + y = 1
x + y = b

I don't think that equal sign should be in there

Then multiplying the first row by 0 seems like a pretty poor idea. Now you've got NOTHING in the first row. How about multiplying by 1/a, so you can subtract the first row from the second and get a 0 in the lower left part of the original matrix?
 
So your question is "How do I find the inverse to
\left[\begin{array}{cc}a &amp; 1 \\ 1 &amp; 1 \end{array}\right]?

One way to do that is to use, directly, the definitiion: Find x, y, z u, so that
\left[\begin{array}{cc}a &amp; 1 \\ 1 &amp; 1 \end{array}\right][left[\begin{array}{cc}x &amp; y \\ z &amp; u\end{array}\right]= \left[\begin{array}{cc}1 &amp; 0 \\ 0 &amp; 1\end{array}\right].

That is the same as solving the equation ax+ z= 1, ay+ u= 0, x+ z= 0, y+ u= 1 for x, y, z, u.

But I suspect you are talking about "row reduction". The "row operations" are
1) Swap two rows
2) Multiply one row by a number
3) Add a multiple of one row to another.

In order to row reduce \left[\begin{array}{cc}a &amp; 1 \\ 1 &amp; 1 \end{array}\right] do the following:<br /> <br /> Normally, the simplest way to get a &quot;1&quot; on the diagonal is to multiply the entire row by 1 over whatever is on the diagona. Here, since we already have a &#039;1&#039; directly below a, I would swap the first and second rows to get<br /> \left[\begin{array}{cc} 1 &amp;amp; 1 \\ a &amp;amp; 1\end{array}\right]<br /> To get a &quot;0&quot; below that, subtract a times the first row from the second (do you see how I decided to use &quot;a time&quot;? Since we have a &quot;1&quot; just above the&quot;a&quot;, we use a/1= a.)<br /> \left[\begin{array}{cc} 1 &amp;amp; 1 \\ 0&amp;amp; 1-a\end{array}\right]<br /> Now you want to get a &quot;1&quot; on the diagonal, in the lower right. Since that is 1- a now, the obvious thing to do is divide that row by 1- a. Notice that does not change the first row:<br /> \left[\begin{array}{cc} 1 &amp;amp; 1 \\ 0&amp;amp; 1\end{array}\right]<br /> Finally, subtract the second row from the first and you are done:<br /> \left[\begin{array}{cc} 1 &amp;amp; 0 \\ 0&amp;amp; 1\end{array}\right]<br /> Now if you apply those same row operations to the identity matrix, in the same order, you get the inverse matrix. Of course, it is simpler to write the matrices A and the identity matrix side-by-side and do the row operations to both matrices at the same time.
 
thanks
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
19
Views
1K
  • · Replies 11 ·
Replies
11
Views
1K
Replies
3
Views
2K
Replies
10
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 28 ·
Replies
28
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K