The 'recipe' is given in the question. You need to know that the scalar
product of two perpendicular vectors is 0 so that, if one vector lies in a
plane and the other is normal to the plane, then their scalar product is zero.
This gives the equation of a plane through the origin in
as
.
The diagram should help you to visualise that, if
is on the plane and
is a vector normal to the plane, then the points
and
are reflections of each other in the plane.
Where quaternions are equivalent to vectors we are not using boldface fonts
other than in introducing the unit vectors
along the axes
in
. The quaternion functions and quaternion algebra give a neat and efficient way
to work with reflections in
and they are very useful in computer
graphics programs.