Reflecting a point by a line in $\mathbb R^3$

5.7k Views Asked by At

I would like to know if it's possible, given the vector equation of a line and the coordinates of a point, whether it's possible to reflect the point by the line.

1

There are 1 best solutions below

1
On BEST ANSWER

Yes, if by reflect you mean to draw a perpendicular from the point to the line and continue it the same distance on the other side. If your line is $(p_x,p_y,p_z)+t(q_x,q_y,q_z)$ (is this what you mean by vector equation?) and the point is $(r_x,r_y,r_z)$ the point on the line where the perpendicular hits can be found by the condition that the dot product with the direction vector is zero. We want to find $t$ such that $r_x(p_x+tq_x)+r_y(p_y+tq_y)+r_z(p_z+tq_z)=0$. This is a linear equation that can be solved $t=-\frac {\vec r \cdot \vec p}{\vec r \cdot \vec q}$ The perpendicular point is then point is then $\vec s=\vec p+t \vec q$ and the reflected point is then $2\vec s-\vec r$.