Lesson 12 of 15
Christoffel Symbols
Christoffel Symbols
To differentiate a vector field on a manifold, we need a connection — a rule for comparing vectors at different points. The most natural choice for a Riemannian manifold is the Levi-Civita connection, encoded by the Christoffel symbols .
From the metric , the Christoffel symbols are:
where is the inverse metric.
Sphere Example
For the unit sphere with metric :
All others vanish. At :
Flat Space
On flat with , all Christoffel symbols vanish: .
Your Task
Implement christoffel(g_fn) that takes a metric function and returns a function at(point) that computes the array Gamma[k][i][j] = at that point.
Python runtime loading...
Loading...
Click "Run" to execute your code.