This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

HornerForm

HornerForm[poly]
puts the polynomial poly in Horner form.
HornerForm
puts poly in Horner form with respect to the variable or variable list vars.
HornerForm
puts the rational function in Horner form by nesting and .
HornerForm
puts in Horner form using the variables or variable lists and for and , respectively.
  • When variables are not specified, HornerForm puts the polynomial or rational function into Horner form with respect to the variables identified using Variables.
Horner form of a polynomial in x:
Put a polynomial into Horner form with respect to a given variable:
Horner form of a rational function:
Horner form of a polynomial in x:
In[1]:=
Click for copyable input
Out[1]=
 
Put a polynomial into Horner form with respect to a given variable:
In[1]:=
Click for copyable input
Out[1]=
 
Horner form of a rational function:
In[1]:=
Click for copyable input
Out[1]=
Order a bivariate polynomial with respect to x then y:
With respect to y then x:
Construct a rational function in two variables:
Convert the function to Horner form:
Convert to Horner form using y before x in the numerator:
An expression with rational exponents:
Improve speed and stability for numeric evaluation of large polynomials:
Horner form of a rational function is the ratio of Horner forms:
Obtained as a ratio of Horner forms:
HornerForm recursively factors out powers of variables:
Collect groups based on powers of variables:
Factor gives the factored form:
Exponents must be integers or rationals:
New in 6