next up previous
Next: Going between F and Up: Reflections in a Cylinder Previous: Given R find P


Given P find R

The point Q = (r c2, r s2, 2 h - e) is on the line through the R and P. Thus $(Q-R) \parallel (R-P) $ gives $(r c_2 - c, r s_2 - s, h -e) \parallel (c-a, s-b, h)$ which gives

\begin{displaymath}\frac {r c_2 - c}{c-a} = \frac {r s_2 - s}{s-b} = \frac {h-e}{h}
\end{displaymath} (9)

The first of the above equalities gives (s-b)(r (2 c2 - 1) - c) = (c-a)(2 r c s - s) which gives

s(2 r a c - a - r) = b ( 2 r c2 - r - c). (10)

Squaring both sides and substituting 1-c2 for s2 gives (1-c2)(2 a r c - a - r)2 = b2 (2 r c2 - r - c)2. This expands to a quartic equation in the variable c:

4 r2 (a2 + b2) c4 - 4 r (a2 + a r + b2) c3 +((a2 + b2) (1 - 4 r2) + 2 x r + r2) c2 + 2 r (2 a2 + 2 a r + b2) c + r2 b2 - (a+r)2 = 0. (11)

For each solution of this equation, a corresponding s can be found from ( 10), and h can be found from ( 9) as follows:

\begin{displaymath}\alpha \equiv \frac {r c_2 - c}{c-a} = \frac {h-e}{h} \end{displaymath} (12)

which gives $h = e / (1-\alpha)$. Out of these solutions of the equations, the one that actually solves our geometrical problem will need to be selected.
next up previous
Next: Going between F and Up: Reflections in a Cylinder Previous: Given R find P
Steve Tanimoto
2000-02-04