Skip to main content

Recitation 6A

Problem 1: When a deep space probe is launched, corrections may be necessary to place the probe on a precisely calculated trajectory. Radio telemetry provides a stream of vectors, x1,,xk\mathbf{x_1}, \ldots, \mathbf{x_k}, giving information at different times about how the probe’s position compares with its planned trajectory. Let XkX_k be the matrix [x1xk][\mathbf{x_1} \ldots \mathbf{x_k}]. The matrix Gk=XkXkTG_k=X_kX_k^T is computed as the radar data are analyzed. When xk+1\mathbf{x_{k+1}} arrives, a new Gk+1G_{k+1} must be computed. Since the data vectors arrive at high speed, the computational burden could be severe. But partitioned matrix multiplication helps tremendously. Compute the column-row expansions of GkG_k and Gk+1G_{k+1}, and describe what must be computed in order to update GkG_k to form Gk+1G_{k+1}.

Solution: By the column-row expansion rule, Gk=XkXkT=x1x1T++xkxkT.G_k=X_kX_k^T=\mathbf{x_1}\mathbf{x_1}^T+\ldots+\mathbf{x_k}\mathbf{x_k}^T. Similarly, Gk+1=XkXkT=x1x1T++xk+1xk+1T.G_{k+1}=X_kX_k^T=\mathbf{x_1}\mathbf{x_1}^T+\ldots+\mathbf{x_{k+1}}\mathbf{x_{k+1}}^T. Therefore Gk+1=Gk+xk+1xk+1TG_{k+1}=G_k+\mathbf{x_{k+1}}\mathbf{x_{k+1}}^T.

Problem 2: Solve the equation Ax=bA\mathbf{x}=\mathbf{b} by using the LU factorization for A=[264480046]=[100210011][264048002]A=\begin{bmatrix}2 & -6 & 4 \\ -4 & 8 & 0\\0 & -4 & 6\end{bmatrix}=\begin{bmatrix}1 & 0 & 0 \\ -2 & 1 & 0\\0 & 1 & 1\end{bmatrix}\begin{bmatrix}2 & -6 & 4 \\ 0 & -4 & 8\\0 & 0 & -2\end{bmatrix} and b=[246]\mathbf{b}=\begin{bmatrix}2 \\ -4 \\ 6\end{bmatrix}.

Solution: Given the LU factorization of A=LUA=LU, it is enough to solve Ly=bL\mathbf{y}=\mathbf{b} and Ux=yU\mathbf{x}=\mathbf{y} consecutively. By row reduction, we have [100221040116][100201000116][100201000016].\begin{bmatrix}1 & 0 & 0 & 2 \\ -2 & 1 & 0 & -4\\0 & 1 & 1 & 6\end{bmatrix}\sim \begin{bmatrix}1 & 0 & 0 & 2 \\ 0 & 1 & 0 & 0\\0 & 1 & 1 & 6\end{bmatrix}\sim \begin{bmatrix}1 & 0 & 0 & 2 \\ 0 & 1 & 0 & 0\\0 & 0 & 1 & 6\end{bmatrix}. Therefore y=[206]\mathbf{y}=\begin{bmatrix}2 \\ 0 \\ 6\end{bmatrix}. Again by row reduction, we have [264204800026][132101200013][130701060013][1001101060013].\begin{bmatrix}2 & -6 & 4 & 2 \\ 0 & -4 & 8 & 0\\0 & 0 & -2 & 6\end{bmatrix}\sim\begin{bmatrix}1 & -3 & 2 & 1 \\ 0 & 1 & -2 & 0\\0 & 0 & 1 & -3\end{bmatrix}\sim\begin{bmatrix}1 & -3 & 0 & 7 \\ 0 & 1 & 0 & -6\\0 & 0 & 1 & -3\end{bmatrix}\sim\begin{bmatrix}1 & 0 & 0 & -11 \\ 0 & 1 & 0 & -6\\0 & 0 & 1 & -3\end{bmatrix}. So the solution of the original equation is x=[1163]\mathbf{x}=\begin{bmatrix}-11 \\ -6 \\ -3\end{bmatrix}.