Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Polynomial Algebra > Polynomial Factoring & Decomposition >
Mathematica > Mathematics and Algorithms > Formula Manipulation > Algebraic Transformations > Polynomial Factoring & Decomposition >

HornerForm

HornerForm[poly]
puts the polynomial poly in Horner form.
HornerForm[poly, vars]
puts poly in Horner form with respect to the variable or variable list vars.
HornerForm[poly1/poly2]
puts the rational function poly1/poly2 in Horner form by nesting poly1 and poly2.
HornerForm[poly1/poly2, vars1, vars2]
puts poly1/poly2 in Horner form using the variables or variable lists vars1 and vars2 for poly1 and poly2, 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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team