You can edit almost every page by Creating an account and confirming your email.

Matrix representation of tensors

From EverybodyWiki Bios & Wiki

Matrix representation of tensors - it is a form of representation of tensors using matrix. The basic principle of the matrix representation of tensors is: each superscript of the tensor must be associated with a column, each subscript must be associated with a row.

1st-order tensor

1st-order tensor i.e. the vector v by default it is expressed using covariant coordinates (as a row vector, with lower indices)

v=[vi]=[v1v2vn]

or contravariant (as a column vector, with an upper index)

v=[vi]=[v1v2vn]

For orthogonal coordinate systems, equality of co- and contravariant coordinates occurs i.e. vi=vj and therefore, only subscripts are typically used.

1nd-order tensor

Orthogonal coordinate systems

Because in the orthogonal system we have the equality of co- and contra-variant coordinates, we write the 2nd tensor using only the lower indexes and its matrix form can be as follows

T=[Tij]=[T11T12T1nT21T22T2nTn1Tn2Tnn]

Non-orthogonal coordinate systems

Introduction

If the coordinate system is not orthogonal, then the matrix form for orthogonal systems cannot be used because this form of the tensor "loses" information about variance - as illustrated in the example below: [1]

Let's take a metric tensor (found in relativity theory) η=[ηij] i wykonajmy inner multiplication with contravariant vector v=[vj]. From metric tensor properties it follows that we should get a row vector (covariant - that is, with a subscript [vi]). Using summation convention and inner product, in index notation we have

ηijvj=vi

so on the right side of equality we get the expected covariant vector (row, i.e. with the lower index). However, let's see what happens when we use the matrix notation used in orthogonal systems

ηv=[ηij][vj][1000010000100001][txyz]=[txyz]

we got a column vector as a result but it should come out as a row. Thus, the above matrix notation together with the matrix multiplication operation did not correctly map the operation inner multiplication because "lost" information about the variance of the resulting vector. So this matrix form of the η tensor is not valid.

Notation

In the literature, the above-described problem is often not taken into account and for non-orthogonal systems, an incorrect representation of the 2nd order tensor in the form of a matrix is used. However, in non-orthogonal systems, this tensor can be represented correctly using matrix notation - in such a way that matrix multiplication with the vector correctly maps inner multiplication - namely [2]

  • save the tensor with two covariant (subscript) indexes as a single-row matrix whose elements are row vectors
[Tij]=[[T1j][T2j][Tnj]]=[[T11T12T1n][T21T22T2n][Tn1Tn2Tnn]]
This indexing should not be confused with standard matrix indexing because although we have two subscripts here, the lower left index does not apply to the row number (since the matrix is single-row).
  • we should write the mixed tensor as a matrix in which the rows correspond to the covariant (lower) index and the columns correspond to the contravariant (upper) index
[Tij]=[T11T21Tn1T12T22Tn2T1nT2nTnn]
this indexing should not be confused with conventional matrix indexing in which the lower left index means a row and the lower right column means - because the lower one means a column, the upper one means a row and the lower right does not exist at all.
  • let's write a tensor with two contravariant (superscript) indices as a single-column matrix whose elements are column vectors
[Tij]=[[T11T12T1n][T21T22T2n][Tn1Tn2Tnn]]

Higher order tensors can be represented in a similar way. Also note that inner multiplication tensors includes a contraction operation which allows summation only after indices with opposite variance (which is in harmony with the operation of matrix multiplication, i.e. the matrix can only be multiplied by left-hand row vector, and only by right-hand column vector).

Examples

2nd-order tensors

For mentioned earlier metric tensor η=[ηij] and using the above notation we get

ηv=[[1000][0100][0010][0001]][txyz]
=t[1000]+x[0100]+y[0010]+z[0001]=[txyz]

as you can see now we've got the expected row vector.

Tensors of higher orders

In this way, we can write higher order tensors while maintaining information about the variance of their indexes, e.g.

  • for Christoffel symbol of the second kind Γijk the form will be a matrix whose elements are row vectors
[[Γ000Γ010Γ020Γ030][Γ100Γ110Γ120Γ130][Γ200Γ210Γ220Γ230][Γ300Γ310Γ320Γ330][Γ001Γ011Γ021Γ031][Γ101Γ111Γ121Γ131][Γ201Γ211Γ221Γ231][Γ301Γ311Γ321Γ331][Γ002Γ012Γ022Γ032][Γ102Γ112Γ122Γ132][Γ202Γ212Γ222Γ232][Γ302Γ312Γ322Γ332][Γ003Γ013Γ023Γ033][Γ103Γ113Γ123Γ133][Γ203Γ213Γ223Γ233][Γ303Γ313Γ323Γ333]]
  • for Levi-Civita symbol ϵijk the form will be a row vector whose elements are row vectors whose elements are row vectors
ϵijk=[[[0,0,0],[0,0,1],[0,1,0]],[[0,0,1],[0,0,0],[1,0,0]],[[0,1,0],[1,0,0],[0,0,0]]]

Literature

References

  1. Toth, Viktor (August 2005). On tensors and their matrix representations. Search this book on
  2. Zhang, Hongbing (2017). Matrix-Representations of Tensors (PDF). viXra. Search this book on


This article "Matrix representation of tensors" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Matrix representation of tensors. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.