compute
Solve math problems across algebra, calculus, matrices, and more. Enter a CAS-style expression or equation to get exact symbolic or numerical solutions.
Instructions
Solve any math problem: equations, calculus, algebra, matrices, combinatorics, probability, statistics, geometry, number theory, and more. Pass a CAS-style problem string (e.g., "solve(x^2-4=0, x)", "diff(x^3, x)", "det([[1,2],[3,4]])", "C(10,3)", "2+3*sin(pi/4)") or any Giac/Xcas expression.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Domain hint: real (default) — real solutions complex — complex solutions (csolve, cfactor) numeric — force numerical methods exact — exact symbolic form | |
| format | No | Output format: text (default) — human-readable result latex — LaTeX-focused output json — structured ComputeEnvelope | |
| problem | Yes | Mathematical problem to solve. Use CAS-style function calls for clarity: solve(x^2-4=0, x) — solve equation diff(x^3, x) — differentiate int(x^2, x, 0, 1) — definite integral limit(sin(x)/x, x, 0) — limit taylor(exp(x), x=0, 5) — Taylor series factor(x^2-4) — factorize simplify((x^2-1)/(x-1)) — simplify expand((x+1)^3) — expand det([[1,2],[3,4]]) — matrix determinant C(10,3) — combinations ifactor(2310) — prime factorization 2+3*sin(pi/4) — arithmetic Or any valid Giac/Xcas expression as fallback. | |
| precision | No | Decimal precision (default: 10) |