TN 12th MathsLearn · Visualize · Practice

Chapter 6

Applications of Vector Algebra

Scalar & vector products, triple products, planes and lines in 3D.

1. The scalar (dot) product

The dot product takes two vectors and returns a single number — a scalar — that measures how much the two vectors point in the same direction. It is the quiet workhorse behind angles, projections, and the test for perpendicularity.

DefinitionScalar (dot) product

For vectors a\vec a and b\vec b with angle θ\theta between them (0θπ)(0 \le \theta \le \pi), the dot product is ab=abcosθ\vec a \cdot \vec b = |\vec a|\,|\vec b|\cos\theta. In components, if a=a1i+a2j+a3k\vec a = a_1\vec i + a_2\vec j + a_3\vec k and b=b1i+b2j+b3k\vec b = b_1\vec i + b_2\vec j + b_3\vec k, then ab=a1b1+a2b2+a3b3\vec a \cdot \vec b = a_1 b_1 + a_2 b_2 + a_3 b_3.

The result is a scalar, not a vector. Geometrically, bcosθ|\vec b|\cos\theta is the length of the projection of b\vec b onto a\vec a, so ab\vec a \cdot \vec b is a|\vec a| times that projection — a measure of shared direction.

Angle between two vectors
cosθ=abab\cos\theta = \dfrac{\vec a \cdot \vec b}{|\vec a|\,|\vec b|}
Projection of b on a
projab=aba\text{proj}_{\vec a}\vec b = \dfrac{\vec a \cdot \vec b}{|\vec a|}
Key idea: Two non-zero vectors are perpendicular exactly when $\vec a \cdot \vec b = 0$, because $\cos 90^\circ = 0$. Open the Visualize tab and rotate the vectors until the dot product hits zero.
Properties of the dot product
  • Commutative: ab=ba\vec a \cdot \vec b = \vec b \cdot \vec a
  • Distributive: a(b+c)=ab+ac\vec a \cdot (\vec b + \vec c) = \vec a \cdot \vec b + \vec a \cdot \vec c
  • aa=a2\vec a \cdot \vec a = |\vec a|^2
  • For the standard basis: ii=jj=kk=1\vec i \cdot \vec i = \vec j \cdot \vec j = \vec k \cdot \vec k = 1 and ij=jk=ki=0\vec i \cdot \vec j = \vec j \cdot \vec k = \vec k \cdot \vec i = 0
ExampleDot product and angle
Find ab\vec a \cdot \vec b and the angle between a=i+2j+2k\vec a = \vec i + 2\vec j + 2\vec k and b=2i+j2k\vec b = 2\vec i + \vec j - 2\vec k.

2. The vector (cross) product

The cross product of two vectors in 3D returns a new vector — one that is perpendicular to both inputs. Its length records the area they span, and its direction records the orientation. Unlike the dot product, order matters.

DefinitionVector (cross) product

a×b=absinθ  n^\vec a \times \vec b = |\vec a|\,|\vec b|\sin\theta\;\hat n, where n^\hat n is the unit vector perpendicular to both a\vec a and b\vec b, pointing in the direction given by the right-hand rule. Its magnitude is a×b=absinθ|\vec a \times \vec b| = |\vec a|\,|\vec b|\sin\theta.

The magnitude a×b|\vec a \times \vec b| equals the area of the parallelogram with a\vec a and b\vec b as adjacent sides. Half of it is the area of the triangle formed by the two vectors.

Determinant form
a×b=ijka1a2a3b1b2b3=(a2b3a3b2)i(a1b3a3b1)j+(a1b2a2b1)k\vec a \times \vec b = \begin{vmatrix} \vec i & \vec j & \vec k \\ a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \end{vmatrix} = (a_2 b_3 - a_3 b_2)\vec i - (a_1 b_3 - a_3 b_1)\vec j + (a_1 b_2 - a_2 b_1)\vec k
Area
Area of parallelogram=a×b,Area of triangle=12a×b\text{Area of parallelogram} = |\vec a \times \vec b|,\qquad \text{Area of triangle} = \tfrac{1}{2}|\vec a \times \vec b|
Note: The cross product is anti-commutative: $\vec a \times \vec b = -(\vec b \times \vec a)$. Reversing the order flips the resulting vector to the opposite direction.
Key idea: Two non-zero vectors are parallel exactly when $\vec a \times \vec b = \vec 0$, because $\sin 0^\circ = 0$. In the 2D explorer this shows up as the $z$-component (and the parallelogram area) collapsing to zero.
Standard basis cross products
  • i×j=k,j×k=i,k×i=j\vec i \times \vec j = \vec k,\quad \vec j \times \vec k = \vec i,\quad \vec k \times \vec i = \vec j
  • i×i=j×j=k×k=0\vec i \times \vec i = \vec j \times \vec j = \vec k \times \vec k = \vec 0
  • Reversing any of the above negates the result, e.g. j×i=k\vec j \times \vec i = -\vec k
ExampleCross product and area
Find a×b\vec a \times \vec b and the area of the parallelogram for a=i+j+k\vec a = \vec i + \vec j + \vec k and b=ij+k\vec b = \vec i - \vec j + \vec k.

