The sets $S=\{1, x\}$ and $S^{\prime}=\left\{\frac{1}{\sqrt{2}}(1+x), \frac{1}{\sqrt{2}}(1-x)\right\}$ are or thonormal bases for $P_{1}$ with respect to the standard inner product. Find the transition matrix $P$ from $S$ to $S^{\prime},$ and verify that the conclusion of Theorem 7.1 .5 holds for $P .$