Chapter 3 Vectors in Space Notes – 11th Class Math Federal Board

Chapter 3 Vectors in Space notes thumbnail listing the exercises of the chapter, 11th class math Federal Board (FBISE)

Chapter 3, Vectors in Space, from the 11th class Mathematics, Federal Board (FBISE) book. These notes cover Vectors, Vectors in Space (Three-Dimensional Space), Properties of Vector Addition, Properties of Scalar Multiplication, Dot or Scalar Product, Cross or Vector Product of Two Vectors, Scalar Triple Product and Application of Vectors in Real World. Learn the definitions and formula boxes, then try the solved examples and the exercises.

Tap a section to open or close it.
3.1 Vectors

3.1.1 Geometrical Representation of a Vector

A scalar is specified by magnitude alone. Mass, time, distance and volume are scalars.

A vector has a magnitude and a direction. Displacement, velocity, acceleration and weight are vectors.

For example, travelling $5$ km east describes a displacement. The distance travelled is the scalar $5$ km.

A directed line segment from $A$ to $B$ represents the vector $\overrightarrow{AB}$. The initial point $A$ is the tail.

The terminal point $B$ is the head. The length of the segment gives the magnitude of the vector.

The arrow points from $A$ to $B$. A single arrowed letter such as $\vec{a}$ can also name a vector.

Initial point, terminal point and magnitude of a vectorxy−1123456−11234OA (tail)B (head)
$\overrightarrow{AB}$ starts at $A$ and points towards $B$. Its magnitude is the length of $AB$.

3.1.2 Some Fundamental Definitions of Terms Related to Vectors

  • The magnitude, length or norm of $\vec{a}$ is written $|\vec{a}|$.
  • Two nonzero vectors are equal if they have the same magnitude and the same direction. Sliding a vector without turning it or changing its length preserves it.
  • The negative vector $-\vec{a}$ has the same magnitude as $\vec{a}$ and the opposite direction. In particular, $\overrightarrow{BA}=-\overrightarrow{AB}$.
  • The zero vector or null vector $\vec{0}$ has magnitude $0$. It has no fixed direction. It is obtained when the initial and terminal points coincide.
  • A unit vector has magnitude $1$. The unit vector in the direction of $\vec{a}\ne\vec{0}$ is denoted by $\hat{a}$. Dividing a nonzero vector by its magnitude is called normalizing it.
  • Two nonzero vectors are parallel if one is a scalar multiple of the other. A positive multiple gives the same direction. A negative multiple gives the opposite direction, called antiparallel.
  • The position vector of $P$ relative to the origin $O$ is $\overrightarrow{OP}$. The tail of a position vector is always at $O$.
Scalar Multiplication and Unit Vectors
$$|\lambda\vec{a}|=|\lambda|\,|\vec{a}|$$

The product $\lambda\vec{a}$ is zero exactly when $\lambda$ is zero or $\vec{a}$ is the zero vector. If either factor is zero, their product is zero. If both are nonzero, the magnitude of their product is positive.

$$\begin{aligned}\hat{a}&=\frac{\vec{a}}{|\vec{a}|}\\[7pt]\vec{a}&=|\vec{a}|\hat{a}\qquad(\vec{a}\ne\vec{0})\end{aligned}$$

For $m>0$, a vector of magnitude $m$ in the direction of $\vec{a}$ is $m\hat{a}$. The vector of that magnitude in the opposite direction is $-m\hat{a}$.

Equal vectors and a scalar multiple in the opposite directionxy−112345678−1123456Oabc
The blue and purple arrows give $\vec{a}=\vec{b}$. The red arrow gives $\vec{c}=-2\vec{a}$.
Common mistake / Note: The zero vector cannot be normalized because its magnitude is $0$. Vectors of equal magnitude can have different directions.

3.1.3 Addition of Vectors

The sum $\vec{a}+\vec{b}$ is called the resultant vector.

  • Head-to-tail rule or triangle law. Put the tail of $\vec{b}$ at the head of $\vec{a}$. The resultant goes from the first tail to the last head. Thus $\overrightarrow{AB}+\overrightarrow{BC}=\overrightarrow{AC}$.
  • Parallelogram law. Draw $\vec{a}$ and $\vec{b}$ from a common tail on two adjacent sides of a parallelogram. The diagonal from the common tail gives the resultant. The vector on the opposite side has the same components as the side it copies.
  • Polygon law. Place each new vector after the head of the previous one. For example, $\overrightarrow{IA}+\overrightarrow{AB}+\overrightarrow{BC}+\overrightarrow{CD}+\overrightarrow{DE}=\overrightarrow{IE}$. A closed chain has resultant $\vec{0}$.
  • Subtraction. To form $\vec{a}-\vec{b}$, add $\vec{a}$ and $-\vec{b}$. When both original vectors start at $O$, the difference goes from the head of $\vec{b}$ to the head of $\vec{a}$.
Triangle and parallelogram laws of vector additionxy−11234567−11234OABCD
The route $A$ to $B$ to $C$ gives the same resultant as the diagonal. The sides $\overrightarrow{AB}$ and $\overrightarrow{AD}$ start at the same point.
Head-to-tail addition of five vectorsxy−11234567−11234567OIABCDE
Follow $I,A,B,C,D,E$ in order. The green arrow $\overrightarrow{IE}$ gives the sum.
Subtracting two vectors with a common tailxy−1123456−11234OOAB
If $\vec{a}=\overrightarrow{OA}$ and $\vec{b}=\overrightarrow{OB}$, the purple arrow $\overrightarrow{BA}$ is $\vec{a}-\vec{b}$.

3.1.4 Position Vector of a Point Dividing the Line Segment in a Given Ratio

Let $\vec{a}$ and $\vec{b}$ be the position vectors of $A$ and $B$. Let $P$ have position vector $\vec{r}$, with distances $AP:PB=m:n$ and $m,n>0$.

Internal Division, Midpoint and External Division
$$\begin{aligned}\vec{r}_{\text{internal}}&=\frac{m\vec{b}+n\vec{a}}{m+n}\\[7pt]\vec{r}_{\text{midpoint}}&=\frac{\vec{a}+\vec{b}}{2}\end{aligned}$$
$$\begin{aligned}\vec{r}_{\text{external}}&=\frac{n\vec{a}-m\vec{b}}{n-m}\\[7pt]&=\frac{m\vec{b}-n\vec{a}}{m-n}\qquad(m\ne n)\end{aligned}$$

For internal division, $\overrightarrow{AP}$ and $\overrightarrow{PB}$ point the same way. Turning the length ratio into a vector equation gives

$$\begin{aligned}n(\vec{r}-\vec{a})&=m(\vec{b}-\vec{r})\\[7pt](m+n)\vec{r}&=m\vec{b}+n\vec{a}.\end{aligned}$$

For the midpoint, put $m=n$. Both end points have equal weights.

For external division, $\overrightarrow{AP}$ and $\overrightarrow{BP}$ point the same way. This gives a different equation.

$$\begin{aligned}n(\vec{r}-\vec{a})&=m(\vec{r}-\vec{b})\\[7pt](n-m)\vec{r}&=n\vec{a}-m\vec{b}.\end{aligned}$$
Internal and external division in the ratio two to onexy−1123456789−11234OOAPBQ
$P$ lies between $A$ and $B$, with $AP:PB=2:1$. $Q$ lies beyond $B$, with $\begin{aligned}AQ:QB&=6:3\\[7pt]&=2:1\end{aligned}$.

In the diagram, $\vec{a}=2\hat{i}+3\hat{j}$ and $\vec{b}=5\hat{i}+3\hat{j}$. Substituting $m=2$ and $n=1$ gives

$$\begin{aligned}\overrightarrow{OP}&=\frac{2(5\hat{i}+3\hat{j})+(2\hat{i}+3\hat{j})}{3}\\[7pt]&=4\hat{i}+3\hat{j},\end{aligned}$$
$$\begin{aligned}\overrightarrow{OQ}&=\frac{2(5\hat{i}+3\hat{j})-(2\hat{i}+3\hat{j})}{1}\\[7pt]&=8\hat{i}+3\hat{j}.\end{aligned}$$
Common mistake / Note: The coefficient of $\vec{b}$ in the internal formula is $m$, the part next to $A$. External division with $m=n$ has no finite answer for distinct $A$ and $B$.

3.1.5 Application to Geometry

For the next results, $\vec{a},\vec{b},\vec{c},\vec{d}$ are the position vectors of the vertices $A,B,C,D$ in order. The vector from a point with position vector $\vec{u}$ to one with position vector $\vec{v}$ is $\vec{v}-\vec{u}$.

This follows from the triangle law.

Theorem 1. Diagonals of a ParallelogramThe diagonals of a parallelogram bisect each other.

Proof. Let $M_1$ be the midpoint of $AC$ and $M_2$ the midpoint of $BD$. Opposite sides have equal length and direction when taken as $\overrightarrow{AB}$ and $\overrightarrow{DC}$.

$$\overrightarrow{AB}=\overrightarrow{DC}$$

