/Author (The Sage Group) /Title (The Sage Tutorial)
The Sage Tutorial
The Sage Group
September 17, 2008Copyright c 2007 William A. Stein. All rights reserved.
Distribution and modification of this document is licensed under the Creative Commons 3.0
license, http://creativecommons.org/licenses/by-sa/3.0/.Abstract
Sage is free, open-source math software that supports research and teaching in algebra,
geometry,numbertheory,cryptography,numericalcomputation,andrelatedareas. Boththe
Sage development model and the technology in Sage itself are distinguished by an extremely
strong emphasis on openness, community, cooperation, and collaboration: we are building
the car, not reinventing the wheel. The overall goal of Sage is to create a viable, free,
open-source alternative to Maple, Mathematica, Magma, and MATLAB.
This tutorial is the best way to become familiar with Sage in only a few hours. You can read
it in HTML or PDF versions, or from the Sage notebook (click Help, then click Tutorial to
interactively work through the tutorial from within Sage).CONTENTS
1 Introduction 1
1.1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Ways to Use Sage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Longterm Goals for Sage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 A Guided Tour 5
2.1 Assignment, Equality, and Arithmetic . . . . . . . . . . . . . . . . . . . . . 5
2.2 Getting Help . . . . . . . . . . . ...
Voir