Linear Algebra Quiz: Vector Norms And Distance
16 questions · exam conditions
0:00
Vector Norms And DistanceQuestion 1 of 16

In R2\mathbb{R}^2 with the standard inner product, let TT be the linear transformation that reflects vectors across the line y=xy = x. If v=(3,1)\mathbf{v} = (3, 1), what is T(v)v\|T(\mathbf{v}) - \mathbf{v}\|?

222\sqrt{2}
22
10\sqrt{10}
44
← Back to quizzes

Linear Algebra Quiz

Linear Algebra Quiz: Vector Norms And Distance

Practice Vector Norms And Distance in Linear Algebra with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.

What this quiz covers

This quiz focuses on Vector Norms And Distance, giving you a quick way to practice the rules, question types, and explanations that matter most for Linear Algebra.

How to use this quiz

Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.

All questions

Question 1

In R2\mathbb{R}^2 with the standard inner product, let TT be the linear transformation that reflects vectors across the line y=xy = x. If v=(3,1)\mathbf{v} = (3, 1), what is T(v)v\|T(\mathbf{v}) - \mathbf{v}\|?

  1. 222\sqrt{2} (correct answer)
  2. 22
  3. 10\sqrt{10}
  4. 44
Explanation: The linear transformation that reflects vectors across the line y=xy = x swaps the coordinates, so T(x,y)=(y,x)T(x, y) = (y, x). Therefore, T(v)=T(3,1)=(1,3)T(\mathbf{v}) = T(3, 1) = (1, 3). The difference is T(v)v=(1,3)(3,1)=(2,2)T(\mathbf{v}) - \mathbf{v} = (1, 3) - (3, 1) = (-2, 2). The norm is T(v)v=(2,2)=(2)2+22=4+4=8=22\|T(\mathbf{v}) - \mathbf{v}\| = \|(-2, 2)\| = \sqrt{(-2)^2 + 2^2} = \sqrt{4 + 4} = \sqrt{8} = 2\sqrt{2}. Choice B incorrectly computes 4=2\sqrt{4} = 2. Choice C might result from incorrectly computing the reflection or the difference vector. Choice D incorrectly computes 2+2=42 + 2 = 4 instead of using the norm formula.

Question 2

Let VV be an inner product space and let x,yV\mathbf{x}, \mathbf{y} \in V with x=3\|\mathbf{x}\| = 3, y=4\|\mathbf{y}\| = 4, and x,y=6\langle\mathbf{x}, \mathbf{y}\rangle = -6. What is the distance between x\mathbf{x} and y\mathbf{y}?

  1. 37\sqrt{37} (correct answer)
  2. 13\sqrt{13}
  3. 55
  4. 61\sqrt{61}
Explanation: The distance between x\mathbf{x} and y\mathbf{y} is xy\|\mathbf{x} - \mathbf{y}\|. Using the properties of inner products: xy2=xy,xy=x,x2x,y+y,y=x22x,y+y2=92(6)+16=9+12+16=37\|\mathbf{x} - \mathbf{y}\|^2 = \langle\mathbf{x} - \mathbf{y}, \mathbf{x} - \mathbf{y}\rangle = \langle\mathbf{x}, \mathbf{x}\rangle - 2\langle\mathbf{x}, \mathbf{y}\rangle + \langle\mathbf{y}, \mathbf{y}\rangle = \|\mathbf{x}\|^2 - 2\langle\mathbf{x}, \mathbf{y}\rangle + \|\mathbf{y}\|^2 = 9 - 2(-6) + 16 = 9 + 12 + 16 = 37. Therefore, xy=37\|\mathbf{x} - \mathbf{y}\| = \sqrt{37}. Choice B incorrectly computes 912+16=139 - 12 + 16 = 13 by using 2(6)=12-2(-6) = -12. Choice C incorrectly assumes the triangle inequality becomes an equality. Choice D incorrectly computes 9+36+16=619 + 36 + 16 = 61 by squaring the inner product.

Question 3

Let u\vec{u} and v\vec{v} be vectors in Rn\mathbb{R}^n with Euclidean norms such that u=5||\vec{u}|| = 5 and v=8||\vec{v}|| = 8. Based on the triangle inequality, which of the following is an impossible value for u+v||\vec{u} + \vec{v}||?

  1. 2 (correct answer)
  2. 7
  3. 11
  4. 13
