next up previous contents
Next: Standardized interpolation formulas Up: Contours for <PLOT> Previous: Two dimensional quadratic approximation

Change of origin, scale

It would appear to be necessary to invert the Vandermonde matrix for each grid square; however, the use of a uniform grid results in so much symmetry that the same Vandermonde matrix can be used throughout the grid. The reason can be seen by returning to the Vandermonde matrix for quadratic interpolation, with a translated origin:


\begin{displaymath}\left\vert \begin{array}{llll}
1 & 1 & 1 & 1 \\
x_1+a & x_2 ...
...+2ax+a^2 \\
y_1 & y_2 & y_3 & y
\end{array} \right\vert = 0. \end{displaymath}

By straightforward determinantal algebra it can be seen that this determinant is the same as the untranslated determinant, but factoring the determinant is more informative.

\begin{displaymath}V =
\left\vert \begin{array}{llll}
1 & 0 & 0 & 0 \\
a & 1...
..._3}^2 & x^2 \\
y_1 & y_2 & y_3 & y
\end{array} \right\vert. \end{displaymath}

The determinant on the left, having the value 1, is nonsingular; translation preserves the validity of the interpolation equation even as it rearranges its coefficients. Other changes of basis should be handled the same way, by factoring out the responsible matrix. Nor are admissible changes confined solely to the independent variables; for example the zero point for the the dependent variable could be changed. Not often do we find transformations which mix the dependent variable with the independent variables, although they are just as admissible as any others within the framework of the theory.

Although it is not performed as frequently, changing scale follows the same process as translating the origin. We need the matrix

\begin{displaymath}\left\vert \begin{array}{cccc}
1 & 1 & 1 & 1 \\
sx_1 & sx_2 ...
...& (sx)^2 \\
y_1 & y_2 & y_3 & y
\end{array} \right\vert = 0. \end{displaymath}

This time the factorization is much easier.

\begin{displaymath}V =
\left\vert \begin{array}{llll}
1 & 0 & 0 & 0 \\
0 & s...
..._3}^2 & x^2 \\
y_1 & y_2 & y_3 & y
\end{array} \right\vert. \end{displaymath}

As a general proposition the expansion of a polynomial according to a prescribed basis with determined coefficients can be considered to be the inner product of two vectors. The row, say, carries the coefficients as coordinates while the column is outfitted with the members of the basis. Accordingly, whenever a change of basis is made, such as referring the set of points to a new origin, the inverse matrix of the change can be applied to the coefficients to get a new expansion formula.

The case of translation, which we are examining, has an inverse matrix of typical form

T-1 = $\displaystyle \left[ \begin{array}{cccc}
1 & 0 & 0 & 0 \\
-a & 1 & 0 & 0 \\
a^2 & -2a & 1 & 0 \\
-a^3 & 3a^2 & -3a & 1
\end{array} \right],$ (48)

-a appearing in place of a because it represents a translation in the opposite direction.

Starting from Maclaurin's series

p(x) = $\displaystyle \sum_{i=0}^n \frac{p^{(i)}(0)}{i!} x^i$ (49)

we could get to the Taylor's series
p(x) = $\displaystyle \sum_{i=0}^n \frac{p^{(i)}(a)}{i!} (x-a)^i$ (50)

(bearing in mind that here superscript powers signify derivatives, not Newton products) by consulting the pair of transformations
$\displaystyle \left[ \begin{array}{c} 1 \\  x-a \\  (x-a)^2 \\  (x-a)^3 \end{array} \right]$ = $\displaystyle \left[ \begin{array}{cccc}
1 & 0 & 0 & 0 \\
-a & 1 & 0 & 0 \\
a...
...ay} \right]
\left[ \begin{array}{c} 1 \\  x \\  x^2 \\  x^3 \end{array} \right]$ (51)


$\displaystyle \left[ \begin{array}{c} p(a) \\  p'(a) \\  \frac{1}{2} p''(a)
\\  \frac{1}{6} p'''(a) \end{array} \right]$ = $\displaystyle \left[ \begin{array}{cccc}
1 & a & a^2 & a^3 \\
0 & 1 & 2a & 3a^...
...0) \\  p'(0) \\  \frac{1}{2} p''(0)
\\  \frac{1}{6} p'''(0) \end{array} \right]$ (52)


next up previous contents
Next: Standardized interpolation formulas Up: Contours for <PLOT> Previous: Two dimensional quadratic approximation
Microcomputadoras
2001-01-15