



























Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!




























Babak Majidzadeh Garjani
1.1 Introduction
While developing his Theory of General Relativity, Einstein confronted with lots of expressions containing sigma symbols, each referring to a sum over a certain index (subscript or superscript). He soon realized that in all the expres- sions appeared in his calculations a nice pattern is going on—corresponding to any index that is repeated exactly twice, a sigma symbol referring to the sum over that index was present. Hence, as is explained in the next section, he set up a very simple rule letting him to get rid of writing all those boring sigma symbols over and over again, In preparing these notes I have benefited from the textbooks [SS08] and [Kay11].
1.2 Summation Convention
The rule that Einstein invented is to allow the repeated index to become itself the designation for the summation over that particular index. This rule is what is referred to as the Einstein summation convention in the literature. For example, the expression
a 1 x 1 + a 2 x 2 + · · · + aN xN ,^ (1.1)
which traditionally is denoted by
∑^ N
i=
ai xi ,^ (1.2)
is now simply written as
ai xi.^ (1.3)
Repeated index i indicates the sum over i making it unnecessary to write the symbol
i explicitly. The only ambiguity in the the expression above is that the range of the index i is not clear. More rigorously, one should write:
ai xi ,^ (1 6 i 6 N ) ,^ (1.4)
but this is almost never necessary, since all the indices run from one till, a priori, specified number. In these notes, I reserve letter N to denote this maximum
1.2. Summation Convention 3
I did the sum over i first followed by the sum over j. Of course, it could have been done the other way around with the same result.
One point that is good to note and it is clearly seen in the last two examples is that after writing an expression in its full form, no dummy index would be present in the outcome anymore and we get an expression that depends only on free index or indices. This point could be very helpful to detect blunders in our calculations, somewhat similar to dimensional analysis of physical equations. Based on this similarity, let us call this rule the free index analysis rule. For in- stance, employing this rule, it is readily seen that the equation xnyn = aijkbicj is not a consistent one and, if this equation is a product of our calculations, we realize that there should be some mistake somewhere. The reason is as follows. On the left hand side n is the dummy index and after being summed over we get an expression that is not dependent on any index, while on the right hand side after the expression is summed over two dummy indices i and j, we are left with an expression that depends on the free index k. Thus, from free indices point of view this equation is not consistent.
Example 1.4. Let A with entries aij , B with entries bij , and C with entries cij be m × n, n × p, and m × p matrices, respectively, such that C = AB. From elementary linear algebra we know that for any 1 6 i 6 m and any 1 6 j 6 p, we have
cij =
∑^ n
k=
aikbkj.
Using summation convention, the formula above is written simply as
cij = aikbkj.^ (1.5)
Example 1.5. Consider the expression ai (xi + yi) written using the summa- tion convention for N = 3. Here the index i has occurred in three positions, seemingly in violation with the rule stated above. However, xi +yi is a two-term expression depending on only one index, namely i, and it can be considered as a new variable depending only on one index i, say zi := xi + yi. Hence, ai (xi + yi) can be regarded as ai zi, in accordance with the specified rule of the game. Thus,
ai (xi + yi) = ai zi = a 1 z 1 + a 2 z 2 + a 3 z 3 = a 1 (x 1 + y 1 ) + a 2 (x 2 + y 2 ) + a 3 (x 3 + y 3 ).
Hence the expression ai (xi + yi) is meaningful and it is equal to the expression on the last line above. Interestingly, one can continue the calculations above in the following way:
ai (xi + yi) = a 1 (x 1 + y 1 ) + a 2 (x 2 + y 2 ) + a 3 (x 3 + y 3 ) = a 1 x 1 + a 1 y 1 + a 1 x 1 + a 1 y 1 + a 1 x 1 + a 1 y 1 = (a 1 x 1 + a 2 x 2 + a 3 x 3 ) + (a 1 y 1 + a 2 y 2 + a 3 y 3 ) = ai xi + ai yi ,
4 Chapter 1. The Einstein Summation Convention
where in the last line above, each expression in the brackets has been re-written again using the summation convention and, consequently,
ai (xi + yi) = ai xi + ai yi ,^ (1.6)
which does not seem that unexpected, because of the distributive law. One point that worth mentioning is that, since the index i on the right hand side of Equation (1.6) is a dummy index, in each of the two terms appeared, i can be relabeled to any other letter if needed. For example:
ai (xi + yi) = aj xj + ak yk ,
is also a valid formula.
Remark 1.6. There might be a delicate pitfall in using the distributive law in expressions written using summation convention. This is made clear in the next example.
Example 1.7. Write out the expressions aij (xi + yj ) and aij xi + aij yj in their full form for N = 2 and compare the outcomes. Are they equal?
Solution. The expression xi + yj depends on two indices i and j. Introducing zij := xi + yj , we have§
aij (xi + yj ) = aij zij
i=
j=
aij zij
i=
(ai 1 zi 1 + ai 2 zi 2 )
= (a 11 z 11 + a 12 z 12 ) + (a 21 z 21 + a 22 z 22 ) = a 11 (x 1 + y 1 ) + a 12 (x 1 + y 2 ) + a 21 (x 2 + y 1 ) + a 22 (x 2 + y 2 ).
On the other hand, in aij xi the summation is only over i and in aij yj the summation is only over j. Thus
aij xi + aij yj = (a 1 j x 1 + a 2 j x 2 ) + (ai 1 y 1 + ai 2 y 2 ) ,
which is different form the last expression. Thus the expressions are not equal and the distribution is not allowed in this case. Of course, you don’t need to go that long to see the distributive law is not valid in this case. All that one need to note to see this, is exploiting the free index analysis rule. In aij (xi + yj ) = aij zij there is no free index, but in aij xi, j is the free index and in aij yj , i is the free index. So from the free index point of view, the distributive law gives rise to inconsistency and, therefore, one immediately sees that it is not valid in this case. As another example, based on the few lines mentioned above, one can also see that
aij (xi + yi)zj = aij xizj + aij yizj ,
§In contrast to Example 1.3, the sum over j is done first this time.
6 Chapter 1. The Einstein Summation Convention
the last line, one is left with aiaj , but in aiaj no index is repeated and, hence, no sum is induced, as one demands. Once more, we can use the same trick as in the last example by introducing a set of index-valued parameters αi such that αi := 1 for all i in the index range. Then
(a 1 + a 2 + · · · + an)^2 = (a 1 α 1 + a 2 α 2 + · · · + anαn)^2 = (aiαi)^2 = (aiαi)(aj αj ) = αiαj aiaj.
Note that now, because α’s are all assumed to be equal to one, any term αiαj aiaj is equal to aiaj , so from the value-of-the-sum point of view, the two expressions coincide and, on the other hand, the repetition of indices i and j in αiαj aiaj induces the sums over i and j as desired. So we are done.
Example 1.10. Write down the equation yi = aij xj in its full form for N = 3.
Solution. Firstly, it is seen that the given equation is consistent with the free index rule, and i is the free index that takes on any value in the index range, { 1 , 2 , 3 } in this case. Thus, this equation actually represents three equations y 1 = a 1 j xj , y 2 = a 2 j xj , and y 3 = a 3 j xj , one for each value of the free index i. In each equation, j is appeared twice and it is the dummy index and, therefore, any one of these equations can be written in its full form. Hence, the single equation yi = aij xj is the representative of the following system of three simultaneous equations:
y 1 = a 11 x 1 + a 12 x 2 + a 13 x 3 (1.7) y 2 = a 21 x 1 + a 22 x 2 + a 23 x 3 (1.8) y 3 = a 31 x 1 + a 32 x 2 + a 33 x 3 ,^ (1.9)
in this case.
Remark 1.11. The letter used for a free index in an equation written using summation convention can be replaced by any other letter, except the letters used for dummy indices, provided that it is replaced by the new letter everywhere on both sides of the given equation, since, as it is clear in the last example, an equation with a free index should be interpreted as being valid for all possible choices of the free index (indices). Thus, for example, yi = aij xj can be equally written as yk = akj xj.
Before moving on, using the last example, let me illustrate one point here. Assume that yi = aij xj is fulfilled, that is, Equations (1.7), (1.8), and (1.9) are simultaneously satisfied. Suppose that, for some possible reason, we need to multiply both sides of yi = aij xj by an expression that depends on an index. We want to see whether or not we are allowed to do that in the first place, namely, whether or not we end up with equation(s) that is(are) also valid after multiplication§, and if positive, we want to know what the correct
§For example, by now, it should be clear for you that from yi = aij xj , when summation convention is supposed, one cannot deduce that yi/aij = xj , even if we know that none of the aij ’s is zero. That is, one should be careful about, seemingly, trivial algebraic manipulations like division and multiplication on the equations written in their summation convention form.
1.2. Summation Convention 7
interpretation of the resultant equation would be. A proiori, one thing is clear. We cannot multiply both sides by something that depends on the dummy index j, otherwise, on the right hand side we would have a single-term expression in which the index j is repeated more than two times, in contrast to the rule of the game. Thus, we consider other two possibilities, namely, one in which we multiply both sides with something that depends on an index other than the free index i, and one in which we multiply both sides with something that depends on the free index i. As I explain shortly, we are allowed to do both and they give rise to consistent and valid equation(s). One only need to interpret the resultant equation in a correct way in each case. First assume that we multiply both sides by, say zk, which includes a new, therefore free, index k. We get
zkyi = zkaij xj ,^ (1.10)
with two free indices i and k. Thus, it is the short form of nine (= 3 × 3) equations, each associated with a particular choice of index i and a particular choice of index k both chosen from the set { 1 , 2 , 3 }. Thus, Equation (1.10) is valid if and only if these nine equations are mathematical implications of simultaneous Equations (1.7), (1.8), and (1.9). I intend to convince you that this is really the case by doing and explicit calculation for a particular case, which of course is a good representative of other cases as well. To this end, I choose, say 3, for k and, say 2, for i. Equation (1.10) then reads
z 3 y 2 = z 3 a 2 j xj.^ (1.11)
To prove that this is a valid equation, we multiply both sides of Equation (1.8) by z 3 , that is
z 3 y 2 = z 3 a 21 x 1 + z 3 a 22 x 2 + z 3 a 23 x 3 ,
but the right hand side of the equation above is precisely the full form of the expression on the right hand side of Equation (1.11). In short, for the general case that the index range is { 1 , 2 ,... , N }, if you are given a valid equation in the summation convention format, you are allowed to multiply both sides of the given equation by an expression that introduces a new free index and it gives rise to [N × #(of original equations)] consistent and valid equations. Now we want to see what happens if we multiply both sides of the given equation by an expression depending on an already-existing free index. Let us check this for the case of our example, which of course highlights the main points for any similar case. Suppose that we multiply both sides of the sup- posedly valid equation yi = aij xj by something, say ti, that depends on the already-existing free index i. This gives
tiyi = tiaij xj.^ (1.12)
Note that the index i, which used to be a free index, becomes a dummy index because now it is repeated exactly twice on each side. In other words, the new equation does not contain any free index on either side—consistent with the free index rule—and, therefore, it represents only one equation rather than three that the original equation yi = aij xj was representing. On the other
1.2. Summation Convention 9
For the next part, first note that
aji = sin(j − i) = sin[−(i − j)] = − sin(i − j) = −aij.
Now let Y := aij xixj and calculate 2Y as follows:
2 Y = Y + Y = aij xixj + aji xixj = (aij + aji)xixj = 0xixj (Using the relation above.) = 0.
In the solution above, I have used the distributivity law to write
aij xixj + aji xixj = (aij + aji)xixj ,
which in this case, by free index analysis rule, is valid.
Example 1.13. Let M = gij yizj , yi = aij xj , and zi = bij xj. Express M in terms of x variables.
Solution. The essence of this problem is pretty obvious. This is a simple sub- stitution problem. The only thing that one needs to do is to substitute the expressions for y and z, given in the last two equations, into the equation for M. The only thing that one should be careful about is not mixing up the in- dices. This is how different equations related to a single problem really appears in the literature—usually the same set of indices is employed for expressing dif- ferent equations appearing in a given problem. In our problem, for example, all indices are i and j. So if one just naively substitute the given expression for, say yi, directly into the equation for M and writes M = gij aij xj zj , she is violating the rule of the game—index j is repeated four times and it is not allowed. So the only thing that one should care here is sticking to the rules. To this end, since both i and j in the expression for M are dummy indices, one can equivalently write
M = gmn ymzn.
Now
yi = aij xj ⇒ ym = amj xj ,
and by changing the dummy index j to, say p, we get
ym = amp xp.
Similarly,
zn = bnq xq.
10 Chapter 1. The Einstein Summation Convention
Substituting these last two expressions for ym and zn in to the above expression for M , we get
M = gmnampbnq xpxq.
If you like, you can switch back to the old indices i and j, but these are not enough anymore and as you see from the last expression for M you need four dummy indices now.
Before finishing this chapter, let us introduce a simple but handy notion.
Definition 1.14. The Kronecker delta is denoted by δij and it is defined by
δij =
0 , i 6 = j 1 , i = j
Example 1.15. According to the definition above, δ 12 = 0 and δ 22 = 1.
Example 1.16. Consider the identity matrix In of order n, that is, the di- agonal matrix with all diagonal elements equal to one. Then, apparently, the (ij)th entry of this matrix is δij. Hence, this matrix can be written as
In = [δij ]n×n.^ (1.16)
Example 1.17. For a given value of N , determine δii.
Solution. If you naively write δii = 1, based on the argument that i = i for any value of i and, therefore, δii = 1 by its definition, then you have made a mistake. In this context, that we are dealing with summation convention, the index i in δii is a dummy index, since it is repeated two times and, thus, a sum over i is to be understood. So the correct answer is the following:
δii = δ 11 + δ 22 + · · · + δnn = 1 + 1 + · · · + 1 = N.
Example 1.18. For a given value of N , simplify aiδij.
Solution. Here i is the dummy index and j is the free one, which can take any value in the index range { 1 , 2 ,... , N }. Therefore, for a fixed value of j, one gets
aiδij : =
i=
aiδij
= a 1 δ 1 j + a 2 δ 2 j + · · · + aj− 1 δj− 1 ,j + aj δjj + aj+1δj+1,j + · · · + aN δN j = a 1 × 0 + a 2 × 0 + · · · + aj− 1 × 0 + aj × 1 + aj+1 × 0 + · · · + aN × 0 = aj.
For the general rule, look at the next remark.
12 Chapter 1. The Einstein Summation Convention
Example 1.23. Let A = [aij ]n×n be an invertible matrix with inverse A−^1 so that
AA−^1 = In ,^ A−^1 A = In.^ (1.17)
Therefore, from the first equation above and Equations (1.5) and (1.16), for any 1 6 i, j 6 n:
[AA−^1 ]ij = [In]ij ⇒ [A]ik[A−^1 ]kj = δij ,
or, denoting [A]ik by aik as usual and denoting [A−^1 ]kj by a− kj^1 , we get
aika− kj^1 = δij.^ (1.18)
It is important to note that a− kj^1 denotes the (kj)th entry of the inverse matrix
A−^1 not the reciprocal of the (kj)th entry of the matrix A, that is, a− kj^1 6 = 1/akj in general. Similarly, using the other equation in (1.17) and the same explanations for the notations used, we get
a− ik^1 akj = δij.^ (1.19)
Example 1.24. Let A = [aij ]n×n be an invertible matrix, and let aij xj = yi. Determine xj , for any 1 6 j 6 n, in terms of y variables.
Solution. We multiply both sides of the given equation by a− si^1 , the (si)th entry of A−^1. We get
a− si^1 (aij xj ) = a− si^1 yi , ⇒ (a− si^1 aij ) xj = a− si^1 yi , ⇒ δsj xj = a− si^1 yi , ⇒ xs = a− si^1 yi.
Relabeling s to j, if you wish, we get
xj = a− ji^1 yi.
2.1 Introduction
The goal of this chapter is to reproduce basic notions in vector algebra using the summation convention developed in Chapter 1. In this chapter we confine ourselves to the three-dimensional space. Hence N = 3 through this chapter, unless, otherwise, is mentioned explicitly. Sometimes, in this chapter, I use the word vector to refer to a quantity composed of three components in a particular order regardless of the transformation properties of its components. I use bold face letters to denote such quantities.
2.2 Dot Product
Definition 2.1. Let a = (a 1 , a 2 , a 3 ) and b = (b 1 , b 2 , b 3 ). The dot product of a with b is denoted by a · b and it is defined by
a · b := a 1 b 1 + a 2 b 2 + a 3 b 3 ,^ (2.1)
or, using summation convention, simply by
a · b = aibi.^ (2.2)
Remark 2.2. The outcome of a dot product is a number.
Definition 2.3. The norm of a = (a 1 , a 2 , a 3 ) is denoted by ‖a‖ or simply by normal face letter a and it is defined by
a = ‖a‖ :=
a^21 + a^22 + a^23 ,^ (2.3)
or, using summation convention, simply by
a =
aiai.^ (2.4)
Therefore, a^2 = aiai.
2.3 Cross Product
Definition 2.4. Let a = (a 1 , a 2 , a 3 ) and b = (b 1 , b 2 , b 3 ). The cross product of a with b is denoted by a × b and it is defined by
a × b := (a 2 b 3 − a 3 b 2 , a 3 b 1 − a 1 b 3 , a 1 b 2 − a 2 b 1 ).^ (2.5)
2.3. Cross Product 15
values of i. I do it for i = 1, the other cases are precisely similar. Expanding the right hand side of Equation (2.8) for i = 1, we get
∑^3
j=
k=
ε 1 jk aj bk = ε 111 ︸︷︷︸ 0
a 1 b 1 + ε 112 ︸︷︷︸ 0
a 1 b 2 + ε 113 ︸︷︷︸ 0
a 1 b 3
a 2 b 1 + ε ︸︷︷︸ 122 0
a 2 b 2 + ε ︸︷︷︸ 123
a 2 b 3
a 3 b 1 + ε 132 ︸︷︷︸ − 1
a 3 b 2 + ε 133 ︸︷︷︸ 0
a 3 b 3
= a 2 b 3 − a 3 b 2 ,
which is (a × b) 1.
Example 2.12. Let a = (a 1 , a 2 , a 3 ), b = (b 1 , b 2 , b 3 ), and c = (c 1 , c 2 , c 3 ). The expression a · (b × c) is called the scalar triple product of these vectors. Using summation convention, write the scalar triple product in terms of the components of its ingredient vectors.
Solution. First we use Equation (2.2) to write
a · (b × c) = ai(b × c)i ,
and then we use Equation (2.9) to write
(b × c)i = εijk bj ck.
Combining the last two equations gives
a · (b × c) = εijk aibj ck.^ (2.10)
Remark 2.13. From the Equation (2.10) and the cyclic property of Levi-Civita symbol one can deduce the cyclic property of the scalar triple product, namely
a · (b × c) = c · (a × b) = b · (c × a).^ (2.11)
Example 2.14. For any two vectors a and b, show that a · (a × b) = 0.
Solution. From elementary linear algebra you might remember that for any two vectors a and b, a × b is a vector perpendicular to both a and b, hence the dot product of a with a × b is zero, and we are done. To get skilled, let us show this in another way. Let x := a · (a × b), then by Equation (2.10), one can write:
x = εijk aiaj bk.
In the expression above both indices i and j are dummy, so simultaneously relabeling i to j and j to i gives:
x = εjik aj aibk = −εijk aiaj bk = −x.
Thus x = 0. In the second line above, aj ai = aiaj and εjik = −εijk has been used.
16 Chapter 2. Vector Algebra
Example 2.15. Let σ = (σ 1 , σ 2 , σ 3 ), where σ 1 , σ 2 , and σ 3 are Pauli matrices defined by
σ 1 =
, (^) σ 2 =
0 −i i 0
, (^) σ 3 =
Also let a = (a 1 , a 2 , a 3 ) and b = (b 1 , b 2 , b 3 ). (In this problem, when applicable, summation convention is always assumed to be the case.)
(i) For any i and j in { 1 , 2 , 3 }, show that {σi, σj } = 2 δij I, where I is the 2 × 2 identity matrix. For any two matrices A and B, {A, B} is called their anti-commutator and it is defined by {A, B} := AB + BA.
(ii) For any i and j in { 1 , 2 , 3 }, show that [σi, σj ] = 2i εijkσk, where i is the imaginary unit. For any two matrices A and B, [A, B] is called their commutator and it is defined by [A, B] := AB − BA. (iii) Show that
(σ · a)(σ · b) = a · b I + i σ · (a × b).^ (2.13)
Solution. (i) Writing {σi, σj } = 2 δij I in its expanded form we get
σiσj + σj σi = 2 δij I.^ (2.14)
As one can see, indices i and j are free and this equation corresponds to 3 × 3 = 9 equations. But, since {σi, σj } = {σj , σi}, one only needs to consider the following six cases (i, j) = (1, 1) , (2, 2) , (3, 3) , (1, 2) , (2, 3) , (3, 1) , which, in each case, showing the equality is a straightforward calculation for simple 2 × 2 matrices. Consider the first case i = j = 1, for example. Then for the right hand side (RHS) and left hand side (LHS) of the Equation (2.14), we have
RHS = 2 δ 11
and LHS = σ 1 σ 1 + σ 1 σ 1
=
Thus both sides are equal for this case. Showing this for other cases is similar and they are left to the reader.