Tutorial: Vector Calculus in Euclidean Spaces

Author: Eric Gourgoulhon

This document contains various tutorials introducing vector calculus with SageMath. The first one regards vector calculus in the 3-dimensional Euclidean space E3 in Cartesian coordinates, focusing on the evaluation of the standard vector operators. The second tutorial deals with the same topic but based on curvilinear (spherical and cylindrical) coordinates. The third tutorial is devoted to changes between the various coordinate systems. The fourth tutorial presents some advanced aspects, namely the treatment of E3 as a Riemannian manifold. Finally, the last tutorial is devoted to 2-dimensional vector calculus, using both Cartesian and polar coordinates in the Euclidean plane E2; it combines various features of the other tutorials.