Use when you need exact symbolic math in Python - algebra, calculus, equation solving, symbolic linear algebra, or code generation via lambdify/LaTeX. Prefer NumPy or SciPy when floating-point approximations are suffi…
---
name: sympy
description: Use when you need exact symbolic math in Python — algebra, calculus, equation solving, symbolic linear algebra, or code generation via lambdify/LaTeX. Prefer NumPy or SciPy when floating-point approximations are sufficient.
license: https://github.com/sympy/sympy/blob/master/LICENSE
allowed-tools: Read Write Edit Bash
compatibility: Requires Python 3.9+ and SymPy 1.14+. Optional NumPy/SciPy/Matplotlib for lambdify examples; C/Fortran compiler for autowrap/codegen.
metadata: {"version": "1.1", "skill-author": "K-Dense Inc."}
---
# SymPy - Symbolic Mathematics in Python
## Overview
SymPy is a Python library for symbolic mathematics that enables exact computation using mathematical symbols rather than numerical approximations. This skill provides comprehensive guidance for performing symbolic algebra, calculus, linear algebra, equation solving, physics calculations, and code generation using SymPy.
## Installation
Tested against **SymPy 1.14.0** (stable; April 2025). Requires **Python 3.9+**.
```bash
# Install SymPy using uv
uv pip install "sympy>=1.14"
# Optional: for lambdify and plotting examples
uv pip install numpy scipy matplotlib… load the full skill through Skill Me