Introduction - SymPy 1.14.0 documentation
Contents
Menu
Expand
Light mode
Dark mode
Auto light/dark, in light mode
Auto light/dark, in dark mode
Hide navigation sidebar
Hide table of contents sidebar
Skip to content
SymPy 1.14.0 documentation
Installation
TutorialsToggle navigation of Tutorials
Introductory TutorialToggle navigation of Introductory Tutorial
Preliminaries
Introduction
Gotchas
SymPy FeaturesToggle navigation of SymPy Features
Basic Operations
Printing
Simplification
Calculus
Solvers
Matrices
Advanced Expression Manipulation
What’s Next
Physics TutorialsToggle navigation of Physics Tutorials
Biomechanics TutorialsToggle navigation of Biomechanics Tutorials
Biomechanical Model Example
Mechanics TutorialsToggle navigation of Mechanics Tutorials
Duffing Oscillator with a Pendulum
A rolling discToggle navigation of A rolling disc
A rolling disc, with Kane’s method
A rolling disc, with Kane’s method and constraint forces
A rolling disc using Lagrange’s Method
Multi Degree of Freedom Holonomic System
Nonminimal Coordinates Pendulum
A four bar linkage
Linearized Carvallo-Whipple Bicycle Model
Continuum Mechanics TutorialsToggle navigation of Continuum Mechanics Tutorials
Solving Beam Bending Problems using Singularity Functions
Control TutorialsToggle navigation of Control Tutorials
Control Package Examples
Electrical Problems using StateSpace
Mechanics Problems using StateSpace
How-to GuidesToggle navigation of How-to Guides
Assumptions
Symbolic and fuzzy booleans
Writing Custom Functions
Physics
Solve EquationsToggle navigation of Solve Equations
Solving Guidance
Solve an Equation Algebraically
Solve a System of Equations Algebraically
Solve One or a System of Equations Numerically
Solve an Ordinary Differential Equation (ODE) Algebraically
Find the Roots of a Polynomial Algebraically or Numerically
Solve a Matrix Equation Algebraically
Reduce One or a System of Inequalities for a Single Variable Algebraically
Solve a Diophantine Equation Algebraically
SymPy Logo
Citing SymPy
ExplanationsToggle navigation of Explanations
Best Practices
Gotchas and Pitfalls
Solve Output by Type
PhysicsToggle navigation of Physics
VectorToggle navigation of Vector
Vector & ReferenceFrame
Vector: Kinematics
Scalar and Vector Field Functionality
Potential Issues/Advanced Topics/Future Features in Physics/Vector Module
Classical MechanicsToggle navigation of Classical Mechanics
Masses, Inertias, Particles and Rigid Bodies in Physics/Mechanics
Kane’s Method in Physics/Mechanics
Lagrange’s Method in Physics/Mechanics
Joints Framework in Physics/Mechanics
Symbolic Systems in Physics/Mechanics
Linearization in Physics/Mechanics
References for Physics/Mechanics
Autolev Parser
SymPy Mechanics for Autolev Users
Potential Issues/Advanced Topics/Future Features in Physics/Mechanics
BiomechanicsToggle navigation of Biomechanics
Introduction to Biomechanical Modeling
SymPy Special TopicsToggle navigation of SymPy Special Topics
Finite Difference Approximations to Derivatives
Classification of SymPy objects
List of active deprecations
Glossary
API ReferenceToggle navigation of API Reference
BasicsToggle navigation of Basics
AssumptionsToggle navigation of Assumptions
Ask
Assume
Refine
Predicates
Calculus
CombinatoricsToggle navigation of Combinatorics
Partitions
Permutations
Permutation Groups
Polyhedron
Prufer Sequences
Subsets
Gray Code
Named Groups
Galois Groups
Number of groups
Utilities
Group constructors
Test Utilities
Tensor Canonicalization
Finitely Presented Groups
Polycyclic Groups
FunctionsToggle navigation of Functions
Elementary
Combinatorial
Enumeration
Special
IntegralsToggle navigation of Integrals
Computing Integrals using Meijer G-Functions
Integrals
SeriesToggle navigation of Series
Series Expansions
Sequences
Fourier Series
Formal Power Series
Limits of Sequences
SimplifyToggle navigation of Simplify
Simplify
Hypergeometric Expansion
Hongguang Fu’s Trigonometric Simplification
SolversToggle navigation of Solvers
Diophantine
Inequality Solvers
ODE
PDE
Solvers
Solveset
abc
Algebras
Concrete
Core
Discrete
Numerical Evaluation
Numeric Computation
Term Rewriting
Code GenerationToggle navigation of Code Generation
Code Generation
LogicToggle navigation of Logic
Logic
Sets
MatricesToggle navigation of Matrices
MatricesToggle navigation of Matrices
Matrices (linear algebra)
Matrix Kind
Dense Matrices
Sparse Matrices
Sparse Tools
Immutable Matrices
Matrix Expressions
Matrix Normal Forms
TensorToggle navigation of Tensor
N-dim array
N-dim array expressions
Indexed Objects
Methods
Tensor
Tensor Operators
VectorToggle navigation of Vector
Introduction
Basic Implementation details
More about Coordinate Systems
Scalar and Vector Field Functionality
General examples of usage
Applications of Vector Integrals
Vector APIToggle navigation of Vector...