In position vectors this is $\vec b-\vec a=\vec c-\vec d$. Add $\vec a+\vec d$ to both sides.

$$\vec a+\vec c=\vec b+\vec d$$

Use the midpoint formula on each diagonal.

$$\begin{aligned}\overrightarrow{OM_1}&=\tfrac12(\vec a+\vec c)\\[7pt]&=\tfrac12(\vec b+\vec d)\\[7pt]&=\overrightarrow{OM_2}.\end{aligned}$$

The same position vector locates the same point. Thus the intersection of $AC$ and $BD$ is the midpoint of both.

Answer Hence proved.
Diagonals of a parallelogramxy−112345678−112345OABCDM
The two diagonals have the same midpoint $M$.
Theorem 2. Triangle Midpoint TheoremThe segment between two side midpoints of a triangle is parallel to the third side and half its length.

Proof. In triangle $ABC$, take $M_1$ as the midpoint of $CA$ and $M_2$ as the midpoint of $CB$.

$$\overrightarrow{OM_1}=\tfrac12(\vec a+\vec c)$$
$$\overrightarrow{OM_2}=\tfrac12(\vec b+\vec c)$$

Subtract the position vector of $M_1$ from that of $M_2$.

$$\begin{aligned}\overrightarrow{M_1M_2}&=\tfrac12(\vec b+\vec c)-\tfrac12(\vec a+\vec c)\\[7pt]&=\tfrac12(\vec b-\vec a)\\[7pt]&=\tfrac12\overrightarrow{AB}.\end{aligned}$$

The positive scalar $1/2$ preserves direction and halves the length. This gives both conclusions.

Answer Hence proved.
Midpoint theorem in a trianglexy−11234567−112345OABCM1M2
$M_1M_2$ runs parallel to $AB$ and is half as long.
Theorem 3. Trapezium Midpoint TheoremThe segment joining the midpoints of the nonparallel sides of a trapezium is parallel to the bases and has half the sum of their lengths.

Proof. Let $AB$ and $DC$ be the parallel bases of trapezium $ABCD$. Choose $M_1$ as the midpoint of $AD$ and $M_2$ as the midpoint of $BC$.

$$\overrightarrow{OM_1}=\tfrac12(\vec a+\vec d)$$
$$\overrightarrow{OM_2}=\tfrac12(\vec b+\vec c)$$

Subtract those position vectors. Collect $\vec b-\vec a$ and $\vec c-\vec d$.

$$\begin{aligned}\overrightarrow{M_1M_2}&=\tfrac12[(\vec b-\vec a)+(\vec c-\vec d)]\\[7pt]&=\tfrac12(\overrightarrow{AB}+\overrightarrow{DC}).\end{aligned}$$

The directed bases $\overrightarrow{AB}$ and $\overrightarrow{DC}$ have the same direction. Their sum points in that direction, and its length is $AB+DC$. Multiplying by $1/2$ gives $M_1M_2=(AB+DC)/2$.

Answer Hence proved.
Midpoints of the nonparallel sides and of the diagonalsxy−1123456789−112345OABCDM1M2UV
The longer segment joins the side midpoints. The short red segment joins the diagonal midpoints.

If $U,V$ are instead the midpoints of $AC,BD$, subtract the two diagonal-midpoint vectors.

$$\begin{aligned}\overrightarrow{UV}&=\frac12[(\vec{b}+\vec{d})-(\vec{a}+\vec{c})]\\[7pt]&=\frac12(\overrightarrow{AB}-\overrightarrow{DC}).\end{aligned}$$

The diagonal-midpoint segment is parallel to the bases when it has nonzero length. Its length is half the absolute difference of the base lengths.

For a general quadrilateral, the midpoint theorem makes each pair of opposite sides of the side-midpoint quadrilateral parallel and equal. For the diagonal midpoints and the midpoints of $AD,BC$, use their position vectors.

If $U,V$ are on $AC,BD$ and $M_1,M_2$ are on $AD,BC$, then

$$\begin{aligned}\overrightarrow{M_1U}&=\overrightarrow{VM_2}\\[7pt]&=\frac12(\vec{c}-\vec{d})\\[7pt]\overrightarrow{UM_2}&=\overrightarrow{M_1V}\\[7pt]&=\frac12(\vec{b}-\vec{a}).\end{aligned}$$

The order $M_1,U,M_2,V$ pairs up the opposite sides. If the two side directions are parallel, the midpoint figure collapses to a line segment.

In a parallelogram, if three consecutive vertices $A,B,C$ are known, use $\vec{d}=\vec{a}+\vec{c}-\vec{b}$ to find the fourth. In a regular hexagon, the opposite sides have equal lengths and opposite directions when taken around the boundary.

Compare each required side with known sides and build the requested diagonal with a head-to-tail chain.

3.2 Vectors in Space (Three-Dimensional Space)

3.2.1 Rectangular Coordinate System

A rectangular coordinate system in space has three mutually perpendicular axes. The $x$-, $y$- and $z$-axes meet at the origin $O=(0,0,0)$.

The ordered triple $P(x,y,z)$ gives the signed coordinates along those axes. The $xy$-plane has $z=0$, the $xz$-plane has $y=0$, and the $yz$-plane has $x=0$.

$$\begin{aligned}\mathbb{R}^3&=\mathbb{R}\times\mathbb{R}\times\mathbb{R}\\[7pt]&=\{(x,y,z):x,y,z\in\mathbb{R}\}.\end{aligned}$$

3.2.2 Unit Vectors i, j and k

The fundamental unit vectors $\hat{i},\hat{j},\hat{k}$ point along the positive $x$-, $y$- and $z$-axes. Their components are $\langle1,0,0\rangle$, $\langle0,1,0\rangle$ and $\langle0,0,1\rangle$ respectively. Each has length $1$.

3.2.3 Components and 3.2.4 Analytical Representation

The numbers $x,y,z$ are the components of $\overrightarrow{OP}$. The expression $x\hat{i}+y\hat{j}+z\hat{k}$ is its analytical representation. The ordered triple names the point. The component notation $\langle x,y,z\rangle$ names the vector.

If $Q=(x,y,0)$, first move through $x\hat{i}+y\hat{j}$ to reach $Q$. Then move through $z\hat{k}$ to reach $P$.

$$\begin{aligned}\overrightarrow{OP}&=\overrightarrow{OQ}+\overrightarrow{QP}\\[7pt]&=x\hat{i}+y\hat{j}+z\hat{k}.\end{aligned}$$
Components and magnitude of a vector
$\text{}$
$\text{}$
$O$
$O$
$x$
$y$
$z$
$\hat{i}$
$\hat{j}$
$\hat{k}$
$P(2,3,4)$
$Q$
The component box is shown in projection. The blue base diagonal is $\overrightarrow{OQ}$, the red vertical is $\overrightarrow{QP}$, and the green diagonal is $\overrightarrow{OP}$. Angle $OQP$ is a right angle in space.

3.2.5 Magnitude of a Vector

The right triangle in the $xy$-plane gives $|\overrightarrow{OQ}|^2=x^2+y^2$. The vertical segment $QP$ has length $|z|$ and is perpendicular to $OQ$. Applying Pythagoras again gives the following result.

Magnitude in Space
$$\begin{aligned}|\vec{r}|^2&=x^2+y^2+z^2\\[7pt]|\vec{r}|&=\sqrt{x^2+y^2+z^2}\quad\text{for }\vec{r}\\[7pt]&=x\hat{i}+y\hat{j}+z\hat{k}.\end{aligned}$$

For example, take $\vec{r}=2\hat{i}-3\hat{j}+6\hat{k}$. Its magnitude is $\sqrt{2^2+(-3)^2+6^2}=\sqrt{49}$, then $\sqrt{2^2+(-3)^2+6^2}=7$. Therefore $\hat{r}=(2\hat{i}-3\hat{j}+6\hat{k})/7$. Squaring its three components and adding gives $49/49=1$.

3.2.6 Fundamental Definitions for Vectors in Space

Let $\vec{r}_1=x_1\hat{i}+y_1\hat{j}+z_1\hat{k}$ and $\vec{r}_2=x_2\hat{i}+y_2\hat{j}+z_2\hat{k}$.

Component Rules

Two vectors are equal exactly when their $x$-, $y$- and $z$-components agree. Equality forces each component to agree, and equal corresponding components give the same vector.

$$\begin{aligned}\vec{0}&=0\hat{i}+0\hat{j}+0\hat{k}\\[7pt]-\vec{r}_1&=-x_1\hat{i}-y_1\hat{j}-z_1\hat{k}\end{aligned}$$
$$\lambda\vec{r}_1=(\lambda x_1)\hat{i}+(\lambda y_1)\hat{j}+(\lambda z_1)\hat{k}$$
$$\begin{aligned}\vec r_1\pm\vec r_2&=(x_1\pm x_2)\hat i+(y_1\pm y_2)\hat j\\[7pt]&\quad{}+(z_1\pm z_2)\hat k.\end{aligned}$$

