5.3E: Orthogonality Exercises
- Page ID
- 132822
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\dsum}{\displaystyle\sum\limits} \)
\( \newcommand{\dint}{\displaystyle\int\limits} \)
\( \newcommand{\dlim}{\displaystyle\lim\limits} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\(\newcommand{\longvect}{\overrightarrow}\)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\ket}[1]{\left| #1 \right>}\)
\(\newcommand{\bra}[1]{\left< #1 \right|}\)
\(\newcommand{\braket}[2]{\left< #1 \vphantom{#2} \right| \left. #2 \vphantom{#1} \right>}\)
\(\newcommand{\braopket}[3]{\left< #1 \vphantom{#2}\vphantom{#3} \right| #2 \vphantom{#1}\vphantom{#3} \left| #3 \vphantom{#1}\vphantom{#2} \right>}\)
\(\newcommand{\qmvec}[1]{\mathbf{\vec{#1}}}\)
\(\newcommand{\op}[1]{\hat{\mathbf{#1}}}\)
\(\newcommand{\expect}[1]{\langle #1 \rangle}\)
\(\newcommand{\dfn}[1]{\emph{\textbf{#1}}}\)
We often write vectors in \(\mathbb{R}^n\) as row n-tuples.
Obtain orthonormal bases of \(\mathbb{R}^3\) by normalizing the following.
- \(\{(1, -1, 2), (0, 2, 1), (5, 1, -2)\}\)
- \(\{(1, 1, 1), (4, 1, -5), (2, -3, 1)\}\)
- Answer
-
- \(\left\{ \frac{1}{\sqrt{3}} \left[ \begin{array}{r} 1\\ 1\\ 1 \end{array} \right], \frac{1}{\sqrt{42}} \left[ \begin{array}{r} 4\\ 1\\ -5 \end{array} \right], \frac{1}{\sqrt{14}} \left[ \begin{array}{r} 2\\ -3\\ 1 \end{array} \right] \right\}\).
In each case, show that the set of vectors is orthogonal in \(\mathbb{R}^4\).
- \(\{(1, -1, 2, 5), (4, 1, 1, -1), (-7, 28, 5, 5)\}\)
- \(\{(2, -1, 4, 5), (0, -1, 1, -1), (0, 3, 2, -1)\}\)
In each case, show that \(B\) is an orthogonal basis of \(\mathbb{R}^3\) and use Theorem 5.3.6 to expand \(\mathbf{x} = (a, b, c)\) as a linear combination of the basis vectors.
- \(B = \{(1, -1, 3), (-2, 1, 1), (4, 7, 1)\}\)
- \(B = \{(1, 0, -1), (1, 4, 1), (2, -1, 2)\}\)
- \(B = \{(1, 2, 3), (-1, -1, 1), (5, -4, 1)\}\)
- \(B = \{(1, 1, 1), (1, -1, 0), (1, 1, -2)\}\)
- Answer
-
- \(\left[ \begin{array}{r} a\\ b\\ c \end{array} \right] = \frac{1}{2}(a - c) \left[ \begin{array}{r} 1\\ 0\\ -1 \end{array} \right] + \frac{1}{18}(a + 4b + c) \left[ \begin{array}{r} 1\\ 4\\ 1 \end{array} \right] + \frac{1}{9}(2a - b + 2c) \left[ \begin{array}{r} 2\\ -1\\ 2 \end{array} \right]\).
- \(\left[ \begin{array}{r} a\\ b\\ c \end{array} \right] = \frac{1}{3}(a + b + c) \left[ \begin{array}{r} 1\\ 1\\ 1 \end{array} \right] + \frac{1}{2}(a - b) \left[ \begin{array}{r} 1\\ -1\\ 0 \end{array} \right] + \frac{1}{6}(a + b - 2c) \left[ \begin{array}{r} 1\\ 1\\ -2 \end{array} \right]\).
In each case, write \(\mathbf{x}\) as a linear combination of the orthogonal basis of the subspace \(U\).
- \(\mathbf{x} = (13, -20, 15)\); \(U = span \;\{(1, -2, 3), (-1, 1, 1)\}\)
- \(\mathbf{x} = (14, 1, -8, 5)\); \(U = span \;\{(2, -1, 0, 3), (2, 1, -2, -1)\}\)
- Answer
-
- \(\left[ \begin{array}{r} 14\\ 1\\ -8\\ 5 \end{array} \right] = 3 \left[ \begin{array}{r} 2\\ -1\\ 0\\ 3 \end{array} \right] + 4 \left[ \begin{array}{r} 2\\ 1\\ -2\\ -1 \end{array} \right]\).
In each case, find all \((a, b, c, d)\) in \(\mathbb{R}^4\) such that the given set is orthogonal.
- \(\{(1, 2, 1, 0), (1, -1, 1, 3), (2, -1, 0, -1), \\ (a, b, c, d)\}\)
- \(\{(1, 0, -1, 1), (2, 1, 1, -1), (1, -3, 1, 0), \\ (a, b, c, d)\}\)
- Answer
-
- \(t \left[ \begin{array}{r} -1\\ 3\\ 10\\ 11 \end{array} \right]\), in \(\mathbb{R}\)
If \(\|\mathbf{x}\| = 3\), \(\|\mathbf{y}\| = 1\), and \(\mathbf{x}\cdot \mathbf{y} = -2\), compute:
- \(\| 3\mathbf{x} - 5\mathbf{y}\|\)
- \(\| 2\mathbf{x} + 7\mathbf{y}\|\)
- \((3\mathbf{x} - \mathbf{y})\cdot (2\mathbf{y} - \mathbf{x})\)
- \((\mathbf{x} - 2\mathbf{y})\cdot (3\mathbf{x} + 5\mathbf{y})\)
- Answer
-
- \(\sqrt{29}\)
- \(19\)
In each case either show that the statement is true or give an example showing that it is false.
- Every independent set in \(\mathbb{R}^n\) is orthogonal.
- If \(\{\mathbf{x}, \mathbf{y}\}\) is an orthogonal set in \(\mathbb{R}^n\), then \(\{\mathbf{x}, \mathbf{x} + \mathbf{y}\}\) is also orthogonal.
- If \(\{\mathbf{x}, \mathbf{y}\}\) and \(\{\mathbf{z}, \mathbf{w}\}\) are both orthogonal in \(\mathbb{R}^n\), then \(\{\mathbf{x}, \mathbf{y}, \mathbf{z}, \mathbf{w}\}\) is also orthogonal.
- If \(\{\mathbf{x}_{1}, \mathbf{x}_{2}\}\) and \(\{\mathbf{y}_{1}, \mathbf{y}_{2}, \mathbf{y}_{3}\}\) are both orthogonal and \(\mathbf{x}_{i}\cdot \mathbf{y}_{j} = 0\) for all \(i\) and \(j\), then \(\{\mathbf{x}_{1}, \mathbf{x}_{2}, \mathbf{y}_{1}, \mathbf{y}_{2}, \mathbf{y}_{3}\}\) is orthogonal.
- If \(\{\mathbf{x}_{1}, \mathbf{x}_{2}, \dots, \mathbf{x}_{n}\}\) is orthogonal in \(\mathbb{R}^n\), then \(\mathbb{R}^n = span \;\{\mathbf{x}_{1}, \mathbf{x}_{2}, \dots, \mathbf{x}_{n}\}\).
- If \(\mathbf{x} \neq \mathbf{0}\) in \(\mathbb{R}^n\), then \(\{\mathbf{x}\}\) is an orthogonal set.
- Answer
-
- F. \(\mathbf{x} = \left[ \begin{array}{r} 1\\ 0 \end{array} \right]\) and \(\mathbf{y} = \left[ \begin{array}{r} 0\\ 1 \end{array} \right]\).
- T. Every \(\mathbf{x}_{i}\cdot \mathbf{y}_{j} = 0\) by assumption, every \(\mathbf{x}_{i}\cdot \mathbf{x}_{j} = 0\) if \(i \neq j\) because the \(\mathbf{x}_{i}\) are orthogonal, and every \(\mathbf{y}_{i}\cdot \mathbf{y}_{j} = 0\) if \(i \neq j\) because the \(\mathbf{y}_{i}\) are orthogonal. As all the vectors are nonzero, this does it.
- T. Every pair of distinct vectors in the set \(\{\mathbf{x}\}\) has dot product zero (there are no such pairs).
Let \(\mathbf{v}\) denote a nonzero vector in \(\mathbb{R}^n\).
- Show that \(P = \{\mathbf{x} \mbox{ in } \mathbb{R}^n \mid \mathbf{x}\cdot \mathbf{v} = 0\}\) is a subspace of \(\mathbb{R}^n\).
- Show that \(\mathbb{R}\mathbf{v} = \{t\mathbf{v} \mid t \mbox{ in }\mathbb{R}\}\) is a subspace of \(\mathbb{R}^n\).
- Describe \(P\) and \(\mathbb{R}\mathbf{v}\) geometrically when \(n = 3\).
If \(A\) is an \(m \times n\) matrix with orthonormal columns, show that \(A^{T}A = I_{n}\). [Hint: If \(\mathbf{c}_{1}, \mathbf{c}_{2}, \dots, \mathbf{c}_{n}\) are the columns of \(A\), show that column \(j\) of \(A^{T}A\) has entries \(\mathbf{c}_{1}\cdot \mathbf{c}_{j}, \mathbf{c}_{2}\cdot \mathbf{c}_{j}, \dots, \mathbf{c}_{n}\cdot \mathbf{c}_{j}\)].
- Answer
-
Let \(\mathbf{c}_{1}, \dots, \mathbf{c}_{n}\) be the columns of \(A\). Then row \(i\) of \(A^{T}\) is \(\mathbf{c}_{i}^{T}\), so the \((i, j)\)-entry of \(A^{T}A\) is \(\mathbf{c}_{i}^{T}\mathbf{c}_j = \mathbf{c}_{i}\cdot \mathbf{c}_{j} = 0, 1\) according as \(i \neq j\), \(i = j\). So \(A^{T}A = I\).
Use the Cauchy inequality to show that \(\sqrt{xy} \leq \frac{1}{2}(x + y)\) for all \(x \geq 0\) and \(y \geq 0\). Here \(\sqrt{xy}\) and \(\frac{1}{2}(x + y)\) are called, respectively, the geometric mean and arithmetic mean of \(x\) and \(y\).
[Hint: Use \(\mathbf{x} = \left[ \begin{array}{r} \sqrt{x} \\ \sqrt{y} \end{array} \right]\) and \(\mathbf{y} = \left[ \begin{array}{r} \sqrt{y} \\ \sqrt{x} \end{array} \right]\).]
Use the Cauchy inequality to prove that:
- \(r_1 + r_2 + \dots + r_n \leq n(r_1^2 + r_2^2 + \dots + r_n^2)\) for all \(r_i\) in \(\mathbb{R}\) and all \(n \geq 1\).
- \(r_1r_2 + r_1r_3 + r_2r_3 \leq r_1^2 + r_2^2 + r_3^2\) for all \(r_1, r_2,\) and \(r_3\) in \(\mathbb{R}\). [Hint: See part (a).]
- Answer
-
- Take \(n = 3\) in (a), expand, and simplify.
- Show that \(\mathbf{x}\) and \(\mathbf{y}\) are orthogonal in \(\mathbb{R}^n\) if and only if \(\|\mathbf{x} + \mathbf{y}\| = \|\mathbf{x} - \mathbf{y}\|\).
- Show that \(\mathbf{x} + \mathbf{y}\) and \(\mathbf{x} - \mathbf{y}\) are orthogonal in \(\mathbb{R}^n\) if and only if \(\|\mathbf{x}\| = \|\mathbf{y}\|\).
- Answer
-
- We have \((\mathbf{x} + \mathbf{y})\cdot (\mathbf{x} - \mathbf{y}) = \|\mathbf{x}\|^{2} - \|\mathbf{y}\|^{2}\). Hence \((\mathbf{x} + \mathbf{y})\cdot (\mathbf{x} - \mathbf{y}) = 0\) if and only if \(\|\mathbf{x}\|^{2} = \|\mathbf{y}\|^{2}\); if and only if \(\|\mathbf{x}\| = \|\mathbf{y}\|\)—where we used the fact that \(\|\mathbf{x}\| \geq 0\) and \(\|\mathbf{y}\| \geq 0\).
- Show that \(\|\mathbf{x} + \mathbf{y}\|^{2} = \|\mathbf{x}\|^{2} + \|\mathbf{y}\|^{2}\) if and only if \(\mathbf{x}\) is orthogonal to \(\mathbf{y}\).
- If \(\mathbf{x} = \left[ \begin{array}{r} 1 \\ 1 \end{array} \right]\), \(\mathbf{y} = \left[ \begin{array}{r} 1 \\ 0 \end{array} \right]\) and \(\mathbf{z} = \left[ \begin{array}{r} -2 \\ 3 \end{array} \right]\), show that \(\|\mathbf{x} + \mathbf{y} + \mathbf{z}\|^{2} = \|\mathbf{x}\|^{2} + \|\mathbf{y}\|^{2} + \|\mathbf{z}\|^{2}\) but \(\mathbf{x}\cdot \mathbf{y} \neq 0\), \(\mathbf{x}\cdot \mathbf{z} \neq 0\), and \(\mathbf{y}\cdot \mathbf{z} \neq 0\).
- Show that \(\mathbf{x}\cdot \mathbf{y} = \frac{1}{4}[\|\mathbf{x} + \mathbf{y}\|^{2} - \|\mathbf{x} - \mathbf{y}\|^{2}]\) for all \(\mathbf{x}\), \(\mathbf{y}\) in \(\mathbb{R}^n\).
- Show that \(\|\mathbf{x}\|^{2} + \|\mathbf{y}\|^{2} = \frac{1}{2}\left[ \|\mathbf{x} + \mathbf{y}\|^{2} + \|\mathbf{x} - \mathbf{y}\|^{2}\right]\) for all \(\mathbf{x}\), \(\mathbf{y}\) in \(\mathbb{R}^n\).
If \(A\) is \(n \times n\), show that every eigenvalue of \(A^{T}A\) is nonnegative. [Hint: Compute \(\| A\mathbf{x}\|^{2}\) where \(\mathbf{x}\) is an eigenvector.]
- Answer
-
If \(A^{T}A\mathbf{x} = \lambda\mathbf{x}\), then \(\| A\mathbf{x}\|^{2} = (A\mathbf{x})\cdot (A\mathbf{x}) = \mathbf{x}^{T}A^{T}A\mathbf{x} = \mathbf{x}^{T}(\lambda\mathbf{x}) = \lambda\|\mathbf{x}\|^{2}\).
If \(\mathbb{R}^n = span \;\{\mathbf{x}_{1}, \dots, \mathbf{x}_{m}\}\) and \(\mathbf{x}\cdot \mathbf{x}_{i} = 0\) for all \(i\), show that \(\mathbf{x} = 0\). [Hint: Show \(\|\mathbf{x}\| = 0\).]
If \(\mathbb{R}^n = span \;\{\mathbf{x}_{1}, \dots, \mathbf{x}_{m}\}\) and \(\mathbf{x}\cdot \mathbf{x}_{i} = \mathbf{y}\cdot \mathbf{x}_{i}\) for all \(i\), show that \(\mathbf{x} = \mathbf{y}\). [Hint: Exercise 5.3.16]
Let \(\{\mathbf{e}_{1}, \dots, \mathbf{e}_{n}\}\) be an orthogonal basis of \(\mathbb{R}^n\). Given \(\mathbf{x}\) and \(\mathbf{y}\) in \(\mathbb{R}^n\), show that
\[\mathbf{x}\cdot \mathbf{y} = \frac{(\mathbf{x}\cdot \mathbf{e}_1)(\mathbf{y}\cdot \mathbf{e}_1)}{\|\mathbf{e}_1\|^2} + \dots + \frac{(\mathbf{x}\cdot \mathbf{e}_n)(\mathbf{y}\cdot \mathbf{e}_n)}{\|\mathbf{e}_n\|^2} \nonumber \]


