Texas Instruments TI-89 Tip List page 207

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

z 9 = a $ x 3 2$ y 3 2 + b $ x 3 2 $ y 3 + c $ x 3 $ y 3 2 + d $ x 3 2 + e $ y 3 2 + f $ x 3 $ y 3 + g $ x 3 + h $ y 3 + j
In matrix form this system is written as
x 1 2 $ y 1 2 x 1 2 $ y 1 x 1 $ y 1 2 x 1 2 y 1 2 x 1 y 1 x 1 y 1 1
x 1 2 $ y 2 2 x 1 2 $ y 2 x 1 $ y 2 2 x 1 2 y 2 2 x 1 y 2 x 1 y 2 1
x 1 2 $ y 3 2 x 1 2 $ y 3 x 1 $ y 3 2 x 1 2 y 3 2 x 1 y 3 x 1 y 3 1
x 2 2 $ y 1 2 x 2 2 $ y 1 x 2 $ y 1 2 x 2 2 y 1 2 x 2 y 1 x 2 y 1 1
x 2 2 $ y 2 2 x 2 2 $ y 2 x 2 $ y 2 2 x 2 2 y 2 2 x 2 y 2 x 2 y 2 1
x 2 2 $ y 3 2 x 2 2 $ y 3 x 2 $ y 3 2 x 2 2 y 3 2 x 2 y 3 x 2 y 3 1
x 3 2 $ y 1 2 x 3 2 $ y 1 x 3 $ y 1 2 x 3 2 y 1 2 x 3 y 1 x 3 y 1 1
x 3 2 $ y 2 2 x 3 2 $ y 2 x 3 $ y 2 2 x 3 2 y 2 2 x 3 y 2 x 3 y 2 1
x 3 2 $ y 3 2 x 3 2 $ y 3 x 3 $ y 3 2 x 3 2 y 3 2 x 3 y 3 x 3 y 3 1
or, in terms of equivalent matrix variables
X $ a = z
We could solve this system for the coefficients, but that requires inverting the X matrix. We can avoid
inverting the matrix, and get the solution more quickly, if we scale the x- and y-coordinates such that
x 1 h u 1 = 0
y 1 h v 1 = 0
We scale the original x and y variables (at which to interpolate) with
x−x 1
x 2 −x 1 x x < x 2
u =
x−x 2
x 3 −x 2 + 1 x x m x 2
With this scaling, the original 9x9 matrix becomes a matrix of constants, since all the u and v are
constants 0, 1 and 2, regardless of the actual values of x and y. Since the matrix is constant, its
inverse is constant, and we can calculate it once, in advance, and never need to calculate it again.
When we substitute the u's and v's for the x's and y's in the matrix, we have
0 0 0 0 0 0 0 0 1
0 0 0 0 1 0 0 1 1
0 0 0 0 4 0 0 2 1
0 0 0 1 0 0 1 0 1
X =
1 1 1 1 1 1 1 1 1
4 2 4 1 4 2 1 2 1
0 0 0 4 0 0 2 0 1
4 4 2 4 1 2 2 1 1
16 8 8 4 4 4 2 2 1
x 2 h u 2 = 1
y 2 h u 2 = 2
v =
and
z 1
a
z 2
b
z 3
c
z 4
d
=
$
z 5
e
f
z 6
g
z 7
h
z 8
i
z 9
x 3 h u 3 = 2
y 3 h v 3 = 2
y−y 1
y 2 −y 1 x y < y 2
y−y 2
y 3 −y 2 + 1 x y m y 2
[3]
[4]
[5]
[6]
[7]
[8]
6 - 49

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92+

Table of Contents