For nonzero vectors, $\vec{r}_1\parallel\vec{r}_2$ exactly when $x_1=\lambda x_2$, $y_1=\lambda y_2$ and $z_1=\lambda z_2$ for one nonzero scalar $\lambda$. If the three denominators are nonzero, this is the common-ratio test $x_1/x_2=y_1/y_2$, then $x_1/x_2=z_1/z_2$, then $x_1/x_2=\lambda$.

A common multiple implies the three component equations. Conversely, the three component equations imply the vector multiple.

For example, $\langle0,-6,9\rangle=-3\langle0,2,-3\rangle$, so the vectors are antiparallel. The first coordinates satisfy the component equation $0=-3(0)$.

Common mistake / Note: If a denominator in the ratio test is zero, use the component equations. In particular, a zero component must match a zero component for two nonzero scalar multiples.
3.3 Properties of Vector Addition

3.3.1 Commutative and Associative Laws

Laws for Addition
$$\vec{r}_1+\vec{r}_2=\vec{r}_2+\vec{r}_1$$
$$\vec{r}_1+(\vec{r}_2+\vec{r}_3)=(\vec{r}_1+\vec{r}_2)+\vec{r}_3$$

Write $\vec{r}_j=\langle x_j,y_j,z_j\rangle$. The commutative law follows because $x_1+x_2=x_2+x_1$, $y_1+y_2=y_2+y_1$ and $z_1+z_2=z_2+z_1$.

For the associative law, the first components agree because $x_1+(x_2+x_3)=(x_1+x_2)+x_3$. The two $y$-components agree by associativity of real-number addition, and the two $z$-components agree for the same reason. Thus the vectors are equal.

3.3.2 Identity Vector for Addition and Additive Inverse

The identity vector for addition is $\vec{0}$. Adding it leaves all components as they were. The additive inverse of $\vec{r}$ is $-\vec{r}$. Adding opposite components gives three zeros.

Addition with Zero and with the Additive Inverse
$$\begin{aligned}\vec{0}+\vec{r}&=\vec{r}+\vec{0}\\[7pt]&=\vec{r}\\[7pt]\vec{r}+(-\vec{r})&=(-\vec{r})+\vec{r}\\[7pt]&=\vec{0}.\end{aligned}$$

For instance, $\langle2,-1,3\rangle+\langle-2,1,-3\rangle=\langle0,0,0\rangle$. The three components also show that any vector that adds to $\langle2,-1,3\rangle$ to give zero must be exactly $\langle-2,1,-3\rangle$.

Common mistake / Note: Reversing the order of a difference changes its sign. Use the commutative law on a sum, keeping the sign attached to each vector.
3.4 Properties of Scalar Multiplication

3.4.1 Commutative, Associative and Distributive Laws

Let $\lambda_1,\lambda_2$ be scalars and $\vec{r}_1,\vec{r}_2$ be vectors.

Laws for Scalar Multiplication
$$\begin{aligned}\lambda_1\vec{r}_1&=\vec{r}_1\lambda_1\\[7pt]\lambda_1(\lambda_2\vec{r}_1)&=(\lambda_1\lambda_2)\vec{r}_1\end{aligned}$$
$$\begin{aligned}(\lambda_1+\lambda_2)\vec{r}_1&=\lambda_1\vec{r}_1+\lambda_2\vec{r}_1\\[7pt]\lambda_1(\vec{r}_1+\vec{r}_2)&=\lambda_1\vec{r}_1+\lambda_1\vec{r}_2\end{aligned}$$

Take any one component $u_1$ of $\vec{r}_1$ and the corresponding component $u_2$ of $\vec{r}_2$. The real-number laws give $\lambda_1u_1=u_1\lambda_1$ and $\lambda_1(\lambda_2u_1)=(\lambda_1\lambda_2)u_1$.

They also give $(\lambda_1+\lambda_2)u_1=\lambda_1u_1+\lambda_2u_1$ and $\lambda_1(u_1+u_2)=\lambda_1u_1+\lambda_1u_2$. These identities hold for each component, so they prove all four vector equalities.

To solve equations in vectors, first collect the vector terms. Then compare components if the unknown is a scalar, or divide each component if the unknown is a vector. For example, if $3\vec{v}-\langle2,-1,4\rangle=\langle4,7,-1\rangle$, then

$$\begin{aligned}3\vec{v}&=\langle4,7,-1\rangle+\langle2,-1,4\rangle\\[7pt]&=\langle6,6,3\rangle\\[7pt]\vec{v}&=\langle2,2,1\rangle.\end{aligned}$$

Substitution gives $3\langle2,2,1\rangle-\langle2,-1,4\rangle=\langle4,7,-1\rangle$, as required.

Distance Between Two Points in Space

For $P(x_1,y_1,z_1)$ and $Q(x_2,y_2,z_2)$, the triangle law gives $\overrightarrow{OP}+\overrightarrow{PQ}=\overrightarrow{OQ}$.

Directed Difference and Distance
$$\overrightarrow{PQ}=\overrightarrow{OQ}-\overrightarrow{OP}$$

Write $\Delta x=x_2-x_1$, $\Delta y=y_2-y_1$ and $\Delta z=z_2-z_1$.

$$\overrightarrow{PQ}=\Delta x\,\hat i+\Delta y\,\hat j+\Delta z\,\hat k$$
$$\begin{aligned}PQ&=|\overrightarrow{PQ}|\\[7pt]&=\sqrt{(\Delta x)^2+(\Delta y)^2+(\Delta z)^2}.\end{aligned}$$
Displacement from P to Q in space
$\text{}$
$\text{}$
$O$
$O$
$x$
$y$
$z$
$P(1,2,2)$
$Q(3,5,6)$
Follow the blue vector from $O$ to $P$, then the red vector from $P$ to $Q$. The green position vector ends at the same $Q$.

If $\vec{d}=\overrightarrow{PQ}$ and $Q$ is known, recover the initial point from $\overrightarrow{OP}=\overrightarrow{OQ}-\vec{d}$. For the points in the figure, $\overrightarrow{PQ}=\langle2,3,6\rangle$ and $PQ=\sqrt{4+9+36}$, then $PQ=7$.

Recognizing Lines and Triangles
  • For distinct $A,B$, a point $C$ lies on line $AB$ exactly when $\overrightarrow{AC}=\lambda\overrightarrow{AB}$ for some real $\lambda$. If $C$ is on the line, its displacement from $A$ is a scalar multiple of $\overrightarrow{AB}$. Conversely, any point with that displacement is on the line through $A$ in the direction of $\overrightarrow{AB}$.
  • For three noncollinear points, compare the squared side lengths. Three equal values give an equilateral triangle. Exactly two equal values give an isosceles triangle with two equal sides. Three different values give a scalene triangle.
  • A triangle is right-angled exactly when the greatest squared side length equals the sum of the other two. Use Pythagoras for the forward direction and its converse for the reverse direction.
  • For adjacent sides $\vec{a},\vec{b}$ of a parallelogram, the two diagonal vectors can be taken as $\vec{a}+\vec{b}$ and $\vec{a}-\vec{b}$. Their lengths are the magnitudes of these two vectors.
Common mistake / Note: Choose a common initial vertex when forming the two vectors used for an interior angle. Use terminal coordinates minus initial coordinates in that order.
3.5 Dot or Scalar Product

3.5.1 Geometrical Interpretation

Draw two nonzero vectors $\vec{a}$ and $\vec{b}$ from a common tail. Let $\theta$ be the angle between them, with $0\le\theta\le\pi$.

Their dot product, also called the scalar product, is the number $\vec{a}\cdot\vec{b}=|\vec{a}|\,|\vec{b}|\cos\theta$. Reversing the order of the vectors leaves the angle between them unchanged.

If you use a signed turn in a plane, reversal replaces $\theta$ by $-\theta$, and $\cos(-\theta)=\cos\theta$.

Particular Cases of the Dot Product
  • In the same direction, $\theta=0^\circ$ and the product is $|\vec{a}|\,|\vec{b}|$.
  • For perpendicular vectors, $\theta=90^\circ$ and the product is $0$.
  • In opposite directions, $\theta=180^\circ$ and the product is $-|\vec{a}|\,|\vec{b}|$.
$$\begin{aligned}\vec{a}\cdot\vec{a}&=|\vec{a}|^2\\[7pt]|\vec{a}|&=\sqrt{\vec{a}\cdot\vec{a}}.\end{aligned}$$

3.5.2 Dot Product of Fundamental Unit Vectors

Each of $\hat{i},\hat{j},\hat{k}$ has length $1$. Distinct coordinate axes meet at $90^\circ$. This gives the following table, which also explains why the mixed terms vanish when expanding a dot product.

$\cdot$$\hat{i}$$\hat{j}$$\hat{k}$
$\hat{i}$$1$$0$$0$
$\hat{j}$$0$$1$$0$
$\hat{k}$$0$$0$$1$

3.5.3 Dot Product in Terms of Components

Write $\vec{a}=a_1\hat{i}+a_2\hat{j}+a_3\hat{k}$ and $\vec{b}=b_1\hat{i}+b_2\hat{j}+b_3\hat{k}$. Expanding the dot product, only the terms with two copies of the same unit vector survive.

