Lesson 4 of 15
Coordinate Systems
Coordinate Systems
A manifold is a space that locally looks like . To do calculus on a manifold, we need coordinate systems — smooth maps that identify regions of the manifold with regions of .
A coordinate system consists of two inverse functions:
- chart : maps manifold points → coordinate tuples (e.g., or )
- point : maps coordinate tuples → manifold points
The book introduces these as (chart coordsys) and (point coordsys) in Scheme. In Python, we represent a coordinate system as a pair of functions.
Example: Polar Coordinates on
A point in rectangular coordinates has polar coordinates:
Going back from polar to rectangular:
Coordinate Independence
The key insight: a manifold point is a geometric object independent of coordinates. The point in rectangular and the point in polar refer to the same point on the manifold. Both coordinate systems describe the same reality.
Your Task
Implement the polar coordinate system:
polar_chart(p): convert rectangular point → polar coordinatespolar_point(c): convert polar coordinates → rectangular point
Python runtime loading...
Loading...
Click "Run" to execute your code.