Solution

ID: past-exam-of-the-options-ii-course-of-the-university-of-oxford/2011/p/p4/b/solution

Let , and choose if and otherwise. Set
This vector is nonzero, because has magnitude . Direct computation gives
so the Householder transformation satisfies
The first entry is nonzero and every other entry is zero. The sign choice also avoids cancellation when forming the first entry of , which is useful in numerical computation.

New to topics? Read the docs here!