Explanation: The triangle inequality states that u+vu+v||\vec{u} + \vec{v}|| \le ||\vec{u}|| + ||\vec{v}||. The reverse triangle inequality states that u+vuv||\vec{u} + \vec{v}|| \ge |||\vec{u}|| - ||\vec{v}|| |. The maximum possible value is 5+8=135 + 8 = 13, which occurs when the vectors point in the same direction. The minimum possible value is 58=3|5 - 8| = 3, which occurs when the vectors point in opposite directions. Therefore, the norm must be in the range [3,13][3, 13]. The value 2 is outside this range and is therefore impossible.

Question 4

The set of all points x=(x1,x2)\vec{x} = (x_1, x_2) in R2\mathbb{R}^2 satisfying x1=1||\vec{x}||_1 = 1 forms a specific geometric shape. What is this shape?

  1. A circle with radius 1 centered at the origin.
  2. A square with vertices at (1,1),(1,1),(1,1),(1,1)(1,1), (1,-1), (-1,-1), (-1,1).
  3. A square with vertices at (1,0),(0,1),(1,0),(0,1)(1,0), (0,1), (-1,0), (0,-1). (correct answer)
  4. A pair of lines given by the equations x1+x2=1x_1+x_2=1 and x1x2=1x_1-x_2=1.
Explanation: The L1L_1-norm is defined as x1=x1+x2||\vec{x}||_1 = |x_1| + |x_2|. The equation is x1+x2=1|x_1| + |x_2| = 1. This can be broken down by quadrant: In quadrant 1 (x10,x20x_1 \ge 0, x_2 \ge 0): x1+x2=1x_1 + x_2 = 1. In quadrant 2 (x1<0,x20x_1 < 0, x_2 \ge 0): x1+x2=1-x_1 + x_2 = 1. In quadrant 3 (x1<0,x2<0x_1 < 0, x_2 < 0): x1x2=1-x_1 - x_2 = 1. In quadrant 4 (x10,x2<0x_1 \ge 0, x_2 < 0): x1x2=1x_1 - x_2 = 1. These four line segments connect the points (1,0),(0,1),(1,0),(1,0), (0,1), (-1,0), and (0,1)(0,-1), forming a square rotated by 45 degrees. Distractor (A) is the shape for the L2L_2-norm. Distractor (B) is the shape for the LL_\infty-norm.

Question 5

An inner product on R2\mathbb{R}^2 is defined by u,v=2u1v1+3u2v2\langle \vec{u}, \vec{v} \rangle = 2u_1v_1 + 3u_2v_2. What is the norm, x||\vec{x}||, of the vector x=(3,2)\vec{x} = (3, -2) with respect to this specific inner product?

  1. 13\sqrt{13}
  2. 30
  3. 30\sqrt{30} (correct answer)
  4. 626\sqrt{2}
Explanation: The norm induced by an inner product is defined as x=x,x||\vec{x}|| = \sqrt{\langle \vec{x}, \vec{x} \rangle}. First, we compute the inner product of x\vec{x} with itself: x,x=2(3)(3)+3(2)(2)=2(9)+3(4)=18+12=30\langle \vec{x}, \vec{x} \rangle = 2(3)(3) + 3(-2)(-2) = 2(9) + 3(4) = 18 + 12 = 30. Then, the norm is the square root of this value, x=30||\vec{x}|| = \sqrt{30}. (A) 13\sqrt{13} is the standard Euclidean norm, which ignores the given inner product definition. (B) 30 is the value of the inner product x,x\langle \vec{x}, \vec{x} \rangle, but not the norm, which requires taking the square root. (D) 626\sqrt{2} results from an incorrect calculation like (23)2+(3(2))2=36+36=72\sqrt{(2\cdot3)^2 + (3\cdot(-2))^2} = \sqrt{36+36} = \sqrt{72}.

Question 6

