Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
An Index Notation
for Tensor Products
Here, on the RHS, there is a notation that replaces the summation signs by
parentheses. When a basis vector is enclosed by pathentheses, summations are
to be taken in respect of the index or indices that it carries. Usually, such an
index will be associated with a scalar element that will also be found within the
parentheses. The advantage of this notation will become apparent at a later
stage, when the summations are over several indices.
A vector in the primary space can be converted to a vector in the conjugate
dual space and vice versa by the operation of transposition. Thus a0 = (ai ei )
is formed via the conversion ei → ei whereas b = (bj ej ) is formed via the
conversion ej → ej .
1
D.S.G. POLLOCK : ECONOMETRICS
Here, the elements are arrayed in a long column in an order that is determined
by the lexicographic variation of the indices t and j. Thus, the index j under-
goes a complete cycles from j = 1 to j = M with each increment of the index
t in the manner that is familiar from dictionary classifications. Thus
a1 b
a2 b
(6) a ⊗ b = 0
... = [a1 b1 , . . . , a1 bM , a2 b1 , . . . , a2 bM , · · · , aT b1 , . . . , aT bM ] .
aT b
A covariant tensor product can also be formed from the row vectors a0 and
b0 of the dual space. Thus, there is
XX
(7) a0 ⊗ b0 = at bj (et ⊗ ej ) = (at bj etj ).
t j
This is just the familiar matrix product ab0 , which can be written variously as
a1 b a1 b1 a1 b2 . . . a1 bM
a2 b a b a2 b2 . . . a2 bM
(11) . = [ b1 a b2 a · · · bM a ] = 2. 1 .. .. .
.. .. . .
aT b aT b1 aT b2 . . . aT bM
2
1: MATRIX ALGEBRA
Observe that
We now propose to dispense with the summation signs and to write the
various vectors as follows:
As before, the convention here, is that, when the products are surrounded
by parentheses, summations are to be take in respect of the indices that are
associated with the basis vectors.
The convention can be applied to provide summary representations of the
products under (5), (7) and (10):
The indecomposability lies in the fact that the elements xtj cannot be written
as the products of an element indexed by t and an element indexed by j.
From X = (xtj ejt ), the following associated tensors products may be de-
rived:
3
D.S.G. POLLOCK : ECONOMETRICS
Thus, it can be seen that X c and X r are not related to each other by simple
transpositions. A consequence of this is that the indices of the elements in X c
follow the reverse of a lexicographic ordering.
Example. Consider the equation
(24) (ytj ejt ) = µ(ejt ) + (γt ejt ) + (δj ejt ) + (εtj ejt ).
Here, eji
lk stands for a matrix of order st × mn with a unit in the row indexed
by lk—the {(l − 1)s + k}th row—and in the column indexed by ji—the {(j −
1)m + i}th column—and with zeros elsewhere.
4
1: MATRIX ALGEBRA
eji j
lk = el ⊗ ek ⊗ e ⊗ e
i
= ej ⊗ ei ⊗ el ⊗ ek
= ej ⊗ el ⊗ ek ⊗ ei
(27)
= el ⊗ ej ⊗ ei ⊗ ek
= el ⊗ ej ⊗ ek ⊗ ei
= ej ⊗ el ⊗ ei ⊗ ek .
The virtue of the index notation is that it makes no distinction amongst these
various products on the RHS—unless a distinction can be found between such
expressions as ej lik and elj ki .
For an example, consider the Kronecker of two matrices as follows:
∑ ∏ ∑ ∏
a11 a12 a11 a12
∑ ∏ ∑ ∏ b b12
b11 b12 a11 a12 11 a21 a22 a21 a22
⊗ =
∑ ∏ ∑ ∏
b21 b22 a21 a22 a11 a12 a11 a12
b21 b22
a21 a22 a21 a22
(28)
b11 a11 b11 a12 b12 a11 b12 a12
b11 a21 b11 a22 b12 a21 b12 a22
=
b a
.
b a
21 11 b a b a
21 12 22 11 22 12
b21 a21 b21 a22 b22 a21 b22 a22
Here, it can be see that the composite row indices lk, associated with the
elements blj aki , follow the lexicographic sequence {11, 12, 21, 22}. The column
indices follow the same sequence.
5. Compositions
In order to demonstrate the rules of matrix composition, let us consider the
matrix equation
(29) Y = AXB 0 ,
Here, there is
XX
(31) {aki xij blj } = aki xij blj ;
i j
5
D.S.G. POLLOCK : ECONOMETRICS
which is to say that the braces surrounding the expression on the LHS are to
indicate that summations are taken with respect to the repeated indices i and
j, which are associated with the basis vectors. The operation of composing
two factors depends upon the cancellation of a superscript (column) index, or
string of indices, in the leading factor with an equivalent subscript (row) index,
or string of indices, in the following factor.
The matrix equation of (29) can be vectorised in a variety of ways. In
order to represent the mapping from X c = (xij eji ) to Y c = (ykl elk ), we may
write
(ykl elk ) = ({aki xij blj }elk )
(32)
= (aki blj eji
lk )(xij eji ).
Notice that the product aki blj within (aki blj eji
lk ) does not need to be surrounded
by braces since it contains no repeated indices. Nevertheless, there would be
no harm in writing {aki blj }.
The matrix (aki blj eji
lk ) is decomposable. That is to say
Y c = (AXB 0 )c
(34)
= (B ⊗ A)X c .
(35) (ytj ejt ) = µ(ejt ) + (ejtt )(γt et ) + (ejjt )(δj ej ) + (εtj ejt ).
Using the notation of the Kronecker product, this can also be rendered as
The latter can also be obtained by applying the rule of (34) to equation (23).
The various elements of (23) have been vectorised as follows:
6
1: MATRIX ALGEBRA
In comparing (35) and (36), we see, for example, that (ejtt ) = (ej ) ⊗ (ett ) =
ιM ⊗ IT . We recognise that (ett ) is the sum over the index t of the matrices
of order T which have a unit in the tth diagonal position and zeros elsewhere;
and this sum amounts, of course, to the identity matrix of order T .
The vectorised form of equation (25) is
y11 1 1 0 0 1 0 0 ε11
y21 1 0 1 0 1 0 0 µ ε21
y31 1 0 0 1 1 0 0 γ1
ε31
y12 1 1 0 0 0 1 0 γ2 ε
12
y22 = 0 1 0
(38) 1 0 1 0 γ3 + ε22 .
y32 1 0 0 1 0 1 0
δ1 ε32
y13 1 1 0 0 0 0 1 δ2 ε13
y23 1 0 1 0 0 0 1 δ3 ε23
y33 1 0 0 1 0 0 1 ε33