Analytical Expression for the Dot Product
$$\vec{a}\cdot\vec{b}=a_1b_1+a_2b_2+a_3b_3.$$

In two dimensions the last components are zero. Dotting a vector with $\hat{i}$, $\hat{j}$ or $\hat{k}$ picks out its corresponding component.

$$\vec{r}=(\vec{r}\cdot\hat{i})\hat{i}+(\vec{r}\cdot\hat{j})\hat{j}+(\vec{r}\cdot\hat{k})\hat{k}.$$

The component rule also gives $\vec{0}\cdot\vec{a}=0$ for every vector $\vec{a}$. There is no need to assign an angle to the zero vector.

If three dot products with known vectors are given, let $\vec{r}=x\hat{i}+y\hat{j}+z\hat{k}$. Expand each dot product to form one linear equation, then solve the three equations together.

3.5.4 Condition for Orthogonality

Two nonzero vectors are orthogonal or perpendicular if and only if their dot product is zero.

Suppose that they are perpendicular. Then $\theta=90^\circ$ and $\cos\theta=0$, so their dot product equals $0$.

Conversely, if the dot product is $0$, divide by the product of the magnitudes, which is positive. Then $\cos\theta=0$. The only angle in $[0,\pi]$ with this cosine is $\pi/2$.

For the angle at $A$ of a triangle, use $\overrightarrow{AB}\cdot\overrightarrow{AC}$. Three nonzero vectors with given lengths and sum zero can be handled by moving one vector to the other side and squaring the magnitude.

3.5.5–3.5.6 Properties of the Dot Product

Commutative, Distributive and Scalar-Multiple Rules
$$\begin{aligned}\vec{a}\cdot\vec{b}&=\vec{b}\cdot\vec{a}\\[7pt]\vec{a}\cdot(\vec{b}+\vec{c})&=\vec{a}\cdot\vec{b}+\vec{a}\cdot\vec{c}\end{aligned}$$
$$\begin{aligned}(\vec{a}+\vec{b})\cdot\vec{c}&=\vec{a}\cdot\vec{c}+\vec{b}\cdot\vec{c}\\[7pt](\lambda\vec{a})\cdot(\mu\vec{b})&=\lambda\mu(\vec{a}\cdot\vec{b})\end{aligned}$$

The first rule follows by reversing the two factors of each component product. For the second, expand $a_1(b_1+c_1)+a_2(b_2+c_2)+a_3(b_3+c_3)$.

The three products containing the $b$-components give $\vec{a}\cdot\vec{b}$, and the other three give $\vec{a}\cdot\vec{c}$. Commutativity then gives distribution in the first vector.

The scalar-multiple rule follows by taking out the common factor $\lambda\mu$.

Squaring the Magnitude of a Sum or Difference
$$\begin{aligned}|\vec{a}\pm\vec{b}|^2&=(\vec{a}\pm\vec{b})\cdot(\vec{a}\pm\vec{b})\\[7pt]&=|\vec{a}|^2+|\vec{b}|^2\pm2\vec{a}\cdot\vec{b}\end{aligned}$$
$$\vec{a}\cdot\vec{b}=\frac{|\vec{a}+\vec{b}|^2-|\vec{a}-\vec{b}|^2}{4}$$
$$|\vec{a}|^2+|\vec{b}|^2=\frac{|\vec{a}+\vec{b}|^2+|\vec{a}-\vec{b}|^2}{2}$$

The last two results come from subtracting and adding the two squared-magnitude formulas.

If $|\vec{a}+\vec{b}|=|\vec{a}-\vec{b}|$, squaring and subtracting gives $\vec{a}\cdot\vec{b}=0$. Conversely, a zero dot product gives equal squared magnitudes, so their nonnegative square roots are equal.

To treat a sum of three vectors, dot the sum with itself. This gives three squared magnitudes and twice each of the three pairwise dot products.

Common mistake / Note: If $|\vec{a}|=|\vec{b}|$, then $(\vec{a}+\vec{b})\cdot(\vec{a}-\vec{b})=0$. To conclude that the sum and difference form a right angle, both must be nonzero.

3.5.7–3.5.8 Direction Angles and Direction Cosines

For a nonzero $\vec{r}=x\hat{i}+y\hat{j}+z\hat{k}$, the direction angles $\alpha,\beta,\gamma$ are its angles with the positive $x$-, $y$- and $z$-axes. Each belongs to $[0,\pi]$. Their cosines are the direction cosines, written $l,m,n$ in that order.

Direction Cosines and the Unit Vector
$$\begin{aligned}l&=\cos\alpha\\[7pt]&=\frac{x}{|\vec{r}|}\\[7pt]m&=\cos\beta\\[7pt]&=\frac{y}{|\vec{r}|}\\[7pt]n&=\cos\gamma\\[7pt]&=\frac{z}{|\vec{r}|}\end{aligned}$$
$$\hat r=l\hat i+m\hat j+n\hat k$$

Multiply each direction cosine by the magnitude $|\vec r|$ to recover the corresponding component.

$$x=|\vec r|\cos\alpha$$
$$y=|\vec r|\cos\beta$$
$$z=|\vec r|\cos\gamma$$

For instance, $\vec{r}\cdot\hat{i}=x$ by the component rule, and it is $|\vec{r}|\cos\alpha$ by the angle rule. The dot products with $\hat{j}$ and $\hat{k}$ give $y=|\vec{r}|\cos\beta$ and $z=|\vec{r}|\cos\gamma$ respectively.

Direction angles with the three positive axes
$\text{}$
$\text{}$
$O$
$O$
$x$
$y$
$z$
$A$
$B$
$C$
$P(2,3,6)$
The direction angles are $\alpha=\angle AOP$, $\beta=\angle BOP$, and $\gamma=\angle COP$. Each uses the angle in space, which can look different in the projection.

3.5.9 Sum of Squares of Direction Cosines Is Unity

Direction-Cosine Identities
$$\begin{aligned}l^2+m^2+n^2&=\frac{x^2+y^2+z^2}{|\vec r|^2}\\[7pt]&=1.\end{aligned}$$

Here $l,m,n$ are the cosines of $\alpha,\beta,\gamma$.

Subtract the sum of the three cosine squares from $3$ to get the sum of the three sine squares.

$$\begin{aligned}\sin^2\alpha+\sin^2\beta+\sin^2\gamma&=3-1\\[7pt]&=2.\end{aligned}$$

If one direction angle is unknown, solve for the square of its cosine. Use the sign supplied by the components or by an angle condition before taking the inverse cosine.

If $\vec{r}$ is equally inclined to the three positive axes, its direction cosines are equal, so $3l^2=1$. Their common value is $1/\sqrt{3}$ or $-1/\sqrt{3}$.

The three signs agree.

Direction ratios, also called direction numbers or direction components, are numbers proportional to the direction cosines. If $a,b,c$ are the ratios and $k$ is the nonzero proportionality factor, then $(a,b,c)=k(l,m,n)$ and $k^2=a^2+b^2+c^2$.

$$ (l,m,n)=\pm\frac{(a,b,c)}{\sqrt{a^2+b^2+c^2}} $$

Use one overall sign for the three components.

The positive factor gives the direction of $\langle a,b,c\rangle$. The negative factor gives the direction of $-\langle a,b,c\rangle$. Ratios themselves need not have squares that sum to $1$.

For example, for $\langle2,-3,6\rangle$ the length is $7$ and the direction cosines are $2/7$, $-3/7$ and $6/7$. Thus its angle with the positive $y$-axis is obtuse.

Common mistake / Note: Choose one overall sign when converting direction ratios to cosines. You cannot choose the sign of each component independently.

3.5.10 Direction Ratios

Direction ratios are any common nonzero scalar multiple of the direction cosines. Their squares need not add to $1$.

If $a,b,c$ are direction ratios, divide each by $\sqrt{a^2+b^2+c^2}$ for the unit direction of $(a,b,c)$. Negating all three gives the opposite direction on the same line.

3.5.11 Angle Between Two Nonzero Vectors

Finding the Angle from the Dot Product
$$\begin{aligned}\theta&=\cos^{-1}\left(\frac{\vec{a}\cdot\vec{b}}{|\vec{a}|\,|\vec{b}|}\right)\\[7pt]&=\cos^{-1}(\hat{a}\cdot\hat{b}),\qquad 0\le\theta\le\pi\end{aligned}$$
$$\cos\theta=\frac{a_1b_1+a_2b_2+a_3b_3}{\sqrt{a_1^2+a_2^2+a_3^2}\sqrt{b_1^2+b_2^2+b_3^2}}.$$

A positive dot product gives an angle less than $90^\circ$. A negative one gives an angle greater than $90^\circ$.

The formula also gives $|\vec{a}\cdot\vec{b}|\le|\vec{a}|\,|\vec{b}|$ because $|\cos\theta|\le1$. For the acute angle between two lines, use the absolute value of the dot product in the numerator, since reversing a line's direction leaves the line unchanged.

