MathCastle
Linear AlgebraHardOrthogonality & Least Squares

Orthogonality & Least Squares · Hard problem

A light ray travels along direction d=(1,2,2)\mathbf d = (1,2,2) and strikes a planar mirror with normal n=(2,−1,2)\mathbf n = (2,-1,2). The reflected ray's direction is d′=d−2(d⋅nn⋅n)n\mathbf d' = \mathbf d - 2\left(\dfrac{\mathbf d\cdot\mathbf n}{\mathbf n\cdot\mathbf n}\right)\mathbf n. Find the first coordinate of d′\mathbf d'.