\\\\( \nonumber \newcommand{\bevisslut}{$\blacksquare$} \newenvironment{matr}[1]{\hspace{-.8mm}\begin{bmatrix}\hspace{-1mm}\begin{array}{#1}}{\end{array}\hspace{-1mm}\end{bmatrix}\hspace{-.8mm}} \newcommand{\transp}{\hspace{-.6mm}^{\top}} \newcommand{\maengde}[2]{\left\lbrace \hspace{-1mm} \begin{array}{c|c} #1 & #2 \end{array} \hspace{-1mm} \right\rbrace} \newenvironment{eqnalign}[1]{\begin{equation}\begin{array}{#1}}{\end{array}\end{equation}} \newcommand{\eqnl}{} \newcommand{\matind}[3]{{_\mathrm{#1}\mathbf{#2}_\mathrm{#3}}} \newcommand{\vekind}[2]{{_\mathrm{#1}\mathbf{#2}}} \newcommand{\jac}[2]{{\mathrm{Jacobi}_\mathbf{#1} (#2)}} \newcommand{\diver}[2]{{\mathrm{div}\mathbf{#1} (#2)}} \newcommand{\rot}[1]{{\mathbf{rot}\mathbf{(#1)}}} \newcommand{\am}{\mathrm{am}} \newcommand{\gm}{\mathrm{gm}} \newcommand{\E}{\mathrm{E}} \newcommand{\Span}{\mathrm{span}} \newcommand{\mU}{\mathbf{U}} \newcommand{\mA}{\mathbf{A}} \newcommand{\mB}{\mathbf{B}} \newcommand{\mC}{\mathbf{C}} \newcommand{\mD}{\mathbf{D}} \newcommand{\mE}{\mathbf{E}} \newcommand{\mF}{\mathbf{F}} \newcommand{\mK}{\mathbf{K}} \newcommand{\mI}{\mathbf{I}} \newcommand{\mM}{\mathbf{M}} \newcommand{\mN}{\mathbf{N}} \newcommand{\mQ}{\mathbf{Q}} \newcommand{\mT}{\mathbf{T}} \newcommand{\mV}{\mathbf{V}} \newcommand{\mW}{\mathbf{W}} \newcommand{\mX}{\mathbf{X}} \newcommand{\ma}{\mathbf{a}} \newcommand{\mb}{\mathbf{b}} \newcommand{\mc}{\mathbf{c}} \newcommand{\md}{\mathbf{d}} \newcommand{\me}{\mathbf{e}} \newcommand{\mn}{\mathbf{n}} \newcommand{\mr}{\mathbf{r}} \newcommand{\mv}{\mathbf{v}} \newcommand{\mw}{\mathbf{w}} \newcommand{\mx}{\mathbf{x}} \newcommand{\mxb}{\mathbf{x_{bet}}} \newcommand{\my}{\mathbf{y}} \newcommand{\mz}{\mathbf{z}} \newcommand{\reel}{\mathbb{R}} \newcommand{\mL}{\bm{\Lambda}} \newcommand{\mnul}{\mathbf{0}} \newcommand{\trap}[1]{\mathrm{trap}(#1)} \newcommand{\Det}{\operatorname{Det}} \newcommand{\adj}{\operatorname{adj}} \newcommand{\Ar}{\operatorname{Areal}} \newcommand{\Vol}{\operatorname{Vol}} \newcommand{\Rum}{\operatorname{Rum}} \newcommand{\diag}{\operatorname{\bf{diag}}} \newcommand{\bidiag}{\operatorname{\bf{bidiag}}} \newcommand{\spanVec}[1]{\mathrm{span}{#1}} \newcommand{\Div}{\operatorname{Div}} \newcommand{\Rot}{\operatorname{\mathbf{Rot}}} \newcommand{\Jac}{\operatorname{Jacobi}} \newcommand{\Tan}{\operatorname{Tan}} \newcommand{\Ort}{\operatorname{Ort}} \newcommand{\Flux}{\operatorname{Flux}} \newcommand{\Cmass}{\operatorname{Cm}} \newcommand{\Imom}{\operatorname{Im}} \newcommand{\Pmom}{\operatorname{Pm}} \newcommand{\IS}{\operatorname{I}} \newcommand{\IIS}{\operatorname{II}} \newcommand{\IIIS}{\operatorname{III}} \newcommand{\Le}{\operatorname{L}} \newcommand{\app}{\operatorname{app}} \newcommand{\M}{\operatorname{M}} \newcommand{\re}{\mathrm{Re}} \newcommand{\im}{\mathrm{Im}} \newcommand{\compl}{\mathbb{C}} \newcommand{\e}{\mathrm{e}} \\\\)

Exercise 1: Lengths and Angles in $\,\reel^n\,$

By hand. In the vector space $\,\reel^5\,$ (equipped with the ordinary scalar product) the vectors

$$\ma=(-2,0,2,2,-2)\,\,\,\,\mathrm{and}\,\,\,\,\mb=(1,2,-1,-1,1)\,$$

are given.

A

Determine the length of the two vectors and the angle between them.

For two proper, non parallel vectors $\,\ma\,$ and $\,\mb\,$ in the plane it applies that the vector

$$\,\mathbf u=\mb -\mathrm{proj(\mb,\ma})\,$$

is orthogonal (perpendicular) to $\,\ma\,,$ see the figure.

proj3.png

B

Determine for the given vectors $\,\ma\,$ and $\,\mb\,$ in $\,\reel^5\,$ the vector

$$\,\mathbf u=\mb -\mathrm{proj(\mb,\ma})\,,$$

and show that it is orthogonal (perpendicular) to $\,\ma\,.$


Exercise 2: Orthonormal Basis. By Hand

C

Does the vectors

$$\mv_1=\left( \frac{1}{3},\frac{2}{3},\frac{2}{3}\right) \quad \mv_2=\left( \frac{2}{3}, \frac{1}{3}, -\frac{2}{3}\right)\quad \mv_3=\left( \frac{2}{3}, -\frac{2}{3}, \frac{1}{3}\right)$$

constitute an orthonormal basis in $\,\reel^3\,?$

D

State an orthonormal basis in $\,\reel^3\,$ where $\,\,\displaystyle{(\frac {\sqrt 2}2,\frac {\sqrt 2}2,0)}\,\,$ is the first basis vector.


Exercise 3: Orthonormalization. By Hand

E

Determine the solution set for the homogeneous equation

$$x_1+x_2+x_3=0$$

and explain that it (of course) is a subspace in $\,\reel^3\,.$ Find an orthonormal basis for this solution space.


Exercise 4: Orthogonal matrix. By Hand

F

Are the matrices below orthogonal?

$$\mA=\begin{matr}{rr} \frac{3}{2} & \frac{1}{2} \\\\ -\frac{1}{2} & \frac{1}{2} \end{matr},$$
$$\mB=\begin{matr}{rr} \frac{1}{2} & 0 \\\\ 0 & 2 \end{matr},$$
$$\mC=\frac{1}{5}\begin{matr}{rr} 3 & -4 \\\\ 4 & 3 \end{matr},$$
$$ \mD=\frac{1}{2}\begin{matr}{rrrr} 1 & -1 & 1 & 1 \\\\ 1 & 1 & -1 & 1 \\\\ 1 & -1 & -1 & -1 \\\\ 1 & 1 & 1 & -1 \\\\ \end{matr}. $$

Exercise 5: Orthogonal Matrix. By Hand

Given the matrix

$$ \mA=\begin{matr}{rrrr} 0 & -a & 0 & a \\\\ a & 0 & a & 0 \\\\ 0 & -a & 0 & -a \\\\ -a & 0 & a & 0 \end{matr} $$
A

Determine the values of $a$, for which $\mA$ is orthogonal.

B

Determine for which values of $a$, $\mA$ is positive orthogonal?


Exercise 6: Symmetric Matrices. Theory Exercise

Given the matrix

$$\mA=\begin{matr}{rr} a & c \\\\ c & b \end{matr}\,$$

where $\,a,\,b$ og $c\,$ are real numbers. Note that $\,\mA=\mA^{\transp}\,$, so $\,\mA\,$ is symmetric.

C

Show that $\,\mA$’s eigenvalues are real.

D

Show as a consequence: If $\,\mA\,$ is not a diagonal matrix, then it has two different (real) eigenvalues.


Exercise 7: Diagonalization by Orthogonal Substitution

Given the symmetric matrix

$$ \mA=\begin{matr}{rrr} -2 & 1 & 1 \\\\ 1 & -2 & -1 \\\\ 1 & -1 & -2 \end{matr}. $$
E

State an orthogonal matrix $\,\mathbf{Q}\,$ and a diagonal matrix $\,\mathbf{\Lambda}\,$ such that

$$\,\mathbf{Q}\transp \cdot\mA\cdot\mathbf{Q}=\mathbf{\Lambda}\,.$$


Exercise 8: Particular Orthogonal Matrix

Given the matrices

$$\mA=\begin{matr}{rrr} 1 & -1 & 2 \\\\ -1 & 1 & 2 \\\\ 2 & 2 & -2 \end{matr}\quad\mathrm{and}\quad\mB=\begin{matr}{rrr} 2 & -1 & -1 \\\\ -1 & 2 & -1 \\\\ -1 & -1 & 2 \end{matr}.$$
F

Show that the characteristic polynomial for $\,\mA\,$ has a simple root -4 and a double root.

G

Determine a proper eigenvector $\,\mv_1\,$ of $\,\mA\,$ corresponding to the simple root -4.

H

Show that the characteristic polynomial for $\,\mB\,$ also has a simple root 0 and a double root.

I

Determine a proper eigenvector $\,\mv_2\,$ for $\,\mB\,$ corresponding to the simple root 0.

J

Show that $\,\mv_1\cdot\mv_2=\mnul\,.$

K

Determine by using the results above an orthogonal matrix $\,\mathbf Q\,$ that can diagonalize both $\,\mA\,$ and $\,\mB\,$ by orthogonal substitution. State the results of both $\,\mathbf Q\transp\cdot\mA\cdot\mathbf Q\,$ and $\,\mathbf Q\transp\cdot\mB\cdot\mathbf Q\,.$


Exercise 9: A Subspace in $\reel^4$ and Its Orthogonal Complement

In $\,\reel^4\,$ we are given the vectors

$$\mv_1=(1,1,1,1),\,\mv_2=(3,1,1,3),\,\mv_3=(2,0,-2,4)\,\,\,\,\mathrm{and}\,\,\,\,\mv_4=(1,1,-1,3),.$$

A subspace $\,\mathbf U\,$ i $\,\reel^4\,$ is determined by $\,\mathbf U=\spanVec{\mv_1,\mv_2,\mv_3,\mv_4}\,.$

L

Show that $\,(\mv_1,\mv_2,\mv_3)\,$ is a basis for $\,\mathbf U\,,$ and find the coordinate vector for $\,\mv_4\,$ with respect to this basis.

M

State an orthonormal basis for $\,\mathbf U\,.$

N

Determine the orthogonal complement in $\,\reel^4\,$ to $\,\mathbf U\,.$