5.1 Osculating Polynomials

Taylor polynomial: need value and derivatives at a point (center)
Lagrange/Newton polynomial: need value at multiple points

Osculating polynomials contain these two and everything in between!
More formally, they require points (ti,yi) for i=0,1,...,n where mi derivatives are
specified at each (ti,yi).
When two points and their first derivatives are given, this gives the cubic Hermite
polynomial.

Hermite Polynomial

Through the following data:

f(t0)=y0,f(t0)=y0,f(t1)=y1,f(t1)=y1

the (degree at most three) Hermite polynomial is:

p(t)=tt1t0t1y0+tt0t1t0y1+(tt1)2(tt0)(t0t1)2(y0m)+(tt0)2(tt1)(t1t0)2(y1m)

where

m=y1y0t1t0.

General Osculating Polynomials

This is a Hermite divided difference table, which incorporates both function values and derivatives. The factorials appear because repeated nodes require special handling for derivatives.


In standard Newton divided differences, the entries are computed using:

f[xi,xi+1]=f(xi+1)f(xi)xi+1xi

However, when a node is repeated, we incorporate derivatives:

f[xi,xi]=f(xi) f[xi,xi,xi]=f(xi)2!

2. Given Data

We are given:

Since we incorporate derivatives, we repeat nodes in the table.


3. Step-by-Step Computation

First Column: Function Values

Directly from the given data:

ixifi,00011101101102211

First Divided Differences fi,1

Using:

f[x0,x1]=f(1)f(0)10=0(1)10=1

For repeated nodes, use:

f[x1,x1]=f(1)=3

And:

f[x1,x2]=f(2)f(1)21=11021=11ixifi,0fi,1001111011!(3)11011!(3)110112211

Second Divided Differences fi,2

Using:

f[x0,x1,x1]=3110=21=2

For second derivative information:

f[x1,x1,x1]=f(1)2!=82=4

And:

f[x1,x1,x2]=11321=8ixifi,0fi,1fi,20011211011!(3)12!(8)11011!(3)8110112211

Third Divided Differences fi,3

Using:

f[x0,x1,x1,x1]=4210=2

And:

f[x1,x1,x1,x2]=8421=4ixifi,0fi,1fi,2fi,300112211011!(3)12!(8)411011!(3)8110112211

Fourth Divided Differences fi,4

Using:

f[x0,x1,x1,x1,x2]=4220=1

Final table:

ixifi,0fi,1fi,2fi,3fi,4001122111011!(3)12!(8)411011!(3)8110112211

4. Key Observations

Factorials appear in repeated nodes to properly handle derivatives
Using f(1)2! ensures that the second derivative is correctly weighted
Final highest-order divided difference (1) contributes to the highest-degree term in the polynomial


Bèzier Curves

These are parametric curves with parameter t[0,1] connecting two points.

Simple example: (1,2) to (5,2)

x(t)=(1t)(1)+t(5)y(t)=(1t)(2)+t(2)

If we make it quadratic then we have:

x(t)=ax+bxt+cxt2y(t)=ay+byt+cyt2,

Thus we have 2 known dependant values but 3 unknowns giving us free parameters.

Bezier Curve from P0Pn

Via "control points" P1,P2,,Pn1

First simple idea:

P0=(1,2),P1=(0,4),P=(5,2)

P0P1=B1,0(t)=((1t)(1)(1t)(2)+t(4))

P1P2=B1,1(t)=(t(5)(1t)(4)+t(2))

For some fixed t0
Now B1,0(t0)B1,1=(1t)B1,0(t0)+tB1,1(t0)

Pasted image 20250313135543.webp

Releasing t0 we have:

B2,0(t)=(1t)((1t)(1)(1t)(2)+t(4))+t(t(5)(1t)(4)+t(2))

General Form:
Linear Bèzier curves:

B1,i(t)=(1t)Pi+(t)Pi+1,i=0,1,,n1.

These are PiPi+1

Higher order curves:

Bj,i(t)=(1t)Bj1,i(t)+(t)Bj1,i+1(t),j=2,3,,n; i=0,1,,nj.

These are the the at most jth degree curve connecting PiPi+j, via the control points Pi+1,Pi+j1.

We will get:

Bn,0(t)=i=0n(ni)ti(1t)n1Pi(ni)=n!i!(ni)!

Example:
The (at most) cubic Bézier curve with control points

P0,P1,P2,P3

is computed as follows:

First-order interpolation:

B1,0(t)=(1t)P0+tP1B1,1(t)=(1t)P1+tP2B1,2(t)=(1t)P2+tP3

Second-order interpolation:

B2,0(t)=(1t)B1,0(t)+tB1,1(t)=(1t)[(1t)P0+tP1]+t[(1t)P1+tP2]=(1t)2P0+2t(1t)P1+t2P2B2,1(t)=(1t)B1,1(t)+tB1,2(t)=(1t)[(1t)P1+tP2]+t[(1t)P2+tP3]=(1t)2P1+2t(1t)P2+t2P3

Third-order (cubic) interpolation:

B3,0(t)=(1t)B2,0(t)+tB2,1(t)=(1t)[(1t)2P0+2t(1t)P1+t2P2]+t[(1t)2P1+2t(1t)P2+t2P3]=(1t)3P0+3t(1t)2P1+3t2(1t)P2+t3P3

Derivatives:

ddtB3,0(t)=3(1t)2P0+3[(1t)22t(1t)]P1+3[2t(1t)t2]P2+3t2P3

Evaluating at ( t=0 ) and ( t=1 ):

ddtB3,0(t)|t=0=3P0+3P1=3(P1P0)ddtB3,0(t)|t=1=3P2+3P3=3(P3P2)

These derivatives indicate that at t=0, the derivative of B3,0is in the direction of the segment from P0 to P1, and at t=1, it is in the direction of the segment from P2 to P3. The magnitude of these derivatives is exactly three times the magnitudes of the corresponding line segments.