Standard polynomial interpolation matches function values at a set of nodes. But what if you also know the derivative at each node? Hermite interpolation incorporates both, effectively doubling the number of conditions — and by the Weierstrass principle, a higher-degree polynomial means lower error. Hermite interpolation achieves a significantly higher degree polynomial without requiring any additional data points.
Motivation
Recall from the Weierstrass theorem: higher degree → smaller error. The bottleneck with standard interpolation is that each node contributes only one condition (the function value), capping the degree at n for n+1 nodes. Hermite interpolation unlocks additional conditions by also matching the derivative at each node. With the same dataset, the polynomial’s degree more than doubles.
Conditions and Degree
For n+1 nodes x0,x1,…,xn, Hermite interpolation imposes:
Condition Type
Count
Function values: P(xk)=f(xk)
n+1
Derivative values: P′(xk)=f′(xk)
n+1
Total conditions
2n+2
A polynomial is uniquely determined by its coefficients. Matching 2n+2 conditions requires exactly 2n+2 free coefficients, which means a polynomial of degree 2n+1.
Nodes
Standard Degree
Hermite Degree
2 (n=1)
1
3 (cubic)
3 (n=2)
2
5 (quintic)
4 (n=3)
3
7
n+1
n
2n+1
The Hermite Polynomial Formula
P2n+1(x)=∑k=0n[hk(x)f(xk)+h^k(x)f′(xk)]
where the two families of basis polynomials are built directly from the Lagrange basis Lk(x):
hk(x)=[1−2(x−xk)Lk′(xk)][Lk(x)]2
h^k(x)=(x−xk)[Lk(x)]2
Why Two Families?
The two basis families are designed to never interfere with each other:
Basis
Property
Ensures
hk(xj)=δkj
Equals 1 at own node, 0 elsewhere
Matches function value f(xk)
hk′(xj)=0 for all j
Zero derivative at every node
Does not disturb derivative conditions
h^k(xj)=0 for all j
Zero value at every node
Does not disturb function value conditions
h^k′(xj)=δkj
Derivative equals 1 at own node, 0 elsewhere
Matches derivative f′(xk)
The hk terms carry the function values; the h^k terms carry the derivative values. Neither family disrupts the other’s conditions.
Worked Example
Problem: Consider the following data points. Compute all Hermite basis elements and evaluate the Hermite interpolation polynomial.
x
f(x)
f′(x)
0
0
1
π
1
0
(i) Compute all Hermite basis elements
First, we find the standard Lagrange basis polynomials, l0(x) and l1(x), and their derivatives:
For x0=0:
l0(x)=x0−x1x−x1=0−πx−π=1−πx
l0′(x)=−π1
For x1=π:
l1(x)=x1−x0x−x0=π−0x−0=πx
l1′(x)=π1
Next, we use these to compute the Hermite basis elements h0,h1,h^0, and h^1:
Substitute the given data f(0)=0, f′(0)=1, f(π)=1, f′(π)=0:
P3(x)=(0)h0(x)+(1)h^0(x)+(1)h1(x)+(0)h^1(x)
The first and last terms zero out, leaving:
P3(x)=h^0(x)+h1(x)
Substituting our evaluated bases back in gives the final polynomial:
P3(x)=x(1−πx)2+π2x2(3−π2x)
Advantage Over Standard Interpolation
Method
Data Used
Degree Achieved
Error Bound
Standard interpolation
n+1 function values
n
Higher
Hermite interpolation
n+1 values +n+1 derivatives
2n+1
Lower
For a fixed set of n+1 data points, Hermite interpolation achieves a polynomial of degree 2n+1 rather than n. The error formula from the previous section shows that a higher-degree interpolant has a larger (n+1)! damping factor, which leads directly to a tighter upper bound on the approximation error.