Examples
Random Example
Algebra
Polynomial and Rational Functions
Calculus
Limits
Derivatives
Integrals
- integrate(tan(x))
- Multiple variables integrate(2*x + y, y)
- Limits of integration integrate(2*x + y, (x, 1, 3))
- integrate(2*x + y, (x, 1, 3), (y, 2, 4))
- Improper integrals integrate(tan(x), (x, 0, pi/2))
- Exact answers integrate(1/(x**2 + 1), (x, 0, oo))
- Get steps for integrals integrate(exp(x) / (1 + exp(2x)))
- integrate(1 /((x+1)(x+3)(x+5)))
- integrate((2x+3)**7)
Series
Discrete Mathematics
Boolean Logic
Recurrences
Summation
- Sum(k,(k,1,m))
- Sum(x**k,(k,0,oo))
- Product(k**2,(k,1,m))
- summation(1/2**i, (i, 0, oo))
- product(i, (i, 1, k), (k, 1, n))
… and more: see
the documentation to learn
about the full range of SymPy's capabilities.