How to write matrices as tensors

In summary, the conversation discusses the equivalence of writing matrices as tensors and the use of contravariant and covariant indices. It also mentions the components of a second rank double contravariant tensor and the incorrect representation of a tensor in matrix form.
  • #1
JohanL
158
0
I have some simple questions on how to write matrices as tensors.

1.
[tex]
\left(\begin{array}{cc}a_1\\a_2\end{array}\right)+
\left(\begin{array}{cc}b_1\\b_2\end{array}\right)=
\left(\begin{array}{cc}c_1\\c_2\end{array}\right)
[/tex]

is this equivalent to

[tex]A^j + B^j = C^j[/tex]

with j = 1,2.

2.

[tex]
1/2\left(\begin{array}{cc}\dot{x}_1 & \dot{x}_2\end{array}\right)
\left(\begin{array}{cc}3m & m\\-m & 3m\end{array}\right)
\left(\begin{array}{cc}\dot{x}_1 \\\dot{x}_2\end{array}\right)
[/tex]

is this equivalent to

[tex]
1/2\dot{x}^{\mu}M_{\mu\nu}\dot{x}^{\nu}
[/tex]

[tex]
\mu,\nu=1,2
[/tex]

and

[tex]
M_{11}=3m,...,M_{22}=3m
[/tex]
 
Physics news on Phys.org
  • #2
Yes,it's correct in the first case.In the second,u may put it

[tex] \frac{1}{2}\dot{x}_{\mu}M^{\mu}{}_{\nu} \dot{x}^{\nu} [/tex]

Daniel.
 
  • #3
thanks.

Is my 2 wrong?
Im struggling with the contravariant and covariant indicies.
is it because a row vector is a covariant vector and the column vector is a contravariant vector you write it like that...but that can't be right.


another question:
If you have an expression like

[tex]
A^{ijk}B_k
[/tex]

i,j,k = 1,2

this is equivalent to 4 expressions

[tex]
A^{111}B_1 + A^{112}B_2
[/tex]

[tex]
A^{121}B_1 + A^{122}B_2
[/tex]

[tex]
A^{211}B_1 + A^{212}B_2
[/tex]

[tex]
A^{221}B_1 + A^{222}B_2
[/tex]
 
  • #4
Nope,it's just

[tex] A^{ij1}B_{1}+A^{ij2}B_{2} [/tex]

,that is a second rank double contravariant tensor with 4 components,the ones you have written.

Daniel.
 
Last edited:
  • #5
ok...ty.

2 again.

if you have a tensor

[tex]1/2\dot{x}^{\mu}M_{\mu\nu}\dot{x}^{\nu}[/tex]

[tex]\mu,\nu=1,2[/tex]

[tex]M_{11}=3m,...,M_{22}=3m[/tex]

and write it as a matrix you _dont_ get

[tex]1/2\left(\begin{array}{cc}\dot{x}_1 & \dot{x}_2\end{array}\right)\left(\begin{array}{cc}3m & m\\-m & 3m\end{array}\right)\left(\begin{array}{cc}\dot{x}_1 \\\dot{x}_2\end{array}\right)[/tex]

?
 
  • #6
Nope.You can't put that expression in matrix form.

Daniel.
 

1. What is a matrix and how is it different from a tensor?

A matrix is a rectangular array of numbers, while a tensor is a multi-dimensional array of numbers. While a matrix has two dimensions (rows and columns), a tensor can have an arbitrary number of dimensions. Matrices are often used to represent linear transformations, while tensors are used in various fields of mathematics, physics, and engineering.

2. How can a matrix be represented as a tensor?

A matrix can be represented as a second-order tensor, which means it has two indices. The rows and columns of the matrix correspond to the two indices of the tensor. The elements of the matrix are then mapped to the corresponding elements of the tensor based on their indices.

3. What are the benefits of representing a matrix as a tensor?

Representing a matrix as a tensor allows for more flexibility in terms of the number of dimensions and the types of operations that can be performed on it. Tensors also have properties such as symmetry, skew-symmetry, and orthogonality, which can be useful in various applications.

4. Can any matrix be expressed as a tensor?

Yes, any matrix can be expressed as a tensor. However, the reverse is not always true. Tensors can have more dimensions than matrices, so not all tensors can be represented as matrices.

5. Are there any specific rules or conventions for writing matrices as tensors?

Yes, there are some rules and conventions for writing matrices as tensors. For example, the indices of a tensor are often written as subscripts, while the elements of a matrix are usually written in parentheses or brackets. Additionally, the order of the indices is important, as it determines how the elements are mapped from the matrix to the tensor.

Similar threads

  • Introductory Physics Homework Help
Replies
15
Views
278
  • Advanced Physics Homework Help
Replies
19
Views
1K
  • Advanced Physics Homework Help
2
Replies
36
Views
2K
  • Introductory Physics Homework Help
Replies
1
Views
1K
  • Advanced Physics Homework Help
Replies
28
Views
2K
  • Advanced Physics Homework Help
Replies
19
Views
905
  • Advanced Physics Homework Help
Replies
7
Views
1K
  • Advanced Physics Homework Help
Replies
3
Views
360
  • Introductory Physics Homework Help
Replies
3
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
698
Back
Top