Let v\vec{v} be a non-zero vector in Rn\mathbb{R}^n. A new vector w\vec{w} is defined as w=vkv2\vec{w} = \frac{\vec{v}}{k ||\vec{v}||_2} for some non-zero scalar kk. What is the Euclidean norm of w\vec{w}?

  1. 1
  2. kk
  3. 1k\frac{1}{k}
  4. 1k\frac{1}{|k|} (correct answer)
Explanation: We use the homogeneity property of norms, which states that cx=cx||c\vec{x}|| = |c| ||\vec{x}|| for any scalar cc. In this case, the scalar is c=1kv2c = \frac{1}{k ||\vec{v}||_2}. w2=1kv2v2=1kv2v2||\vec{w}||_2 = ||\frac{1}{k ||\vec{v}||_2} \vec{v}||_2 = |\frac{1}{k ||\vec{v}||_2}| \cdot ||\vec{v}||_2. Since the norm v2||\vec{v}||_2 is always non-negative, this simplifies to 1kv2v2\frac{1}{|k| \cdot ||\vec{v}||_2} \cdot ||\vec{v}||_2. The v2||\vec{v}||_2 terms cancel, leaving 1k\frac{1}{|k|}. (A) is the result if k=1k=1 or k=1k=-1. (C) is incorrect because the absolute value on kk is necessary.

Question 7

Consider the vectors y=(7,1)\vec{y} = (7, 1) and u=(4,4)\vec{u} = (4, -4). Find the scalar cc such that the Euclidean distance between y\vec{y} and the vector cuc\vec{u} is minimized.

  1. 323\sqrt{2}
  2. 43\frac{4}{3}
  3. 24
  4. 34\frac{3}{4} (correct answer)
Explanation: When you see a problem asking to minimize the distance between a vector and a scalar multiple of another vector, you're looking at an orthogonal projection problem. The key insight is that the minimum distance occurs when the vector from cuc\vec{u} to y\vec{y} is perpendicular to u\vec{u}. To find this optimal scalar cc, we need the vector (ycu)(\vec{y} - c\vec{u}) to be orthogonal to u\vec{u}. This means their dot product equals zero: (ycu)u=0(\vec{y} - c\vec{u}) \cdot \vec{u} = 0 Expanding: yuc(uu)=0\vec{y} \cdot \vec{u} - c(\vec{u} \cdot \vec{u}) = 0 First, calculate yu=(7)(4)+(1)(4)=284=24\vec{y} \cdot \vec{u} = (7)(4) + (1)(-4) = 28 - 4 = 24 Next, uu=(4)2+(4)2=16+16=32\vec{u} \cdot \vec{u} = (4)^2 + (-4)^2 = 16 + 16 = 32 Solving: 24c(32)=024 - c(32) = 0, so c=2432=34c = \frac{24}{32} = \frac{3}{4} Answer D is correct: 34\frac{3}{4}. The wrong answers represent common calculation errors: A) 323\sqrt{2} might come from misapplying distance formulas; B) 43\frac{4}{3} is the reciprocal of the correct answer, suggesting someone inverted the fraction; C) 24 is just the numerator before simplification, showing incomplete work. Remember this pattern: when minimizing distance from a point to a line through the origin, use orthogonal projection. The formula is always c=yuuuc = \frac{\vec{y} \cdot \vec{u}}{\vec{u} \cdot \vec{u}}. This appears frequently in optimization problems involving vectors.

Question 8

Given two non-zero vectors x\vec{x} and y\vec{y} in Rn\mathbb{R}^n, the Cauchy-Schwarz inequality states that xyxy|\vec{x} \cdot \vec{y}| \le ||\vec{x}|| \cdot ||\vec{y}||. Under which condition does the equality xy=xy|\vec{x} \cdot \vec{y}| = ||\vec{x}|| \cdot ||\vec{y}|| hold true?

  1. When x\vec{x} and y\vec{y} are orthogonal.
  2. When x\vec{x} and y\vec{y} are linearly independent.
  3. When one vector is a scalar multiple of the other. (correct answer)
  4. When x\vec{x} and y\vec{y} are both unit vectors.
