Calculating the Inverse Matrix with Variables: A Non-Singular Case

In summary, to show that A-1 = [X -P-1*QW; -WRP-1 W] where W= (S-RP-1Q)-1 and X= P-1+P-1*QW*RP-1, you can use the hint given to multiply A*the given matrix. Substituting for X and W, you can show that each of the 4 blocks in the product is correct, with the first and fourth blocks being the identity and the other two being the zero matrix.
  • #1
SpiffyEh
194
0

Homework Statement


A=
[P Q
R S]
Suppose that A and P are non-singular and show that,
A^(-1) =
[x -P^(-1)*Q*W
-W*R*P^(-1) w ]
where W= (S-R*P^(-1)*Q)^(-1) and X= P^(-1)*Q*W*R*P^(-1)

Hint: First, remember that if you are given a candidate for an inverse then you need only check that the appropriate multiplication gives you the identity. Second, you must note that we are working with a matrix whose elements are matrices and when you perform a check you are checking blocks.Thus when you perform the check [A*A^(-1)]_11 you are finding the upper-left block of the product matrix and the result should be matrix and not a scalar. What matrix should you get for this block? What about the rest?

Homework Equations





The Attempt at a Solution



I'm completely lost about what to do with this problem. Can someone please show or explain to me what to do
 
Physics news on Phys.org
  • #2
SpiffyEh said:

Homework Statement


A=
[P Q
R S]
Suppose that A and P are non-singular and show that,
A^(-1) =
[x -P^(-1)*Q*W
-W*R*P^(-1) w ]
As it appears on the Web page it's hard to tell that this represents a 2 x 2 matrix of blocks. Here's how it would appear using LaTeX.
[tex]\text{Show that } A^{-1} = \left[
\begin{array}{cc}
X & -P^{-1}QW\\
-WRP^{-1} & W \end{array}\right][/tex]
SpiffyEh said:
where W= (S-R*P^(-1)*Q)^(-1) and X= P^(-1)*Q*W*R*P^(-1)

Hint: First, remember that if you are given a candidate for an inverse then you need only check that the appropriate multiplication gives you the identity.
This is a good hint. Multiply A*<the matrix above>. If the product is the identity matrix, then the matrix above must be A-1 and you will have shown what needs to be shown. Keep in mind the next hint. That is, the product will be a 2 x 2 matrix of blocks.
SpiffyEh said:
Second, you must note that we are working with a matrix whose elements are matrices and when you perform a check you are checking blocks.Thus when you perform the check [A*A^(-1)]_11 you are finding the upper-left block of the product matrix and the result should be matrix and not a scalar. What matrix should you get for this block? What about the rest?
I'm getting a block with I and another block with the zero matrix in the right places, but in the other two blocks it's not coming out. It's possible I have a mistake, but before I spend any more time on this you should make sure that you have copied the problem exactly as given. A single wrong sign or anything else wrong could foul things up.

You will need to substitute for X and W, and do some factoring.


SpiffyEh said:

Homework Equations





The Attempt at a Solution



I'm completely lost about what to do with this problem. Can someone please show or explain to me what to do
 
Last edited:
  • #3
X= P^(-1)*Q*W*R*P^(-1)
should actually be
X=P^(-1) + P^(-1)*Q*W*R*P^(-1)
sorry, I completely missed that
 
  • #4
I tried getting it with the LaTeX but I can't get it to show right.

A*(A^(-1)) =
[PX-QWRP^(-1) -P(^-1)QWP+QW
RX-SWRP^(-1) -RP^(-1)QW+SW]

I'm trying to subsitute in x and w and see if I can get it

Also, I think I should be getting the answer to
[ I 0
0 I] correct? this would give me an identity matrix as a whole
 
  • #5
I got [AA^(-1)]_11 = I by subsituting in x and using P*P^(-1) = I and I*B = B
I got [AA^(-1)]_12 to work out to 0 with the same identities.
I also got [AA^(-1)]_22 to work out to I using A*A^(-1) = I

Now, I'm having problems with [AA^(-1)]_21. I just can't see what to do with it
 
  • #6
SpiffyEh said:
I tried getting it with the LaTeX but I can't get it to show right.
You can use my script from post 2. Just click on the expression and another window opens. Copy that and past it into your post, and change it as necessary.
SpiffyEh said:
Also, I think I should be getting the answer to
[ I 0
0 I] correct? this would give me an identity matrix as a whole
Yes, that's what you should get.

SpiffyEh said:
I got [AA^(-1)]_11 = I by subsituting in x and using P*P^(-1) = I and I*B = B
I got [AA^(-1)]_12 to work out to 0 with the same identities.
I also got [AA^(-1)]_22 to work out to I using A*A^(-1) = I

Now, I'm having problems with [AA^(-1)]_21. I just can't see what to do with it
That one should come out to the zero matrix. If you can't get it, post what you have for that multiplication. I don't need to see the other three multiplications because it sounds like you have them figured out.
 
  • #7
