Section 5.4

Orthogonal Vectors

[20/100%]
Show
LaTeX
Problem 5.4.1

Using the standard inner product, determine which of the following pairs are orthogonal vectors in the indicated space.

?
(a)

x=(1−34)x = \begin{pmatrix} 1 \\ -3 \\ 4 \end{pmatrix} and y=(−222)y = \begin{pmatrix} -2 \\ 2 \\ 2 \end{pmatrix} in R3\mathbb {R}^{3},

(b)

x=(i1+i21−i)x = \begin{pmatrix} i \\ 1+i \\ 2 \\ 1-i \end{pmatrix} and y=(01+i−21−i)y = \begin{pmatrix} 0 \\ 1+i \\ -2 \\ 1-i \end{pmatrix} in C4\mathbb {C}^{4},

(c)

x=(1−234)x = \begin{pmatrix} 1 \\ -2 \\ 3 \\ 4 \end{pmatrix} and y=(42−11)y = \begin{pmatrix} 4 \\ 2 \\ -1 \\ 1 \end{pmatrix} in R4\mathbb {R}^{4},

(d)

x=(1+i1i)x = \begin{pmatrix} 1+i \\ 1 \\ i \end{pmatrix} and y=(1−i−3−i)y = \begin{pmatrix} 1-i \\ -3 \\ -i \end{pmatrix} in C3\mathbb {C}^{3},

(e)

x=(00⋮0)x = \begin{pmatrix} 0 \\ 0 \\ \vdots \\ 0 \end{pmatrix} and y=(y1y2⋮yn)y = \begin{pmatrix} y_{1} \\ y_{2} \\ \vdots \\ y_{n} \end{pmatrix} in Rn\mathbb {R}^{n}.

Problem 5.4.2

Find two vectors of unit norm that are orthogonal to u=(3−2)u = \begin{pmatrix} 3 \\ -2 \end{pmatrix}.

?
Problem 5.4.3

Consider the following set of three vectors:

x1=(1−102),x2=(1110),x3=(−1−120). x_{1} = \begin{pmatrix} 1 \\ -1 \\ 0 \\ 2 \end{pmatrix}, \quad x_{2} = \begin{pmatrix} 1 \\ 1 \\ 1 \\ 0 \end{pmatrix}, \quad x_{3} = \begin{pmatrix} -1 \\ -1 \\ 2 \\ 0 \end{pmatrix}.
?
(a)

Using the standard inner product in R4\mathbb {R}^{4}, verify that these vectors are mutually orthogonal.

(b)

Find a nonzero vector x4x_{4} such that {x1,x2,x3,x4}\left\{ x_{1},x_{2},x_{3},x_{4}\right\} is a set of mutually orthogonal vectors.

(c)

Convert the resulting set into an orthonormal basis for R4\mathbb {R}^{4}.

Problem 5.4.4

Using the standard inner product, determine the Fourier expansion of xx with respect to BB, where

x=(10−2),B={12(1−10),  13(111),  16(−1−12)}. x = \begin{pmatrix} 1 \\ 0 \\ -2 \end{pmatrix}, \qquad B = \left\{ \frac{1}{\sqrt{2}}\begin{pmatrix} 1 \\ -1 \\ 0 \end{pmatrix}, \; \frac{1}{\sqrt{3}}\begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix}, \; \frac{1}{\sqrt{6}}\begin{pmatrix} -1 \\ -1 \\ 2 \end{pmatrix}\right\} .
?
Problem 5.4.5

With respect to the inner product for matrices ⟨A,B⟩=trace⁡(ATB)\left\langle A, B \right\rangle = \operatorname {trace}(A^{T}B), verify that the set

B={12(0110),  12(100−1),  12(1−111),  12(11−11)} B = \left\{ \frac{1}{\sqrt{2}}\begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \; \frac{1}{\sqrt{2}}\begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}, \; \frac{1}{2}\begin{pmatrix} 1 & -1 \\ 1 & 1 \end{pmatrix}, \; \frac{1}{2}\begin{pmatrix} 1 & 1 \\ -1 & 1 \end{pmatrix}\right\}

is an orthonormal basis for R2×2\mathbb {R}^{2 \times 2}, and then compute the Fourier expansion of A=(1111)A = \begin{pmatrix} 1 & 1 \\ 1 & 1 \end{pmatrix} with respect to BB.

