Loading problem...
A symbolic algebra service stores one polynomial term per row and needs a canonical equation string that can be fed to a downstream solver.
Table: Terms
Each row describes one term of a polynomial in variable X.
Build a single equation string that follows this canonical protocol:
Task: Return exactly one row containing exactly one column:
Supported submission environments:
Terms:
| power | factor |
|-------|--------|
| 2 | 1 |
| 1 | -4 |
| 0 | 2 |[
{"equation":"+1X^2-4X+2=0"}
]The terms are already in descending power order: 2, 1, 0. Power 1 omits exponent and power 0 omits variable part.
Terms:
| power | factor |
|-------|--------|
| 4 | -4 |
| 2 | 1 |
| 1 | -1 |[
{"equation":"-4X^4+1X^2-1X=0"}
]No constant term exists here. Power 1 is rendered as -1X.
Terms:
| power | factor |
|-------|--------|
| 0 | -7 |
| 3 | 2 |
| 1 | 5 |[
{"equation":"+2X^3+5X-7=0"}
]Rows must be reordered by descending power (3, 1, 0) before concatenation.
Constraints