PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
Mathematics and Algorithms
>
Polynomial Algebra
>
Polynomial Factoring & Decomposition
>
HornerForm
>
Mathematica
>
Mathematics and Algorithms
>
Formula Manipulation
>
Algebraic Transformations
>
Polynomial Factoring & Decomposition
>
HornerForm
>
BUILT-IN MATHEMATICA SYMBOL
Structural Operations on Polynomials
Tutorials »
|
Collect
Decompose
Expand
Fold
See Also »
|
Polynomial Factoring & Decomposition
New in 6.0: Symbolic Computation
New in 6.0: Mathematics & Algorithms
More About »
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.
MORE INFORMATION
When variables are not specified,
HornerForm
puts the polynomial or rational function into Horner form with respect to the variables identified using
Variables
.
EXAMPLES
CLOSE ALL
Basic Examples
(3)
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]:=
Out[1]=
Put a polynomial into Horner form with respect to a given variable:
In[1]:=
Out[1]=
Horner form of a rational function:
In[1]:=
Out[1]=
Scope
(2)
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:
Generalizations & Extensions
(1)
An expression with rational exponents:
Applications
(1)
Improve speed and stability for numeric evaluation of large polynomials:
Properties & Relations
(2)
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:
Possible Issues
(1)
Exponents must be integers or rationals:
Neat Examples
(1)
SEE ALSO
Collect
Decompose
Expand
Fold
TUTORIALS
Structural Operations on Polynomials
MORE ABOUT
Polynomial Factoring & Decomposition
New in 6.0: Symbolic Computation
New in 6.0: Mathematics & Algorithms
New in 6