
SymPy
SymPy is a Python library for symbolic mathematics. It aims to become a full-featured computer algebra system (CAS) while keeping the code as simple as possible in order to be …
SymPy 1.14.0 documentation
Welcome to SymPy’s documentation! ¶ A PDF version of these docs is also available. SymPy is a Python library for symbolic mathematics. If you are new to SymPy, start with the introductory …
Introductory Tutorial - SymPy 1.14.0 documentation
To give a guide, suitable for someone who has never used SymPy (but who has used Python and knows the necessary mathematics). To be written in a narrative format, which is both easy and …
Introduction - SymPy 1.14.0 documentation
The real power of a symbolic computation system such as SymPy is the ability to do all sorts of computations symbolically. SymPy can simplify expressions, compute derivatives, integrals, …
Simplification - SymPy 1.14.0 documentation
One of the most useful features of a symbolic manipulation system is the ability to simplify mathematical expressions. SymPy has dozens of functions to perform various kinds of …
Solve Equations - SymPy 1.14.0 documentation
The Python package SymPy can symbolically solve equations, differential equations, linear equations, nonlinear equations, matrix problems, inequalities, Diophantine equations, and …
Gotchas - SymPy 1.14.0 documentation
One advantage of using a symbolic computation system like SymPy is that we can build a symbolic representation for expr, and then substitute x with values. The correct way to do this …
Basic Operations - SymPy 1.14.0 documentation
Basic Operations ¶ Here we discuss some of the most basic operations needed for expression manipulation in SymPy. Some more advanced operations will be discussed later in the …
Matrix Expressions - SymPy 1.14.0 documentation
If it is a SymPy Function or Lambda instance, it should be able to accept two arguments which represents the matrix coordinates. If it is a pure string containing Python lambda semantics, it …
Advanced Expression Manipulation - SymPy 1.14.0 documentation
Note that in the srepr output, we see Integer(2), the SymPy version of integers, even though technically, we input 2, a Python int. In general, whenever you combine a SymPy object with a …