Explanation: The geometric definition of the dot product is xy=xycosθ\vec{x} \cdot \vec{y} = ||\vec{x}|| \cdot ||\vec{y}|| \cos\theta, where θ\theta is the angle between the vectors. Taking the absolute value gives xy=xycosθ|\vec{x} \cdot \vec{y}| = ||\vec{x}|| \cdot ||\vec{y}|| |\cos\theta|. For the equality xy=xy|\vec{x} \cdot \vec{y}| = ||\vec{x}|| \cdot ||\vec{y}|| to hold, we must have cosθ=1|\cos\theta| = 1. This occurs only when θ=0\theta = 0 or θ=π\theta = \pi. In both cases, the vectors are collinear, meaning one is a scalar multiple of the other (y=cx\vec{y}=c\vec{x} for some scalar cc). (A) Orthogonality means xy=0\vec{x} \cdot \vec{y} = 0, which is the minimum possible value for xy|\vec{x} \cdot \vec{y}|. (B) Linear independence means they are not scalar multiples of each other. (D) This is a special case, but not the general condition; two unit vectors must still be collinear for their dot product's magnitude to be 1.

Question 9

Let the linear transformation T:R2R2T: \mathbb{R}^2 \to \mathbb{R}^2 be represented by the matrix A=(0220)A = \begin{pmatrix} 0 & -2 \\ 2 & 0 \end{pmatrix}. For any vector x=(ab)\vec{x} = \begin{pmatrix} a \\ b \end{pmatrix}, what is the relationship between the Euclidean norm of x\vec{x} and the Euclidean norm of its image T(x)=AxT(\vec{x}) = A\vec{x}?

  1. Ax=x||A\vec{x}|| = ||\vec{x}||
  2. Ax=2x||A\vec{x}|| = 2||\vec{x}|| (correct answer)
  3. Ax=4x||A\vec{x}|| = 4||\vec{x}||
  4. Ax=2x||A\vec{x}|| = \sqrt{2}||\vec{x}||
Explanation: First, compute the product AxA\vec{x}: Ax=(0220)(ab)=(0(a)+(2)(b)2(a)+0(b))=(2b2a)A\vec{x} = \begin{pmatrix} 0 & -2 \\ 2 & 0 \end{pmatrix} \begin{pmatrix} a \\ b \end{pmatrix} = \begin{pmatrix} 0(a) + (-2)(b) \\ 2(a) + 0(b) \end{pmatrix} = \begin{pmatrix} -2b \\ 2a \end{pmatrix}. Next, compute the Euclidean norm of this resulting vector: Ax=(2b)2+(2a)2=4b2+4a2=4(a2+b2)=2a2+b2||A\vec{x}|| = \sqrt{(-2b)^2 + (2a)^2} = \sqrt{4b^2 + 4a^2} = \sqrt{4(a^2 + b^2)} = 2\sqrt{a^2 + b^2}. The norm of the original vector x\vec{x} is x=a2+b2||\vec{x}|| = \sqrt{a^2 + b^2}. Therefore, the relationship is Ax=2x||A\vec{x}|| = 2||\vec{x}||. The transformation scales the length of any vector by a factor of 2.

Question 10

In R3\mathbb{R}^3 with the standard inner product, consider the unit vectors e1=(1,0,0)\mathbf{e}_1 = (1, 0, 0), e2=(0,1,0)\mathbf{e}_2 = (0, 1, 0), and let v=ae1+be2\mathbf{v} = a\mathbf{e}_1 + b\mathbf{e}_2 where a,b>0a, b > 0. If the angle between v\mathbf{v} and e1\mathbf{e}_1 is π4\frac{\pi}{4} and v=22\|\mathbf{v}\| = 2\sqrt{2}, what is the distance from v\mathbf{v} to e2\mathbf{e}_2?

  1. 5\sqrt{5} (correct answer)
  2. 33
  3. 8\sqrt{8}
  4. 222\sqrt{2}
