SageMath is a free open-source mathematics software system licensed under the GPL. It builds on top of many existing open-source packages: NumPy, SciPy, matplotlib, Sympy, Maxima, GAP, FLINT, R and many more. Access their combined power through a common, Python-based language or directly via interfaces or wrappers.
This page is designed to be a resource for getting started with Sage. It is by no means comprehensive, nor does it necessarily represent best practice. (I myself am a Sage novice.)
Ways to use Sage
There are three ways that you can use Sage:
- Small pieces of Sage code can be executed at the SageMathCell. All of the code on this page is written in a way that it can be run on the SageMathCell. LC also has a local Sage cell server, which can be found here: http://maclabcs31.lclark.edu/sagecell.html.
- You can download Sage (free) to your computer at: http://www.sagemath.org/.
- You can also use the cloud-based SageMathCloud. There is a free version of this service. However, I suggest you spend the money for one of the personal subscriptions, as the performance is much better.
I have found the following resources to be helpful:
- Sage for Undergraduates by Gregory Bard: http://www.gregorybard.com/Sage.html
- The PREP tutorials: http://doc.sagemath.org/html/en/prep/index.html
- The Sage reference manual: http://doc.sagemath.org/html/en/reference/
- Sage reference page for plotting.
- Assorted quick reference cards
Short bits of code
I am working to construct pages with short bits of code that are helpful for my students. If you have a request, or if you have some neat code that you think other students would like, please let me know!
- Sage: Basics – computation, functions, calculus 1
- Sage: plotting functions
- Parametric curves and vector fields
- Numerically solving ODEs