What is it?
. Computed with additions and multiplications only, they are what a processor evaluates best — and other functions are approximated by them (Taylor, interpolation).
Formulas
- Horner's rule: multiplications
Where it shows up in computing
Bézier curves and splines are polynomial pieces written in the Bernstein basis.
"Polynomial time" is the dividing line between tractable and intractable problems (P).
The curve is the zero set of the polynomial , but over a finite field, where calculus does not apply.
Where is it used?
Computing topics reachable from here, through the chain of ideas that leads to them:
ℒ AI and machine learning
- Taylor polynomial→Second-order (Hessian-based) optimization★★★★★
- Taylor polynomial→Gradient descent★★★★★
- Taylor polynomial→Gradient descent→Learning rate★★★★★
- Taylor polynomial→Gradient descent→Backpropagation★★★★★
- Taylor polynomial→Gradient descent→Stochastic gradient descent (SGD)★★★★★
- Taylor polynomial→Gradient descent→Loss landscape★★★★★
- +8
⚛ Physics and simulation
- Taylor polynomial→Numerical differentiation→Heat equation and diffusion★★★★★
- Taylor polynomial→Physics engines★★★★★
- Taylor polynomial→Runge–Kutta methods→N-body gravitational simulation★★★★★
- Taylor polynomial→Numerical differentiation→Fluid dynamics and CFD★★★★★
- Taylor polynomial→Numerical integration (quadrature)→Finite element method★★★★★
- Taylor polynomial→Runge–Kutta methods→Weather and climate modelling★★★★★
∿ Signals, media and vision
- Interpolation→Image processing and computer vision★★★★★
- Interpolation→Image processing and computer vision→Media compression (JPEG, MP3, video)★★★★★
- Interpolation→Signal processing★★★★★
- Rational functions→Digital filters★★★★★
- Interpolation→Signal processing→Sampling theorem (Nyquist–Shannon)★★★★★
- Interpolation→Signal processing→Fast Fourier transform (FFT)★★★★★
- +1
What depends on it
Exercises
How many multiplications does evaluating take naively, and with Horner?
Solution
Naively (computing each power from scratch). Horner: , 4 multiplications.
This page has the essentials. A fuller treatment (intuition, formal definition, worked example) is on the way.