Finding A in Non-Square Matrices: Pseudo Inverse vs Gradient Search

Click For Summary
SUMMARY

The discussion centers on the mathematical relationship between matrices A, B, and C, defined by the equation C = A * B, where A, B, and C are non-square matrices. The user concludes that if the number of equations (m*k) is greater than or equal to the number of unknowns (m*n), a unique solution for A exists, allowing the use of the pseudo-inverse of B, denoted as pinv(B), to express A as A = C * pinv(B). Conversely, if k < n, the user suggests employing gradient search and statistical methods to identify potential candidates for A.

PREREQUISITES
  • Understanding of matrix multiplication and dimensions
  • Knowledge of pseudo-inverse matrices, specifically pinv function
  • Familiarity with gradient search techniques
  • Basic concepts of uniqueness in linear algebra
NEXT STEPS
  • Study the properties and applications of pseudo-inverse matrices in linear algebra
  • Learn about gradient descent algorithms and their implementation for matrix approximation
  • Explore statistical methods for estimating matrix entries when unique solutions do not exist
  • Investigate the implications of matrix dimensions on the uniqueness of solutions in linear equations
USEFUL FOR

Mathematicians, data scientists, and engineers working with matrix equations, particularly those involved in optimization and numerical methods for solving linear systems.

umut_caglar
Messages
7
Reaction score
0
Hi everybody

I have a question that I have a guess for the answer but I want to be sure

I have an identity

C=A*B

where A,B,C are matrices and in general they are not square

is there a way to find A in terms of B and C by using pseudo inverse matrix or using pseudo inverse might help me in any ways for finding A.

my guess is: 'No, pseudo matrix inverse will not help in anyway'

If pseudo inverse will not work I am planning to do a gradient search for finding the entries of A (do you have any better option?)

If possible say some words about the uniqueness problem. for given A and B, C is unique, but for given B and C, is A unique

Thanks for the help
 
Last edited:
Physics news on Phys.org
Hi

I found solution to my problem, let me share it in case someone else might need it;

lets assume C=A*B
and A, B, C are matrices with dimensions $$ A_{(m,n)}, B_{(n,k)}, C_{(m,k)} $$

Assume we are trying to find A for given B and C

Then the number of equations we have is m*k, one equation for each entry of C matrix
The number of unknowns are m*n, each entry in the A matrix is an unknown

So if number of equations is greater then or equal to the number of unknowns then there is a unique solution. In other words if m*k \geq m*n or simply k \geq n then there is a unique solution.

If there is a unique solution then

C=A*B can be re written as A=C*pinv(B)

where pinv stands for 'pseudo inverse'

if there is no unique solution; i.e k&lt;n, then one need to go to gradient search and statistical methods to find possible candidates for A matrix
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
3K
  • · Replies 33 ·
2
Replies
33
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
2
Views
7K