How to Find Matrix A from Given Matrices B and C Using Row Operations

  • Thread starter Thread starter Rizzamabob
  • Start date Start date
  • Tags Tags
    Matrix
AI Thread Summary
To find matrix A from the equation AB = C, where B and C are known matrices, one must first calculate the inverse of matrix B. The equation can be rearranged to A = CB^(-1) by multiplying both sides by B^(-1) from the right. Understanding the properties of matrix operations, such as associativity and the identity matrix, is crucial for manipulating these equations correctly. For larger matrices, the inverse can be computed using the determinant and adjugate matrix. The discussion emphasizes the importance of row operations and the relationship between matrices in solving for unknowns.
Rizzamabob
Messages
21
Reaction score
0
Ok, i missed the class on finding the inverse of a matrix, and i only have a little bit of an idea on exactly what row operations i can do, when i try to make the matrix = its identity.

Another question I am stuck on.
Q.

I have 2 , 3 X 3 matrixs B and C respectivly.
The question is find A if AB=C, and i know B and C
Now, i know i cannot divide matrix's, and I am stuck as to what way i should travel to find the matrix A.
Thanks guys ! :shy:
 
Physics news on Phys.org
Here's what you should do. You have:
(AB)C = A(BC)
so:
AB = C \Leftrightarrow (AB)B ^ {-1} = CB ^ {-1} = A(BB ^ {-1}) = A
So:
A = CB ^ {-1}
So all you need is to find the inverse of B, and do a multiplication CB ^ {-1}
Viet Dao,
 
Thanks, can you explain the first bit
Did you use a rule to do that ?? or just decide to multiply one side by C, and one by BA
 
"Tools" you use:
- associativity: A\left( {BC} \right) = ABC = \left( {AB} \right)C
- inverse (& identity-matrix): AA^{ - 1} = I = A^{ - 1} A
- property of the identity-matrix: AI = IA = A

\begin{gathered}<br /> AB = C \hfill \\<br /> {\text{multiply both sides at the right by }}B^{ - 1} : \hfill \\<br /> ABB^{ - 1} = CB^{ - 1} \Leftrightarrow A\left( {BB^{ - 1} } \right) = CB^{ - 1} \hfill \\<br /> {\text{since }}BB^{ - 1} = I: \hfill \\<br /> AI = CB^{ - 1} \hfill \\<br /> {\text{since }}AI = A: \hfill \\<br /> A = CB^{ - 1} \hfill \\ <br /> \end{gathered}
 
TD, I have only a two-hour class on matrix.
Multiplication of matrix can multiply on the right ?
 
Yes, you can multiply either right or left. In an equation though, you have to multiply both sides at the same place, so either both left or both right. So:
\begin{gathered}<br /> A = B \Leftrightarrow AC = BC \to {\text{OK!}} \hfill \\<br /> A = B \Leftrightarrow CA = CB \to {\text{OK!}} \hfill \\<br /> A = B \Leftrightarrow AC = CB \to {\text{NOT OK!}} \hfill \\<br /> A = B \Leftrightarrow CA = BC \to {\text{NOT OK!}} \hfill \\ <br /> \end{gathered}
 
Rizzamabob said:
Ok, i missed the class on finding the inverse of a matrix, and i only have a little bit of an idea on exactly what row operations i can do, when i try to make the matrix = its identity.
For a matrix \left( \begin{array}{ccc}a&amp;b\\c&amp;d\end{array}\right) the inverse of it will be \frac{1}{ad - bc} \left( \begin{array}{ccc}d&amp;-b\\-c&amp;a\end{array}\right)

This means that if matrix A is equal to \left( \begin{array}{ccc}a&amp;b\\c&amp;d\end{array}\right) then A A^{-1} is equal to the identity matrix (as TD said)

e.g. A A^{-1} = \left( \begin{array}{ccc}a&amp;b\\c&amp;d\end{array}\right) \times \frac{1}{ad - bc} \left( \begin{array}{ccc}d&amp;-b\\-c&amp;a\end{array}\right) = I

I = \left( \begin{array}{ccc}1&amp;0\\0&amp;1\end{array}\right)

The Bob (2004 ©)
 
Does that work for 2X2 Matrix's only ??
 
Indeed, but in addition to Bob's explanation, this may be extended to larger matrices as followed:

A^{ - 1} = \frac{1}<br /> {{\det \left( A \right)}}\operatorname{adj} \left( A \right)

Note that you divide by {\det \left( A \right)} so it is clear that for the inverse to exist, \det \left( A \right) \ne 0 must be true. Also, \operatorname{adj} \left( A \right) stands for the Adjugate Matrix.

