symbolic_sum
Compute symbolic sums or products over an index variable with customizable bounds, from finite ranges to infinite series.
Instructions
Compute a symbolic sum or product over an index variable
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 | |
| 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 | |||