Difference Between Matrices & Tensors: Explained

  • Context: Undergrad 
  • Thread starter Thread starter wintercarver
  • Start date Start date
  • Tags Tags
    Matrices Tensors
Click For Summary

Discussion Overview

The discussion centers on the differences and similarities between matrices and tensors, exploring their definitions, properties, and applications in various fields of physics. Participants delve into the mathematical and conceptual frameworks that distinguish these two entities, as well as their roles in representing physical phenomena.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants propose that a matrix can represent a tensor of rank 2, while tensors can have varying ranks, including scalars and vectors as rank 0 and 1 tensors, respectively.
  • One participant explains that the term "tensor" has dual meanings, referring both to a product between vector spaces and to the resulting element of that product.
  • Another participant notes that when discussing rank, the distinction between different ranks may blur when bases are chosen, complicating the classification of tensors.
  • It is mentioned that while rank 2 tensors and nxn matrices share vector space properties, they are not identical due to additional properties associated with tensors.
  • Some participants highlight that the term "metric tensor" is often misused, as the elements of a matrix are merely components of the tensor rather than the tensor itself.
  • A humorous analogy is made regarding the transformation of tensors through operations like the dot product, suggesting that the classification of a tensor can depend on context.
  • One participant asserts that a matrix is merely one representation of a tensor, which can also be expressed in various other forms.

Areas of Agreement / Disagreement

Participants express differing views on the definitions and implications of matrices and tensors, with no consensus reached on a singular understanding of their relationship. The discussion remains unresolved regarding the nuances of their distinctions and representations.

Contextual Notes

Limitations include varying definitions of rank and tensor types, as well as the dependence on specific mathematical contexts and applications. The discussion does not resolve the complexities surrounding the classification and representation of tensors.

wintercarver
Messages
8
Reaction score
0
could someone please explain the difference or non-difference of matrices and tensors? i come across the two plenty in various fields of physics and am curious. i have a feeling this question has been asked and answered before, but i could not find a previous thread, so pointing me to another post would also be appreciated. thanks.

-wc
 
Physics news on Phys.org
wintercarver said:
could someone please explain the difference or non-difference of matrices and tensors? i come across the two plenty in various fields of physics and am curious. i have a feeling this question has been asked and answered before, but i could not find a previous thread, so pointing me to another post would also be appreciated. thanks.

-wc
A matrix that satisfys certain tranform rules can be thought of as representing a tensor of rank 2. Tensors can have rank 0,1,2,3,4...
Thus scalars and vectors are tensors of ranks 0 and 1 respectively. Thus tensors are in a sense more general than matrix's as they are not representations, and they can have any rank. They are also less general in a sense as they are restricted by transform laws.
 
the word tensor has two meanings, it is both a verb and a noun. it is a sort of product that can be performed between two vector spaces, and then it is an element of such a product.

when you tensor multiply a vector space V by the dual W* of another vector space W, the result maps naturally to the space of linear transformations from W to V.

when the spaces are finite dimensional, this map is an isomorphism. one also knows that this space of linear transformations is isomorphic, non naturally, to the space of matrices of size dim(V) by dim(W).

i myself am not too up on this rank language, but my impression from reading other people posts is that when the space V is always the same, say R^n, then one multiplies together exclusively copies of V and V*, and the rank refers to the number of copies of each one.

thus i would have thought such users would have called a tensor with one copy of each, i.e. a matrix, a "rank (1,1) tensor", whereas rank 2 would have meant a product of two copies of V.

of course for people who routinely choose bases, the distinction between V and V* is much less clear, hence one cannot distinguish between rank(1,1) and rank 2.

but that is not my area.
 
Last edited:
I'm sure I've heard a "rank (m, n) tensor" also called a "rank m+n tensor" before.
 
yes no doubt that explains it.
 
A tensor of rank (q,r) on a vector space of dim(n) over a field Q forms a vector space of dim(n^(q+r)), so the set tensors of rank (1,1), (2,0) and (0,2) all form vector spaces of dim(n^2), simlairly the set of nxn matrices over a field Q form a vector space of dim(n^2), so in terms of structure as vector spaces (i.e. when addition, subtraction and scalar multiplication is concerned) there is no difference between a rank 2 tensor and an nxn matrix. Both tensors and matrices have more properties (that much should be obvious from the fact that we choose to distnguish rank (1,1) and rank (2,0), etc tensors) than just those associated with the basic properties vector spaces they form, so a rank 2 tensor is not the same as an nxn matrix (though they do share other properties which do extend the usefulness of representing rank 2 tensors as matrices beyond addition, subtraction and scalar multiplication).
 
the difference is clear mathematically, but subtle if you are using them in an applied way.

consider the metric tensor for example:

[tex]G = g_{ij} dx^i \otimes dx^j[/tex]

some people call [itex]g_{ij}[/tex] (the elements of a matrix) the metric tensor, but this is not mathematically correct, they form the <i>components</i> of the metric tensor. this is analogous to calling the components of a vector the vector itself.<br /> <br /> the reason for this is since<br /> <br /> [tex]dx^i(\vec{v}) = v^i[/tex]<br /> <br /> then<br /> <br /> [tex]G(\vec{u}, \vec{v}) = u^i g_{ij} v^j[/tex]<br /> <br /> which is nothing more than<br /> <br /> [tex]\begin{pmatrix}u^1 & u^2 & ...\end{pmatrix}\begin{pmatrix}g_{11} & g_{12} & ... \\ g_{21} & g_{22} & ... \\ ... & ... & ...\end{pmatrix}\begin{pmatrix}v^1 \\ v^2 \\ ...\end{pmatrix}[/tex][/itex]
 
now through the magic of televisison, mr science will demonstrate how to use the dot product to change a 2 tensor into a 1,1, tensor! look children, vtensw appears to be a 2 tensor, but behold, if t is a vector then we can wave our dot product wand and say: presto: you are a 1,1 tensor and now when vtensw sees the vector t,

it pounces and yields the vector <v,t>w !@.

observant boys and girls can no doubt guess how to change it as well into a 2 tensor of opposite variance, yielding a number, when confronting a pair of vectors, (s,t) ??

mirabile dictu.

the moral is, one recognizes a wolf only after it tries to eat the sheep.

i.e. one often does not know what object v(tens)w is until the great oz says so: i.e. if you say it is a (0,2) tensor then it is, and if you say it is a (1,1) tensor then it is that as well. enjoy the game! (and always be a student of behavior.)
 
Last edited:
But always wear a helmet while playing this game!
 
  • #10
some of us apparently forgot to. as lyndon johnson used to say. :wink:
 
  • #11
Isn't WC simply asking for the difference between a matrix and a tensor? The answer to that is that a matrix is only one way of *representing* a tensor. It could alternatively be represented by a single letter, bold-faced, underlined or whatever. Matrices can be used for other purposes, e.g to represent non-tensorial objects such as the coefficients of a bank of simultaneous equations.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 7 ·
Replies
7
Views
12K