Explanation: Given that v=ae1+be2=(a,b,0)\mathbf{v} = a\mathbf{e}_1 + b\mathbf{e}_2 = (a, b, 0) with a,b>0a, b > 0. The angle condition gives us cos(π4)=v,e1ve1=av=a22\cos(\frac{\pi}{4}) = \frac{\langle\mathbf{v}, \mathbf{e}_1\rangle}{\|\mathbf{v}\|\|\mathbf{e}_1\|} = \frac{a}{\|\mathbf{v}\|} = \frac{a}{2\sqrt{2}}. Since cos(π4)=12\cos(\frac{\pi}{4}) = \frac{1}{\sqrt{2}}, we have 12=a22\frac{1}{\sqrt{2}} = \frac{a}{2\sqrt{2}}, which gives a=2a = 2. Using v=22\|\mathbf{v}\| = 2\sqrt{2}: a2+b2=22\sqrt{a^2 + b^2} = 2\sqrt{2}, so 4+b2=22\sqrt{4 + b^2} = 2\sqrt{2}. Squaring both sides: 4+b2=84 + b^2 = 8, so b2=4b^2 = 4 and b=2b = 2 (since b>0b > 0). Therefore, v=(2,2,0)\mathbf{v} = (2, 2, 0) and e2=(0,1,0)\mathbf{e}_2 = (0, 1, 0). The distance is ve2=(2,2,0)(0,1,0)=(2,1,0)=4+1+0=5\|\mathbf{v} - \mathbf{e}_2\| = \|(2, 2, 0) - (0, 1, 0)\| = \|(2, 1, 0)\| = \sqrt{4 + 1 + 0} = \sqrt{5}. Choice B incorrectly computes 9=3\sqrt{9} = 3. Choice C gives 8=22\sqrt{8} = 2\sqrt{2}, which is v\|\mathbf{v}\|. Choice D is also v\|\mathbf{v}\|.

Question 11

Let u,v,w\mathbf{u}, \mathbf{v}, \mathbf{w} be vectors in an inner product space such that u=v=w=1\|\mathbf{u}\| = \|\mathbf{v}\| = \|\mathbf{w}\| = 1 and u,v=v,w=w,u=12\langle\mathbf{u}, \mathbf{v}\rangle = \langle\mathbf{v}, \mathbf{w}\rangle = \langle\mathbf{w}, \mathbf{u}\rangle = \frac{1}{2}. What is u+v+w\|\mathbf{u} + \mathbf{v} + \mathbf{w}\|?

  1. 6\sqrt{6} (correct answer)
  2. 32\frac{3}{2}
  3. 3\sqrt{3}
  4. 22
Explanation: To find u+v+w\|\mathbf{u} + \mathbf{v} + \mathbf{w}\|, we compute: u+v+w2=u+v+w,u+v+w\|\mathbf{u} + \mathbf{v} + \mathbf{w}\|^2 = \langle\mathbf{u} + \mathbf{v} + \mathbf{w}, \mathbf{u} + \mathbf{v} + \mathbf{w}\rangle. Expanding: =u2+v2+w2+2u,v+2v,w+2w,u=1+1+1+2(12)+2(12)+2(12)=3+1+1+1=6= \|\mathbf{u}\|^2 + \|\mathbf{v}\|^2 + \|\mathbf{w}\|^2 + 2\langle\mathbf{u}, \mathbf{v}\rangle + 2\langle\mathbf{v}, \mathbf{w}\rangle + 2\langle\mathbf{w}, \mathbf{u}\rangle = 1 + 1 + 1 + 2(\frac{1}{2}) + 2(\frac{1}{2}) + 2(\frac{1}{2}) = 3 + 1 + 1 + 1 = 6. Therefore, u+v+w=6\|\mathbf{u} + \mathbf{v} + \mathbf{w}\| = \sqrt{6}. Choice B incorrectly computes 3+32=923 + \frac{3}{2} = \frac{9}{2} and takes the square root incorrectly. Choice C forgets the factor of 2 in the cross terms. Choice D incorrectly assumes the answer is simply the sum of the norms.

Question 12

For what sum of all possible values of kk is the Euclidean distance between the vectors u=(k,2,1)\vec{u} = (k, -2, 1) and v=(3,k,3)\vec{v} = (3, k, -3) equal to 53\sqrt{53}?

  1. -1
  2. 1 (correct answer)
  3. 7
  4. 12
