A rotation can be described actively (the object turns) or passively (the coordinate axes turn); Guth pictures it actively, though the passive view is easier to define. Rotating a vector keeps its components and rotates the basis vectors, ê′ⱼ = êᵢ Rᵢⱼ, so the new components are A′ᵢ = Rᵢⱼ Aⱼ, summed over j. For a counterclockwise turn by φ about the z axis, Rz(φ) has rows (cos φ, −sin φ, 0), (sin φ, cos φ, 0) and (0, 0, 1). With adjacent repeated indices and at most two indices per factor, index notation is just matrix multiplication. As an aside, the rotation by φ about any unit vector n̂ is Rᵢⱼ = δᵢⱼ cos φ + n̂ᵢn̂ⱼ(1 − cos φ) − εᵢⱼₖ n̂ₖ sin φ.
How do you describe the rotation of a vector in index notation? Guth answered this quickly at the end of a lecture, and his Lecture Notes 2 work it out properly (notes p. 1). The answer is one short formula, Ai′=RijAj, but getting there carefully shows how basisvectors, components and matrices fit together. (MIT's material for this lecture is Guth's three typed pages of notes; this page follows them in its own words, with its own worked examples.)
This section is this page's addition: the notes take the notation as known (the Kronecker delta and the Levi-Civita symbol appear only in the aside at the end), so here are the three pieces it needs. The components of a vector are labelled by an index i, j or k that runs over 1, 2, 3, standing for x, y, z. So the basisvectore^i is one of the unit vectorse^x, e^y, e^z of the last lecture, and Ai is one of the components Ax, Ay, Az.
Summation convention. An index that appears twice in one term is summed from 1 to 3, with no summation sign written. So Aje^j means Axe^x+Aye^y+Aze^z. A repeated index is a dummy: renaming it changes nothing. An index that appears once is free, and an equation with a free indexi holds for each value of i.
Levi-Civita symbol.ϵijk is +1 when (i,j,k) is (1,2,3) or a cyclic shift of it, (2,3,1) or (3,1,2); it is −1 for the other orders, (2,1,3), (1,3,2) and (3,2,1); and it is 0 when two indices are equal. It is the building block of the cross product in index notation.
A rotation can be described in two ways (notes p. 1). In an active rotation the object turns and the coordinate axes stay where they are. In a passive rotation the coordinate system turns and the object stays. Guth finds the active picture easier to visualise (picturing a turning object comes more naturally than picturing your own head going round), and the advantage grows when one rotation about one axis is followed by another about a different axis. So the notes, and this page, describe rotations actively.
He admits that the passive picture is easier to define rigorously (notes p. 1). Rotating the axes says nothing about the object. Rotating the object assumes that it can be turned without being changed in any other way, which is fine for something rigid but much less clear for something that flows, such as running water. So if someone asks what is really meant, the safe answer is a rotation of the coordinate system; the active language is a convenient way to think about it. The two are related simply: turning the object counterclockwise by an angle ϕ about the z axis changes its components exactly as turning the coordinate system clockwise by the same ϕ would, since only the position of the object relative to the axes matters.
Call the rotated vectorA′. The trick is to notice that rotating A is the same as keeping its expansion coefficients Aj and rotating the basisvectors under them (notes p. 1). If e^j′ is the basisvectore^j turned counterclockwise by ϕ about z, then
The rotated vector, same coefficients on rotated basis vectors
A′=Aje^j′
In words
vector capital A prime equals capital A sub j e prime hat sub j
This works because a rotation is linear: rotating a sum of arrows gives the sum of the rotated arrows, and rotating an arrow three times as long gives an arrow three times as long.
Seen from above, with the z axis out of the page, e^x turns by ϕ towards e^y, and e^y turns by ϕ towards −e^x; e^z lies on the axis and does not move.
e^x′e^y′
The basis vectors in the xy-plane before and after a counterclockwise rotation by 30° about the z axis, drawn from the components cos 30° and sin 30°. The grey arrows are the original unit vectors along the x and y axes; the coloured ones are the rotated unit vectors. The z axis points out of the page.
e prime hat sub x equals e hat sub x hat cos phi plus e hat sub y hat sine phi, e prime hat sub y equals minus e hat sub x hat sine phi plus e hat sub y hat cos phi, e prime hat sub z equals e hat sub z hat
All three equations have the same form: each rotated basisvector is a combination of the old ones. Collecting the coefficients in a matrixRij (notes p. 2):
Rotated basis vectors through the rotation matrix
e^j′=e^iRij
In words
e prime hat sub j equals e sub i hat capital R sub i j
As usual for a matrix, the first index (i) labels the rows and the second (j) the columns (notes p. 2). Comparing with Eq. (2.3), the column j of R holds the components of the rotated basisvectore^j′: the first column, (cosϕ,sinϕ,0), is e^x′.
Now put Eq. (2.4) into Eq. (2.2) (notes p. 2). This gives A′=Aje^iRij, and since the factors are just numbers and vectors multiplied together, they can be reordered:
The rotated vector in the old basis
A′=(RijAj)e^i
In words
vector capital A prime equals ( capital R sub i j capital A sub j ) e sub i hat
When the repeated indices sit next to each other, as the two j's do in Eq. (2.8), and no factor carries more than two indices, index notation is simply another way to write matrix multiplication (notes p. 3). Eq. (2.8) is the same statement as
capital A prime sub 1; capital A prime sub 2; capital A prime sub 3 equals capital R one one capital R one two capital R one three; capital R two one capital R two two capital R two three; capital R three one capital R three two capital R three three capital A one; capital A two; capital A three
where the row-times-column rule of matrix multiplication is exactly the sum over j. Index notation goes further than matrices, though: it handles objects with three or more indices, such as ϵijk, and sums over indices that are not adjacent, where no matrix picture exists.
Worked example
Turning a vector by 30° about the z axis
The vectorA has components (3,1,2). Rotate it counterclockwise by ϕ=30∘ about the z axis. Find the components of A′, and check that its length has not changed.
Write down the matrix
With cos30∘≈0.8660 and sin30∘=0.5, Eq. (2.5) gives the rows (0.8660,−0.5,0), (0.5,0.8660,0) and (0,0,1).
Apply A′ᵢ = Rᵢⱼ Aⱼ
Each component is a row of R times the column (3,1,2):
A1′=0.8660×3−0.5×1≈2.098,
A2′=0.5×3+0.8660×1≈2.366,
A3′=2.
So A′ is about (2.098,2.366,2): the part in the xy-plane has swung towards the y axis, and the z component is untouched.
Check the length
Before: 32+12+22=14. After: 2.0982+2.3662+22≈4.402+5.598+4=14.000. A rotation keeps lengths, as it must; in matrix language, the columns of R are perpendicularunit vectors, so R is an orthogonal matrix.
Guth adds, as an aside that will not be needed later in the course and will not be on exams, that Eq. (2.5) is easy to generalise to a rotation by ϕ about the direction of any unit vectorn^ (notes p. 3). Eq. (2.5) is the case n^=e^z, the z axis, so the idea is to rewrite it using only n^, δij and ϵijk, building blocks that do not single out any axis.
The diagonal elements come first. On the diagonal, Rz(ϕ) has cosϕ, cosϕ and 1, and the last of these equals cosϕ+(1−cosϕ). The extra (1−cosϕ) appears only in row 3, column 3, which for n^=e^z is the one place where n^in^j is not zero (notes p. 3):
The off-diagonal elements are less obvious. They must give R21=−R12=sinϕ and nothing anywhere else. An antisymmetric pair like this is what the Levi-Civita symbol provides, and with a little thought the whole rotation can be written as (notes p. 3)
capital R ( n hat, phi ) sub i j equals delta sub i j cos phi plus n hat sub i n hat sub j the quantity 1 minus cos phi, all minus epsilon sub i j k n hat sub k sine phi
For n^=e^z the last term is −ϵij3sinϕ, which gives R12=−ϵ123sinϕ=−sinϕ and R21=−ϵ213sinϕ=sinϕ, and nothing else, since ϵij3vanishes when i or j is 3 or when i=j. So Eq. (2.10) reproduces Eq. (2.5) for rotations about z (notes p. 3).
Why should it then hold for any axis? Any other rotation is just this one seen in a rotated coordinate system. Guth's argument needs a little more about rotational invariance than the course covers (notes p. 3): both sides of Eq. (2.10) change in the same way under rotations, that is, they behave as tensors. An equation between tensors that is true in one coordinate system, here the one whose z axis is the rotation axis, is then true in every rotated system, where n^ points in an arbitrary direction.
Worked example
A third of a turn about the diagonal
Use Eq. (2.10) to find the matrix of a rotation by ϕ=120∘ about the diagonal axis n^=(1,1,1)/3, and apply it to A=(3,1,2).
The three ingredients
cos120∘=−1/2 and sin120∘=3/2. Every n^in^j is 1/3, so the middle term is 31×23=21 for every i and j. In the last term, n^ksinϕ=31⋅23=21 for each k, so it is −21ϵijk summed over k.
Assemble the matrix
Diagonal: −21+21=0. Off the diagonal only one k contributes: R12=21−21ϵ123=0 and R21=21−21ϵ213=1; in the same way R23=R31=0 and R32=R13=1. So R has rows (0,0,1), (1,0,0) and (0,1,0).
What it does
By Eq. (2.4) the columns are the rotated basisvectors: e^x′=e^y, e^y′=e^z, e^z′=e^x. The rotation carries the x axis to y, y to z and z to x, as a third of a turn about the diagonal should. Each row sums to 1, so Rn^=n^: the axis stays put. For A=(3,1,2), Ai′=RijAj gives (A3,A1,A2)=(2,3,1), again of length 14.
A rotation can be active (the object turns) or passive (the axes turn). Guth pictures it actively; the passive version is easier to define. A counterclockwise active rotation by ϕ matches a clockwise rotation of the axes by ϕ.
Rotating A=Aje^j keeps the coefficients and rotates the basis: A′=Aje^j′ with e^j′=e^iRij, so the new components are Ai′=RijAj.
For a counterclockwise rotation about z, Rz(ϕ) has rows (cosϕ,−sinϕ,0), (sinϕ,cosϕ,0), (0,0,1); column j holds the components of e^j′.
With adjacent repeated indices and at most two indices per factor, index notation is matrix multiplication.
As an aside, the rotation by ϕ about any unit vectorn^ is Rij=δijcosϕ+n^in^j(1−cosϕ)−ϵijkn^ksinϕ, true for every axis by an argument the notes only sketch: both sides behave as tensors.
A set of independent vectors from which every vector in a space can be built, in exactly one way, as a combination. Explained in Independence, basis and dimension.
A rectangular table of numbers, which acts on vectors to give new ones and so describes a linear change of coordinates. Explained in Planes through three points, and matrices.
An index that appears once in each term of an equation and is not summed, so the equation holds for each of its values. Explained in Spacetime and the geometric viewpoint.
A way of multiplying two vectors that gives a number: multiply matching components and add, or lengths times the cosine of the angle between them. Explained in Vectors and the dot product.
A way of multiplying two vectors that gives a third vector, at right angles to both, as long as the area of their parallelogram. Explained in Torque and the cross product.
Of a relation or equation: using only first powers of the unknowns, so doubling the cause doubles the effect and effects simply add. Explained in Solving and rearranging formulas.
A square matrix whose columns are perpendicular unit vectors; it rotates or reflects without changing lengths, and its inverse is its transpose. Explained in Orthogonal matrices and Gram–Schmidt.
In a square matrix, the entries running from the top left corner to the bottom right; a diagonal matrix has zeros everywhere else. Explained in The four fundamental subspaces.
Changing sign when two things are swapped, or when a shape or function is reflected; an antisymmetric matrix equals minus its transpose. Explained in Eigenvalues and eigenvectors.
Einstein's 1915 theory of gravity, in which mass and energy curve spacetime and freely falling bodies follow the straightest possible paths through it. Explained in The equivalence principle and metrics.
Free to be chosen as one likes; any choice gives a correct result.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).