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, work done by a force, 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 (a scalar length)
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.
ExampleA genuinely non-right angle
Find the angle between a=i+j\vec a = \vec i + \vec j and b=i+2j+2k\vec b = \vec i + 2\vec j + 2\vec k.
ExampleProjection (the vector shadow)
Find the length of the projection of b=3i+jk\vec b = 3\vec i + \vec j - \vec k onto a=2ij+2k\vec a = 2\vec i - \vec j + 2\vec k.
ExampleWork done by a force
A constant force F=2i+j+k\vec F = 2\vec i + \vec j + \vec k moves a particle from A(1,0,1)A(1,0,1) to B(3,2,0)B(3,2,0). Find the work done.

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
Areas & unit normal
Area=a×b,Area=12a×b,n^=a×ba×b\text{Area}_{\parallel} = |\vec a \times \vec b|,\quad \text{Area}_{\triangle} = \tfrac{1}{2}|\vec a \times \vec b|,\quad \hat n = \dfrac{\vec a \times \vec b}{|\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 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 (cyclic)
  • 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.
ExampleArea of a triangle from its vertices
Find the area of the triangle with vertices A(1,1,1)A(1,1,1), B(2,3,1)B(2,3,1), C(1,2,3)C(1,2,3).
ExampleUnit vector perpendicular to two vectors
Find a unit vector perpendicular to both a=2ij+k\vec a = 2\vec i - \vec j + \vec k and b=3i+4jk\vec b = 3\vec i + 4\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. The tetrahedron on the same three edges has one-sixth of that volume.

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
ExampleVolume of a parallelepiped
Find the volume of the parallelepiped whose edges are a=i+2j+3k\vec a = \vec i + 2\vec j + 3\vec k, b=2i+j+k\vec b = 2\vec i + \vec j + \vec k, c=j+2k\vec c = \vec j + 2\vec k.
ExampleCoplanarity — solve for a parameter
Find λ\lambda so that a=i+j+k\vec a = \vec i + \vec j + \vec k, b=2i+3j+k\vec b = 2\vec i + 3\vec j + \vec k, c=i+λj+3k\vec c = \vec i + \lambda\vec j + 3\vec k are 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 abstractly
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.
ExampleWith explicit vectors
Evaluate a×(b×c)\vec a \times (\vec b \times \vec c) for a=i+j\vec a = \vec i + \vec j, b=i+k\vec b = \vec i + \vec k, c=j+k\vec c = \vec j + \vec k.

5. Equation of a straight line

A line is fixed either by a point plus a direction, or by two points. Every form below is a repackaging of one idea: from a base point a\vec a, slide along a direction b\vec b by any amount tt.

Vector form (parametric)
r=a+tb,tR\vec r = \vec a + t\,\vec b,\qquad t \in \mathbb{R}
Cartesian (symmetric) form
xx1b1=yy1b2=zz1b3\dfrac{x - x_1}{b_1} = \dfrac{y - y_1}{b_2} = \dfrac{z - z_1}{b_3}

Through two points AA and BB, the direction is just b=AB=bposa\vec b = \overrightarrow{AB} = \vec b_{\text{pos}} - \vec a, so r=a+t(bposa)\vec r = \vec a + t(\vec b_{\text{pos}} - \vec a).

Note: The denominators $b_1, b_2, b_3$ in the Cartesian form are direction ratios, not coordinates. If one direction ratio is $0$, that fraction is written separately, e.g. $\dfrac{x-1}{2} = \dfrac{y-3}{-1},\ z = 4$.
ExampleLine: all three forms
A line passes through (1,2,3)(1, 2, -3) and is parallel to 4i+5j7k4\vec i + 5\vec j - 7\vec k. Give its vector and Cartesian equations.
ExampleLine through two points, and where it meets a plane
Find the line through (5,7,4)(-5, 7, -4) and (13,5,2)(13, -5, 2), and the point where it crosses the xyxy-plane.
ExampleAngle between two lines
Find the acute angle between lines with directions b=2i+2jk\vec b = 2\vec i + 2\vec j - \vec k and d=6i+3j+2k\vec d = 6\vec i + 3\vec j + 2\vec k.

6. 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 description below is really 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
Normal form & intercept form
rn^=p(p=distance from origin),xa+yb+zc=1\vec r \cdot \hat n = p \quad(p = \text{distance from origin}),\qquad \dfrac{x}{a} + \dfrac{y}{b} + \dfrac{z}{c} = 1

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.

ExamplePlane in normal form
Reduce the plane 6x+2y+3z=126x + 2y + 3z = 12 to normal form and read off its distance from the origin.
ExamplePlane through three points
Find the Cartesian equation of the plane through A(2,1,1)A(2,1,1), B(3,2,2)B(3,2,2), C(1,3,2)C(1,3,2).
ExamplePlane from intercepts
A plane cuts the axes at (2,0,0)(2,0,0), (0,3,0)(0,3,0), (0,0,4)(0,0,4). Find its equation.

7. Angles: planes and lines

Two planes meet at the same angle as their normals. A line and a plane, however, use the sine — because the natural angle to measure is between the line and the normal, and the line-to-plane angle is its complement.

Angle between two planes
cosθ=n1n2n1n2\cos\theta = \dfrac{\vec n_1 \cdot \vec n_2}{|\vec n_1|\,|\vec n_2|}
Angle between a line and a plane
sinθ=bnbn\sin\theta = \dfrac{|\vec b \cdot \vec n|}{|\vec b|\,|\vec n|}
Special cases
  • Planes parallel     n1n2\iff \vec n_1 \parallel \vec n_2; planes perpendicular     n1n2=0\iff \vec n_1 \cdot \vec n_2 = 0
  • Line parallel to a plane     bn=0\iff \vec b \cdot \vec n = 0 (line direction perpendicular to the normal)
  • Line perpendicular to a plane     bn\iff \vec b \parallel \vec n
ExampleAngle between two planes
Find the angle between the planes x+y+z=1x + y + z = 1 and 2xy+2z=52x - y + 2z = 5.
ExampleAngle between a line and a plane
Find the angle between the line r=a+t(2ij+2k)\vec r = \vec a + t(2\vec i - \vec j + 2\vec k) and the plane x+y+z=5x + y + z = 5.

8. Distances: point to plane and point to line

Distance is always measured along the perpendicular. To a plane, project onto the normal; to a line, use the cross product to isolate the perpendicular part.

Point to plane
D=ax0+by0+cz0da2+b2+c2D = \dfrac{|ax_0 + by_0 + cz_0 - d|}{\sqrt{a^2 + b^2 + c^2}}
Point to line
D=(ua)×bbD = \dfrac{|(\vec u - \vec a) \times \vec b|}{|\vec b|}
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.
ExampleDistance from a point to a line
Find the distance from P(1,0,0)P(1, 0, 0) to the line r=t(i+j+k)\vec r = t(\vec i + \vec j + \vec k).

9. Shortest distance between skew lines

Two lines in space are skew if they are neither parallel nor intersecting. The shortest distance between them is the length of the unique common perpendicular — captured by a scalar triple product.

DefinitionSkew lines

Lines that do not lie in a common plane. For r=a+tb\vec r = \vec a + t\vec b and r=c+sd\vec r = \vec c + s\vec d, they are skew when b×d0\vec b \times \vec d \ne \vec 0 and (ca)(b×d)0(\vec c - \vec a)\cdot(\vec b\times\vec d) \ne 0.

Shortest distance (skew)
d=(ca)(b×d)b×dd = \dfrac{\big|(\vec c - \vec a) \cdot (\vec b \times \vec d)\big|}{|\vec b \times \vec d|}
Shortest distance (parallel lines)
d=(ca)×bbd = \dfrac{|(\vec c - \vec a) \times \vec b|}{|\vec b|}
Note: If the numerator of the skew-line formula comes out $0$ (while $\vec b \times \vec d \ne \vec 0$), the lines are not skew — they intersect. That vanishing triple product is exactly the coplanarity condition.
ExampleShortest distance between two skew lines
Find the shortest distance between r=(i+j)+t(2ij+k)\vec r = (\vec i + \vec j) + t(2\vec i - \vec j + \vec k) and r=(2i+jk)+s(3i5j+2k)\vec r = (2\vec i + \vec j - \vec k) + s(3\vec i - 5\vec j + 2\vec k).

10. Image of a point in a plane

The mirror image of a point in a plane sits on the opposite side, the same perpendicular distance away, along the normal. The foot of the perpendicular is the midpoint between the point and its image.

Image of point A across plane r·n̂ = p
A=a2(andn2)n\vec{A'} = \vec a - 2\left(\dfrac{\vec a \cdot \vec n - d}{|\vec n|^2}\right)\vec n

In coordinates, to reflect (x0,y0,z0)(x_0, y_0, z_0) in ax+by+cz=dax + by + cz = d: compute k=ax0+by0+cz0da2+b2+c2k = \dfrac{ax_0 + by_0 + cz_0 - d}{a^2 + b^2 + c^2}, then the image is (x02ak, y02bk, z02ck)(x_0 - 2ak,\ y_0 - 2bk,\ z_0 - 2ck).

ExampleImage of a point in a plane
Find the image of the point (1,2,3)(1, 2, 3) in the plane x+2y+2z=3x + 2y + 2z = 3.
Watch out: Common exam slips: using $\cos$ instead of $\sin$ for the line–plane angle; forgetting the absolute value in distance formulas (distance is never negative); and mixing up direction ratios with coordinates in the Cartesian line form. Always confirm $\vec b \times \vec d \ne \vec 0$ before calling two lines skew.