Skip to content

Vectors in 3D -- Diagnostic Tests

This topic explores fundamental concepts that shape our understanding of the world.

Question: a=(211)\mathbf{a} = \begin{pmatrix} 2 \\ 1 \\ -1 \end{pmatrix}, b=(132)\mathbf{b} = \begin{pmatrix} 1 \\ 3 \\ 2 \end{pmatrix}. (a) Calculate ab\mathbf{a} \cdot \mathbf{b}. (b) Calculate a×b\mathbf{a} \times \mathbf{b}. (c) Find the angle between a\mathbf{a} and b\mathbf{b}. (d) Verify that a×b\mathbf{a} \times \mathbf{b} is perpendicular to both a\mathbf{a} and b\mathbf{b}.

Solution:

(a) ab=2(1)+1(3)+(1)(2)=2+32=3\mathbf{a} \cdot \mathbf{b} = 2(1) + 1(3) + (-1)(2) = 2 + 3 - 2 = 3.

(b) a×b=(1(2)(1)(3)(1)(1)2(2)2(3)1(1))=(555)\mathbf{a} \times \mathbf{b} = \begin{pmatrix} 1(2) - (-1)(3) \\ (-1)(1) - 2(2) \\ 2(3) - 1(1) \end{pmatrix} = \begin{pmatrix} 5 \\ -5 \\ 5 \end{pmatrix}.

(c) a=4+1+1=6|\mathbf{a}| = \sqrt{4+1+1} = \sqrt{6}. b=1+9+4=14|\mathbf{b}| = \sqrt{1+9+4} = \sqrt{14}. cosθ=3614=384=3221=2114\cos\theta = \frac{3}{\sqrt{6}\sqrt{14}} = \frac{3}{\sqrt{84}} = \frac{3}{2\sqrt{21}} = \frac{\sqrt{21}}{14}. θ=arccos(2114)49.1\theta = \arccos\left(\frac{\sqrt{21}}{14}\right) \approx 49.1^\circ.

(d) a(a×b)=2(5)+1(5)+(1)(5)=1055=0\mathbf{a} \cdot (\mathbf{a} \times \mathbf{b}) = 2(5) + 1(-5) + (-1)(5) = 10 - 5 - 5 = 0 \checkmark. b(a×b)=1(5)+3(5)+2(5)=515+10=0\mathbf{b} \cdot (\mathbf{a} \times \mathbf{b}) = 1(5) + 3(-5) + 2(5) = 5 - 15 + 10 = 0 \checkmark.

Question: A plane passes through points A(1,0,2)A(1, 0, 2), B(3,1,1)B(3, 1, -1)And C(0,2,1)C(0, 2, 1). (a) Find the normal vector to the plane. (b) Find the Cartesian equation of the plane. (c) Find the distance from the origin to the plane. (d) Determine whether the point D(1,1,1)D(1, 1, 1) lies on the plane.

Solution:

(a) AB=(213)\overrightarrow{AB} = \begin{pmatrix} 2 \\ 1 \\ -3 \end{pmatrix}, AC=(121)\overrightarrow{AC} = \begin{pmatrix} -1 \\ 2 \\ -1 \end{pmatrix}. n=AB×AC=(1(1)(3)(2)(3)(1)2(1)2(2)1(1))=(555)\mathbf{n} = \overrightarrow{AB} \times \overrightarrow{AC} = \begin{pmatrix} 1(-1) - (-3)(2) \\ (-3)(-1) - 2(-1) \\ 2(2) - 1(-1) \end{pmatrix} = \begin{pmatrix} 5 \\ 5 \\ 5 \end{pmatrix}.

(b) Using A(1,0,2)A(1,0,2): 5(x1)+5(y0)+5(z2)=05(x-1) + 5(y-0) + 5(z-2) = 0. Simplifying: x+y+z=3x + y + z = 3.

(c) Distance =0+0+031+1+1=33=3= \frac{|0 + 0 + 0 - 3|}{\sqrt{1+1+1}} = \frac{3}{\sqrt{3}} = \sqrt{3}.

