Section 5.3.3.1: Quadratic Approximation formula
Given
q(x) = A x2 + B x + C the stationary point exists at xm where
2 A xm + B = 0
or
xm = - B / 2 A
The stationary point is a minimum if A > 0.
Fit q(x) to three points (x1,f1), (x2,f2), (x3,f3).
Solve for A, B, C:
| A x12 + B x1 + C = f1 |
|
|
(1) |
| A x22 + B x2 + C = f2 |
|
|
(2) |
| A x32 + B x3 + C = f3 |
|
|
(3) |
(2) - (1) and (3) - (2) eliminate C:
| A ( x22 - x12 ) + B (x2 - x1) = (f2 - f1) |
|
|
(4) |
| A ( x32 - x22 ) + B (x3 - x2) = (f3 - f2) |
|
|
(5) |
(4)
and (5)
:
| A ( x22 - x12 ) (x3 - x2) + B (x2 - x1) (x3 - x2) = (f2 - f1) (x3 - x2) |
|
|
(6) |
| A ( x32 - x22 ) (x2 - x1) + B (x3 - x2) (x2 - x1)= (f3 - f2) (x2 - x1) |
|
|
(7) |
(7) - (6) eliminates B:
| A [ ( x32 - x22 ) (x2 - x1) - ( x22 - x12 ) (x3 - x2) ]= (f3 - f2) (x2 - x1) - (f2 - f1) (x3 - x2) |
|
|
(8) |
or, using difference of squares,
| A (x3 - x2)(x2 - x1)[ ( x3 + x2 ) - ( x2 + x1 ) ]= (f3 - f2) (x2 - x1) - (f2 - f1) (x3 - x2) |
|
|
(9) |
Hence
where
Substitute into (4):
Thus
and
Since f3 > f2 and f2 < f1, then
s32 > 0 and
s21 < 0. So
s32 - s21 > 0 and A > 0: the quadratic has a minimum at xm.
Note that xm lies between
and
.
Return to Section 5.3.3
Return to Section 5.3 Index
Return to Section 5 Index
Course Organiser
Last modified: Tue Aug 25 12:02:52 BST