Register to reply 
Multiplication of incompatible matrices 
Share this thread: 
#1
May912, 03:44 AM

P: 3

Dear members,
I have a rather silly question. As we all know only the compatible matrices can be multiplied. My derivation of some Finite Element formulation has, however, led me to the multiplication of two incompatible matrices. I was wondering if we could make these incompatible matrices, compatible by some factorization techniques. Has anyone ever encountered such a problem? I appreciate if someone could help me in this respect. Regards,  Hamid Attaran 


#2
May912, 05:15 AM

P: 4,573

Hey attaran and welcome to the forums.
Can you provide more information? What dimensions are the matrices? Are the matrices special types? (Like diagonal, triangular, singular, nonsingular, have specific determinant, eigenvalues, eigenvectors and so on) 


#3
May912, 05:56 AM

P: 3

Thanks for your reply, Chiro.
Some are diagonal and some are not. For one case I have reached from: [A]_{8x2}.[B]_{2x2}.[C]_{2x4}.[D]_{4x1}.[E]_{2x8} to: []_{8x1}.[]_{2x8} which obviously are not compatible for matrix multiplication. These are populated as follows: A = [A_{11} 0 0 A_{22} ... 0 A_{82}] B = [B_{11} 0 0 B_{22} ] C = [C_{11} C_{12} C_{13} C_{14} C_{21} C_{22} C_{23} C_{24}] D = [D_{11} D_{21} D_{31} D_{41}] E= [E_{11} 0 E_{13} 0 ... E_{17} 0 E_{21} 0 E_{23} 0 ... E_{27} 0] I hope I have provided enough information. regards,  Hamid 


#4
May912, 06:10 AM

P: 606

Multiplication of incompatible matrices
Well, either (1) you define a new multiplication between noncompatible matrices, or (2) you embed all your matrices into one single set of square matrices, perhaps by adding zeros to their rows or columns, or (3) you plainly cannot multiply those matrices among them. I wonder why you think, or feel, that you must multiply those matrices...? DonAntonio 


#5
May912, 08:52 AM

Math
Emeritus
Sci Advisor
Thanks
PF Gold
P: 39,553

The point is that if your method arrives at the multiplication of two "incompatible" matrices, then this cannot be ordinary multiplication of matrices. How you would alter the usual definition of multiplication of matrices would depend upon what you want this multiplication to mean. And that can only be determined by the precise problem you are dealing with.



#6
May912, 12:56 PM

Engineering
Sci Advisor
HW Helper
Thanks
P: 7,169

Most likely you have got confused about something.
Computer programs for the finite element method often store data in 2d arrays which are NOT "matrices" in the mathematical sense. For example the 6 independent compoents of a symmetric 3x3 tensor (for eaxmple stress and strain) are often stored in a 6x1 vector. Or 21 independent constants for an arbitrary anisotropic material might be stored in a symmetric 6x6 matrix, when it is really a 3x3x3x3 fourthorder tensor with a large number of symmetry relations between the 81 terms. 


#7
May1012, 02:17 AM

P: 3

DonAntonio, HallsofIvy and AlephZero, Thanks for your comments and help.
As I was discussing my problem with a mathematician, he advised me to use the "Tensor Product" instead and after a quick survey, looks like that I can use a special case of tensor product, called "Kronecker product". According to Wikepedia(en.wikipedia.org/wiki/Kronecker_product) "If A is an mbyn matrix and B is a pbyq matrix, then the Kronecker product A ⊗ B is the mpbynq block matrix ". Thanks and regards,  Hamid 


Register to reply 
Related Discussions  
Multiplication of two matrices ? one in GF(2) other in R  Calculus & Beyond Homework  1  
The basis of n x n matrices with matrix multiplication!  General Math  0  
Inverse matrices with scalar multiplication.  Linear & Abstract Algebra  4  
Multiplication of two matrices  Linear & Abstract Algebra  4  
Basics of multiplication of matrices  Linear & Abstract Algebra  8 