(d) 1+1+1=31 + 1 + 1 = 3 \checkmark. DD lies on the plane.

Question: \mathbf{a} = \begin{pmatrix} 3 \\ 0 \\ -1 \end{pmatrix}$$\mathbf{b} = \begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix}$$\mathbf{c} = \begin{pmatrix} 0 \\ -1 \\ 4 \end{pmatrix}. (a) Calculate the scalar triple product a(b×c)\mathbf{a} \cdot (\mathbf{b} \times \mathbf{c}). (b) What does the sign tell you? (c) Calculate the volume of the parallelepiped formed by \mathbf{a}$$\mathbf{b}$$\mathbf{c}. (d) Calculate the area of the parallelogram formed by a\mathbf{a} and b\mathbf{b}.

Solution:

(a) b×c=(2(4)1(1)1(0)1(4)1(1)2(0))=(941)\mathbf{b} \times \mathbf{c} = \begin{pmatrix} 2(4) - 1(-1) \\ 1(0) - 1(4) \\ 1(-1) - 2(0) \end{pmatrix} = \begin{pmatrix} 9 \\ -4 \\ -1 \end{pmatrix}. a(b×c)=3(9)+0(4)+(1)(1)=27+0+1=28\mathbf{a} \cdot (\mathbf{b} \times \mathbf{c}) = 3(9) + 0(-4) + (-1)(-1) = 27 + 0 + 1 = 28.

(b) The positive sign indicates that \mathbf{a}$$\mathbf{b}$$\mathbf{c} form a right-handed set (in that order).

(c) Volume =a(b×c)=28= |\mathbf{a} \cdot (\mathbf{b} \times \mathbf{c})| = 28 cubic units.

(d) Area =a×b= |\mathbf{a} \times \mathbf{b}|. a×b=(0(1)(1)(2)(1)(1)3(1)3(2)0(1))=(246)\mathbf{a} \times \mathbf{b} = \begin{pmatrix} 0(-1) - (-1)(2) \\ (-1)(1) - 3(1) \\ 3(2) - 0(1) \end{pmatrix} = \begin{pmatrix} 2 \\ -4 \\ 6 \end{pmatrix}. a×b=4+16+36=56=214|\mathbf{a} \times \mathbf{b}| = \sqrt{4 + 16 + 36} = \sqrt{56} = 2\sqrt{14}.


IT-1: Lines and Planes Combined (with Matrices)

Section titled “IT-1: Lines and Planes Combined (with Matrices)”

Question: (a) Find the vector equation of the line through P(1,2,1)P(1, 2, -1) with direction d=(213)\mathbf{d} = \begin{pmatrix} 2 \\ -1 \\ 3 \end{pmatrix}. (b) Find the point of intersection of the line r=(101)+t(211)\mathbf{r} = \begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix} + t\begin{pmatrix} 2 \\ 1 \\ -1 \end{pmatrix} with the plane 2xy+z=52x - y + z = 5. (c) Find the shortest distance from the point Q(3,1,2)Q(3, 1, -2) to the plane x+y+2z=4x + y + 2z = 4. (d) Find the angle between the planes x+2y+2z=5x + 2y + 2z = 5 and 2xy+2z=12x - y + 2z = 1.

Solution:

(a) r=(121)+t(213)\mathbf{r} = \begin{pmatrix} 1 \\ 2 \\ -1 \end{pmatrix} + t\begin{pmatrix} 2 \\ -1 \\ 3 \end{pmatrix}I.e., x = 1+2t$$y = 2-t$$z = -1+3t.

(b) Substituting into the plane: 2(1+2t)(0+t)+(1t)=52(1+2t) - (0+t) + (1-t) = 5. 2+4tt+1t=52 + 4t - t + 1 - t = 5. 2t = 2$$t = 1. Point: (310)\begin{pmatrix} 3 \\ 1 \\ 0 \end{pmatrix}.

(c) Distance =3+1+2(2)41+1+4=3+1446=46=263= \frac{|3 + 1 + 2(-2) - 4|}{\sqrt{1+1+4}} = \frac{|3 + 1 - 4 - 4|}{\sqrt{6}} = \frac{4}{\sqrt{6}} = \frac{2\sqrt{6}}{3}.

