Compute Algebra Systems and SageMath
Symbolic Computation and Computer Algebra Systems
- Compare and contrast numerical computation and symbolic computation.
- Give examples of symbolic computation from your previous schoolwork.
- Define Computer Algebra System (CAS).
- Give examples of commercial computer algebra systems.
SageMath Practicalities
- Run SageMath through a Jupyter Notebook on your personal computer.
- Use SageMath to perform arithmetic.
- Use
N()
in SageMath to compute numerical approximations to numerical expressions.
- Initialize symbolic variables.
- Compare and contrast symbolic variables and “computer science” variables.
Basic Computer Algebra with SageMath
- Define and store expressions.
- Generate LaTeX commands for a given expression.
- Use Jupyter’s
%display
option to display SageMath expressions as typeset LaTeX.
- Expand expressions.
- Factor expressions.
- Simplify expressions.
Symbolic Functions in SageMath
- Define a symbolic function.
- Use defined symbolic functions algebraically.
Solving Equations with SageMath
- Use
solve()
to solve an equation.
- Use
solve()
to find the inverse of a symbolic function.
- Access the solutions returned by
solve()
and the left and right hand sides of the solutions.
Plotting Symbolic Functions
- Plot the graph of a symbolic function using
plot()
.
- Build plots programmatically using
plot()
and +
.
- Use iteration and conditional statements to built plots programmatically.