solve_algebraically
Solve an equation algebraically for a specified variable over complex, real, integer, or natural domains, returning the solution set as LaTeX.
Instructions
Solves an equation (expression = 0) algebraically for a given variable.
Args:
expr_key: The key of the expression (previously introduced) to be solved.
solve_for_var_name: The name of the variable (previously introduced) to solve for.
domain: The domain to solve in: Domain.COMPLEX, Domain.REAL, Domain.INTEGERS, or Domain.NATURALS. Defaults to Domain.COMPLEX.
Returns:
A LaTeX string representing the set of solutions. Returns an error message string if issues occur.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | complex | |
| expr_key | Yes | ||
| solve_for_var_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |