symbolic_sum
Compute closed-form symbolic sums and products over an index variable, including infinite series, with configurable bounds. Get exact results for summations in a single step.
Instructions
Closed form of a symbolic sum or product over an index variable, including infinite series. Prefer this over evaluate_sage for summations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lower | No | Lower bound (e.g. '1') | 1 |
| upper | No | Upper bound (e.g. 'oo' for infinity) | oo |
| product | No | If true, compute a product instead of a sum | |
| session | No | Named workspace to use. Workspaces have independent variables; omit for 'default'. | default |
| variable | No | Index variable (e.g. 'n') | n |
| expression | Yes | Expression to sum (e.g. '1/n^2') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||