I have RX - SWRP^(-1)
I subsitutued X into get RP^(-1) + RP^(-1)QWRP^(-1) - SWRP^(-1)
This is where I'm stuck. I don't see anything that could get me anywhere towards 0. Maybe I'm just looking at it wrong but I really can't come up with anything
 
  • #8
SpiffyEh said:
I have RX - SWRP^(-1)
I subsitutued X into get RP^(-1) + RP^(-1)QWRP^(-1) - SWRP^(-1)
This is where I'm stuck. I don't see anything that could get me anywhere towards 0. Maybe I'm just looking at it wrong but I really can't come up with anything
Now substitute for W, which is (S - RP-1Q)-1.
RP-1 + RP-1QWRP-1 - SWRP-1
= RP-1 + RP-1Q(S - RP-1Q)-1RP-1 - S(S - RP-1Q)-1RP-1
= (I + RP-1Q(S - RP-1Q)-1 - S(S - RP-1Q)-1)RP-1
= (I + (RP-1Q - S)(S - RP-1Q)-1)RP-1

It's easy to show that the part inside the outer parentheses simplifies to the zero matrix. The key is realizing that for an invertible matrix B, B*(-B-1) = -I.
 
  • #9
oh! I never would have gotten the B*(-B^(-1)) = -I, that's where I thought it wasn't going anywhere. I had another one very similar to this problem and the same property helped me solve it. Thank you so much.

I also have this:
Show that if P,S,A are all non-singular matrices then (S- RP^(-1)Q)^(-1) = S^(-1) + S^(-1)RXQS^(-1).

Can I use the x and w equations I was given for this? I have two equations of X and two for W since this comes after the two similar problems.
The X and W above and I also have
X = (P-QS^(-1)R)^(-1)
W = S^(-1) + S^(-1)RXQS^(-1)

To show it do I just move things around and all that until both sides are equal?
Sorry for all the questions, I'm just really lost and I'm trying to understand it. I don't get any examples from my professor so its hard for me to pick up on things.
 
  • #10
SpiffyEh said:
oh! I never would have gotten the B*(-B^(-1)) = -I, that's where I thought it wasn't going anywhere. I had another one very similar to this problem and the same property helped me solve it. Thank you so much.

I also have this:
Show that if P,S,A are all non-singular matrices then (S- RP^(-1)Q)^(-1) = S^(-1) + S^(-1)RXQS^(-1).
Just show that (S- RP^(-1)Q) * S^(-1) + S^(-1)RXQS^(-1) = I

You'll need to substitute for X, but not W, since W doesn't appear in the equation above.
SpiffyEh said:
Can I use the x and w equations I was given for this? I have two equations of X and two for W since this comes after the two similar problems.
The X and W above and I also have
X = (P-QS^(-1)R)^(-1)
W = S^(-1) + S^(-1)RXQS^(-1)

To show it do I just move things around and all that until both sides are equal?
Sorry for all the questions, I'm just really lost and I'm trying to understand it. I don't get any examples from my professor so its hard for me to pick up on things.
 
  • #11
(S-RP^(-1)Q)*(S^(-1) + S^(-1)RXQS^(-1)) = I
SS^(-1) + SS^(-1)RXQS^(-1) - S^(-1)RP^(-1)Q - RP^(-1)QS^(-1)RXQS^(-1) = I
where SS^(-1) = I. So,
I + RXQS^(-1) - S^(-1)RP^(-1)Q - RP^(-1)QS^(-1)RXQS^(-1) = I
I + RQS^(-1)(P-QS^(-1)R)^(-1) -S^(-1)RP^(-1)Q - RP^(-1)QS^(-1)RQS^(-1)(P-QS^(-1)R)^(-1) = I

I used the
X = (P-QS^(-1)R)^(-1)

From here, I'm lost again. I tried pulling things I could out but that got me no where. I tried pulling out RQS^(-1)(P-QS^(-1)R)^(-1) which didn't help. I don't know why I'm having so much trouble with this part. Should I be plugging in the other value I have for X?
 
  • #12
Your comment in post 9 about two equations for X and two for W bothered me. There should not be two equations for X. If you can scan the page and post it, we should be able to figure out what to use.

Also, in your last post you have this:
SpiffyEh said:
(S-RP^(-1)Q)*(S^(-1) + S^(-1)RXQS^(-1)) = I
You're trying to show that the expression on the left is equal to I, so don't start off with an equation that says they're equal. By doing that you are tacitly assuming the two are equal, but that's what you need to show. Work with the expression on the left until it is simplified to what's on the right.

I'm not having any success with the latest problem, but I don't want to spend any more time on it until it's clear what should be used for X.

One other thing: You're writing stuff like S^(-1) for the inverse, which is OK, but it would be better to use exponents (which is what I've been doing) to make things clearer. It's pretty easy to do this.

