next up previous
Next: Real Analysis Up: Linear Algebra Previous: Outline

Sample Problems

1.
For any $n\times n$ matrix A, the trace of A is defined by

\begin{displaymath}\mbox{tr}(A)=\sum_{i=1}^na_{ii}.
\end{displaymath}

(a)
Prove that $\mbox{tr}(AB)=\mbox{tr}(BA)$ for all $n\times n$ matrices A and B.
(b)
Prove that, for all $n\times n$ matrices A and B and all scalars $\alpha$ and $\beta$,

\begin{displaymath}\mbox{tr}(\alpha A+\beta B)=\alpha\mbox{tr}(A)+\beta\mbox{tr}(B).
\end{displaymath}

(c)
Prove that an $n\times n$ matrix A satisfies $\mbox{tr}(AA^T)=0$ if and only if A=0.
2.
Let A be an $m\times n$ matrix. Prove that

\begin{displaymath}\mbox{Null}(A)^{\perp}=\mbox{Col}(A^T).
\end{displaymath}

Here Null(A) denotes the null space (kernel) of A, while Col(AT) is the column space (range) of AT.
3.
The $3\times 4$ matrix A is given by

\begin{displaymath}A=2\left(\begin{array}{c}1\\ 2\\ 2\end{array}\right)
\left(\b...
...y}\right)
\left(\begin{array}{rrrr}-5&4&2&2\end{array}\right).
\end{displaymath}

(a)
Find the Singular Value Decomposition (SVD) of A.
(b)
Find $A^{\dag }$, the Moore-Penrose generalized inverse of A(you can express it in factored form, if convenient).
(c)
Find the least-squares solution of Ax=b, where

\begin{displaymath}b=\left[\begin{array}{c}20\\ 1\\ 52\end{array}\right].
\end{displaymath}

4.
Let V be the vector space of real polynomials of degree less than or equal to 2. Define an inner product $<\cdot,\cdot>$ on V by

\begin{displaymath}<p,q>=\int_0^1p(x)q(x)\,dx.
\end{displaymath}

(a)
Use the Gram-Schmidt (or modified Gram-Schmidt) procedure to produce an orthogonal basis for V from the standard basis $\{1,x,x^2\}$.
(b)
Find the coordinates of p(x)=6x2 in the orthogonal basis you just computed.
5.
The set ${\cal A}=\left\{a_1,a_2,a_3,a_4\right\}$, where

\begin{displaymath}a_1=\left[\begin{array}{r}4\\ 2\\ 2\\ -5\end{array}\right],\ ...
...
a_4=\left[\begin{array}{r}4\\ 2\\ -5\\ 2\end{array}\right],\
\end{displaymath}

is an orthogonal basis for ${\bf {\rm R}}^4$, while ${\cal B}=\left\{b_1,b_2,b_3\right\}$, where

\begin{displaymath}b_1=\left[\begin{array}{r}-7\\ 4\\ 4\end{array}\right],\
b_2...
...],\
b_3=\left[\begin{array}{r}4\\ 8\\ -1\end{array}\right],\
\end{displaymath}

is an orthogonal basis for ${\bf {\rm R}}^3$. The $3\times 4$ matrix A is defined by

\begin{displaymath}A=2\left[\begin{array}{r}4\\ -1\\ 8\end{array}\right]\left[\b...
...ay}\right]\left[\begin{array}{rrrr}
1&4&4&4\end{array}\right].
\end{displaymath}

Find orthogonal bases for:
(a)
Null(A)
(b)
Null(AT)
(c)
Col(A)
(d)
Col(AT)
6.
Suppose A is an $n\times n$ real symmetric matrix.
(a)
Prove that the eigenvalues of A are real, and the corresponding eigenvectors can be chosen to be real.
(b)
Prove that eigenvectors of A corresponding to distinct eigenvalues are orthogonal.
7.
Let A be an $n\times n$ real symmetric matrix. Prove that there is an orthonormal basis for ${\bf {\rm R}}^n$ consisting of eigenvectors of A. (You may use the results of the previous exercise.)
8.
Let A be a real $m\times n$ matrix. Prove that AAT and ATAhave the same nonzero eigenvalues.
9.
Let P be a symmetric $n\times n$ matrix satisfying P2=P, and assume that P is neither the zero matrix nor the identity matrix. Let W1 be the column space of P and W2 be the null space of P.
(a)
Prove that $x\in W_1$ if and only if P x=x.
(b)
Prove that if $\lambda$ is an eigenvalue of P, then $\lambda$ is zero or one.
(c)
Prove that ${\bf {\rm R}}^n$ is the direct sum of W1 and W2. That is, prove that every $x\in{\bf {\rm R}}^n$ can be written uniquely as x=y+z, $y\in W_1$, $z\in W_2$.
(d)
Prove that, for each $x\in{\bf {\rm R}}^n$, P x is the vector in W1 closest to x (in the Euclidean norm).
10.
Let A be an $n\times n$ matrix. Prove that eigenvectors corresponding to distinct eigenvalues are linearly independent. That is, prove that if $\lambda_1,\lambda_2,\ldots,\lambda_k$ are distinct eigenvalues of A, and $x_1,x_2,\ldots,x_k$ are corresponding eigenvectors, then $\{x_1,x_2,\ldots,x_k\}$ is a linearly independent set.
11.
Suppose $\{u_1,u_2,u_3\}$ and $\{v_1,v_2,v_3\}$are two different orthonormal bases for a subspace W of ${\bf {\rm R}}^n$. Suppose further that the scalars aij, i,j=1,2,3, satisfy

\begin{displaymath}v_i=\sum_{j=1}^3a_{ji}u_j,\ i=1,2,3.
\end{displaymath}

(a)
Show that the $3\times 3$ matrix A whose entries are aij, i,j=1,2,3, is orthogonal.
(b)
Prove that the matrices u1u1T+u2u2T+u3u3T and v1v1T+v2v2T+v3v3T are equal.
(c)
Interpret the action of P=u1u1T+u2u2T+u3u3T: If $x\in{\bf {\rm R}}^n$, what is the significance of Px?
12.
Let V be an inner product space, let W be a finite-dimensional subspace of V with basis $\{x_1,x_2,\ldots,x_n\}$, and let v be any vector in V.
(a)
Prove that there is a unique vector $w\in W$ closest to v (the best approximation to v from W). ``Closest'' is defined in terms of the norm induced by the inner product.
(b)
Derive the normal equations for computing the best approximation w to v from W.
13.
Give an example to show that Gaussian elimination without partial pivoting can be unstable in finite precision arithmetic. Show that the use of partial pivoting eliminates the instability in your example. (Hint: The matrix need not be large--a $2\times 2$ matrix will do!)
14.
Suppose A is a nonsingular $n\times n$ matrix and $x,y,b,c\in{\bf {\rm R}}^n$ satisfy

\begin{eqnarray*}Ax&=&b,\\
A(x+y)&=&b+c.
\end{eqnarray*}


Give a bound on $\Vert y\Vert/\Vert x\Vert$ in terms of $\Vert c\Vert/\Vert b\Vert$.


next up previous
Next: Real Analysis Up: Linear Algebra Previous: Outline
Mark S. Gockenbach
2002-07-17