3. The scalar triple product

Combine three vectors by taking the cross product of two, then the dot product with the third. The single number you get measures the volume of the box they span — and its sign tells you the orientation.

DefinitionScalar triple product

[a b c]=a(b×c)[\vec a\ \vec b\ \vec c] = \vec a \cdot (\vec b \times \vec c). In components it is the 3×33\times 3 determinant of the rows of coordinates.

Determinant form
[a b c]=a1a2a3b1b2b3c1c2c3[\vec a\ \vec b\ \vec c] = \begin{vmatrix} a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \\ c_1 & c_2 & c_3 \end{vmatrix}

The absolute value [a b c]\big|[\vec a\ \vec b\ \vec c]\big| is the volume of the parallelepiped with a\vec a, b\vec b, c\vec c as adjacent edges.

Key idea: Three vectors are coplanar exactly when $[\vec a\ \vec b\ \vec c] = 0$ — the box they would span is flat, so it has zero volume.
Properties
  • Cyclic invariance: [a b c]=[b c a]=[c a b][\vec a\ \vec b\ \vec c] = [\vec b\ \vec c\ \vec a] = [\vec c\ \vec a\ \vec b]
  • Swapping any two vectors changes the sign
  • If any two of the three vectors are equal, the product is 00
  • a(b×c)=(a×b)c\vec a \cdot (\vec b \times \vec c) = (\vec a \times \vec b) \cdot \vec c — dot and cross may be interchanged
ExampleCoplanarity check
Are a=i+j\vec a = \vec i + \vec j, b=j+k\vec b = \vec j + \vec k, c=i+k\vec c = \vec i + \vec k coplanar?

4. The vector triple product

Cross two vectors and cross the result again with a third, and you land back inside the plane of the last two vectors. The expansion below — sometimes called the BAC–CAB rule — lets you avoid computing nested cross products.

Vector triple product identity
a×(b×c)=(ac)b(ab)c\vec a \times (\vec b \times \vec c) = (\vec a \cdot \vec c)\,\vec b - (\vec a \cdot \vec b)\,\vec c
Note: The result lies in the plane of $\vec b$ and $\vec c$. Note the cross product is not associative: in general $\vec a \times (\vec b \times \vec c) \ne (\vec a \times \vec b) \times \vec c$, so the brackets matter.
ExampleApplying the identity
Simplify a×(b×c)\vec a \times (\vec b \times \vec c) given ab=4\vec a \cdot \vec b = 4 and ac=1\vec a \cdot \vec c = -1.

5. The equation of a plane

A plane in space is pinned down by a point on it and a direction perpendicular to it — the normal vector n\vec n. Every different description of a plane below is really just a repackaging of the single condition: the vector from a fixed point to any point on the plane is perpendicular to n\vec n.

Vector / normal form
(ra)n=0rn=an(\vec r - \vec a) \cdot \vec n = 0 \quad\Longleftrightarrow\quad \vec r \cdot \vec n = \vec a \cdot \vec n
Cartesian (general) form
ax+by+cz=d,where n=ai+bj+ckax + by + cz = d, \quad\text{where } \vec n = a\vec i + b\vec j + c\vec k

The coefficients a,b,ca, b, c are exactly the components of the normal vector. To find the plane through three points A,B,CA, B, C, take n=AB×AC\vec n = \overrightarrow{AB} \times \overrightarrow{AC} and then use one of the points.

Plane through three points
n=AB×AC,(ra)n=0\vec n = \overrightarrow{AB} \times \overrightarrow{AC},\qquad (\vec r - \vec a)\cdot \vec n = 0
Key formulas for a plane
  • Angle between two planes = angle between their normals: cosθ=n1n2n1n2\cos\theta = \dfrac{\vec n_1 \cdot \vec n_2}{|\vec n_1|\,|\vec n_2|}
  • Two planes are parallel     \iff their normals are parallel; perpendicular     n1n2=0\iff \vec n_1 \cdot \vec n_2 = 0
  • Distance from point (x0,y0,z0)(x_0, y_0, z_0) to plane ax+by+cz=dax + by + cz = d: ax0+by0+cz0da2+b2+c2\dfrac{|ax_0 + by_0 + cz_0 - d|}{\sqrt{a^2 + b^2 + c^2}}
Note: Angle between a line (direction $\vec b$) and a plane (normal $\vec n$): $\sin\theta = \dfrac{|\vec b \cdot \vec n|}{|\vec b|\,|\vec n|}$. The line is parallel to the plane when $\vec b \cdot \vec n = 0$, and meets it in a single point otherwise.

6. Distance from a point to a plane

The distance from a point to a plane is measured along the normal — it is the length of the shortest segment from the point to the plane. The formula is a direct application of projecting onto the normal vector.

D=ax0+by0+cz0da2+b2+c2D = \dfrac{|ax_0 + by_0 + cz_0 - d|}{\sqrt{a^2 + b^2 + c^2}}
ExampleDistance from a point to a plane
Find the distance from the point (1,2,0)(1, 2, 0) to the plane 2xy+2z=52x - y + 2z = 5.