Skip to main content
Mathematics LibreTexts

4.12.E: Exercises for Section 4.9

  • Page ID
    197442
  • \( \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{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Exercise \(\PageIndex{1}\)

    Apply the Gram-Schmidt process to the following set of vectors in \( \mathbb{R}^2 \) to create an orthonormal basis: \[ \vec{v}_1 = \begin{bmatrix} 1 \\ 1 \end{bmatrix}, \quad \vec{v}_2 = \begin{bmatrix} 1 \\ -1 \end{bmatrix} \nonumber\]

    Answer

    \[ \left\{ \frac{1}{\sqrt{2}} \begin{bmatrix} 1 \\ 1 \end{bmatrix}, \frac{1}{\sqrt{2}} \begin{bmatrix} 1 \\ -1 \end{bmatrix} \right\} \nonumber \]

    Exercise \(\PageIndex{2}\)

    Find an orthonormal basis for the span of each of the following sets of vectors.

    1. \(\left[\begin{array}{r}3\\-4\\0\end{array}\right],\:\left[\begin{array}{r}7\\-1\\0\end{array}\right],\:\left[\begin{array}{r}1\\7\\1\end{array}\right]\)
    2. \(\left[\begin{array}{r}3\\0\\-4\end{array}\right],\:\left[\begin{array}{r}11\\0\\2\end{array}\right],\:\left[\begin{array}{r}1\\1\\7\end{array}\right]\)
    3. \(\left[\begin{array}{r}3\\0\\-4\end{array}\right],\:\left[\begin{array}{r}5\\0\\10\end{array}\right],\:\left[\begin{array}{r}-7\\1\\1\end{array}\right]\)
    Answer
    1. \(\left[\begin{array}{c}\frac{3}{5} \\ -\frac{4}{5} \\ 0\end{array}\right],\:\left[\begin{array}{c}\frac{4}{5}\\ \frac{3}{5} \\ 0\end{array}\right],\:\left[\begin{array}{c}0\\0\\1\end{array}\right]\)
    2. \(\left[\begin{array}{c}\frac{3}{5}\\ 0\\ -\frac{4}{5}\end{array}\right],\:\left[\begin{array}{c}\frac{4}{5} \\ 0\\ \frac{3}{5}\end{array}\right],\:\left[\begin{array}{c}0\\1\\0\end{array}\right]\)
    3. \(\left[\begin{array}{c}\frac{3}{5}\\0\\-\frac{4}{5}\end{array}\right],\:\left[\begin{array}{c}\frac{4}{5}\\0\\ \frac{3}{5}\end{array}\right],\:\left[\begin{array}{c}0\\1\\0\end{array}\right]\)
    Exercise \(\PageIndex{3}\)

    Using the Gram Schmidt process find an orthonormal basis for the following span: \[\text{span}\left\{\left[\begin{array}{r}1\\2\\1\end{array}\right],\:\left[\begin{array}{r}2\\-1\\3\end{array}\right],\:\left[\begin{array}{r}1\\0\\0\end{array}\right]\right\}\nonumber\]

    Answer

    A solution is \[\left[\begin{array}{c}\frac{1}{6}\sqrt{6} \\ \frac{1}{3}\sqrt{6} \\ \frac{1}{6}\sqrt{6}\end{array}\right],\:\left[\begin{array}{c}\frac{3}{10}\sqrt{2} \\ -\frac{2}{5}\sqrt{2} \\ \frac{1}{2}\sqrt{2}\end{array}\right],\:\left[\begin{array}{c}\frac{7}{15}\sqrt{3} \\ -\frac{1}{15}\sqrt{3} \\ -\frac{1}{3}\sqrt{3}\end{array}\right]\nonumber\]

    Exercise \(\PageIndex{4}\)

    Using the Gram Schmidt process find an orthonormal basis for the following span: \[\text{span}\left\{\left[\begin{array}{r}1\\2\\1\\0\end{array}\right],\:\left[\begin{array}{r}2\\-1\\3\\1\end{array}\right],\:\left[\begin{array}{r}1\\0\\0\\1\end{array}\right]\right\}\nonumber\]

    Answer

    Then a solution is \[\left[\begin{array}{c}\frac{1}{6}\sqrt{6} \\ \frac{1}{3}\sqrt{6} \\ \frac{1}{6}\sqrt{6} \\ 0\end{array}\right],\:\left[\begin{array}{c}\frac{1}{6}\sqrt{2}\sqrt{3} \\ -\frac{2}{9}\sqrt{2}\sqrt{3} \\ \frac{5}{18}\sqrt{2}\sqrt{3} \\ \frac{1}{9}\sqrt{2}\sqrt{3}\end{array}\right],\:\left[\begin{array}{c}\frac{5}{111}\sqrt{3}\sqrt{37} \\ \frac{1}{133}\sqrt{3}\sqrt{37} \\ -\frac{17}{333}\sqrt{3}\sqrt{37} \\ \frac{22}{333}\sqrt{3}\sqrt{37}\end{array}\right]\nonumber\]

    Exercise \(\PageIndex{5}\)

    Consider the following vectors: \[ \vec{v}_1 = \begin{bmatrix} 1 \\ 2 \end{bmatrix}, \quad \vec{v}_2 = \begin{bmatrix} a \\ b \end{bmatrix} \]

    1. Find an orthonormal basis.
    2. What restriction did you have to make for your answer to part a?
    Answer
    1. \[ \left\{ \frac{1}{\sqrt{5}} \begin{bmatrix} 1 \\ 2 \end{bmatrix}, \frac{1}{\sqrt{a^2 + b^2 - \frac{(a + 2b)^2}{5}}} \begin{bmatrix} a - \frac{a + 2b}{5} \\ b - \frac{2(a + 2b)}{5} \end{bmatrix} \right\} \nonumber \]
    2. \( b \neq 2a\).
    Exercise \(\PageIndex{6}\)

    The set \(V=\left\{\left[\begin{array}{c}x\\y\\z\end{array}\right] :2x+3y-z=0\right\}\) is a subspace of \(\mathbb{R}^3\). Find an orthonormal basis for this subspace.

    Answer

    The subspace is of the form \[\left[\begin{array}{c}x\\y\\2x+3y\end{array}\right]\nonumber\] and a basis is \(\left[\begin{array}{c}1\\0\\2\end{array}\right],\:\left[\begin{array}{c}0\\1\\3\end{array}\right]\). Therefore, an orthonormal basis is \[\left[\begin{array}{c}\frac{1}{5}\sqrt{5} \\ 0\\ \frac{2}{5}\sqrt{5}\end{array}\right],\:\left[\begin{array}{c}-\frac{3}{35}\sqrt{5}\sqrt{14} \\ \frac{1}{14}\sqrt{5}\sqrt{14} \\ \frac{3}{70}\sqrt{5}\sqrt{14}\end{array}\right]\nonumber\]

    Exercise \(\PageIndex{7}\)

    Use the Gram Schmidt process to transform the given basis for a subspace in \(\mathbb{R}^n\) into an orthogonal basis for the subspace.

    a. \(\left[\begin{array}{r}3\\0\\-3\end{array}\right],\:\left[\begin{array}{r}1\\3\\0\end{array}\right]\)

    b. \(\left[\begin{array}{r}1\\1\\0\end{array}\right],\:\left[\begin{array}{r}0\\1\\1\end{array}\right],\:\left[\begin{array}{r}1\\0\\1\end{array}\right]\)


    This page titled 4.12.E: Exercises for Section 4.9 is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Doli Bambhania, Fatemeh Yarahmadi, and Bill Wilson.