Another way is to extend the matrix to the right with the identity matrix and then swap (Gaussian Elimination), to get the identity left and the inverse on the right.
 
Last edited:
  • #10
Does that work for 2X2 Matrix's only ??
Identity matrix must be a Square matrix
 
  • #11
TD said:
"Tools" you use:
- associativity: A\left( {BC} \right) = ABC = \left( {AB} \right)C
- inverse (& identity-matrix): AA^{ - 1} = I = A^{ - 1} A
- property of the identity-matrix: AI = IA = A

\begin{gathered}<br /> AB = C \hfill \\<br /> {\text{multiply both sides at the right by }}B^{ - 1} : \hfill \\<br /> ABB^{ - 1} = CB^{ - 1} \Leftrightarrow A\left( {BB^{ - 1} } \right) = CB^{ - 1} \hfill \\<br /> {\text{since }}BB^{ - 1} = I: \hfill \\<br /> AI = CB^{ - 1} \hfill \\<br /> {\text{since }}AI = A: \hfill \\<br /> A = CB^{ - 1} \hfill \\ <br /> \end{gathered}

Is there a proof for A times I = A ??
I like to see a proof so the theory is concreted in my mind :eek:
 
  • #12
As far as I know, this follows from definition! IA \equiv A

It's not that hard to see, if you remember how I looks like:

\left( {\begin{array}{*{20}c}<br /> 1 &amp; 0 &amp; \cdots &amp; 0 \\<br /> 0 &amp; 1 &amp; \cdots &amp; 0 \\<br /> \vdots &amp; \vdots &amp; \ddots &amp; \vdots \\<br /> 0 &amp; 0 &amp; \cdots &amp; 1 \\<br /> <br /> \end{array} } \right)

It's a bit like asking a proof for why 1 \cdot a = a, a \ne 0[/tex] of course.
 
  • #13
TD said:
Indeed, but in addition to Bob's explanation, this may be extended to larger matrices as followed:

A^{ - 1} = \frac{1}<br /> {{\det \left( A \right)}}\operatorname{adj} \left( A \right)

Note that you divide by {\det \left( A \right)} so it is clear that for the inverse to exist, \det \left( A \right) \ne 0 must be true. Also, \operatorname{adj} \left( A \right) stands for the Adjugate Matrix.

Another way is to extend the matrix to the right with the identity matrix and then swap (Gaussian Elimination), to get the identity left and the inverse on the right.
Yer, i was doing the second method, but I am not sure what i do to the idenity matrix, and what rules and how when i multiply by a integer how it effects the identity etc. Like i know i need to make matrix A = to the identity, and do whatver i do to the matrix a, i have to do to the identity. But I am not sure what i really do to it.
 
  • #14
AHH i just remember that I = 1 correct ?? If so that makes sense. Wait maybe I am thinking of the determinant of I to be equal to 1 :rolleyes: :smile:
Infact, is it because when you end up multiyplying out with the identity, since both upper and lower regions are = to 0, you multiply something lol I am so lost :shy: Atleast i try
 
  • #15
Rizzamabob said:
AHH i just remember that I = 1 correct ?? If so that makes sense. Wait maybe I am thinking of the determinant of I to be equal to 1 :rolleyes: :smile:
Infact, is it because when you end up multiyplying out with the identity, since both upper and lower regions are = to 0, you multiply something lol I am so lost :shy: Atleast i try
Well, you could see "I as 1", but then the "Matrix 1". All zero but 1's on the diagonal. \det \left( I \right) = 1 is correct too, not difficult to see!
 
  • #16
Rizzamabob said:
Yer, i was doing the second method, but I am not sure what i do to the idenity matrix, and what rules and how when i multiply by a integer how it effects the identity etc. Like i know i need to make matrix A = to the identity, and do whatver i do to the matrix a, i have to do to the identity. But I am not sure what i really do to it.
Well, if you start with a 2x2 matrix, you 'add' to the right the 2x2 identity. I usually separate them with a dashed line or something, but when doing operation on it you should just see it as a larger 2x4 matrix as a whole. By applying the operation, you try to get the identity in the first 2x2 part, where A was. When you have that, you got the inverse of A on the right side, where the identity was.

I wanted to post an example here for you but LaTeX can't generate it.
http://td-hosting.com/wisfaq/td_67.gif :smile:
 
Last edited by a moderator:
  • #17
Thanks everyone, i completed the assignment :cool:
I should be posting a few more little questions here :approve: Thanks :-p
 
  • #18
Good to hear!
 
Back
Top