For the angle between two body diagonals of a cube, a chosen pair of direction vectors can be $\langle1,1,1\rangle$ and $\langle1,1,-1\rangle$. Their dot product is $1$ and each magnitude is $\sqrt3$.

In general two distinct unoriented body diagonals can be oriented so their sign patterns differ in just one place. Their acute angle is therefore $\cos^{-1}(1/3)$.

If $\vec{s}=\vec{a}+\vec{b}$ and all three vectors are nonzero, compare $\vec{s}\cdot\hat{a}$ and $\vec{s}\cdot\hat{b}$ to test if the resultant makes equal angles with the two inputs. Writing $\vec{a}=|\vec{a}|\hat{a}$ and $\vec{b}=|\vec{b}|\hat{b}$ gives

$$\vec{s}\cdot\hat{a}-\vec{s}\cdot\hat{b}=(|\vec{a}|-|\vec{b}|)(1-\hat{a}\cdot\hat{b}).$$

The angles agree exactly when this difference is zero, since they have the same positive divisor $|\vec{s}|$ in the cosine formula. In particular, for distinct directions the two input magnitudes must be equal.

3.5.12 Projection of a Vector Along Another Vector

The scalar projection of $\vec{b}$ along a nonzero $\vec{a}$ is the signed component of $\vec{b}$ along the direction of $\vec{a}$. In the acute-angle diagram below, it is the length $OL$.

With an obtuse angle the foot is on the other side of $O$, and the scalar projection is negative.

Angle and signed projection of b along ahorizontal componentvertical component−11234567−112345OOABLtheta
The angle is $\angle AOB$. The perpendicular from $B$ to the line of $\vec{a}$ meets it at $L$. The scalar projection is $OL=4$ for the vectors shown.
Scalar Projection, Vector Projection and Perpendicular Component

Write $s$ for the scalar projection of $\vec b$ along $\vec a$.

$$\begin{aligned}s&=|\vec b|\cos\theta\\[7pt]&=\vec b\cdot\hat a\\[7pt]&=\frac{\vec a\cdot\vec b}{|\vec a|}.\end{aligned}$$
$$\begin{aligned}\vec{b}_{\parallel}&=(\vec{b}\cdot\hat{a})\hat{a}\\[7pt]&=\frac{\vec{a}\cdot\vec{b}}{|\vec{a}|^2}\vec{a}\\[7pt]\vec{b}_{\perp}&=\vec{b}-\vec{b}_{\parallel}.\end{aligned}$$

To project $\vec{a}$ along nonzero $\vec{b}$, use denominator $|\vec{b}|$ for the scalar component and direction $\hat{b}$ for the vector component. To check the decomposition, use $\vec{a}\cdot\vec{b}_{\parallel}=\vec{a}\cdot\vec{b}$.

Then $\vec{a}\cdot\vec{b}_{\perp}=0$.

For example, let $\vec{a}=2\hat{i}+\hat{j}$ and $\vec{b}=3\hat{i}-\hat{j}$. Their dot product is $2(3)+1(-1)=5$ and $|\vec{a}|=\sqrt5$.

The scalar projection along $\vec{a}$ is $\sqrt5$. The vector projection is $(5/5)\vec{a}=2\hat{i}+\hat{j}$.

The remainder $\hat{i}-2\hat{j}$ is perpendicular to $\vec{a}$ because its dot product is $2-2=0$.

Common mistake / Note: In a projection, the denominator comes from the vector whose direction you are projecting onto. The scalar projection gives a signed number. The vector projection includes the direction.

When a dot product with a unit vector contains an unknown, write the unit vector as a vector divided by its magnitude. Check all candidates in the original equation if you square to remove the square root. Squaring removes the sign of the dot product.

Using Dot Products in Geometry and Trigonometry

For plane unit vectors $\hat{u}=(\cos\alpha)\hat{i}+(\sin\alpha)\hat{j}$ and $\hat{v}=(\cos\beta)\hat{i}+(\sin\beta)\hat{j}$, the component formula gives $\hat{u}\cdot\hat{v}=\cos\alpha\cos\beta+\sin\alpha\sin\beta$. The angle formula gives $\cos(\alpha-\beta)$, using that cosine is even and periodic.

Equate the two results.

Cosine of a Difference and of a Sum
$$\cos(\alpha-\beta)=\cos\alpha\cos\beta+\sin\alpha\sin\beta$$
$$\cos(\alpha+\beta)=\cos\alpha\cos\beta-\sin\alpha\sin\beta$$

Replace $\beta$ by $-\beta$ in the first formula to obtain the second.

Two plane unit vectors and their direction anglesxy−1.25−1−0.75−0.5−0.250.250.50.7511.25−1.25−1−0.75−0.5−0.250.250.50.7511.25OPQO
The unit vectors $\overrightarrow{OP}$ and $\overrightarrow{OQ}$ make angles $\alpha$ and $\beta$ with the positive $x$-axis. Here $\alpha>\beta$, so the angle between them is $\alpha-\beta$. The same illustration applies to the sine of a difference in Section 3.6.

In triangle $ABC$, use $a=BC$, $b=CA$, $c=AB$, and denote the opposite angles by $\alpha,\beta,\gamma$. The cyclic side vectors $\vec{a}=\overrightarrow{BC}$, $\vec{b}=\overrightarrow{CA}$ and $\vec{c}=\overrightarrow{AB}$ sum to $\vec{0}$.

The angle between $\vec{a}$ and $\vec{b}$ is the supplement $180^\circ-\gamma$. The angle between $\vec{a}$ and $\vec{c}$ is $180^\circ-\beta$.

This gives $a=b\cos\gamma+c\cos\beta$ after dotting $\vec{a}=-\vec{b}-\vec{c}$ with $\vec{a}$ and dividing by $a$.

Cyclic side vectors and interior angles of a trianglexy−11234567−112345OABCcab
The arrows go around the triangle in order. At $C$ the interior angle $\gamma$ is between $\overrightarrow{CB}$ and $\overrightarrow{CA}$.
Cosine Rule and Projection Rule in a Triangle
$$c^2=a^2+b^2-2ab\cos\gamma$$
$$\begin{aligned}a&=b\cos\gamma+c\cos\beta\\[7pt]b&=a\cos\gamma+c\cos\alpha.\end{aligned}$$

Use $\overrightarrow{AB}=\overrightarrow{CB}-\overrightarrow{CA}$ for the cosine rule. Dot $\overrightarrow{AC}=\overrightarrow{AB}+\overrightarrow{BC}$ with the unit vector along $\overrightarrow{AC}$ for the formula for $b$.

For the angle in a semicircle, take the centre $O$ as origin, with diameter endpoints $A,B$ having opposite position vectors $\vec{a},-\vec{a}$. If $P$ is on the semicircle with position vector $\vec{p}$, then

$$\begin{aligned}\overrightarrow{PA}\cdot\overrightarrow{PB}&=(\vec{a}-\vec{p})\cdot(-\vec{a}-\vec{p})\\[7pt]&=|\vec{p}|^2-|\vec{a}|^2\\[7pt]&=0.\end{aligned}$$

Both lengths are the radius. Thus $\angle APB=90^\circ$ for $P$ distinct from the diameter endpoints.

To prove concurrence of altitudes, let $H$ lie on the altitudes from $A$ and $B$. Then $\overrightarrow{AH}\cdot\overrightarrow{BC}=0$ and $\overrightarrow{BH}\cdot\overrightarrow{CA}=0$.

Writing each directed segment as a difference of position vectors and expanding gives

$$\overrightarrow{AH}\cdot\overrightarrow{BC}+\overrightarrow{BH}\cdot\overrightarrow{CA}+\overrightarrow{CH}\cdot\overrightarrow{AB}=0.$$

The terms containing the position vector of $H$ cancel because the cyclic side vectors sum to zero. The other terms cancel in pairs by symmetry of the dot product.

Therefore $\overrightarrow{CH}\cdot\overrightarrow{AB}=0$, placing $H$ on the altitude from $C$. The common point is the orthocentre.

For internal angle bisectors, add the two unit vectors along the rays. Their sum makes equal angles with those rays because its dot product with each unit vector is $1$ plus the dot product of the two unit vectors.

The sum has positive coefficients on both rays, so it points inside the angle. The internal bisector also consists of the interior points equidistant from the two sides of the angle.

This follows in both directions from the equal perpendicular distances in the two right triangles formed by dropping perpendiculars to the sides. The intersection of two internal bisectors is equidistant from all three sides and thus lies on the third.

This common point is the incentre.

3.5.13 Work Done by a Constant Force

Let a constant force $\vec{F}$ move an object from $A$ to $B$. The displacement is $\vec{S}=\overrightarrow{AB}$. To find $\vec{S}$ when only the distance $d$ and the direction vector $\vec{v}$ are given, use $d\vec{v}/|\vec{v}|$.

Work
$$\begin{aligned}W&=(|\vec{F}|\cos\theta)|\vec{S}|\\[7pt]&=\vec{F}\cdot\vec{S}.\end{aligned}$$

