Intuition What this page is
The parent note gave you the rules. Here we
run those rules on every kind of input you can meet : rotations by nice and ugly angles, the
degenerate zero tensor, a limiting case where a coordinate blows up, symmetric vs antisymmetric
splits, a real-world word problem, and an exam twist. First we lay out a matrix of cases , then
we solve examples until every cell is ticked.
Before anything, a reminder of the two objects we keep using, in plain words:
Definition The two workhorses
A rotation matrix R turns the coordinate axes by an angle θ without stretching them.
In 2D, R = ( cos θ sin θ − sin θ cos θ ) . It is
orthonormal : its inverse equals its transpose, R − 1 = R ⊤ .
A rank-2 tensor T is a 2 × 2 (in 2D) grid of numbers that transforms by
T ~ = R T R ⊤ . The two R 's are the "one Jacobian per index" idea, and R ⊤
is the inverse Jacobian for a rotation.
Definition What "Jacobian" means here (plain words)
In general a Jacobian is the grid of partial derivatives ∂ x k ∂ x ~ i
that records "how much each new coordinate changes when an old coordinate wiggles" — it is the local
stretch/rotate factor of a coordinate change . On this
page every coordinate change is a pure rotation , and for a rotation that grid of derivatives is
simply the rotation matrix R itself (a rotation stretches nothing, it only turns). So wherever the
parent note says "one Jacobian per index," on this page read it as "one R per index," and its
inverse R − 1 is just R ⊤ .
Definition Index notation, in plain words (read this before the formulas)
A rank-2 tensor's entries carry two labels . We write T ij (or T ij , or the mixed
T i j ) where each of i , j runs over 1 , 2 in 2D. Think of i = row, j = column, so
T 11 is top-left, T 12 top-right, and so on.
A lower index (like T ij ) is called covariant ; an upper index (like T ij ) is
contravariant . In the Cartesian, rotation-only world of this page they have the same numbers
— the distinction only bites in curved/non-orthonormal coordinates (see Ex 6). We keep both
notations only because the parent note uses them.
The Einstein summation convention means: whenever the same index appears once up and once
down in a product, sum over it . So A ij V j silently means ∑ j A ij V j . No Σ
symbol is written; the repeated index is the instruction to add.
Example: tr T = T 1 1 + T 2 2 is just "add the two diagonal entries."
Definition The unit MPa (so the numbers mean something)
Our example tensors are stress tensors: each entry is a force per unit area (a pressure ). The
unit is the megapascal , 1 MPa = 1 0 6 Pa = 1 0 6 N/m 2 — roughly the
pressure of a 100 -tonne mass resting on one square metre. Diagonal entries are normal stresses
(push/pull straight onto a face); off-diagonal entries are shear stresses (drag sideways along a
face). MPa is the everyday engineering unit for how hard a material is being squeezed.
Everything a rank-2 tensor problem can throw at a first learner sorts into these cells. Each column
is a distinct kind of difficulty; the examples below are labelled with the cell(s) they cover.
Cell
Case class
What's tricky
Covered by
A
Symmetric tensor, "nice" rotation (4 5 ∘ )
diagonalising, principal axes
Ex 1
B
Symmetric tensor, "ugly" angle (3 0 ∘ )
messy cos , sin , invariants still hold
Ex 2
C
Antisymmetric tensor
off-diagonal only, what rotation does to it
Ex 3
D
Degenerate input: zero / isotropic tensor
is 0 or λ I a tensor?
Ex 4
E
Sign cases: negative & mixed-sign entries
tension vs compression, sign of trace/det
Ex 5
F
Limiting / blow-up coordinate (polar r → 0 )
metric degenerates, det g → 0
Ex 6
G
Real-world word problem
translate physics → tensor
Ex 7
H
Exam twist: quotient theorem / "is it a tensor?"
prove without brute force
Ex 8
The invariants we sanity-check on almost every example are the three numbers a rotation can
never change:
T = ( 3 1 1 3 ) MPa by θ = 4 5 ∘
Forecast first: the two 1 's are the shear . Guess: after a smart rotation, can the shear
vanish? If so, what fills the diagonal?
Step 1 — Write R for 4 5 ∘ .
=\frac{1}{\sqrt2}\begin{pmatrix}1&-1\\1&1\end{pmatrix}.$$
*Why this step?* $\cos45^\circ=\sin45^\circ=\tfrac{1}{\sqrt2}$; plug into the rotation template.
**Step 2 — Apply the rank-2 rule $\tilde T=RTR^{\top}$.**
$$RT=\frac{1}{\sqrt2}\begin{pmatrix}1&-1\\1&1\end{pmatrix}\begin{pmatrix}3&1\\1&3\end{pmatrix}
=\frac{1}{\sqrt2}\begin{pmatrix}2&-2\\4&4\end{pmatrix}.$$
*Why this step?* Each index of $T$ eats one rotation factor; matrix multiplication is exactly that
summation over the shared index.
**Step 3 — Multiply by $R^{\top}$.**
$$\tilde T=\frac{1}{\sqrt2}\begin{pmatrix}2&-2\\4&4\end{pmatrix}\cdot\frac{1}{\sqrt2}\begin{pmatrix}1&1\\-1&1\end{pmatrix}
=\begin{pmatrix}2&0\\0&4\end{pmatrix}.$$
*Why this step?* The second $R^{\top}$ rotates the *other* slot. Off-diagonals died → these are the
==principal axes==. (The eigenvalues $2,4$ now sit on the diagonal; which one lands top-left depends
on the rotation direction — here $45^\circ$ counter-clockwise puts $2$ first.)
![[deepdives/dd-maths-4.10.07-d3-s01.png]]
**Figure s01.** The purple ellipse is the "stress ellipse" of $T$; its two axes point along the
principal directions found in Step 3. The magenta arrow marks the axis with eigenvalue $4$, the
orange arrow the axis with eigenvalue $2$. Read it as: rotating the frame to line up with these
arrows is exactly what kills the off-diagonal shear.
**Verify:** $\operatorname{tr}T=3+3=6$ and $\operatorname{tr}\tilde T=2+4=6$ ✔.
$\det T=3\cdot3-1\cdot1=8$, $\det\tilde T=2\cdot4=8$ ✔. Eigenvalues of $T$: solve
$(3-\lambda)^2-1=0\Rightarrow\lambda=4,2$ — exactly the new diagonal. Units MPa throughout ✔.
T = ( 3 1 1 3 ) , now θ = 3 0 ∘
Forecast: at 3 0 ∘ we are not at the principal axes (those were at 4 5 ∘ ), so the
off-diagonal should be nonzero but the trace should still be 6 . Guess the new shear sign.
Step 1 — Exact numbers for 3 0 ∘ . Keep them exact:
cos 3 0 ∘ = 2 3 , sin 3 0 ∘ = 2 1 .
R = ( 2 3 2 1 − 2 1 2 3 ) .
Why this step? We keep surds (3 ) rather than decimals so the invariants come out as clean
integers at the end — "ugly angle" means irrational entries, not sloppier arithmetic.
Step 2 — Use the closed form for a symmetric 2 × 2 under rotation.
For T = ( a b b a ) ,
T ~ 11 = a + b sin 2 θ , T ~ 22 = a − b sin 2 θ , T ~ 12 = b cos 2 θ .
Why this formula holds (derivation): multiply out T ~ = R T R ⊤ with
R = ( c s − s c ) (writing c = cos θ , s = sin θ ) and a on both
diagonal entries of T . The top-left entry becomes
T ~ 11 = a c 2 + 2 b cs + a s 2 = a ( c 2 + s 2 ) + b ( 2 cs ) = a + b sin 2 θ , using
c 2 + s 2 = 1 and the double-angle identity 2 cs = sin 2 θ . Likewise T ~ 12 = b ( c 2 − s 2 ) = b cos 2 θ
(double-angle c 2 − s 2 = cos 2 θ ) and T ~ 22 = a − b sin 2 θ . That is why only 2 θ
appears — a rotation of the axes by θ rotates the stress pattern by 2 θ .
With a = 3 , b = 1 , 2 θ = 6 0 ∘ : sin 6 0 ∘ = 2 3 , cos 6 0 ∘ = 2 1 .
Step 3 — Plug in the exact values.
\approx\begin{pmatrix}3.8660&0.5\\0.5&2.1340\end{pmatrix}\text{ MPa}.$$
*Why this step?* The exact form makes the trace obviously $6$; the decimals are only for reading off
sizes. The off-diagonal $\tfrac12$ is the leftover shear because $30^\circ$ isn't the principal angle.
**Verify (exact):** trace $=(3+\tfrac{\sqrt3}{2})+(3-\tfrac{\sqrt3}{2})=6$ ✔ (surds cancel).
$\det=(3+\tfrac{\sqrt3}{2})(3-\tfrac{\sqrt3}{2})-(\tfrac12)^2=9-\tfrac34-\tfrac14=8$ ✔.
Off-diagonal $\tfrac12\neq0$ confirms we are *not* on the principal axes — consistent with Ex 1.
Worked example Rotate the antisymmetric
A = ( 0 − 2 2 0 ) by any θ (use 6 0 ∘ )
Forecast: antisymmetric means A ij = − A j i . A guess worth testing: does an antisymmetric
tensor stay antisymmetric after rotation, and does the single number 2 survive?
Step 1 — Recall the split. Any tensor = 2 1 ( T + T ⊤ ) + 2 1 ( T − T ⊤ ) : symmetric +
antisymmetric. A is purely the antisymmetric part.
Why this step? Symmetry type is coordinate-independent, so rotation cannot leak A into a
symmetric piece — a strong prediction to test.
Step 2 — Show A ~ is antisymmetric first. With R orthogonal,
( R A R ⊤ ) ⊤ = R A ⊤ R ⊤ = R ( − A ) R ⊤ = − R A R ⊤ , so A ~ = − A ~ ⊤ .
Why this step? Proving the structure first tells us A ~ = ( 0 − c c 0 )
for a single number c ; we only need to find that one c .
Step 3 — Compute c explicitly. Write R = ( cos θ sin θ − sin θ cos θ )
and multiply out A ~ = R A R ⊤ . The top-right entry is
=\underbrace{(\cos\theta)(A_{12})(\cos\theta)}_{\text{from }R_{1\cdot},\,R^{\top}_{\cdot2}}
+\underbrace{(-\sin\theta)(A_{21})(-\sin\theta)}_{}
=A_{12}\cos^2\theta - A_{21}\sin^2\theta.$$
Because $A_{21}=-A_{12}$, this becomes $A_{12}\cos^2\theta+A_{12}\sin^2\theta=A_{12}(\cos^2\theta+\sin^2\theta)$.
Now the Pythagorean identity $\cos^2\theta+\sin^2\theta=1$ collapses it to $c=A_{12}=2$.
$$\tilde A=\begin{pmatrix}0&2\\-2&0\end{pmatrix}.$$
*Why this step?* Writing the entry term-by-term shows *exactly where* $\cos^2+\sin^2$ comes from — it
is the antisymmetry $A_{21}=-A_{12}$ turning a minus into a plus. The lone component is a rotational
**invariant** (the 2D "curl"/spin).
**Verify:** trace of any antisymmetric $2\times2$ is $0$: $0+0=0$ before and after ✔.
$\det A=0\cdot0-2\cdot(-2)=4$; $\det\tilde A=4$ ✔. Antisymmetry preserved ✔.
Worked example Is the zero tensor
0 a tensor? Is λ I frame-independent?
Forecast: guess whether ( 0 0 0 0 ) and ( 5 0 0 5 )
keep their form in every frame.
Step 1 — Zero tensor. 0 ~ = R 0 R ⊤ = 0 for every R .
Why this step? Multiplying anything by the zero matrix gives zero; the transformation law is
satisfied trivially, so 0 is a valid (rank-2) tensor.
Step 2 — Isotropic tensor T = λ I .
T ~ = R ( λ I ) R ⊤ = λ R R ⊤ = λ I .
Why this step? R R ⊤ = I by orthonormality; the scalar λ passes through. So a pure
"pressure" state (equal normal stress, no shear) looks the same on every rotated axis.
Figure s02. The purple circle is the stress "ellipse" of an isotropic tensor λ I — a
perfect circle because both eigenvalues are equal. The magenta pair of arrows is one frame; the
orange pairs are rotated frames. Notice every frame reads off the same radius in every direction:
that is what "same components in every frame" looks like.
Verify: with λ = 5 : trace = 10 both frames ✔; det = 25 both frames ✔; eigenvalues both
5 (repeated) ✔. Zero tensor: trace 0 , det 0 , invariant ✔.
T = ( − 4 0 0 6 ) MPa — one axis in compression, one in tension. Rotate 4 5 ∘ .
Forecast: negative on one axis (compression), positive on the other (tension). Guess: does the
4 5 ∘ frame create shear, and what is the sign of the trace/determinant?
Step 1 — Read the signs physically. − 4 = pushing in (compression), + 6 = pulling out (tension).
Trace = − 4 + 6 = 2 (net tension). det = − 24 < 0 : opposite signs ⇒ a saddle stress state.
Why "saddle"? When the two eigenvalues have opposite signs (equivalently det T < 0 ), the
material is being pulled apart along one principal axis while squeezed along the other — geometrically
the stress "surface" rises in one direction and falls in the perpendicular one, exactly the shape of a
Pringle/horse-saddle. It is the tensor signature of a mixed-sign state.
Step 2 — Rotate by 4 5 ∘ using the closed form (now b = 0 , but a 1 = a 2 ):
for diagonal ( p 0 0 q ) , T ~ = 2 1 ( p + q p − q p − q p + q ) .
With p = − 4 , q = 6 : T ~ = ( 1 − 5 − 5 1 ) MPa.
Why this step? Rotating away from the principal axes creates shear — the exact opposite of Ex 1.
The 4 5 ∘ direction feels the maximum shear 2 ∣ q − p ∣ = 5 MPa (sign depends on rotation
sense; magnitude 5 is what matters physically).
Verify: trace = 1 + 1 = 2 ✔ (matches). det = 1 − 25 = − 24 ✔ (sign preserved, still a saddle).
Eigenvalues of T ~ : 1 ± 5 = { 6 , − 4 } — same as original ✔.
Definition Raising an index with the metric (needed below)
The metric g ij turns an upper-index vector into its lower-index partner:
V i = g ij V j (sum over j ). To go the other way — lower to upper — you need the
inverse metric g ij , defined as the matrix inverse of g ij , i.e. the unique thing with
g ik g k j = δ j i . Then V i = g ij V j . This is the concrete meaning of "raising and
lowering indices" mentioned in the metric tensor note.
The catch: g ij only exists if g ij is invertible , which requires det g = 0 .
Worked example The polar metric
g ij = ( 1 0 0 r 2 ) as r → 0
Forecast: the metric encodes distance d s 2 = d r 2 + r 2 d θ 2 . Guess what goes wrong at the
origin r = 0 — is it a real hole in space, or just the coordinates failing?
Step 1 — Determinant of the metric. det g = 1 ⋅ r 2 − 0 = r 2 .
Why this step? det g is the area element r d r d θ ; if det g → 0 the coordinate
patch is degenerating (a whole circle of θ collapses to one point).
Step 2 — Take the limit r → 0 . det g → 0 , so g becomes non-invertible : the inverse
metric g ij defined just above no longer exists, and you cannot raise the θ index. The
angle θ is undefined at the origin. Here the upper-vs-lower distinction from the opening
definitions finally bites: V i = g ij V j needs an invertible g to run backwards.
Why this step? A metric must be invertible to define g ij ; failure here is a coordinate
singularity , not a curvature singularity — the flat plane is perfectly smooth at its centre.
Figure s03. The magenta curve is det g = r 2 plotted against radius r . It is a happy positive
parabola everywhere except at the violet dot r = 0 , where it touches zero. That single touch-point is
the coordinate singularity: the polar chart "pinches shut" at the origin — a full circle of θ
values all crowd into one point — even though the flat plane underneath is perfectly smooth there.
Verify: at r = 2 , det g = 4 > 0 (fine); at r = 0 , det g = 0 (degenerate) ✔. Compare Cartesian
g = δ ij : det = 1 everywhere — the plane itself has no problem, confirming the singularity
lives in the polar chart , matching the metric tensor story.
Worked example Moment-of-inertia tensor of a thin square plate
A thin flat plate has principal moments I x = 2 , I y = 8 kg⋅m 2 about its centre, no product
of inertia. Engineer mounts it rotated 3 0 ∘ . What is the product of inertia I x y felt
along the new axes?
Forecast: rotating away from principal axes should switch on a product of inertia. Guess its
rough size.
Step 1 — Model as a rank-2 tensor. I = ( I x 0 0 I y ) = ( 2 0 0 8 ) .
Why this step? Inertia obeys I ~ = R I R ⊤ — it is a rank-2 tensor (same machinery as
the stress cases D/E), so the closed forms derived in Ex 2 apply verbatim.
Step 2 — Off-diagonal formula for a diagonal tensor. From the Ex 2 derivation with b = 0 on the
original but distinct diagonal entries, the general diagonal-tensor result is
I ~ x y = 2 1 ( I x − I y ) sin 2 θ .
With 2 θ = 6 0 ∘ , sin 6 0 ∘ = 2 3 : I ~ x y = 2 1 ( 2 − 8 ) ⋅ 2 3 = − 2 3 3 ≈ − 2.598 kg⋅m 2 , i.e. magnitude 2.598 .
Why this step? This is exactly the shear-generation formula from Ex 5 in physics clothing.
Step 3 — New diagonal. I ~ xx = 2 I x + I y − 2 I y − I x cos 2 θ = 5 − 3 ( 0.5 ) = 3.5 ,
and I ~ y y = 5 + 1.5 = 6.5 kg⋅m 2 .
Why this step? Same closed form as Ex 2 with the average 2 I x + I y playing the role of
a ; the state splits into the average ± a rotated swing.
Verify: trace = 3.5 + 6.5 = 10 = 2 + 8 ✔ (invariant). det = 3.5 ⋅ 6.5 − 2.59 8 2 = 22.75 − 6.75 = 16 = 2 ⋅ 8 ✔.
Product of inertia magnitude ≈ 2.6 kg⋅m 2 is nonzero as forecast; units kg·m² throughout ✔.
A ij is a tensor given only that A ij V j is a vector for every covector V j
Forecast: you are not given how A transforms. Guess whether the behaviour of the output
forces the tensor law on A .
Step 1 — Name what we know. For every V j , the quantity U i = A ij V j (summed over j by the
Einstein convention) transforms as a contravariant vector:
U ~ i = ∂ x k ∂ x ~ i U k .
Why this step? The summation convention means A ij V j sums
over j ; the hypothesis is a statement about this contraction.
Step 2 — Write both sides in the new frame. U ~ i = A ~ ij V ~ j and also
U ~ i = ∂ x k ∂ x ~ i A k l V l . Using the covector rule
V l = ∂ x l ∂ x ~ m V ~ m , substitute and equate.
Why this step? We force the two expressions for the same physical vector U ~ i to agree.
Step 3 — Since V ~ j is arbitrary, coefficients match.
A ~ ij = ∂ x k ∂ x ~ i ∂ x l ∂ x ~ j A k l .
Why this step? "True for every V " kills the arbitrary factor and leaves precisely the
contravariant rank-2 transformation law — so A ij is a tensor. QED.
Verify (numeric sanity): take A = ( 3 1 1 3 ) and the covector
V = ( 1 , 0 ) , so U = A V = ( 3 , 1 ) . Now rotate by 9 0 ∘ with R = ( 0 1 − 1 0 ) .
Transforming the output directly gives U ~ = R U = ( − 1 , 3 ) . Transforming the pieces instead:
A ~ = R A R ⊤ = ( 3 − 1 − 1 3 ) and V ~ = R V = ( 0 , 1 ) , so
A ~ V ~ = ( − 1 , 3 ) . The two routes give the same U ~ = ( − 1 , 3 ) ✔ — exactly what the
quotient theorem promises: transforming before or after the contraction agrees, so A must be a tensor.
Recall Self-test
Why does tr T survive any rotation? ::: Because R T R ⊤ is a similarity transform and trace is invariant under similarity (the Jacobians contract to δ ).
At a 4 5 ∘ rotation of a diagonal tensor, what is the induced shear magnitude? ::: 2 1 ∣ q − p ∣ , the maximum shear — off-axis rotations create off-diagonals.
Is det g → 0 in polar as r → 0 a real singularity? ::: No — it's a coordinate singularity; the flat plane is smooth, only the polar chart degenerates.
T race, I nvariants, E igenvalues, D eterminant — the four things a rotation can never touch.