Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/main/11Manifold_Vect_Fields.ipynb
Views: 292
11. Vector fields
This notebook is part of the Introduction to manifolds in SageMath by Andrzej Chrzeszczyk (Jan Kochanowski University of Kielce, Poland).
A vector field on a manifold assigns to a point a tangent vector . Instead of we shall write . Since a vector field gives us a tangent vector at each point of its domain and a tangent vector can be applied to real-valued smooth functions to yield real numbers, given a vector field and , we can form a real-valued function , defined by ParseError: KaTeX parse error: Undefined control sequence: \label at position 41: …p) ≡ X_p( f ). \̲l̲a̲b̲e̲l̲{}\tag{11.1} \e…
We have also an equivalent definition
A vector field on a manifold is a linear map such that
A vector field is smooth if for all the function is also in .
Equivalently we can say that a vector field on a manifold is smooth if for any coordinate chart we have for any point ParseError: KaTeX parse error: Undefined control sequence: \label at position 68: …al x^i}\Big|_p
\̲l̲a̲b̲e̲l̲{}\tag{11.2}
\e… for some functions .
Frames
To define vector fields with specified components in SageMath Manifolds we need vector frames.
If is an open subset of a manifold (for example a coordinate neighborhood) then the vector frame on is the sequence of vector fields on such that for each is a vector basis of the tangent space .
Usually we shall use the coordinate frames associated with the local coordinates.
Example 11.1
Let us display the frame corresponding to the default chart
In this case the elements of the frame are the vector fields ( was defined by formula (8.3)).
If the frame is not defined by the user, the default frame is used.
Let us check how the elements e[1],e[2] of our frame e act on a scalar function.
If the frame is defined, we can define the components of the vector field in this frame.
Example 11.2
Here defining a vector field, we use frame e:
Since we use the default frame, the previous code can be simplified.
Example 11.3
Here the frame is not specified, the result is the same, since we have used the default frame
The value of v on a scalar function:
Example 11.4
Let us check that vector fields are derivations.
First we compute the value of :
and next the value of :
Both values are the same:
Example 11.5
Let us plot the vector field
To obtain the plot, some restriction are necessary.
Use the command v0.plot?
to see how to plot vector fields.
Example 11.6
Now let us plot the vector field
Here we have excluded some neighborhood of the origin.
Example 11.7
Let us consider the two-dimensional sphere with spherical coordinates and the corresponding frame .
First let us plot the vector field :