How do I solve for the unknown matrix Q in this equation?

  • Thread starter tapashettisr
  • Start date
  • Tags
    Matrix
In summary: A more general form is x= A^{\dagger}b = WV^{\dagger}U^Tb. The minimum norm form is when W=identity and V=diag[1 1 1 0].In summary, the problem is to solve for the unknown matrix Q given the equation A*Q*B=C, where A is a known 2X4 matrix, Q is a 4X4 unknown matrix, B is a known 4X2 matrix, and C is a known 2X2 matrix. This problem can be treated as two underdetermined systems, AZ=C and BT*QT=ZT, which can be solved for least norm solutions using QR factorization
  • #1
tapashettisr
3
0
I have an equation as follows:

A*Q*B=C
Here A is 2X4 known matrix
Q is a 4X4 unknown matrix
B is a 4X2 known matrix
C is a 2X2 known matrix
How can I solve for unknown matrix Q;
 
Mathematics news on Phys.org
  • #2
You have 4 equations in 16 unknowns. Whatever Q you find will not be unique. Decompose A and B via singular value decomposition to find the pseudoinverses of A and B.
 
  • #3
Or, treating it purely as a matrix problem, multiply on the right on both sides of the equation by B-1 and on the left by A-1, assuming those inverses exist:

A-1*A*Q*B*B-1= A-1CB-1
Q= A-1CB-1

Of course, if either A or B does not have an inverse, there may be no solution or there may be an infinite number of solutions.
 
  • #4
Er, B and A are not square matrices, so they do not have inverses, no?
 
  • #5
I really need to learn to read these posts! Of course, they might have "generalized inverses" in which case the same comments apply.
 
  • #6
HallsofIvy said:
I really need to learn to read these posts! Of course, they might have "generalized inverses" in which case the same comments apply.

Just curious, how would these look like?
 
  • #7
One way to form the pseudoinverse (the Moore-Penrose psuedoinverse) of a matrix A is to decompose the matrix into a form [tex]A=UVW^T[/tex] where U and W are orthonormal matrices and V is a diagonal matrix. (This is the singular value decomposition of the matrix.) Form the pseudoinverse [tex]V^\dagger[/tex] of [tex]V[/tex] by taking the inverse of each non-zero element of [tex]V[/tex]. Then the pseudoinverse of [tex]A[/tex] is [tex]A^{\dagger}=WV^{\dagger}U^T[/tex]. Note that the pseudoinverse is the inverse if A is not singular.
 
  • #8
thanx all for the suggestions
 
  • #9
Unlike in case of square matrix, in case of rectangular matrix inv(A)*A is not equal to A*inv(A). If we find the pseudoinverse of A then A*inv(A)=identity matrix but inv(A)*A does not yield identity matrix. Hence, I am not able to understand how the suggested solution given below would work?

Inv(A)*A*Q*B*inv(B)=iinv(A)*C*inv(B)=Q
 
  • #10
If i have a unknown 4*4 matrix A
and i have an equation like AQA(dagger)=block diagnol matrix
all the matrices are 4*4
how can i evaluate 16 unknowns from these 16 equations using mathematica,as terms involved are much complicated.
 
  • #11
tapashettisr said:
I have an equation as follows:

A*Q*B=C
Here A is 2X4 known matrix
Q is a 4X4 unknown matrix
B is a 4X2 known matrix
C is a 2X2 known matrix
How can I solve for unknown matrix Q;

This problem can be treated as a succession of two under determined problems that can be solved for least norm solutions. If you let Z = QB, the result is AZ=C, which can be solved as a mininum norm problem using QR factorization. If AT is decomposed into QR (not the same Q as the original problem), Z can be solved as follows:

Solve RTy = C for y. Then Z = Qy ==> least norm solution

You then have QB = Z. Taking transpose of both sides, you get BTQT=ZT which can be solved for QT in exactly the same fashion. It does work. I tried it on a made up problem. The solution isn't unique, there are multiple possible values for Q, but the above does give you a way to find a solution.
 
  • #12
I think my last reply was too convoluted. Simply put, if Ax=b is an underdetermined system (where A has more columns than rows), it is easy to show that the minimum norm solution (assuming AAT isn't singular) is:

xmin norm = AT(AAT)-1b
 
Last edited:
  • #13
That works. That is a special case of the Moore-Penrose psuedoinverse cited in post #7.
 

1. How do I solve for an unknown matrix?

To solve for an unknown matrix, you will need to use algebraic equations and operations. First, identify the variables in the matrix and set up a system of equations. Then, use techniques such as Gaussian elimination or matrix inversion to solve for the unknown values.

2. Can I use a calculator to solve for an unknown matrix?

Yes, you can use a calculator to solve for an unknown matrix. Many scientific and graphing calculators have built-in functions for solving matrices. However, it is important to understand the underlying concepts and equations involved in solving for a matrix to properly interpret the results.

3. What are the common techniques used to solve for unknown matrices?

The most common techniques used to solve for unknown matrices include Gaussian elimination, matrix inversion, and Cramer's rule. These methods involve manipulating the equations of the matrix to isolate and solve for the unknown variables.

4. Are there any special considerations when solving for an unknown matrix?

Yes, there are a few special considerations to keep in mind when solving for an unknown matrix. First, the matrix must be square (equal number of rows and columns) in order to have a unique solution. Also, be careful of any zero or undefined values in the matrix, as they can affect the solution.

5. Can I use matrices to solve for multiple unknowns?

Yes, matrices can be used to solve for multiple unknowns. This is known as a system of equations or a linear system. By setting up a matrix with all the variables and coefficients, you can use the techniques mentioned above to solve for all the unknown values at once.

Similar threads

  • General Math
Replies
12
Views
1K
  • General Math
Replies
7
Views
860
  • General Math
Replies
11
Views
1K
Replies
2
Views
1K
  • General Math
Replies
1
Views
699
Replies
24
Views
1K
Replies
10
Views
1K
  • Linear and Abstract Algebra
Replies
6
Views
522
  • Calculus and Beyond Homework Help
Replies
2
Views
388
Back
Top