Polynomial Command
- Polynomial( <Function> )
-
Expands the expression of a polynomial function and simplifies the result.
Polynomial((x - 3)^2) yields x2 - 6x + 9.
Polynomial(y^2+(x+y)^2) yields x2 + 2xy + 2y2.
Polynomial(2x³ - 1 x² + 0x + 4) yields 2x³ - x² + 4.
- Polynomial( <List of Points> )
-
Creates the interpolation polynomial of degree n-1 through the given n points.
Polynomial({(1, 1), (2, 3), (3, 6)}) yields 0.5 x2 + 0.5 x.
CAS Syntax
- Polynomial( <Function> )
-
Expands the function and writes it as a polynomial in x (grouping the coefficients).
Polynomial((x - 3)^2 + (a + x)^2) yields 2 x2 + (2a - 6) x + a2 + 9.
- Polynomial( <Function>, <Variable> )
-
Expands the function and writes it as a polynomial in the variable (grouping the coefficients).
Polynomial((x - 3)^2 + (a + x)^2, a) yields a2 + 2 x a + 2 x2 - 6 x + 9.