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.

Details

  • When variables are not specified, HornerForm puts the polynomial or rational function into Horner form with respect to the variables identified using Variables.

Examples

open allclose all

Basic Examples  (3)

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]=

Scope  (2)

Generalizations & Extensions  (1)

Applications  (1)

Properties & Relations  (2)

Possible Issues  (1)

Neat Examples  (1)

See Also

Collect  Decompose  Expand  Fold

Tutorials

Introduced in 2007
(6.0)