Explanation: The distance is the norm of the difference vector: d(u,v)=uvd(\vec{u}, \vec{v}) = ||\vec{u} - \vec{v}||. First, compute uv=(k3,2k,1(3))=(k3,k2,4)\vec{u} - \vec{v} = (k-3, -2-k, 1 - (-3)) = (k-3, -k-2, 4). The square of the Euclidean distance is uv2=(k3)2+(k2)2+42||\vec{u} - \vec{v}||^2 = (k-3)^2 + (-k-2)^2 + 4^2. We are given this distance is 53\sqrt{53}, so the squared distance is 53. Set up the equation: (k26k+9)+(k2+4k+4)+16=53(k^2 - 6k + 9) + (k^2 + 4k + 4) + 16 = 53. Combine terms: 2k22k+29=532k^2 - 2k + 29 = 53. Simplify: 2k22k24=02k^2 - 2k - 24 = 0, which reduces to k2k12=0k^2 - k - 12 = 0. This factors to (k4)(k+3)=0(k-4)(k+3) = 0, so the possible values for kk are k=4k=4 and k=3k=-3. The sum of these values is 4+(3)=14 + (-3) = 1.

Question 13

Let LL be the line in R3\mathbb{R}^3 spanned by the vector d=(1,1,1)\vec{d} = (1, 1, 1). What is the shortest Euclidean distance from the point P=(4,1,1)P=(4, 1, 1) to the line LL?

  1. 6\sqrt{6} (correct answer)
  2. 232\sqrt{3}
  3. 323\sqrt{2}
  4. 3
Explanation: The shortest distance from a point PP (represented by vector p=(4,1,1)\vec{p}=(4,1,1)) to the line spanned by d\vec{d} is the norm of the vector component of p\vec{p} that is orthogonal to d\vec{d}. This is given by pprojdp||\vec{p} - \text{proj}_{\vec{d}}\vec{p}||. First, find the projection of p\vec{p} onto d\vec{d}: projdp=pdd2d\text{proj}_{\vec{d}}\vec{p} = \frac{\vec{p} \cdot \vec{d}}{||\vec{d}||^2}\vec{d}. pd=4(1)+1(1)+1(1)=6\vec{p} \cdot \vec{d} = 4(1)+1(1)+1(1) = 6. d2=12+12+12=3||\vec{d}||^2 = 1^2+1^2+1^2 = 3. So, projdp=63d=2d=(2,2,2)\text{proj}_{\vec{d}}\vec{p} = \frac{6}{3}\vec{d} = 2\vec{d} = (2, 2, 2). The orthogonal component is pprojdp=(4,1,1)(2,2,2)=(2,1,1)\vec{p} - \text{proj}_{\vec{d}}\vec{p} = (4,1,1) - (2,2,2) = (2, -1, -1). The shortest distance is the norm of this vector: (2,1,1)=22+(1)2+(1)2=4+1+1=6||(2, -1, -1)|| = \sqrt{2^2+(-1)^2+(-1)^2} = \sqrt{4+1+1} = \sqrt{6}.

Question 14

Let v=(1,2,2,4)\vec{v} = (1, -2, 2, 4). What is the sum of the components of the unit vector u\vec{u} that points in the opposite direction of v\vec{v}?

  1. -5
  2. 1
  3. -1/5
  4. -1 (correct answer)
Explanation: When you encounter questions about unit vectors in opposite directions, you're working with two key concepts: vector normalization and direction reversal. To find a unit vector pointing in the opposite direction of v=(1,2,2,4)\vec{v} = (1, -2, 2, 4), you first need the magnitude: v=12+(2)2+22+42=1+4+4+16=25=5|\vec{v}| = \sqrt{1^2 + (-2)^2 + 2^2 + 4^2} = \sqrt{1 + 4 + 4 + 16} = \sqrt{25} = 5. The unit vector in the same direction as v\vec{v} would be vv=(1,2,2,4)5=(15,25,25,45)\frac{\vec{v}}{|\vec{v}|} = \frac{(1, -2, 2, 4)}{5} = (\frac{1}{5}, -\frac{2}{5}, \frac{2}{5}, \frac{4}{5}). For the opposite direction, multiply by -1: u=(15,25,25,45)\vec{u} = (-\frac{1}{5}, \frac{2}{5}, -\frac{2}{5}, -\frac{4}{5}). The sum of components is: 15+25+(25)+(45)=1+2245=55=1-\frac{1}{5} + \frac{2}{5} + (-\frac{2}{5}) + (-\frac{4}{5}) = \frac{-1 + 2 - 2 - 4}{5} = \frac{-5}{5} = -1. Answer choice A (-5) is the sum of the original vector's components, ignoring the unit vector calculation entirely. Choice B (1) would result from forgetting the negative sign when reversing direction. Choice C (-1/5) represents a common error where students might confuse the reciprocal of the magnitude with the final answer. The correct answer is D (-1). Remember: when finding unit vectors in opposite directions, always normalize first (divide by magnitude), then reverse direction (multiply by -1). The order matters for getting the correct final result.

