The following gives the Derivation of Formula of Reflection in 2D, 3D or Higher Dimensions of a Point \(C\) having Position Vector \(\vec{C}\) across any Line having Direction Ratio \(\vec{A}\) containing a Point \(B\) having Position Vector \(\vec{B}\):
In Figure given above we have
\(\vec{A}\)=Direction Ratio of the Line , \(\vec{B}\)=Position Vector any Point \(B\) on the Line,
\(\vec{C}\)=Position Vector of Point \(C\), \(\vec{C_P}\)=Position Vector of Projected Point \(C_P\) on the Line , \(\vec{C_R}\)=Position Vector of Reflected Point \(C_R\)
\(\vec{CB}=\vec{C}-\vec{B}\), \(\vec{CB}_{||}\)=Projection of Vector \(\vec{CB}\) on Line, \(\vec{CB}_{\perp}\)=Rejection of Vector \(\vec{CB}\) from the Line
\(\vec{C_RB}=\vec{C_R}-\vec{B}\), \(\vec{C_RB}_{||}\)=Projection of Vector \(\vec{C_RB}\) on Line, \(\vec{C_RB}_{\perp}\)=Rejection of Vector \(\vec{C_RB}\) from the Line