---
name: sympy-computer-algebra
description: Symbolic computation using SymPy for Python-based mathematical analysis
allowed-tools:
  - Bash
  - Read
  - Write
  - Edit
  - Glob
  - Grep
metadata:
  specialization: mathematics
  domain: science
  category: symbolic-computation
  phase: 6
---

# SymPy Computer Algebra

## Purpose

Provides symbolic computation capabilities using SymPy for Python-based mathematical analysis and manipulation.

## Capabilities

- Symbolic differentiation and integration
- Equation solving (algebraic, differential)
- Series expansion and limits
- Matrix algebra and linear algebra
- Pattern matching and simplification
- Code generation (NumPy, C, Fortran)

## Usage Guidelines

1. **Symbol Definition**: Define symbols with appropriate assumptions
2. **Expression Building**: Construct symbolic expressions
3. **Simplification**: Apply appropriate simplification strategies
4. **Code Generation**: Export to efficient numerical code

## Tools/Libraries

- SymPy
- NumPy
- mpmath
