The Goal: A More “Snug” Fit
With Lagrange Interpolation , we found a polynomial that matched function values .
With Hermite, we want a polynomial that matches both the function value and the derivative value at all points.
-
Given: We have nodes ().
-
Conditions: For each node , we have two conditions:
-
-
Total Conditions: This gives us total conditions.
-
Resulting Polynomial: To satisfy conditions, we need a polynomial with coefficients, which is a polynomial of degree (at most) .
The Construction: Building
Just like Lagrange, we’ll build as a weighted sum. But this time, we have weights for both and :
Our job is to find the basis polynomials and .
To make this work, we need to enforce our conditions. This leads to 4 requirements for our basis polynomials at any node :
-
:
-
We need the term to be 1: .
-
All other terms must be 0: (for ).
-
All terms must be 0: (for all ).
-
-
:
-
We need the term to be 1: .
-
All other terms must be 0: (for ).
-
All terms must be 0: (for all ).
-
The “Aha!” Moment: Using
Your notes show the key insight. We need to find and that satisfy these conditions. Let’s look at the Lagrange polynomial .
-
We know for .
-
If we use , it’s still zero at (for ).
-
Critically, the derivative of is . At (for ), this derivative is .
This term almost gives us what we need! It satisfies most of the “zero” conditions. We just need to multiply it by a simple linear factor to fix the remaining conditions at .
Deriving the Basis Polynomials (as in your notes)
Your notes perfectly follow this logic to find the 4 unknown coefficients () for each and .
1. Finding
-
Condition:
-
-
Since , this gives: (Your equation )
-
-
Condition:
-
First, get the derivative
-
Plug in :
-
Sub in and :
-
This simplifies to , which gives:
- (Your purple box)
-
-
Substitute back into :
-
-
(Your other purple box)
-
2. Finding
Your notes set this up but don’t complete it. Let’s finish the derivation:
-
Condition:
-
-
Since , this gives:
-
-
Condition:
-
First, get the derivative
-
Plug in :
-
Sub in and :
-
This simplifies to:
-
-
Substitute back:
-
By finding these coefficients, you have successfully derived the Hermite basis polynomials.
Would you like to see how these coefficients and are typically simplified into their final, standard forms?