Skip to main content

Vector dot and cross product problem

Short answer

A.B = 7; A x B = (7, 0, -14); angle = 65.9 deg; unit normal = (0.447, 0, -0.894); parallelogram area = 15.65 square units. Dot product is used for angles and projections; cross product gives surface normals and areas.

Two vectors are A = 2i + 3j + k and B = 4i - j + 2k. Find (a) A.B, (b) A x B, (c) the angle between them, (d) the unit vector normal to the plane of A and B, and (e) the area of the parallelogram formed by A and B. State where each result is used in geometric modelling.

Given

A=(2,3,1)\mathbf A = (2, 3, 1), B=(4,−1,2)\mathbf B = (4, -1, 2).

(a) Dot product

A⋅B=2(4)+3(−1)+1(2)=8−3+2=7\mathbf A\cdot\mathbf B = 2(4)+3(-1)+1(2) = 8-3+2 = 7

(b) Cross product

A×B=∣ijk2314−12∣=(6+1)i−(4−4)j+(−2−12)k=7i+0j−14k\mathbf A\times\mathbf B= \begin{vmatrix}\mathbf i&\mathbf j&\mathbf k\\2&3&1\\4&-1&2\end{vmatrix} = (6+1)\mathbf i-(4-4)\mathbf j+(-2-12)\mathbf k = 7\mathbf i+0\mathbf j-14\mathbf k

(c) Angle

∣A∣=14=3.742|\mathbf A|=\sqrt{14}=3.742, ∣B∣=21=4.583|\mathbf B|=\sqrt{21}=4.583.

cos⁡θ=73.742×4.583=0.4082,θ=65.9∘\cos\theta=\frac{7}{3.742\times4.583}=0.4082,\qquad \theta=65.9^\circ

(d) Unit normal

∣A×B∣=49+0+196=15.652|\mathbf A\times\mathbf B|=\sqrt{49+0+196}=15.652

n^=(7,0,−14)15.652=(0.447, 0, −0.894)\hat{\mathbf n}=\frac{(7,0,-14)}{15.652}=(0.447,\ 0,\ -0.894)

(e) Area of parallelogram

Area =∣A×B∣=15.65=|\mathbf A\times\mathbf B| = 15.65 square units.

Uses in modelling

  • Dot product: angle between edges, projection of a point on a line, checking perpendicularity (dot product = 0).
  • Cross product: surface normal of a face (used in shading, offsetting, STL facet normals), area of a face, and the sign of a turn.

Answer: A.B = 7; AxB = (7, 0, -14); angle = 65.9 deg; unit normal = (0.447, 0, -0.894); area = 15.65 square units.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Computer Aided Design chapter 2 questions →