Question 15

For any two vectors u,v\vec{u}, \vec{v} in a real inner product space, the expression u+v2+uv2||\vec{u} + \vec{v}||^2 + ||\vec{u} - \vec{v}||^2 is equivalent to which of the following?

  1. 2u2+2v22||\vec{u}||^2 + 2||\vec{v}||^2 (correct answer)
  2. u2+v2||\vec{u}||^2 + ||\vec{v}||^2
  3. 4(uv)4(\vec{u} \cdot \vec{v})
  4. 0
Explanation: This identity is known as the Parallelogram Law. It can be derived using the property x2=xx||\vec{x}||^2 = \vec{x} \cdot \vec{x}. u+v2=(u+v)(u+v)=u2+2(uv)+v2||\vec{u} + \vec{v}||^2 = (\vec{u} + \vec{v}) \cdot (\vec{u} + \vec{v}) = ||\vec{u}||^2 + 2(\vec{u} \cdot \vec{v}) + ||\vec{v}||^2. uv2=(uv)(uv)=u22(uv)+v2||\vec{u} - \vec{v}||^2 = (\vec{u} - \vec{v}) \cdot (\vec{u} - \vec{v}) = ||\vec{u}||^2 - 2(\vec{u} \cdot \vec{v}) + ||\vec{v}||^2. Adding these two equations, the 2(uv)2(\vec{u} \cdot \vec{v}) and 2(uv)-2(\vec{u} \cdot \vec{v}) terms cancel out, leaving 2u2+2v22||\vec{u}||^2 + 2||\vec{v}||^2. (B) is true only if the vectors are orthogonal (Pythagorean theorem). (C) is obtained by subtracting the expressions, not adding them.

Question 16

Let v=(2,1,2)\vec{v} = (2, -1, 2). Which of the following vectors is a unit vector that is also orthogonal to v\vec{v}?

  1. 13(2,1,2)\frac{1}{3}(2, -1, 2)
  2. (1,2,0)(1, 2, 0)
  3. 15(1,2,0)\frac{1}{\sqrt{5}}(1, 2, 0) (correct answer)
  4. 13(1,1,1)\frac{1}{\sqrt{3}}(1, 1, 1)
Explanation: A vector w\vec{w} is orthogonal to v\vec{v} if their dot product is zero, vw=0\vec{v} \cdot \vec{w} = 0. A vector is a unit vector if its norm is 1. We must check both conditions for each choice. (A) This is v\vec{v} normalized. It is a unit vector, but it is not orthogonal to itself. (B) Let w=(1,2,0)\vec{w} = (1, 2, 0). The dot product is vw=2(1)+(1)(2)+2(0)=0\vec{v} \cdot \vec{w} = 2(1) + (-1)(2) + 2(0) = 0, so it is orthogonal. However, its norm is w=12+22+02=51||\vec{w}|| = \sqrt{1^2+2^2+0^2} = \sqrt{5} \neq 1, so it is not a unit vector. (C) This is the vector from (B) divided by its norm. The dot product is 15(2(1)+(1)(2)+2(0))=0\frac{1}{\sqrt{5}}(2(1) + (-1)(2) + 2(0)) = 0, so it is orthogonal. Its norm is 11, so it is a unit vector. This is the correct answer. (D) The dot product is 13(2(1)+(1)(1)+2(1))=330\frac{1}{\sqrt{3}}(2(1) + (-1)(1) + 2(1)) = \frac{3}{\sqrt{3}} \neq 0. It is not orthogonal.