eigenvalues
Problem-solving strategies for eigenvalues in linear algebra
When & Why to Use This Skill
This Claude skill provides comprehensive problem-solving strategies for eigenvalues and eigenvectors in linear algebra. It leverages symbolic computation via Sympy and formal verification through Z3 to automate the calculation of characteristic polynomials, eigenvalues, and eigenvectors. Designed to enhance mathematical accuracy, it offers a structured decision tree for solving complex matrix problems, making it an essential tool for students, educators, and researchers in STEM fields.
Use Cases
- Academic Tutoring: Providing step-by-step solutions for linear algebra assignments, including the derivation of characteristic equations and algebraic multiplicities.
- Mathematical Verification: Using formal methods (Z3) to verify that computed eigenvectors and eigenvalues correctly satisfy the fundamental equation Av = λv.
- Symbolic Matrix Analysis: Computing eigenvalues for matrices containing symbolic variables, useful in theoretical physics and engineering research.
- Exam Preparation: Generating practice solutions and verifying manual calculations for matrix diagonalization and linear transformation problems.
| name | eigenvalues |
|---|---|
| description | "Problem-solving strategies for eigenvalues in linear algebra" |
| allowed-tools | [Bash, Read] |
Eigenvalues
When to Use
Use this skill when working on eigenvalues problems in linear algebra.
Decision Tree
Compute Characteristic Polynomial
- det(A - lambda*I) = 0
sympy_compute.py charpoly "[[a,b],[c,d]]" --var lam
Find Eigenvalues
- Solve characteristic polynomial
sympy_compute.py eigenvalues "[[1,2],[3,4]]"
Find Eigenvectors
- For each eigenvalue lambda: solve (A - lambda*I)v = 0
sympy_compute.py eigenvectors "[[1,2],[3,4]]"
Verify
- Check Av = lambda*v with
z3_solve.py prove - Verify algebraic/geometric multiplicity
- Check Av = lambda*v with
Tool Commands
Sympy_Eigenvalues
uv run python -m runtime.harness scripts/sympy_compute.py eigenvalues "[[1,2],[3,4]]"
Sympy_Charpoly
uv run python -m runtime.harness scripts/sympy_compute.py charpoly "[[a,b],[c,d]]" --var lam
Z3_Verify
uv run python -m runtime.harness scripts/z3_solve.py sat "det(A - lambda*I) == 0"
Cognitive Tools Reference
See .claude/skills/math-mode/SKILL.md for full tool documentation.