For force in newtons and displacement in metres, the unit is the joule, $\mathrm{J}=\mathrm{N\,m}$. For several constant forces acting through the same displacement, add their vectors before finding the dot product.

Work by a force at an angle to the displacementdisplacement directionperpendicular direction−11234567−112345OABFS
Only the component of $\vec{F}$ along $\vec{S}$ contributes to the work. The two arrows represent different quantities and are drawn schematically.

For example, a force $3\hat{i}+4\hat{j}$ newtons acts through a displacement of $2\hat{i}-\hat{j}$ metres. The work is $3(2)+4(-1)=2$ J. Computing the two component contributions separately gives $6$ J and $-4$ J, which also sum to $2$ J.

Common mistake / Note: Work is a signed scalar. A force perpendicular to the displacement does zero work. A component of force opposite to the displacement makes a negative contribution.
3.6 Cross or Vector Product of Two Vectors

3.6.1 Geometrical Interpretation

The cross product, also called the vector product, is a vector in three-dimensional space. For nonparallel vectors $\vec{a},\vec{b}$ with angle $\theta$ between them,

Magnitude and Direction of the Cross Product
$$\vec{a}\times\vec{b}=|\vec{a}|\,|\vec{b}|\sin\theta\,\hat{n},\qquad 0\le\theta\le\pi.$$

The unit vector $\hat{n}$ is normal, or perpendicular, to the plane containing $\vec{a}$ and $\vec{b}$. Use the right-hand rule.

Curl the fingers of the right hand from $\vec{a}$ towards $\vec{b}$ through the smaller turn. The thumb points in the direction of $\hat{n}$.

Reversing the order reverses the direction and leaves the magnitude unchanged. This gives the anticommutative law $\vec{a}\times\vec{b}=-\vec{b}\times\vec{a}$.

In a fixed oriented plane, one may keep the normal fixed and use $-\theta$ for the reversed turn. Then $\sin(-\theta)=-\sin\theta$.

Opposite cross-product directions
$\text{}$
$\text{}$
$O$
$O$
$\vec{a}$
$\vec{b}$
$\vec{a}\times\vec{b}$
$\vec{b}\times\vec{a}$
The two normals are perpendicular to the plane. Their arrows are shortened in the projection. The actual products have components $(0,0,12)$ and $(0,0,-12)$.

3.6.2 Cross Product of Fundamental Unit Vectors

The forward cyclic order is $\hat{i}\to\hat{j}\to\hat{k}\to\hat{i}$. In each forward pair, the product is the next unit vector. For a reversed pair, take the negative. A basis vector crossed with itself gives $\vec{0}$.

$\times$$\hat{i}$$\hat{j}$$\hat{k}$
$\hat{i}$$\vec{0}$$\hat{k}$$-\hat{j}$
$\hat{j}$$-\hat{k}$$\vec{0}$$\hat{i}$
$\hat{k}$$\hat{j}$$-\hat{i}$$\vec{0}$
Positive cyclic order of the fundamental unit vectorscyclic−order diagramcyclic−order diagram−112345−11234Oijk
Use the cyclic order $\hat{i},\hat{j},\hat{k}$ for the positive products. The locations in this diagram show the cycle.

3.6.3 Cross Product in Terms of Components

Write the unit vectors in the top row of the determinant. Put the components of the first vector in the second row and those of the second vector in the third row.

Determinant and Component Forms
$$\vec{a}\times\vec{b}=\begin{vmatrix}\hat{i}&\hat{j}&\hat{k}\\a_1&a_2&a_3\\b_1&b_2&b_3\end{vmatrix}$$
$$\begin{aligned}\vec a\times\vec b&=(a_2b_3-a_3b_2)\hat i\\[7pt]&\quad{}-(a_1b_3-a_3b_1)\hat j\\[7pt]&\quad{}+(a_1b_2-a_2b_1)\hat k.\end{aligned}$$

For example, use $\vec{a}=\hat{i}+2\hat{j}$ and $\vec{b}=\hat{j}+\hat{k}$.

$$\begin{aligned}\vec{a}\times\vec{b}&=\begin{vmatrix}\hat{i}&\hat{j}&\hat{k}\\1&2&0\\0&1&1\end{vmatrix}\\[7pt]&=(2-0)\hat{i}-(1-0)\hat{j}+(1-0)\hat{k}\\[7pt]&=2\hat{i}-\hat{j}+\hat{k}.\end{aligned}$$

To check, dot the result with each input. The first dot product is $2-2=0$ and the second is $-1+1=0$. Expanding directly with the basis table gives $\hat{k}-\hat{j}+2\hat{i}$, the same vector.

Common mistake / Note: Include a zero for any missing component. The middle cofactor has a minus sign. Use the original row order to keep the direction of the product.

When two given vectors are nonparallel, every vector perpendicular to both is a multiple of their cross product. To obtain magnitude $m>0$, use $\pm m(\vec{a}\times\vec{b})/|\vec{a}\times\vec{b}|$.

A specified direction or another dot product can choose the sign or the multiplier.

3.6.4 Area of a Parallelogram or Triangle

If the adjacent sides of a parallelogram are $\vec{a}$ and $\vec{b}$, a base of length $|\vec{a}|$ has height $|\vec{b}|\sin\theta$. The parallelogram is made of two triangles of equal area along a diagonal.

Areas from the Cross Product

For the parallelogram with adjacent vectors $\vec a,\vec b$,

$$\text{Area}=|\vec a\times\vec b|.$$

For triangle $ABC$,

$$\text{Area}=\tfrac12|\overrightarrow{AB}\times\overrightarrow{AC}|.$$

If $\vec{d}_1=\vec{a}+\vec{b}$ and $\vec{d}_2=\vec{a}-\vec{b}$ are diagonal vectors, expansion gives $\vec{d}_1\times\vec{d}_2=-2(\vec{a}\times\vec{b})$. Hence the area is $\frac12|\vec{d}_1\times\vec{d}_2|$.

Base, perpendicular height and half of a parallelogramxy−112345678−112345OABCDEF
The base is $AB$ and the height is $DE$. The diagonal $DB$ separates the parallelogram into two triangles of equal area.

For the illustrated parallelogram, the side vectors are $5\hat{i}$ and $2\hat{i}+3\hat{j}$. Their cross product is $15\hat{k}$. The area is $15$ square units, also obtained from base $5$ times height $3$. Triangle $ABD$ has area $15/2$ square units.

When the position vectors of triangle vertices are $\vec{a},\vec{b},\vec{c}$, the product $(\vec{b}-\vec{a})\times(\vec{c}-\vec{a})$ expands to $\vec{a}\times\vec{b}+\vec{b}\times\vec{c}+\vec{c}\times\vec{a}$. The triangle area is half the magnitude of this sum.

For a problem in the $xy$-plane, use zero $z$-components in the determinant.

3.6.5 Condition for Two Nonzero Vectors to Be Parallel

Suppose that two nonzero vectors are parallel. Their angle is $0^\circ$ or $180^\circ$, so their cross product is $\vec{0}$.

Conversely, if their cross product is $\vec{0}$, the product of their magnitudes is positive. The magnitude formula therefore gives $\sin\theta=0$. On $[0,\pi]$ this means $\theta=0$ or $\theta=\pi$, so the vectors are parallel or antiparallel.

For distinct points $A,B$, collinearity of $A,B,C$ is equivalent to $\overrightarrow{AB}\times\overrightarrow{AC}=\vec{0}$. When $C=A$ this also holds, because the determinant gives a zero cross product if either input is zero.

Common mistake / Note: For nonzero vectors, the dot product checks perpendicularity and the cross product checks parallelism. If both products are zero, at least one input is the zero vector.

3.6.6 Distributive Law of the Cross Product

Distributive and Scalar-Multiple Rules
$$\vec{a}\times(\vec{b}+\vec{c})=\vec{a}\times\vec{b}+\vec{a}\times\vec{c}$$
$$(\vec{a}+\vec{b})\times\vec{c}=\vec{a}\times\vec{c}+\vec{b}\times\vec{c}$$
$$(\lambda\vec{a})\times(\mu\vec{b})=\lambda\mu(\vec{a}\times\vec{b})$$

For the first law, the bottom row of the determinant contains the components of $\vec{b}+\vec{c}$. Split the row sum to obtain the two determinants.

For the second law, the middle row contains the sum and can be split in the same way. The scalar factors can be taken out of their rows.

If $\vec{a}+\vec{b}+\vec{c}=\vec{0}$, substitute $\vec{c}=-\vec{a}-\vec{b}$. Then $\vec{b}\times\vec{c}=-\vec{b}\times\vec{a}$, then $\vec{b}\times\vec{c}=\vec{a}\times\vec{b}$ and $\vec{c}\times\vec{a}=-\vec{b}\times\vec{a}$, then $\vec{c}\times\vec{a}=\vec{a}\times\vec{b}$.

Common mistake / Note: Keep the order of all products during expansion. A cross product is generally neither commutative nor associative.

3.6.7 Angle Between Two Vectors

