Proof (equivalent definitions of orthogonal matrices)
Let $A = (a_{ij})$.
-
$1\implies 2$: for all $\v x\in\R^n$, $$\begin{align*} |P\v x|^2 &= (P\v x)^T(P\v x) \\ &= \v x^T P^T P \v x \\ &= \v x^T \v x &&\text{by hypothesis} \\ &= |\v x|^2 \end{align*}$$ and the result follows.
-
$2\implies 3$: for all $\v x, \v y\in\R^n$, $$\begin{align*} |P(\v x + \v y)|^2 &= |\v x+\v y|^2 \\ \ub{|P\v x|^2}_{|\v x|^2} + \ub{|P\v y|^2}_{|\v y|^2} + 2(P\v x)\cdot(P\v y) &= |\v x|^2 + |\v y|^2 + 2\v x\cdot\v y \\ (P\v x)\cdot (P\v y) &= \v x\cdot \v y. \end{align*}$$
-
$3\implies 4$: $$ (P\v v_i)\cdot(P\v v_j) = \v v_i\cdot\v v_j = \delta_{ij} $$ as required.
-
$4\implies 5$: let $e_1, e_2, \ldots, e_n$ be the standard basis for $\R^n$. The $i$-th column of $A$ is the image $Pe_i$. Hence the hypothesis implies that the columns are orthonormal.
-
$5\implies 1$: since columns of $P$ are orthonormal, using summation notation, $$\begin{align*} \delta_{ij} &= P_{ki}P_{kj} \\ &= (P^T)_{ik} P_{kj} \\ &= (P^TP)_{ij} \end{align*}$$ so $P^T P = I$ as required.