Solution

ID: past-exam-of-the-chemistry-a-course-of-the-university-of-cambridge/2021/paper-1/a2/c/iii/solution

Since
an explicitly normalized trial is
It is zero outside the box. The original expression differs by a minus sign, which changes only the global phase and leaves probabilities and expectation values unchanged.

New to topics? Read the docs here!