For a nRdn\in\mathbb R^d, the orthogonal reflection across the hyperplane perpendicular to nn is

Sx=x2(nx)n.Sx=x-2(n\cdot x)n.

It fixes vectors perpendicular to nn, sends nn to n-n, and satisfies S2=IS^2=I and Sx=x|Sx|=|x|.

Symmetry of fields

A scalar field is reflection-invariant if f(Sx)=f(x)f(Sx)=f(x). For a vector field the natural equivariance condition is u(Sx)=Su(x)u(Sx)=Su(x), so different components can have different parities. For reflection in z=0z=0, tangential components are even in zz and the normal component is odd under this vector symmetry.

References