Math Core

Unit 6 · Test

Unit 6 test: Orthogonality and Least Squares

15 questions. Answer them all, then submit to see your score. Solutions unlock after you submit.

This test covers inner products, length and orthogonality, orthogonal complements, orthogonal and orthonormal sets, orthogonal projections, the Gram-Schmidt process and QR factorization, and least-squares problems.

Question 1

Compute (3,−2,5)⋅(1,4,2)(3, -2, 5) \cdot (1, 4, 2).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 2

Find the distance between (1,0,−2)(1, 0, -2) and (5,−1,6)(5, -1, 6).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 3

Find kk so that (1,k,3)(1, k, 3) and (k,2,−4)(k, 2, -4) are orthogonal.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 4

Let W=Span⁡{(1,1,1),(1,2,3)}W = \operatorname{Span}\{(1, 1, 1), (1, 2, 3)\}. Find the vector in W⊥W^\perp whose third entry is 11.

Enter a point like (2, -3)

Question 5

AA is a 4×64 \times 6 matrix. Which subspace is the orthogonal complement of Row⁡A\operatorname{Row} A?

Question 6

The vectors u1=(1,1,1)\mathbf{u}_1 = (1, 1, 1), u2=(1,−2,1)\mathbf{u}_2 = (1, -2, 1) and u3=(1,0,−1)\mathbf{u}_3 = (1, 0, -1) form an orthogonal basis for R3\mathbb{R}^3. Find the weights (c1,c2,c3)(c_1, c_2, c_3) with (2,−3,4)=c1u1+c2u2+c3u3(2, -3, 4) = c_1\mathbf{u}_1 + c_2\mathbf{u}_2 + c_3\mathbf{u}_3.

Enter a point like (2, -3)

Question 7

UU is an n×nn \times n orthogonal matrix. Which statement must be true?

Question 8

Find the orthogonal projection of y=(3,4)\mathbf{y} = (3, 4) onto the line spanned by u=(2,1)\mathbf{u} = (2, 1).

Enter a point like (2, -3)

Question 9

Let u1=(1,1,1,1)\mathbf{u}_1 = (1, 1, 1, 1), u2=(1,1,−1,−1)\mathbf{u}_2 = (1, 1, -1, -1) and y=(5,1,2,0)\mathbf{y} = (5, 1, 2, 0). Find the orthogonal projection of y\mathbf{y} onto W=Span⁡{u1,u2}W = \operatorname{Span}\{\mathbf{u}_1, \mathbf{u}_2\}.

Enter a point like (2, -3)

Question 10

Find the distance from y=(3,5,1)\mathbf{y} = (3, 5, 1) to the plane W=Span⁡{(1,0,1),(0,1,0)}W = \operatorname{Span}\{(1, 0, 1), (0, 1, 0)\}. Give an exact answer.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 11

Apply the Gram-Schmidt process to x1=(1,0,1)\mathbf{x}_1 = (1, 0, 1) and x2=(3,2,1)\mathbf{x}_2 = (3, 2, 1). Find v2\mathbf{v}_2.

Enter a point like (2, -3)

Question 12

Let A=[262016]A = \begin{bmatrix} 2 & 6 \\ 2 & 0 \\ 1 & 6 \end{bmatrix}. In the QR factorization A=QRA = QR, what is RR?

Question 13

Find the least-squares solution of Ax=bA\mathbf{x} = \mathbf{b} for A=[101112]A = \begin{bmatrix} 1 & 0 \\ 1 & 1 \\ 1 & 2 \end{bmatrix} and b=(1,2,4)\mathbf{b} = (1, 2, 4).

Enter a point like (2, -3)

Question 14

Find the slope of the least-squares line for the points (0,3)(0, 3), (1,2)(1, 2), (2,0)(2, 0), (3,−1)(3, -1).

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Question 15

Find the least-squares error ∥b−Ax^∥\|\mathbf{b} - A\hat{\mathbf{x}}\| for A=[100111]A = \begin{bmatrix} 1 & 0 \\ 0 & 1 \\ 1 & 1 \end{bmatrix} and b=(0,0,6)\mathbf{b} = (0, 0, 6). Give an exact answer.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.