How it works
Use polynomial Horner recurrence, replacing the scalar variable by the second polynomial. Expanded degree is bounded by 24.
Try an example
Outer polynomial f(x): x^2+1; Inner polynomial g(x): 2x-1. The form starts with these values; change them to explore your own case.
Example result: 4*x^2 - 4*x + 2
- Substitute g(x) for each occurrence of x in f(x).
- Evaluate the composition with polynomial Horner recurrence.
Learn more in Symbolic algebra: brackets, identities and polynomial division.
Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.