Lesson overview | Lesson overview | Next part
Manifolds: Part 1: Intuition
1. Intuition
Intuition develops the part of manifolds specified by the approved Chapter 25 table of contents. The treatment is geometry-first and AI-facing.
1.1 Why curved spaces need local coordinates
Why curved spaces need local coordinates belongs to the canonical scope of Manifolds. The goal is to make curved-space reasoning concrete enough for ML practice without turning the section into a pure topology course.
Working scope for this subsection: smooth manifolds, charts, atlases, tangent spaces, differentials, tangent bundles, embedded submanifolds, and ML manifold intuition. The recurring pattern is localize, linearize, measure, move, and return to the manifold.
Operational definition.
A chart turns a neighborhood of a curved space into coordinates in Euclidean space; an atlas is a compatible collection of such charts.
Worked reading.
On the unit circle, angle gives local coordinates except where a single global angle chart breaks. Multiple patches avoid artificial singularities.
| Geometric object | Meaning | AI interpretation |
|---|---|---|
| Manifold | Curved space with local coordinates | Data manifold, latent space, constraint set, parameter space |
| Chart | Local coordinate map | Local representation or embedding coordinates |
| Tangent space | Linearized directions at | Local perturbations, gradients, velocities |
| Metric | Inner product on | Geometry-aware length, angle, steepest descent |
| Geodesic | Straightest curved-space path | Latent interpolation, shortest motion, curved optimization path |
| Retraction | Practical map from tangent step back to | Efficient constrained update in training loops |
Three examples of why curved spaces need local coordinates:
- Latitude-longitude patches on a sphere.
- Angle coordinates on a circle.
- Local PCA coordinates on a data cloud.
Two non-examples clarify the boundary:
- One global coordinate map with a seam treated as smooth.
- A point cloud with no neighborhood structure.
Proof or verification habit for why curved spaces need local coordinates:
The proof habit is to check transition maps between overlapping charts, not only individual parameterizations.
global object -> curved manifold or constraint set
local object -> chart, tangent space, or coordinate patch
linear operation -> derivative, gradient, velocity, Hessian approximation
geometric measure -> metric, length, distance, curvature
algorithmic move -> tangent step followed by geodesic or retraction
In AI systems, why curved spaces need local coordinates matters because learned representations and constrained parameter spaces are rarely globally flat. A local linear approximation may be useful, but it must be attached to the point where it is valid.
Local coordinates are the mathematical version of local representation learning: simple coordinates may exist nearby even when no global linear model exists.
Mini derivation lens.
- Choose a point on the manifold and name the local representation used near .
- Move the question into a chart, tangent space, or embedded constraint where first-order calculus is available.
- Compute the local object: derivative, tangent projection, metric-weighted gradient, path velocity, or retraction step.
- Translate the result back into coordinate-free language so the answer is not tied to one chart by accident.
- Check the invariant: the point remains on , the direction remains in , or the distance/gradient uses the stated metric.
Implementation lens.
A practical ML implementation should store both the ambient array representation and the geometric contract attached to it. For example, a normalized embedding is not just a vector; it is a point on a sphere. An orthogonal weight matrix is not just a matrix; it is a point on a Stiefel-type constraint. A covariance matrix is not just a symmetric array; it must stay positive definite.
The clean computational pattern is: encode the state, compute an ambient derivative if needed, convert it into a tangent or metric-aware object, take a small local step, and then return to the manifold with a geodesic formula or retraction. This is the same pattern used in the companion notebooks, just scaled down to visible two- and three-dimensional examples.
The important warning is that coordinate code can pass shape checks while still violating geometry. Differential geometry adds checks that are semantic: tangentness, smooth compatibility, metric choice, path validity, and constraint preservation.
Practical checklist:
- State the manifold and whether it is abstract, embedded, or quotient-like.
- State the local coordinates or tangent representation being used.
- Separate ambient vectors from tangent vectors.
- Name the metric before computing distances, angles, or gradients.
- Use geodesics or retractions when moving on the manifold.
- For ML claims, identify whether geometry is data geometry, parameter geometry, or statistical geometry.
Local diagnostic: Name the patch, coordinates, and transition map.
The companion notebook uses low-dimensional synthetic examples: circles, spheres, tangent projections, spherical interpolation, SPD matrices, and orthogonality constraints. These examples keep geometry visible while preserving the same update logic used in higher-dimensional ML systems.
| Compact ML phrase | Differential-geometric reading |
|---|---|
| local linearization | tangent-space approximation at a point |
| normalized embedding | point on a sphere with tangent constraints |
| natural gradient | Riemannian gradient under Fisher metric |
| orthogonal weights | point on a Stiefel-type manifold |
| latent interpolation | path that may need geodesic structure |
| covariance geometry | SPD manifold rather than arbitrary matrices |
A useful learning move is to compute everything first on a sphere. The sphere has visible curvature, simple tangent spaces, closed-form geodesics, and practical retractions. Once those are clear, Stiefel, Grassmann, SPD, and information-geometric examples become less mysterious.
For implementation, the main discipline is to avoid leaving the manifold silently. If a gradient step violates a constraint, either project the gradient into the tangent space before stepping or use a method whose update is intrinsic by design.
The final question for this subsection is whether a Euclidean formula is being used as an approximation, a coordinate expression, or a mistaken replacement for geometry. Differential geometry is the habit of telling those cases apart.
1.2 The manifold hypothesis in ML
The manifold hypothesis in ML belongs to the canonical scope of Manifolds. The goal is to make curved-space reasoning concrete enough for ML practice without turning the section into a pure topology course.
Working scope for this subsection: smooth manifolds, charts, atlases, tangent spaces, differentials, tangent bundles, embedded submanifolds, and ML manifold intuition. The recurring pattern is localize, linearize, measure, move, and return to the manifold.
Operational definition.
The manifold hypothesis says high-dimensional observations often concentrate near a lower-dimensional structure.
Worked reading.
Images may live in pixel space, but small semantic changes such as pose or lighting often vary along far fewer directions than the number of pixels.
| Geometric object | Meaning | AI interpretation |
|---|---|---|
| Manifold | Curved space with local coordinates | Data manifold, latent space, constraint set, parameter space |
| Chart | Local coordinate map | Local representation or embedding coordinates |
| Tangent space | Linearized directions at | Local perturbations, gradients, velocities |
| Metric | Inner product on | Geometry-aware length, angle, steepest descent |
| Geodesic | Straightest curved-space path | Latent interpolation, shortest motion, curved optimization path |
| Retraction | Practical map from tangent step back to | Efficient constrained update in training loops |
Three examples of the manifold hypothesis in ml:
- Autoencoder latent spaces.
- Embedding neighborhoods with low local rank.
- Diffusion trajectories following learned score geometry.
Two non-examples clarify the boundary:
- Uniform noise in every ambient direction.
- A dataset whose classes occupy disconnected structures but are forced into one manifold.
Proof or verification habit for the manifold hypothesis in ml:
Evidence is empirical, not theorem-level: estimate local dimension, reconstruction error, neighborhood stability, and tangent consistency.
global object -> curved manifold or constraint set
local object -> chart, tangent space, or coordinate patch
linear operation -> derivative, gradient, velocity, Hessian approximation
geometric measure -> metric, length, distance, curvature
algorithmic move -> tangent step followed by geodesic or retraction
In AI systems, the manifold hypothesis in ml matters because learned representations and constrained parameter spaces are rarely globally flat. A local linear approximation may be useful, but it must be attached to the point where it is valid.
This hypothesis motivates representation learning, dimensionality reduction, and geometry-aware generative modeling.
Mini derivation lens.
- Choose a point on the manifold and name the local representation used near .
- Move the question into a chart, tangent space, or embedded constraint where first-order calculus is available.
- Compute the local object: derivative, tangent projection, metric-weighted gradient, path velocity, or retraction step.
- Translate the result back into coordinate-free language so the answer is not tied to one chart by accident.
- Check the invariant: the point remains on , the direction remains in , or the distance/gradient uses the stated metric.
Implementation lens.
A practical ML implementation should store both the ambient array representation and the geometric contract attached to it. For example, a normalized embedding is not just a vector; it is a point on a sphere. An orthogonal weight matrix is not just a matrix; it is a point on a Stiefel-type constraint. A covariance matrix is not just a symmetric array; it must stay positive definite.
The clean computational pattern is: encode the state, compute an ambient derivative if needed, convert it into a tangent or metric-aware object, take a small local step, and then return to the manifold with a geodesic formula or retraction. This is the same pattern used in the companion notebooks, just scaled down to visible two- and three-dimensional examples.
The important warning is that coordinate code can pass shape checks while still violating geometry. Differential geometry adds checks that are semantic: tangentness, smooth compatibility, metric choice, path validity, and constraint preservation.
Practical checklist:
- State the manifold and whether it is abstract, embedded, or quotient-like.
- State the local coordinates or tangent representation being used.
- Separate ambient vectors from tangent vectors.
- Name the metric before computing distances, angles, or gradients.
- Use geodesics or retractions when moving on the manifold.
- For ML claims, identify whether geometry is data geometry, parameter geometry, or statistical geometry.
Local diagnostic: Ask whether the data are on, near, or only metaphorically described by a manifold.
The companion notebook uses low-dimensional synthetic examples: circles, spheres, tangent projections, spherical interpolation, SPD matrices, and orthogonality constraints. These examples keep geometry visible while preserving the same update logic used in higher-dimensional ML systems.
| Compact ML phrase | Differential-geometric reading |
|---|---|
| local linearization | tangent-space approximation at a point |
| normalized embedding | point on a sphere with tangent constraints |
| natural gradient | Riemannian gradient under Fisher metric |
| orthogonal weights | point on a Stiefel-type manifold |
| latent interpolation | path that may need geodesic structure |
| covariance geometry | SPD manifold rather than arbitrary matrices |
A useful learning move is to compute everything first on a sphere. The sphere has visible curvature, simple tangent spaces, closed-form geodesics, and practical retractions. Once those are clear, Stiefel, Grassmann, SPD, and information-geometric examples become less mysterious.
For implementation, the main discipline is to avoid leaving the manifold silently. If a gradient step violates a constraint, either project the gradient into the tangent space before stepping or use a method whose update is intrinsic by design.
The final question for this subsection is whether a Euclidean formula is being used as an approximation, a coordinate expression, or a mistaken replacement for geometry. Differential geometry is the habit of telling those cases apart.
1.3 Local Euclidean behavior vs global curvature
Local Euclidean behavior vs global curvature belongs to the canonical scope of Manifolds. The goal is to make curved-space reasoning concrete enough for ML practice without turning the section into a pure topology course.
Working scope for this subsection: smooth manifolds, charts, atlases, tangent spaces, differentials, tangent bundles, embedded submanifolds, and ML manifold intuition. The recurring pattern is localize, linearize, measure, move, and return to the manifold.
Operational definition.
A connection differentiates vector fields along curves while keeping the result tangent to the manifold; curvature measures how tangent spaces twist around loops.
Worked reading.
On a sphere, a tangent vector transported around a loop can rotate relative to its starting direction. That mismatch is curvature made visible.
| Geometric object | Meaning | AI interpretation |
|---|---|---|
| Manifold | Curved space with local coordinates | Data manifold, latent space, constraint set, parameter space |
| Chart | Local coordinate map | Local representation or embedding coordinates |
| Tangent space | Linearized directions at | Local perturbations, gradients, velocities |
| Metric | Inner product on | Geometry-aware length, angle, steepest descent |
| Geodesic | Straightest curved-space path | Latent interpolation, shortest motion, curved optimization path |
| Retraction | Practical map from tangent step back to | Efficient constrained update in training loops |
Three examples of local euclidean behavior vs global curvature:
- Levi-Civita connection.
- Covariant derivative of a velocity field.
- Curvature affecting geodesic spread.
Two non-examples clarify the boundary:
- Ordinary derivative of a tangent vector that leaves the tangent space.
- Curvature treated as only a visualization artifact.
Proof or verification habit for local euclidean behavior vs global curvature:
For a first course, focus on compatibility and projection intuition; full curvature tensors are preview material here.
global object -> curved manifold or constraint set
local object -> chart, tangent space, or coordinate patch
linear operation -> derivative, gradient, velocity, Hessian approximation
geometric measure -> metric, length, distance, curvature
algorithmic move -> tangent step followed by geodesic or retraction
In AI systems, local euclidean behavior vs global curvature matters because learned representations and constrained parameter spaces are rarely globally flat. A local linear approximation may be useful, but it must be attached to the point where it is valid.
Curvature affects interpolation, optimization stability, and how local neighborhoods scale.
Mini derivation lens.
- Choose a point on the manifold and name the local representation used near .
- Move the question into a chart, tangent space, or embedded constraint where first-order calculus is available.
- Compute the local object: derivative, tangent projection, metric-weighted gradient, path velocity, or retraction step.
- Translate the result back into coordinate-free language so the answer is not tied to one chart by accident.
- Check the invariant: the point remains on , the direction remains in , or the distance/gradient uses the stated metric.
Implementation lens.
A practical ML implementation should store both the ambient array representation and the geometric contract attached to it. For example, a normalized embedding is not just a vector; it is a point on a sphere. An orthogonal weight matrix is not just a matrix; it is a point on a Stiefel-type constraint. A covariance matrix is not just a symmetric array; it must stay positive definite.
The clean computational pattern is: encode the state, compute an ambient derivative if needed, convert it into a tangent or metric-aware object, take a small local step, and then return to the manifold with a geodesic formula or retraction. This is the same pattern used in the companion notebooks, just scaled down to visible two- and three-dimensional examples.
The important warning is that coordinate code can pass shape checks while still violating geometry. Differential geometry adds checks that are semantic: tangentness, smooth compatibility, metric choice, path validity, and constraint preservation.
Practical checklist:
- State the manifold and whether it is abstract, embedded, or quotient-like.
- State the local coordinates or tangent representation being used.
- Separate ambient vectors from tangent vectors.
- Name the metric before computing distances, angles, or gradients.
- Use geodesics or retractions when moving on the manifold.
- For ML claims, identify whether geometry is data geometry, parameter geometry, or statistical geometry.
Local diagnostic: Distinguish differentiating coordinates from differentiating geometric vector fields.
The companion notebook uses low-dimensional synthetic examples: circles, spheres, tangent projections, spherical interpolation, SPD matrices, and orthogonality constraints. These examples keep geometry visible while preserving the same update logic used in higher-dimensional ML systems.
| Compact ML phrase | Differential-geometric reading |
|---|---|
| local linearization | tangent-space approximation at a point |
| normalized embedding | point on a sphere with tangent constraints |
| natural gradient | Riemannian gradient under Fisher metric |
| orthogonal weights | point on a Stiefel-type manifold |
| latent interpolation | path that may need geodesic structure |
| covariance geometry | SPD manifold rather than arbitrary matrices |
A useful learning move is to compute everything first on a sphere. The sphere has visible curvature, simple tangent spaces, closed-form geodesics, and practical retractions. Once those are clear, Stiefel, Grassmann, SPD, and information-geometric examples become less mysterious.
For implementation, the main discipline is to avoid leaving the manifold silently. If a gradient step violates a constraint, either project the gradient into the tangent space before stepping or use a method whose update is intrinsic by design.
The final question for this subsection is whether a Euclidean formula is being used as an approximation, a coordinate expression, or a mistaken replacement for geometry. Differential geometry is the habit of telling those cases apart.
1.4 Charts atlases and coordinate patches
Charts atlases and coordinate patches belongs to the canonical scope of Manifolds. The goal is to make curved-space reasoning concrete enough for ML practice without turning the section into a pure topology course.
Working scope for this subsection: smooth manifolds, charts, atlases, tangent spaces, differentials, tangent bundles, embedded submanifolds, and ML manifold intuition. The recurring pattern is localize, linearize, measure, move, and return to the manifold.
Operational definition.
A chart turns a neighborhood of a curved space into coordinates in Euclidean space; an atlas is a compatible collection of such charts.
Worked reading.
On the unit circle, angle gives local coordinates except where a single global angle chart breaks. Multiple patches avoid artificial singularities.
| Geometric object | Meaning | AI interpretation |
|---|---|---|
| Manifold | Curved space with local coordinates | Data manifold, latent space, constraint set, parameter space |
| Chart | Local coordinate map | Local representation or embedding coordinates |
| Tangent space | Linearized directions at | Local perturbations, gradients, velocities |
| Metric | Inner product on | Geometry-aware length, angle, steepest descent |
| Geodesic | Straightest curved-space path | Latent interpolation, shortest motion, curved optimization path |
| Retraction | Practical map from tangent step back to | Efficient constrained update in training loops |
Three examples of charts atlases and coordinate patches:
- Latitude-longitude patches on a sphere.
- Angle coordinates on a circle.
- Local PCA coordinates on a data cloud.
Two non-examples clarify the boundary:
- One global coordinate map with a seam treated as smooth.
- A point cloud with no neighborhood structure.
Proof or verification habit for charts atlases and coordinate patches:
The proof habit is to check transition maps between overlapping charts, not only individual parameterizations.
global object -> curved manifold or constraint set
local object -> chart, tangent space, or coordinate patch
linear operation -> derivative, gradient, velocity, Hessian approximation
geometric measure -> metric, length, distance, curvature
algorithmic move -> tangent step followed by geodesic or retraction
In AI systems, charts atlases and coordinate patches matters because learned representations and constrained parameter spaces are rarely globally flat. A local linear approximation may be useful, but it must be attached to the point where it is valid.
Local coordinates are the mathematical version of local representation learning: simple coordinates may exist nearby even when no global linear model exists.
Mini derivation lens.
- Choose a point on the manifold and name the local representation used near .
- Move the question into a chart, tangent space, or embedded constraint where first-order calculus is available.
- Compute the local object: derivative, tangent projection, metric-weighted gradient, path velocity, or retraction step.
- Translate the result back into coordinate-free language so the answer is not tied to one chart by accident.
- Check the invariant: the point remains on , the direction remains in , or the distance/gradient uses the stated metric.
Implementation lens.
A practical ML implementation should store both the ambient array representation and the geometric contract attached to it. For example, a normalized embedding is not just a vector; it is a point on a sphere. An orthogonal weight matrix is not just a matrix; it is a point on a Stiefel-type constraint. A covariance matrix is not just a symmetric array; it must stay positive definite.
The clean computational pattern is: encode the state, compute an ambient derivative if needed, convert it into a tangent or metric-aware object, take a small local step, and then return to the manifold with a geodesic formula or retraction. This is the same pattern used in the companion notebooks, just scaled down to visible two- and three-dimensional examples.
The important warning is that coordinate code can pass shape checks while still violating geometry. Differential geometry adds checks that are semantic: tangentness, smooth compatibility, metric choice, path validity, and constraint preservation.
Practical checklist:
- State the manifold and whether it is abstract, embedded, or quotient-like.
- State the local coordinates or tangent representation being used.
- Separate ambient vectors from tangent vectors.
- Name the metric before computing distances, angles, or gradients.
- Use geodesics or retractions when moving on the manifold.
- For ML claims, identify whether geometry is data geometry, parameter geometry, or statistical geometry.
Local diagnostic: Name the patch, coordinates, and transition map.
The companion notebook uses low-dimensional synthetic examples: circles, spheres, tangent projections, spherical interpolation, SPD matrices, and orthogonality constraints. These examples keep geometry visible while preserving the same update logic used in higher-dimensional ML systems.
| Compact ML phrase | Differential-geometric reading |
|---|---|
| local linearization | tangent-space approximation at a point |
| normalized embedding | point on a sphere with tangent constraints |
| natural gradient | Riemannian gradient under Fisher metric |
| orthogonal weights | point on a Stiefel-type manifold |
| latent interpolation | path that may need geodesic structure |
| covariance geometry | SPD manifold rather than arbitrary matrices |
A useful learning move is to compute everything first on a sphere. The sphere has visible curvature, simple tangent spaces, closed-form geodesics, and practical retractions. Once those are clear, Stiefel, Grassmann, SPD, and information-geometric examples become less mysterious.
For implementation, the main discipline is to avoid leaving the manifold silently. If a gradient step violates a constraint, either project the gradient into the tangent space before stepping or use a method whose update is intrinsic by design.
The final question for this subsection is whether a Euclidean formula is being used as an approximation, a coordinate expression, or a mistaken replacement for geometry. Differential geometry is the habit of telling those cases apart.
1.5 Examples: sphere torus Stiefel Grassmann SPD matrices
Examples: sphere torus Stiefel Grassmann SPD matrices belongs to the canonical scope of Manifolds. The goal is to make curved-space reasoning concrete enough for ML practice without turning the section into a pure topology course.
Working scope for this subsection: smooth manifolds, charts, atlases, tangent spaces, differentials, tangent bundles, embedded submanifolds, and ML manifold intuition. The recurring pattern is localize, linearize, measure, move, and return to the manifold.
Operational definition.
Manifold optimization updates in a tangent space and maps the step back to the manifold with an exponential map or retraction.
Worked reading.
On the sphere, take a tangent gradient step and normalize. Normalization is a simple retraction because it returns to the sphere and agrees with the tangent direction to first order.
| Geometric object | Meaning | AI interpretation |
|---|---|---|
| Manifold | Curved space with local coordinates | Data manifold, latent space, constraint set, parameter space |
| Chart | Local coordinate map | Local representation or embedding coordinates |
| Tangent space | Linearized directions at | Local perturbations, gradients, velocities |
| Metric | Inner product on | Geometry-aware length, angle, steepest descent |
| Geodesic | Straightest curved-space path | Latent interpolation, shortest motion, curved optimization path |
| Retraction | Practical map from tangent step back to | Efficient constrained update in training loops |
Three examples of examples: sphere torus stiefel grassmann spd matrices:
- PCA on Grassmann manifolds.
- Orthogonal weights on Stiefel manifolds.
- Covariance learning on SPD manifolds.
Two non-examples clarify the boundary:
- Euclidean gradient descent followed by arbitrary clipping.
- A projection step that destroys the first-order update direction.
Proof or verification habit for examples: sphere torus stiefel grassmann spd matrices:
Check tangent feasibility, descent direction under the metric, and retraction properties.
global object -> curved manifold or constraint set
local object -> chart, tangent space, or coordinate patch
linear operation -> derivative, gradient, velocity, Hessian approximation
geometric measure -> metric, length, distance, curvature
algorithmic move -> tangent step followed by geodesic or retraction
In AI systems, examples: sphere torus stiefel grassmann spd matrices matters because learned representations and constrained parameter spaces are rarely globally flat. A local linear approximation may be useful, but it must be attached to the point where it is valid.
This turns constraints such as orthogonality, low rank, and positive definiteness into native geometry instead of penalties.
Mini derivation lens.
- Choose a point on the manifold and name the local representation used near .
- Move the question into a chart, tangent space, or embedded constraint where first-order calculus is available.
- Compute the local object: derivative, tangent projection, metric-weighted gradient, path velocity, or retraction step.
- Translate the result back into coordinate-free language so the answer is not tied to one chart by accident.
- Check the invariant: the point remains on , the direction remains in , or the distance/gradient uses the stated metric.
Implementation lens.
A practical ML implementation should store both the ambient array representation and the geometric contract attached to it. For example, a normalized embedding is not just a vector; it is a point on a sphere. An orthogonal weight matrix is not just a matrix; it is a point on a Stiefel-type constraint. A covariance matrix is not just a symmetric array; it must stay positive definite.
The clean computational pattern is: encode the state, compute an ambient derivative if needed, convert it into a tangent or metric-aware object, take a small local step, and then return to the manifold with a geodesic formula or retraction. This is the same pattern used in the companion notebooks, just scaled down to visible two- and three-dimensional examples.
The important warning is that coordinate code can pass shape checks while still violating geometry. Differential geometry adds checks that are semantic: tangentness, smooth compatibility, metric choice, path validity, and constraint preservation.
Practical checklist:
- State the manifold and whether it is abstract, embedded, or quotient-like.
- State the local coordinates or tangent representation being used.
- Separate ambient vectors from tangent vectors.
- Name the metric before computing distances, angles, or gradients.
- Use geodesics or retractions when moving on the manifold.
- For ML claims, identify whether geometry is data geometry, parameter geometry, or statistical geometry.
Local diagnostic: Write gradient, tangent projection, retraction, and stopping criterion.
The companion notebook uses low-dimensional synthetic examples: circles, spheres, tangent projections, spherical interpolation, SPD matrices, and orthogonality constraints. These examples keep geometry visible while preserving the same update logic used in higher-dimensional ML systems.
| Compact ML phrase | Differential-geometric reading |
|---|---|
| local linearization | tangent-space approximation at a point |
| normalized embedding | point on a sphere with tangent constraints |
| natural gradient | Riemannian gradient under Fisher metric |
| orthogonal weights | point on a Stiefel-type manifold |
| latent interpolation | path that may need geodesic structure |
| covariance geometry | SPD manifold rather than arbitrary matrices |
A useful learning move is to compute everything first on a sphere. The sphere has visible curvature, simple tangent spaces, closed-form geodesics, and practical retractions. Once those are clear, Stiefel, Grassmann, SPD, and information-geometric examples become less mysterious.
For implementation, the main discipline is to avoid leaving the manifold silently. If a gradient step violates a constraint, either project the gradient into the tangent space before stepping or use a method whose update is intrinsic by design.
The final question for this subsection is whether a Euclidean formula is being used as an approximation, a coordinate expression, or a mistaken replacement for geometry. Differential geometry is the habit of telling those cases apart.