(d) Normal to plane 1: n1=(122)\mathbf{n}_1 = \begin{pmatrix} 1 \\ 2 \\ 2 \end{pmatrix}. Normal to plane 2: n2=(212)\mathbf{n}_2 = \begin{pmatrix} 2 \\ -1 \\ 2 \end{pmatrix}. cosθ=n1n2n1n2=22+499=49\cos\theta = \frac{\mathbf{n}_1 \cdot \mathbf{n}_2}{|\mathbf{n}_1||\mathbf{n}_2|} = \frac{2-2+4}{\sqrt{9}\sqrt{9}} = \frac{4}{9}. θ=arccos(4/9)63.6\theta = \arccos(4/9) \approx 63.6^\circ.

IT-2: Vectors and Geometry (with Polar Coordinates)

Section titled “IT-2: Vectors and Geometry (with Polar Coordinates)”

Question: Points A$$B$$C have position vectors \mathbf{a} = \begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}$$\mathbf{b} = \begin{pmatrix} 2 \\ 3 \\ 1 \end{pmatrix}$$\mathbf{c} = \begin{pmatrix} 0 \\ 1 \\ 4 \end{pmatrix}. (a) Calculate the area of triangle ABCABC. (b) Find the Cartesian equation of the plane through A$$B$$C. (c) Find the acute angle between AB\overrightarrow{AB}and AC\overrightarrow{AC}. (d) Find the volume of the tetrahedron OABCOABC where OO is the origin.

Solution:

(a) \overrightarrow{AB} = \begin{pmatrix} 1 \\ 3 \\ 1 \end{pmatrix}$$\overrightarrow{AC} = \begin{pmatrix} -1 \\ 1 \\ 4 \end{pmatrix}. AB×AC=(1214+11+3)=(1154)\overrightarrow{AB} \times \overrightarrow{AC} = \begin{pmatrix} 12 - 1 \\ 4 + 1 \\ 1 + 3 \end{pmatrix} = \begin{pmatrix} 11 \\ 5 \\ 4 \end{pmatrix}. Area =12121+25+16=12162=922= \frac{1}{2}\sqrt{121 + 25 + 16} = \frac{1}{2}\sqrt{162} = \frac{9\sqrt{2}}{2}.

(b) Normal n=AB×AC=(1154)\mathbf{n} = \overrightarrow{AB} \times \overrightarrow{AC} = \begin{pmatrix} 11 \\ 5 \\ 4 \end{pmatrix}. Plane through A(1,0,0)A(1,0,0): 11(x1)+5y+4z=011(x-1) + 5y + 4z = 0I.e., 11x+5y+4z=1111x + 5y + 4z = 11.

(c) AB=1+9+1=11|\overrightarrow{AB}| = \sqrt{1+9+1} = \sqrt{11}. AC=1+1+16=18|\overrightarrow{AC}| = \sqrt{1+1+16} = \sqrt{18}. cosθ=ABACABAC=1+3+41118=6198=6322=222\cos\theta = \frac{\overrightarrow{AB} \cdot \overrightarrow{AC}}{|\overrightarrow{AB}||\overrightarrow{AC}|} = \frac{-1+3+4}{\sqrt{11}\sqrt{18}} = \frac{6}{\sqrt{198}} = \frac{6}{3\sqrt{22}} = \frac{2}{\sqrt{22}}. θ=arccos(222)64.8\theta = \arccos\left(\frac{2}{\sqrt{22}}\right) \approx 64.8^\circ.

(d) Volume =16a(b×c)= \frac{1}{6}|\mathbf{a} \cdot (\mathbf{b} \times \mathbf{c})|. b×c=(1214003)=(1143)\mathbf{b} \times \mathbf{c} = \begin{pmatrix} 12-1 \\ 4-0 \\ 0-3 \end{pmatrix} = \begin{pmatrix} 11 \\ 4 \\ -3 \end{pmatrix}. a(b×c)=1(11)+0(4)+0(3)=11\mathbf{a} \cdot (\mathbf{b} \times \mathbf{c}) = 1(11) + 0(4) + 0(-3) = 11. Volume =116= \frac{11}{6} cubic units.

