Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Appendix C C-83<br />
PROJECT<br />
Parameterizations for Lines and Circles<br />
In the previous project on lines, circles, and ray tracing we derived a vector<br />
equation for a line in the x-y plane. You and your group might want to review<br />
that derivation. In particular, let P 0 be a point in the x-y plane, P 0 be the position<br />
vector with endpoint P 0 , and A be a nonzero vector. We showed that a vector<br />
equation for the line in the x-y plane passing through the point P 0 with<br />
direction vector A is<br />
P P 0 tA for q t q (1)<br />
where P is the position vector of a point P on the line (see Figure A).<br />
y<br />
P<br />
P<br />
0<br />
P<br />
tA<br />
P<br />
P= +tA<br />
0 P 0<br />
A<br />
x<br />
Figure A<br />
Using equation (1) and vector components we can derive two useful scalar<br />
equations for the same line. Let P 0 (x 0 , y 0 ) be the given point on the line,<br />
A 8a, b9 Z 80, 09 be the nonzero direction vector of the line, and P (x, y)<br />
be an arbitrary point on the line. The corresponding position vectors for the<br />
points P 0 and P are P 0 8x 0 , y 0 9 and P 8x, y9, respectively. Substituting into<br />
equation (1) we get<br />
P P 0 tA for q t q<br />
8x, y9 8x 0 , y 0 9 t8a, b9<br />
8x, y9 8x 0 , y 0 9 8ta, tb9<br />
8x, y9 8x 0 ta, y 0 tb9<br />
So<br />
x x<br />
b 0 ta<br />
for q t q<br />
(2)<br />
y y 0 tb<br />
Equations (2) are called parametric equations for this line. If both a and b are<br />
nonzero then we can solve each equation in (2) for t to get<br />
or more simply,<br />
x x 0<br />
a<br />
x x 0<br />
a<br />
t y y 0<br />
b<br />
y y 0<br />
b<br />
(3)