(a) According to Exercise 4.2.14, the Gram-Schmidt process can also be applied to produce orthonormal bases of complex vector spaces. In the case of $\mathbb{C}^n$, explain how this is equivalent to the factorization of a nonsingular complex matrix $A=U R$ into the product of a unitary matrix $U$ (see Exercise 4.3.25) and a nonsingular upper triangular matrix $R$.
(b) Factor the following complex matrices into unitary times upper triangular:
(i) $\left(\begin{array}{rr}\mathrm{i} & 1 \\ -1 & 2 \mathrm{i}\end{array}\right)$,
(ii)
$$
\left(\begin{array}{cc}
1+i & 2-i \\
1-i & -i
\end{array}\right)
$$
(iii) $\left(\begin{array}{lll}\mathrm{i} & 1 & 0 \\ 1 & \mathrm{i} & 1 \\ 0 & 1 & \mathrm{i}\end{array}\right)$,
(iv)
$$
\left(\begin{array}{ccc}
\mathrm{i} & 1 & -\mathrm{i} \\
1-\mathrm{i} & 0 & 1+\mathrm{i} \\
-1 & 2+3 \mathrm{i} & 1
\end{array}\right)
$$
(c) What can you say about uniqueness of the factorization?