IT-3: Applications in Mechanics (with Differential Equations)

Section titled “IT-3: Applications in Mechanics (with Differential Equations)”

Question: A force F=(3t21)\mathbf{F} = \begin{pmatrix} 3t \\ 2 \\ -1 \end{pmatrix} N acts on a particle of mass 2 kg. At t=0t = 0The particle is at (010)\begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix} m with velocity (102)\begin{pmatrix} 1 \\ 0 \\ 2 \end{pmatrix} m/s. (a) Find the acceleration. (b) Find the velocity as a function of time. (c) Find the position as a function of time. (d) Calculate the kinetic energy at t=2t = 2.

Solution:

(a) a=Fm=(1.5t10.5)\mathbf{a} = \frac{\mathbf{F}}{m} = \begin{pmatrix} 1.5t \\ 1 \\ -0.5 \end{pmatrix} m/s2^2.

(b) v=(102)+0t(1.5s10.5s)ds=(102)+(0.75t2t0.25t2)=(1+0.75t2t20.25t2)\mathbf{v} = \begin{pmatrix} 1 \\ 0 \\ 2 \end{pmatrix} + \int_0^t \begin{pmatrix} 1.5s \\ 1 \\ -0.5s \end{pmatrix}\,ds = \begin{pmatrix} 1 \\ 0 \\ 2 \end{pmatrix} + \begin{pmatrix} 0.75t^2 \\ t \\ -0.25t^2 \end{pmatrix} = \begin{pmatrix} 1+0.75t^2 \\ t \\ 2-0.25t^2 \end{pmatrix}.

(c) r=(010)+0t(1+0.75s2s20.25s2)ds=(010)+(t+0.25t30.5t22tt3/12)\mathbf{r} = \begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix} + \int_0^t \begin{pmatrix} 1+0.75s^2 \\ s \\ 2-0.25s^2 \end{pmatrix}\,ds = \begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix} + \begin{pmatrix} t + 0.25t^3 \\ 0.5t^2 \\ 2t - t^3/12 \end{pmatrix}.

(d) At t=2t = 2: v=(1+3221)=(421)\mathbf{v} = \begin{pmatrix} 1+3 \\ 2 \\ 2-1 \end{pmatrix} = \begin{pmatrix} 4 \\ 2 \\ 1 \end{pmatrix}. KE=12×2×(16+4+1)=21\text{KE} = \frac{1}{2} \times 2 \times (16+4+1) = 21 J.

Confusing the scalar (dot) and vector (cross) products: The dot product ab\mathbf{a} \cdot \mathbf{b} gives a scalar. The cross product a×b\mathbf{a} \times \mathbf{b} gives a vector perpendicular to both. Students often compute the cross product when asked for the dot product or vice versa. The dot product checks parallelism (ab=abcosθ\mathbf{a} \cdot \mathbf{b} = |\mathbf{a}||\mathbf{b}|\cos\theta); the cross product checks perpendicularity.

Forgetting to use unit direction vectors for lines: The equation of a line through point a\mathbf{a} in direction d\mathbf{d} is r=a+td\mathbf{r} = \mathbf{a} + t\mathbf{d} where d\mathbf{d} should be a direction vector (not necessarily a unit vector). However, when finding the perpendicular distance from a point to a line, you need the component of AP\mathbf{AP} perpendicular to d\mathbf{d}, which requires the unit vector d^=d/d\hat{\mathbf{d}} = \mathbf{d}/|\mathbf{d}|.

Mixing up the angle between two vectors with the angle between a vector and a plane: The angle between two vectors uses cosθ=abab\cos\theta = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{a}||\mathbf{b}|}. The angle between a vector and a plane uses sinθ=anan\sin\theta = \frac{\mathbf{a} \cdot \mathbf{n}}{|\mathbf{a}||\mathbf{n}|} where n\mathbf{n} is the normal to the plane. Using cosine for the plane angle gives the complement of the correct answer.