?
Problem 5.4.6

Determine the angle between x=(2−11)x = \begin{pmatrix} 2 \\ -1 \\ 1 \end{pmatrix} and y=(112)y = \begin{pmatrix} 1 \\ 1 \\ 2 \end{pmatrix}.

?
Problem 5.4.7

Given an orthonormal basis BB for a space VV, explain why the Fourier expansion for x∈Vx \in V is uniquely determined by BB.

?
Problem 5.4.8

Explain why the columns of Un×nU_{n \times n} are an orthonormal basis for Cn\mathbb {C}^{n} if and only if U∗=U−1U^{*} = U^{-1}.

?
Remark.
?

Such matrices are said to be unitary; their properties are studied in a later section.

Problem 5.4.9

Matrices with the property A∗A=AA∗A^{*}A = AA^{*} are said to be normal (hermitian matrices as well as real symmetric matrices are included in this class). Prove that if AA is normal, then R(A)⊥N(A)\mathcal{R}(A) \perp \mathcal{N}(A) — i.e., every vector in the range of AA is orthogonal to every vector in the nullspace of AA.

?
Remark.
?

For A∈Cm×nA \in \mathbb {C}^{m \times n}, equations (4.5.5)-(4.5.6) state R(A∗A)=R(A∗)\mathcal{R}(A^{*}A) = \mathcal{R}(A^{*}), R(AA∗)=R(A)\mathcal{R}(AA^{*}) = \mathcal{R}(A), N(A∗A)=N(A)\mathcal{N}(A^{*}A) = \mathcal{N}(A), and N(AA∗)=N(A∗)\mathcal{N}(AA^{*}) = \mathcal{N}(A^{*}).

Problem 5.4.10

Using the trace inner product ⟨A,B⟩=trace⁡(ATB)\left\langle A, B \right\rangle = \operatorname {trace}(A^{T}B), determine the angle between the following pairs of matrices.

?
(a)

I=(1001)I = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} and B=(1111)B = \begin{pmatrix} 1 & 1 \\ 1 & 1 \end{pmatrix}.

(b)

A=(1324)A = \begin{pmatrix} 1 & 3 \\ 2 & 4 \end{pmatrix} and B=(2−220)B = \begin{pmatrix} 2 & -2 \\ 2 & 0 \end{pmatrix}.

Problem 5.4.11

Why is the definition for cos⁡θ=⟨x,y⟩/∥x∥∥y∥\cos \theta = \left\langle x, y \right\rangle /\left\| x\right\| \left\| y\right\| not good for Cn\mathbb {C}^{n}? Explain how to define cos⁡θ\cos \theta so that it makes sense in Cn\mathbb {C}^{n}.

?
Problem 5.4.12

If {u1,u2,…,un}\left\{ u_{1}, u_{2}, \ldots , u_{n}\right\} is an orthonormal basis for an inner-product space VV, explain why

⟨x,y⟩=∑i⟨x,ui⟩⟨ui,y⟩ \left\langle x, y \right\rangle = \sum _{i} \left\langle x, u_{i} \right\rangle \left\langle u_{i}, y \right\rangle

holds for every x,y∈Vx, y \in V.

?
Problem 5.4.13

Consider a real inner-product space, where ∥⋆∥2=⟨⋆,⋆⟩\left\| \star \right\|^{2} = \left\langle \star , \star \right\rangle.

?
(a)

Prove that if ∥x∥=∥y∥\left\| x\right\| = \left\| y\right\|, then (x+y)⊥(x−y)(x+y) \perp (x-y).

(b)

For the standard inner product in R2\mathbb {R}^{2}, draw a picture of this. That is, sketch the location of x+yx+y and x−yx-y for two vectors with equal norms.

Problem 5.4.14

Let VV be a general inner-product space in which ∥⋆∥2=⟨⋆,⋆⟩\left\| \star \right\|^{2} = \left\langle \star , \star \right\rangle.

?
(a)

When VV is a real space, prove that x⊥yx \perp y if and only if ∥x+y∥2=∥x∥2+∥y∥2\left\| x+y\right\|^{2} = \left\| x\right\|^{2} + \left\| y\right\|^{2}.

(b)

Construct an example to show that one of the implications in part (a) does not hold when VV is a complex space.

(c)