Sine of the Angle and Lagrange Identity
$$\sin\theta=\frac{|\vec{a}\times\vec{b}|}{|\vec{a}|\,|\vec{b}|}\qquad(\vec{a},\vec{b}\ne\vec{0})$$
$$|\vec{a}\times\vec{b}|^2=|\vec{a}|^2|\vec{b}|^2-(\vec{a}\cdot\vec{b})^2$$
$$|\vec{a}\times\vec{b}|^2=\begin{vmatrix}\vec{a}\cdot\vec{a}&\vec{a}\cdot\vec{b}\\\vec{a}\cdot\vec{b}&\vec{b}\cdot\vec{b}\end{vmatrix}.$$

For the Lagrange identity, square the magnitude formula and put $\sin^2\theta=1-\cos^2\theta$. Then use $|\vec{a}|\,|\vec{b}|\cos\theta=\vec{a}\cdot\vec{b}$.

If one vector is zero, both sides of the identity are zero. The two-by-two determinant is the same identity written with $\vec{a}\cdot\vec{a}=|\vec{a}|^2$ and $\vec{b}\cdot\vec{b}=|\vec{b}|^2$.

Applying the identity with each of $\hat{i},\hat{j},\hat{k}$ gives $|\vec{a}\times\hat{i}|^2=|\vec{a}|^2-a_1^2$, $|\vec{a}\times\hat{j}|^2=|\vec{a}|^2-a_2^2$ and $|\vec{a}\times\hat{k}|^2=|\vec{a}|^2-a_3^2$. Their sum is $3|\vec{a}|^2-(a_1^2+a_2^2+a_3^2)=2|\vec{a}|^2$.

To find an angle from its sine, first compute the principal value $\theta_0=\sin^{-1}(|\vec{a}\times\vec{b}|/(|\vec{a}|\,|\vec{b}|))$. A positive dot product chooses $\theta_0$.

A negative dot product chooses $\pi-\theta_0$. If the dot product is zero, the angle is $\pi/2$.

Common mistake / Note: If the magnitudes alone determine $(\vec{a}\cdot\vec{b})^2$, take both possible signs unless an angle or direction condition chooses one.

Let $\hat{u},\hat{v}$ be the plane unit vectors at direction angles $\alpha,\beta$, as drawn in Section 3.5. Compare the signed $\hat{k}$-component of $\hat{v}\times\hat{u}$ with the component obtained from the determinant. The signed turn is $\alpha-\beta$.

$$\sin(\alpha-\beta)=\sin\alpha\cos\beta-\cos\alpha\sin\beta.$$

Replacing $\beta$ by $-\beta$ gives $\sin(\alpha+\beta)=\sin\alpha\cos\beta+\cos\alpha\sin\beta$.

Sine Rule in a Triangle
$$\begin{aligned}\frac{a}{\sin\alpha}&=\frac{b}{\sin\beta}\\[7pt]&=\frac{c}{\sin\gamma}.\end{aligned}$$

Write twice the area as $bc\sin\alpha=ca\sin\beta$, then $bc\sin\alpha=ab\sin\gamma$ using the cross product at each vertex. Divide by $abc$ and take reciprocals.

3.6.8 Moment or Torque of a Given Force About a Given Point

The moment or torque describes the turning effect of a force. If the force $\vec{F}$ is applied at $P$ and the moment is taken about $O$, set $\vec{r}=\overrightarrow{OP}$.

The line of action is the line through $P$ parallel to $\vec{F}$. The perpendicular distance $d$ from $O$ to that line is the moment arm.

Vector Moment and Its Magnitude
$$\begin{aligned}\vec{M}&=\vec{r}\times\vec{F}\\[7pt]|\vec{M}|&=|\vec{r}|\,|\vec{F}|\sin\theta\\[7pt]&=d|\vec{F}|\\[7pt]d&=|\vec{r}|\sin\theta.\end{aligned}$$

The unit is newton metre, $\mathrm{N\,m}$, when the force is in newtons and the moment arm is in metres.

Perpendicular distance to the line of action of a forcexy−1123456−1123456OOAPFd
The arrow for $\vec{r}$ runs from $O$ to $P$. The force acts along the vertical line. The perpendicular from $O$ to that line meets it at $A$.

If $O=(1,1,0)$ m, $P=(3,1,0)$ m and $\vec{F}=5\hat{j}$ N, then $\vec{r}=2\hat{i}$ m and $\vec{M}=10\hat{k}$ $\mathrm{N\,m}$. The moment arm is $2$ m, which confirms the magnitude $10$ $\mathrm{N\,m}$.

For several forces, compute $\vec{r}_i\times\vec{F}_i$ for each point of application and add the moments about the same reference point. For concurrent forces applied at one point, use one position vector and cross it with their resultant force.

If a required moment is given, check $\vec{M}\cdot\vec{r}=0$ and $\vec{M}\cdot\vec{F}=0$ for any known nonzero vector in the product. These tests follow because $\vec{M}$ is normal to both inputs.

With one known input, write components for the unknown input and compare them on both sides of $\vec{M}=\vec{r}\times\vec{F}$. A component parallel to the known input contributes zero.

If the angle is unspecified, a force perpendicular to $\vec{r}$ gives the least force magnitude capable of producing a given nonzero moment about $O$.

Common mistake / Note: The position vector for a moment starts at the point about which the moment is taken. Swapping the two factors reverses the moment.
3.7 Scalar Triple Product

3.7.1 Scalar Triple Product of Vectors

The scalar triple product of $\vec{a},\vec{b},\vec{c}$ is the dot product of $\vec{a}$ with $\vec{b}\times\vec{c}$. The book writes it as $[\vec{a}\ \vec{b}\ \vec{c}]$. Its value is a number.

Common mistake / Note: In $\vec{a}\cdot\vec{b}\times\vec{c}$ the cross product is formed first. The expression $(\vec{a}\cdot\vec{b})\times\vec{c}$ is undefined because its first factor is a scalar.

3.7.2 Determinant Form of the Scalar Triple Product

The Scalar Triple Product as a Determinant
$$\begin{aligned}[\vec{a}\ \vec{b}\ \vec{c}]&=\vec{a}\cdot(\vec{b}\times\vec{c})\\[7pt]&=\begin{vmatrix}a_1&a_2&a_3\\b_1&b_2&b_3\\c_1&c_2&c_3\end{vmatrix}.\end{aligned}$$

To see why, find $\vec{b}\times\vec{c}$ by the component rule. Dotting it with $\vec{a}$ gives

$$\begin{aligned}&a_1(b_2c_3-b_3c_2)\\[7pt]&\quad{}-a_2(b_1c_3-b_3c_1)\\[7pt]&\quad{}+a_3(b_1c_2-b_2c_1),\end{aligned}$$

which is the first-row expansion of the determinant.

  • A zero vector gives a zero row. If two vectors are equal or proportional, their rows are proportional. Each of these cases makes the triple product zero.
  • Swapping two vectors swaps two rows and changes the sign of the result.
  • The product distributes over addition and allows a scalar factor to be taken out in any of the three positions. These are the sum and scalar-multiple rules for each determinant row.

3.7.3 Scalar Triple Product of i, j and k

$$\begin{aligned}[\hat{i}\ \hat{j}\ \hat{k}]&=[\hat{j}\ \hat{k}\ \hat{i}]\\[7pt]&=[\hat{k}\ \hat{i}\ \hat{j}]\\[7pt]&=1\end{aligned}$$
$$\begin{aligned}[\hat{i}\ \hat{k}\ \hat{j}]&=[\hat{j}\ \hat{i}\ \hat{k}]\\[7pt]&=[\hat{k}\ \hat{j}\ \hat{i}]\\[7pt]&=-1\end{aligned}$$

For example, $[\hat{i}\ \hat{j}\ \hat{k}]=\hat{i}\cdot(\hat{j}\times\hat{k})$, then $[\hat{i}\ \hat{j}\ \hat{k}]=\hat{i}\cdot\hat{i}$, then $[\hat{i}\ \hat{j}\ \hat{k}]=1$. Swapping the last two entries makes the answer $-1$.

Repeating any unit vector gives zero because the determinant has two equal rows.

3.7.4 Interchanging the Dot and Cross in the Scalar Triple Product

Cyclic and Sign Rules
$$\begin{aligned}\vec{a}\cdot(\vec{b}\times\vec{c})&=(\vec{a}\times\vec{b})\cdot\vec{c}\\[7pt]&=[\vec{a}\ \vec{b}\ \vec{c}]\end{aligned}$$
$$\begin{aligned}[\vec{a}\ \vec{b}\ \vec{c}]&=[\vec{b}\ \vec{c}\ \vec{a}]\\[7pt]&=[\vec{c}\ \vec{a}\ \vec{b}]\\[7pt]&=-[\vec{b}\ \vec{a}\ \vec{c}]\\[7pt]&=-[\vec{a}\ \vec{c}\ \vec{b}].\end{aligned}$$