Click the Go Advanced button below the text input area. This opens a larger input area with a menu across the top. To make an exponent, click the X2 button and type in the exponent. There's an X2 button that you can use to make subscripts.
 
  • #13
I attached the problem. Between problem 2.1 and 2.2 there are some hints but I already posted the only one that's relevant to the problem earlier. It never really says which X to use or anything. Also, if you get a chance could you look at the link below please? I have all my work shown, I'm just unsure if I'm doing it correctly or not. Thank you

https://www.physicsforums.com/showthread.php?t=416582
 

Attachments

  • problem.png
    problem.png
    21.2 KB · Views: 437
Last edited:
  • #14
Problem 2.2 looks to me to be similar to 2.1, the first one you posted. This time, show that
[tex] A^{-1} = \left[ \begin{array}{cc} X & -XQS^{-1}\\-S^{-1}RX & W \end{array}\right][/tex]

Use the values given for X and W that are below the problem. That's how I see it.
 
  • #15
I got 2.2 to work out just like 2.1. I posted that so that you could see which X to use for 2.3 because it's a little confusing.
 
  • #16
2.3 is actually pretty easy. In 2.1 and 2.1 you are finding A-1 using two different techniques. In 2.3 they are asking you to show that W in the matrix of problem 2.1 equals W in the matrix of problem 2.2. If a matrix (A) has an inverse, the inverse has to be unique, so W in the one representation must equal W in the other representation. I think that's all there is to it.
 
  • #17
hmm.. that seems too simple but I can't see how they got from one to another by subsituting in so I guess that will have to do. I mean it makes sense but it just seems to easy.

In 2.4 I'm supposed to check it. Is this where I would plug in the values given and try to subsitute a formula in for X?
 
  • #18
In 2.4, matrix A will be just a regular 2 x 2 matrix that is invertible. If you use the representation of A-1 that is shown in 2.1, use X that is defined for that problem. If you use the representation that is shown in 2.2, use the X that is defined for that problem.
 
  • #19
Mark44 said:
In 2.4, matrix A will be just a regular 2 x 2 matrix that is invertible. If you use the representation of A-1 that is shown in 2.1, use X that is defined for that problem. If you use the representation that is shown in 2.2, use the X that is defined for that problem.

I'm still a little confused by what you mean. Do I do this the same way i did 2.1 and 2.2 then? Could you show me an example please
 
  • #20
Prob 2.1 gives you one representation for A-1, and prob. 2.2 gives you another. W and X are used in each representation, and are defined differently for each problem. If you use the representation for A-1 of 2.1, use the values of W and X defined in that problem.

If you use the representation for A-1 of 2.2, use the other values of W and X that are defined in that problem.

No, you aren't supposed to redo problems 2.1 and 2.2 again - just substitute the given values into one or the other representations of A-1, and then multiply A times A-1.
 
  • #21
Oh ok, I'm trying to plug it into 2.2 and I'm not sure what to do about the inverses. For example S[tex]^{-1}[/tex] since I'm plugging in d which I don't think is a matrix.
 
  • #22
In prob. 2.4, A is a matrix of constants, not blocks. P, Q, R, and S are just numbers in this problem. So S-1 would just be the reciprocal of what you have for S.
 
  • #23
oh ok, thank you. I got it to work out and I understand it now.
 

Related to Calculating the Inverse Matrix with Variables: A Non-Singular Case

What is an inverse matrix with variables?

An inverse matrix with variables is a matrix that contains unknown variables in its entries and its inverse is also a matrix with unknown variables. It is used in solving systems of linear equations with unknown variables.

How do you find the inverse of a matrix with variables?

To find the inverse of a matrix with variables, we use the process of Gaussian elimination to reduce the matrix into an identity matrix. The resulting matrix will be the inverse of the original matrix with variables.

Why is finding the inverse of a matrix with variables important?

Finding the inverse of a matrix with variables is important because it allows us to solve systems of linear equations with unknown variables. It also helps in analyzing the properties and behavior of the system.

What is the difference between an inverse matrix with variables and a regular inverse matrix?

The main difference between an inverse matrix with variables and a regular inverse matrix is that the former contains unknown variables in its entries while the latter does not. The process of finding their inverses is also different, as the inverse of a matrix with variables involves solving for the unknown variables.

What are some applications of inverse matrices with variables?

Inverse matrices with variables are used in various fields such as engineering, physics, and economics to solve systems of linear equations with unknown variables. They are also used in data analysis and optimization problems.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
661
  • Calculus and Beyond Homework Help
Replies
2
Views
441
  • Calculus and Beyond Homework Help
Replies
1
Views
321
  • Calculus and Beyond Homework Help
Replies
1
Views
4K
  • Calculus and Beyond Homework Help
Replies
4
Views
888
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
16
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
Back
Top