Matrices in more than 2 dimensions

AI Thread Summary
The discussion centers on the concept of matrices in higher dimensions, specifically exploring 3D matrices or arrays. The identity matrix is introduced as a 3rd order square matrix, and the idea of a "matrix" representing a cube of numbers is clarified, suggesting that such structures are better termed "arrays." It is noted that while higher-dimensional arrays exist, they do not adhere to the same mathematical laws as traditional matrices. The conversation also highlights that 2D arrays can effectively represent operations typically suited for higher-dimensional arrays, particularly in the context of summing matrices and vectors. Overall, the thread emphasizes the distinction between matrices and higher-dimensional arrays or tensors.
The Rev
Messages
81
Reaction score
0
I've been learning about 2D matrices in algebra, like the one below, and was wondering if there were matrices in higher maths that used 3 or more dimensions, and if someone would describe or provide an example. Just curious.

\left[\begin{array}{ccc}1&0&0\\0&1&0\\0&0&1\end{array}\right]

Thanks.

\psi

The Rev
 
Mathematics news on Phys.org
The matrix above is called the identity matrix. Furthermore, it's a 3-rd order square matrix. In general, a matrix can be of the order (m,n) , where m is the number of rows and n the number of columns. I guess we could call this 3-rd order a 3-d matrix, because it's columns or rows can be interpreted as vectors in space. The same goes for matrixes of higher order, but we cannot 'draw' these vectors in space - the function of these vectors is important in solving linear albegar equations.
 
But what the Rev is asking about is a "matrix" that would be a cube of numbers rather than a square. That is, with an underlying 3 dimensional space, 3 layers, each consisting of 3 rows and 3 columns: 27 numbers.

Yes, such things do exist but I think it would be more appropriate to call it an "array" rather than a matrix- matrices assume specific laws for addition and multiplication that would not apply here. With a given coordinate system, a third order tensor could be represented by such an array.
 
I was thinking of a matrix like the one above, with rows and columns (x & y vertices) AND some kind of z vertex (depths?) so the matrix formed a cube instead of a square (or a hypercube, etc.). Is this what you mean? (I'm inferring from your post that you're a few textbooks ahead of where I am in your math studies, so don't be shy about dumbing down your responses. :blushing: ).

\psi

The Rev
 
HallsofIvy said:
But what the Rev is asking about is a "matrix" that would be a cube of numbers rather than a square. That is, with an underlying 3 dimensional space, 3 layers, each consisting of 3 rows and 3 columns: 27 numbers.

Yes, such things do exist but I think it would be more appropriate to call it an "array" rather than a matrix- matrices assume specific laws for addition and multiplication that would not apply here. With a given coordinate system, a third order tensor could be represented by such an array.

Tensors, eh? Well, that's a ways off. Thanks!

\psi

The Rev
 
An interesting thing, though, is that 2-D arrays can be good enough to do things that would seem more natural to do with a higher dimensional array.

For example, suppose I have a collection of n matrices and n vectors. The n matrices would be most naturally represented by a three dimensional array, but if the thing I'm most interested is the sum A1 v1 + A2 v2 + ... + An vn, then this partitioned matrix is good enough:


[A1 | A2 | ... | An] [v1 | v2 | ... | vn]^T

In other words, the matrix on the left is formed by placing the individual matrices side by side, and the vector on the right is formed by stacking the individual vectors on top of each other.


Note that we may think of the one on the left as being a row vector whose entries are matrices, and the one on the right being a column vector whose entries are column vectors!
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top