Using the cross-product formula in $(\vec{a}\times\vec{b})\cdot\vec{c}$ gives $c_1(a_2b_3-a_3b_2)-c_2(a_1b_3-a_3b_1)+c_3(a_1b_2-a_2b_1)$. This is the third-row expansion of the same determinant.

Thus the dot and cross can be placed as in the first formula. A cyclic shift of the rows is two row swaps, so it keeps the sign.

A single swap changes the sign.

3.7.5 Volume of a Parallelepiped and a Tetrahedron

Coterminal edges here means the three edges taken from a common vertex. Use $\vec{a}$ and $\vec{b}$ to form the base.

Its normal is $\vec{a}\times\vec{b}$. For independent base edges, the perpendicular height is the magnitude of the scalar projection of $\vec{c}$ on that normal.

$$h=\frac{|(\vec{a}\times\vec{b})\cdot\vec{c}|}{|\vec{a}\times\vec{b}|}.$$

The base area of the parallelepiped is $|\vec{a}\times\vec{b}|$. Multiplying by the height cancels that denominator. The triangular base of the tetrahedron has half the area. A tetrahedron has one third of the product of its base area and height.

Volumes from Three Edge Vectors
$$\begin{aligned}V_{\text{parallelepiped}}&=|[\vec{a}\ \vec{b}\ \vec{c}]|\\[7pt]V_{\text{tetrahedron}}&=\frac16|[\vec{a}\ \vec{b}\ \vec{c}]|.\end{aligned}$$

If the vertices are $O,A,B,C$, use the vectors $\overrightarrow{OA},\overrightarrow{OB},\overrightarrow{OC}$. The point $O$ can be any common vertex. Measure volume in cubic units.

Base and perpendicular height of a parallelepiped
$\text{}$
$\text{}$
$O$
$O$
$A$
$B$
$C$
$D$
$E$
$F$
$G$
$H$
$J$
The base is $OAFB$. The adjacent edges are $\overrightarrow{OA}$, $\overrightarrow{OB}$, and $\overrightarrow{OC}$. Both $CE$ and $OD$ show the perpendicular height $4$.
Base and perpendicular height of a tetrahedron
$\text{}$
$\text{}$
$O$
$O$
$A$
$B$
$C$
$D$
$E$
The base is triangle $OAB$. The purple segment $CE$ is perpendicular to that base and gives the height. The tetrahedron has one third of the volume of a prism with this base and height.

For example, let $\vec{a}=2\hat{i}$, $\vec{b}=\hat{i}+3\hat{j}$ and $\vec{c}=\hat{i}+2\hat{j}-4\hat{k}$. Then

$$\begin{aligned}[\vec{a}\ \vec{b}\ \vec{c}]&=\begin{vmatrix}2&0&0\\1&3&0\\1&2&-4\end{vmatrix}\\[7pt]&=2(3)(-4)\\[7pt]&=-24.\end{aligned}$$

The parallelepiped has volume $24$ cubic units. The tetrahedron has volume $4$ cubic units. As a height check, the base in the $xy$-plane has area $6$ and the vertical distance is $4$.

Common mistake / Note: The order of the rows can change the sign of the triple product. A geometric volume always uses its absolute value. A zero triple product gives zero volume, including when the base edges are parallel.

3.7.6 Coplanar Vectors and the Condition for Coplanarity

Vectors are coplanar when, with a common tail, they lie in one plane. The condition for three vectors is

Coplanarity Test
$$\begin{aligned}\vec{a},\vec{b},\vec{c}\text{ are coplanar}\\[7pt][\vec{a}\ \vec{b}\ \vec{c}]&=0.\end{aligned}$$

For four points $A,B,C,D$, apply the test to $\overrightarrow{AB},\overrightarrow{AC},\overrightarrow{AD}$. A plane through $A$ contains the other points exactly when it contains all three displacements.

Suppose that the vectors are coplanar. If $\vec{a},\vec{b}$ span the plane, their cross product is perpendicular to $\vec{c}$, so the triple product is zero. If their cross product vanishes, the triple product is already zero.

Conversely, suppose the triple product is zero. When $\vec{a}\times\vec{b}$ is nonzero, the zero dot product puts $\vec{c}$ in the plane through the common tail perpendicular to $\vec{a}\times\vec{b}$.

When $\vec{a}\times\vec{b}$ is zero, $\vec{a},\vec{b}$ lie along a single line or are both zero. There is a plane containing that line and $\vec{c}$.

Coplanar vectors and their normal
$\text{}$
$\text{}$
$O$
$O$
$\vec{a}$
$\vec{b}$
$\vec{c}$
$\vec{a}\times\vec{b}$
All three coloured base vectors lie in the same plane. The purple normal has actual components $(0,0,6)$, so its dot product with $\vec{c}$ is zero.

Any sums of vectors lying in a plane through the common tail still lie in that plane. In a parameter problem, form the determinant, set it to zero and substitute every proposed value back into it.

3.8 Application of Vectors in Real World

Components in Physics and Everyday Use

  • Projectile motion. With initial speed $u$ at angle $\phi$ above the horizontal, the horizontal velocity component is $u\cos\phi$. If upward is positive, the vertical component at time $t$ is $u\sin\phi-gt$, where $g$ is the positive magnitude of gravitational acceleration. This model ignores air resistance.
  • Sharpening a pencil. The force component perpendicular to the pencil cuts into the wood. The parallel component helps remove the shaving.
  • Earth's magnetic field. Relative to the local surface, the field can be resolved into a vertical component and a horizontal component.
  • Pendulum. The tension acts along the string. Resolve forces along and perpendicular to the string to describe their effect on the motion. The inward resultant produces the centripetal acceleration.
  • Digital graphics and programming. Vector graphics describe lines and shapes mathematically, so resizing preserves their outlines. A vector in programming can store an ordered list of components in a one-dimensional array.
  • GPS and navigation. The directed change from the starting point to the destination has a magnitude and a direction. A position, a displacement and a velocity tell different things.

Air Velocity, Wind Velocity and Ground Velocity

Take east as $+\hat{i}$ and north as $+\hat{j}$. A true heading or true course is measured clockwise from north.

A standard polar angle in the component plane is measured anticlockwise from east. Convert a bearing $\psi$ to a standard angle by $\theta=90^\circ-\psi$, adding or subtracting $360^\circ$ as needed.

Components and Relative Motion
$$\begin{aligned}\vec{v}&=v\cos\theta\,\hat{i}+v\sin\theta\,\hat{j}\\[7pt]&=v\sin\psi\,\hat{i}+v\cos\psi\,\hat{j}\end{aligned}$$
$$\begin{aligned}\vec{v}_{\text{ground}}&=\vec{v}_{\text{air}}+\vec{v}_{\text{wind}}\\[7pt]\vec{v}_{\text{air}}&=\vec{v}_{\text{ground}}-\vec{v}_{\text{wind}}.\end{aligned}$$

If a wind of speed $w$ is given from bearing $\psi$, it moves towards bearing $\psi+180^\circ$ modulo $360^\circ$. If it is given by a polar pair $(w,\theta)$, use $\theta$ as the standard angle of its velocity.

If the velocity is $x\hat{i}+y\hat{j}$, its speed is $\sqrt{x^2+y^2}$. To find a standard angle, use $\tan^{-1}(y/x)$ for $x\ne0$ and put it into the quadrant indicated by $x,y$.

For $x=0$ and $y\ne0$, use north or south directly. Convert the standard angle back to the required bearing and give the bearing in $[0^\circ,360^\circ)$.

A zero velocity has no course.

Common mistake / Note: The angle $\tan^{-1}(y/x)$ is first measured from the horizontal. In the first quadrant, the bearing is $90^\circ$ minus that angle. A wind from the west adds an eastward component.

Suppose the plane's air velocity is $150\hat{i}+200\hat{j}$ km/h and a wind from the west has speed $50$ km/h. Add the east and north components.

VelocityEast component (km/h)North component (km/h)
Plane relative to air$150$$200$
Wind$50$$0$
Plane relative to ground$200$$200$
$$\begin{aligned}|\vec{v}_{\text{ground}}|&=\sqrt{200^2+200^2}\\[7pt]&=200\sqrt2\text{ km/h}.\end{aligned}$$

The two positive components are equal, so the true course is $45^\circ$. As a check, subtracting $50\hat{i}$ from the ground vector returns $150\hat{i}+200\hat{j}$. Its magnitude is $\sqrt{150^2+200^2}=250$ km/h.

Adding air velocity and wind velocity on east-north axesEast component (km/h)North component (km/h)−5050100150200250−5050100150200250OOPWG
The route $O$ to $P$ to $G$ adds the plane's air velocity and the wind. The diagonal $\overrightarrow{OG}$ is the ground velocity.

Exercise solutions of Chapter 3

Popular posts from this blog

Exercise 9.2 Solutions – 11th Class Math Federal Board (Graphs, Parity and Applications)

Exercise 3.1 Examples – 11th Class Math Federal Board (Vector Operations, Position Vectors and Geometry)

Review Exercise 3 Examples – 11th Class Math Federal Board (Vectors in Space)