Vismo · Create · Explore · Topics · Guides · Pricing

Metric Tensor: How Space Measures Distance

An intuitive walkthrough of the metric tensor, starting from a ruler and the Pythagorean theorem, then showing why distorted or curved coordinate grids need a more general rule. Basis vectors and their dot products are built up visually to define g_ij, culminating in the cylindrical coordinate metric where the ρ² term explains why angular steps stretch into larger physical distances. Useful for students beginning general relativity or differential geometry.

16:9 · Preview before teaching · automatic layout checks do not establish subject accuracy

The prompt that made it

Create a beginner-friendly visual titled: “1(d) — Metric Tensor: How Does Space Know How Long Something Is?” Follow the MASTER INSTRUCTION. Scene 1 — ruler Show a ruler measuring a physical distance. Ask: “How do we know this line is 5 cm long?” Answer: “We need a rule for measuring distance.” Scene 2 — Pythagorean theorem Draw a tiny right triangle. Horizontal side = dx Vertical side = dy Diagonal = ds Visually show: ds² = dx² + dy² Explain: “The Pythagorean theorem is a very simple metric.” Scene 3 — Change the coordinate system Replace the normal square grid with a distorted/slanted grid. Draw two basis arrows that are not perpendicular. Explain: “Now the old Pythagorean rule cannot simply be used with the coordinate numbers.” Scene 4 — Ask the geometry questions The metric needs to know: How long is direction 1? How long is direction 2? How much do directions 1 and 2 overlap? Show these visually as arrows and projections. Scene 5 — Introduce the metric Only now write: gij = ei · ej Explain: “The metric is a table containing all the dot products between the basis directions.” Scene 6 — Cylindrical coordinates Show: radial movement → dρ angular movement → ρdφ vertical movement → dz Build a 3D Pythagorean picture: ds² = dρ² + ρ²dφ² + dz² Then display: g = [1 0 0] [0 ρ² 0] [0 0 1] Make the matrix visually secondary. Point to ρ² and say: “This number is here because an angular step becomes a longer physical distance when you move farther from the axis.” End: Metric tensor = the coordinate system's measuring rule for distance and angles.

Make your own version

Make the next one in this series

Related animations

Polygon Similarity Versus Triangle Similarity
Polygon Similarity Versus Triangle Similarity

This animation compares how similarity is defined for general polygons versus triangles. It shows that similar…

Why the area of a circle is pi r^2
Why the area of a circle is pi r^2

A circle is sliced into 16 equal sectors, then unfolded and reassembled into a shape resembling a rectangle wi…

Pythagorean Theorem With A 3-4-5 Triangle
Pythagorean Theorem With A 3-4-5 Triangle

A right triangle with legs 3 and 4 units and hypotenuse 5 units is drawn on screen, with squares built on each…

Why a² + b² = c²: rearrange four triangles
Why a² + b² = c²: rearrange four triangles

Two identical large squares each contain four congruent right triangles arranged differently. In one square th…

Constructing An Equilateral Triangle With Compass
Constructing An Equilateral Triangle With Compass

This animation demonstrates the classical ruler-and-compass method for constructing an equilateral triangle wi…

Drawing A Line Segment With A Ruler
Drawing A Line Segment With A Ruler

This animation demonstrates how to construct a line segment of exact length using a ruler, a foundational skil…