Ask Your Question

Symbolic vector field

asked 2016-04-18 17:53:11 -0500

Richard_L gravatar image

Is it possible to represent a partial differentiation without specifying what the derivative is acting upon? This would be handy in manipulating vector fields symbolically. For ex., suppose we have a vector field Y = y * d/dx and we'd like to compute the pushforward of Y by some diffeomorphism F. Can one express "d/dx" in the usual mathematical partial differential notation and in a way that Sage can handle?

edit retag flag offensive close merge delete


There is a differential forms package now, which might have some useful stuff?

kcrisman gravatar imagekcrisman ( 2016-04-19 08:38:58 -0500 )edit

Thanks. I'll have a look at the package. For now, I have resorted to positional notation, i.e., representing the field by its vector of coefficients. So Y = y*d/dx above becomes [y,0], etc.

Richard_L gravatar imageRichard_L ( 2016-04-19 10:14:21 -0500 )edit

1 answer

Sort by » oldest newest most voted

answered 2016-04-19 10:05:25 -0500

eric_g gravatar image

This is implemented in SageManifolds, see for instance here for an example of vector field on the sphere S^2 (in the section "Module of vector fields" of the worksheet).
SageManifolds is not fully implemented in SageMath yet, so you have to install it according to these instructions. Note that SageManifolds is installed in the SageMathCloud (see here for some SMC example including vector vectors fields on S^2).

edit flag offensive delete link more



Btw, the method pushforward is implemented: see here for an example: the pushforward of a vector field by the standard embedding S^2 --> R^3.

eric_g gravatar imageeric_g ( 2016-04-19 11:25:56 -0500 )edit

Thanks Eric. I have now compiled SageMath 7.1 from source on openSUSE 13.2, After testing, I have installed SageManifolds per instructions given. All tests pass!

Richard_L gravatar imageRichard_L ( 2016-04-24 21:25:55 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2016-04-18 17:53:11 -0500

Seen: 76 times

Last updated: Apr 19 '16