When VV is a complex space, prove that x⊥yx \perp y if and only if ∥αx+βy∥2=∥αx∥2+∥βy∥2\left\| \alpha x + \beta y\right\|^{2} = \left\| \alpha x\right\|^{2} + \left\| \beta y\right\|^{2} for all scalars α\alpha and β\beta.

Problem 5.4.15

Let B={u1,u2,…,un}B = \left\{ u_{1}, u_{2}, \ldots , u_{n}\right\} be an orthonormal basis for an inner-product space VV, and let x=∑iξiuix = \sum_{i} \xi_{i}u_{i} be the Fourier expansion of x∈Vx \in V.

?
(a)

If VV is a real space, and if θi\theta_{i} is the angle between uiu_{i} and xx, explain why ξi=∥x∥cos⁡θi\xi_{i} = \left\| x\right\| \cos \theta_{i}. Sketch a picture of this in R2\mathbb {R}^{2} or R3\mathbb {R}^{3} to show why the component ξiui\xi_{i}u_{i} represents the orthogonal projection of xx onto the line determined by uiu_{i}, and thus illustrate the fact that a Fourier expansion is nothing more than simply resolving xx into mutually orthogonal components.

(b)

Derive Parseval's identity, which says ∑i=1n∣ξi∣2=∥x∥2\sum_{i=1}^{n} \left|\xi_{i}\right|^{2} = \left\| x\right\|^{2}.

Problem 5.4.16

Let B={u1,u2,…,uk}B = \left\{ u_{1}, u_{2}, \ldots , u_{k}\right\} be an orthonormal set in an nn-dimensional inner-product space VV. Derive Bessel's inequality, which says that if x∈Vx \in V and ξi=⟨ui,x⟩\xi_{i} = \left\langle u_{i}, x \right\rangle, then

∑i=1k∣ξi∣2≤∥x∥2. \sum _{i=1}^{k} \left|\xi _{i}\right|^{2} \leq \left\| x\right\| ^{2}.

Explain why equality holds if and only if x∈⟨u1,u2,…,uk⟩x \in \left\langle u_{1}, u_{2}, \ldots , u_{k}\right\rangle.

?
Problem 5.4.17

Construct an example using the standard inner product in Rn\mathbb {R}^{n} to show that two vectors xx and yy can have an angle between them that is close to π/2\pi /2 without xTyx^{T}y being close to 00.

?
Problem 5.4.18

Example 5.4.3 shows that yy is linearly correlated with xx in the sense that y≈β0e+β1xy \approx \beta_{0}e + \beta_{1}x if and only if the standardization vectors zx=(x−μxe)/σxz_{x} = (x-\mu_{x}e)/\sigma_{x} and zy=(y−μye)/σyz_{y} = (y-\mu_{y}e)/\sigma_{y} are "close" in the sense that they are almost on the same line in Rn\mathbb {R}^{n} (where μx,σx\mu_{x}, \sigma_{x} are the mean and standard deviation of xx's entries, and similarly for yy). Explain why simply measuring ∥zx−zy∥2\left\| z_{x}-z_{y}\right\|_{2} does not always gauge the degree of linear correlation.

?
Problem 5.4.19

Let θ\theta be the angle between two vectors xx and yy from a real inner-product space.

?
(a)

Prove that cos⁡θ=1\cos \theta = 1 if and only if y=αxy = \alpha x for α>0\alpha > 0.

(b)

Prove that cos⁡θ=−1\cos \theta = -1 if and only if y=αxy = \alpha x for α<0\alpha < 0.

Problem 5.4.20

With respect to the orthonormal set

B={12π,  cos⁡tπ,  cos⁡2tπ,…,  sin⁡tπ,  sin⁡2tπ,  sin⁡3tπ,…}, B = \left\{ \frac{1}{\sqrt{2\pi }}, \; \frac{\cos t}{\sqrt{\pi }}, \; \frac{\cos 2t}{\sqrt{\pi }}, \ldots , \; \frac{\sin t}{\sqrt{\pi }}, \; \frac{\sin 2t}{\sqrt{\pi }}, \; \frac{\sin 3t}{\sqrt{\pi }}, \ldots \right\} ,

determine the Fourier series expansion of the saw-toothed function defined by f(t)=tf(t) = t for −π<t<π-\pi < t < \pi (extended periodically).

The periodic extension of the saw-toothed function f(t)=t on (-\pi ,\pi ).The periodic extension of the saw-toothed function f(t)=t on (-\pi ,\pi ).

?