Stokes' Theorem Attila Andai Mathematical Institute, Budapest University of Technology and Economics
Hungary
andaia@math.bme.hu This Maple worksheet demonstrates Stokes' Theorem.
Mathematical implementation of Stokes' Theorem
In this section we explain the mathematical implementation of the Theorem, using an example.
We consider a five dimensional Euclidean vector space V. The manifold G is the closed sphere with radius and center origin.
Warning, the protected names norm and trace have been redefined and unprotected
Warning, the assigned name fibonacci now has a global binding
Warning, the protected name Chi has been redefined and unprotected
Input
N: Dimension of the vector space V. M: Dimension of the manifold G.
parcord: List, which contains the name of the coordinates of the manifold G, it contains M symbols.
p[i]: Parametrization of the manifold G, the index i runs from 1 to N, and p[i] is a function of M variables.
The parametrization of the ball, with center origin, in 5 dimension is the following.
Input parcordb: List, which contains the name of the coordinates of the manifold G, it contains M-1 symbols. pb[i]: Parametrization of the manifold G, the index i runs from 1 to N, and pb[i] is a function of M-1 variables.
The parametrization of the sphere, with radius and center origin, in 5 dimension is the following.
coord: The coordinates of the vector space V, it contsins N symbols.
f[,,...,]: The components of the function f, < <...<
The integral of the exterior derivative of the function f on the manifold G:
First we create the tensorial form of the function f, using the tensorcreate function from the tensor package.
Then it is easy to compute the exterior derivative of f, using the exterior_diff function of the tensor package.
Tensorial form of the function f is tens. The components of the exterior derivative of the function f are in exttens.
One can check the components of exttens.
The vectorial measure of the manifold G is in vectormeasure.
One can check the components of vectormeasure.
The product of the exterior derivative of the function and the vectorial measure of the manifold is in summ1.
One can check the first integrand summ1.
Integrating summ1 over the parameter space, this is StLeft. (This is the left hand side of Stokes' equation.)
Integral of the function f on the boundary of the manifold G :
The vectorial measure of the boundary of the manifold G is in vectormeasureb.
One can check the components of vectormeasureb.
The product of the function f and the vectorial measure of the boundary of the manifold G is in summ2.
One can check the second integrand summ2.
Integrating summ2 over the parameter space, this is StRight. (This is the right hand side of Stokes' equation.)
The left hand side of Stokes' equation (StLeft) is equal to the right hand side (StRight).
Some other examples:
Stokes' Theorem
In a 3 dimensional vector space for a 2 dimensional manifold
coord: The coordinates of the vector space V, it contains N symbols. f[i]: The components of the function f.
Integrating summ1 over the parameter space, this is StLeft.
Integral of the function f on the boundary of the manifold G:
One can check the first integrand summ2.
Integrating summ2 over the parameter space, this is StRight.
In a 3 dimensional vector space for a 3 dimensional manifold
coord: The coordinates of the vector space V, it contains N symbols. f[i,j]: The components of the function f, i<j.
In a 4 dimensional vector space for a 2 dimensional manifold
coord: The coordinates of the vector space V, it contains N symbols.
f[i]: The components of the function f.
In a 4 dimensional vector space for a 3 dimensional manifold
In a 4 dimensional vector space for a 4 dimensional manifold
coord: The coordinates of the vector space V, it contains N symbols. f[i,j,k]: The components of the function f, i<j<k.
In a 6 dimensional vector space for a 4 dimensional manifold
In this case we consider a 4 dimensional manifold in a 6 dimensional Euclidean space, and a function f, detailed below.
f[i,j,k]: The components of the function f, i<j<k.
Legal Notice: The copyright for this application is owned by the author(s). Neither Maplesoft nor the author are responsible for any errors contained within and are not liable for any damages resulting from the use of this material. This application is intended for non-commercial, non-profit use only. Contact the author for permission if you wish to use this application in for-profit activities.