Affine Interpolation

[Note: The JSP figure has an error so that c is not the value it should be. The original GSP Sketch computes the value correctly. So to get the correct value, download the .gsp file here.]

Affine ratios determine intermediate values at C of affine function z(C) = c, if z(A) = a and z(B) = b are known.

The affine ratio t for C on line AB can be computed from either the x or y coordinate as AC/AB. In this case, there is a vector equation for C:

C = (1-t)A + tB

Then if z is an affine coodinate of a parallel projection of a plane containing AB, or if z is some other affine function, then the value of z at C can be computed from a = z(A), b = z(B) and the ratio t by

z(C) = (1-t)z(A) + tz(B)

or

c = (1-t)a + tb

Sorry, this page requires a Java-compatible web browser.

Experiments to try with this figure (with Line AB showing, Values hidden)

Experiments to try with this figure (with Line AB hidden, Values showing)

James King, 1/13/2003


This page uses JavaSketchpad, a World-Wide-Web component of The Geometer's Sketchpad. Copyright © 1990-2001 by KCP Technologies, Inc. Licensed only for non-commercial use.