All revision notes topics

3.13 Scalar and vector productsIB Maths: Applications and Interpretation HL: Revision notes

Section 1

The scalar product

The scalar product (dot product) of v=(v1,v2,v3)\mathbf{v}=(v_1,v_2,v_3) and w=(w1,w2,w3)\mathbf{w}=(w_1,w_2,w_3) is a number: v⋅w=v1w1+v2w2+v3w3=∣v∣∣w∣cos⁡θ,\mathbf{v}\cdot\mathbf{w}=v_1w_1+v_2w_2+v_3w_3=|\mathbf{v}||\mathbf{w}|\cos\theta, where θ\theta is the angle between the vectors when they are placed tail to tail. In two dimensions use two components. Example: a=(3,1,2)\mathbf{a}=(3,1,2) and b=(1,−2,4)\mathbf{b}=(1,-2,4) give a⋅b=3−2+8=9\mathbf{a}\cdot\mathbf{b}=3-2+8=9. Two non-zero vectors are perpendicular exactly when v⋅w=0\mathbf{v}\cdot\mathbf{w}=0. Example: (3,1,2)⋅(−1,−1,2)=−3−1+4=0(3,1,2)\cdot(-1,-1,2)=-3-1+4=0.

Key termsscalar productperpendicular
Common mistake

The scalar product is a number. Multiplying components but not adding them gives a list of numbers, not the scalar product.

Section 2

Angle between vectors and between lines

Rearranging the definition gives cos⁡θ=v⋅w∣v∣∣w∣.\cos\theta=\frac{\mathbf{v}\cdot\mathbf{w}}{|\mathbf{v}||\mathbf{w}|}. If cos⁡θ\cos\theta is positive the angle is acute; if it is negative the angle is obtuse. For the angle between a\mathbf{a} and b\mathbf{b} above, cos⁡θ=91421\cos\theta=\frac{9}{\sqrt{14}\sqrt{21}}, so θ=58.3∘\theta=58.3^\circ (use cos⁡−1\cos^{-1} on your GDC). For two lines, use their direction vectors. The acute angle between the lines uses the absolute value, cos⁡θ=∣d1⋅d2∣∣d1∣∣d2∣\cos\theta=\frac{|\mathbf{d}_1\cdot\mathbf{d}_2|}{|\mathbf{d}_1||\mathbf{d}_2|}. Example: d1=(2,1,−2)\mathbf{d}_1=(2,1,-2) and d2=(1,−2,2)\mathbf{d}_2=(1,-2,2) give d1⋅d2=−4\mathbf{d}_1\cdot\mathbf{d}_2=-4, so cos⁡θ=49\cos\theta=\frac49 and the acute angle is 63.6∘63.6^\circ.

Key termsangle between vectorsdirection vectoracute angle
Exam tip

Taking the absolute value of d1⋅d2\mathbf{d}_1\cdot\mathbf{d}_2 gives the acute angle between two lines directly. Otherwise, a negative cosine gives an obtuse angle, and the acute angle is 180∘180^\circ minus it.

Section 3

Components of a vector

The component of a\mathbf{a} acting in the direction of b\mathbf{b} is a⋅b∣b∣=∣a∣cos⁡θ.\frac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{b}|}=|\mathbf{a}|\cos\theta. The component of a\mathbf{a} acting perpendicular to b\mathbf{b}, in the plane formed by the two vectors, is ∣a×b∣∣b∣=∣a∣sin⁡θ\frac{|\mathbf{a}\times\mathbf{b}|}{|\mathbf{b}|}=|\mathbf{a}|\sin\theta. Together they obey (parallel)2+(perpendicular)2=∣a∣2\left(\text{parallel}\right)^2+\left(\text{perpendicular}\right)^2=|\mathbf{a}|^2. Example: F=(4,−2,3)\mathbf{F}=(4,-2,3) N and a pipe with direction d=(1,−2,2)\mathbf{d}=(1,-2,2). The component along the pipe is 143=4.67\frac{14}{3}=4.67 N and the component perpendicular to it is 653=2.69\frac{\sqrt{65}}{3}=2.69 N. Check: 4.672+2.692=29=∣F∣24.67^2+2.69^2=29=|\mathbf{F}|^2.

Key termscomponentperpendicular component
Exam tip

Divide by ∣b∣|\mathbf{b}| only once. If you divide by ∣b∣2|\mathbf{b}|^2 you get the multiple of b\mathbf{b}, not the length of the component.

Section 4

The vector product

The vector product (cross product) of v\mathbf{v} and w\mathbf{w} is a vector: v×w=∣v∣∣w∣sin⁡θ n,\mathbf{v}\times\mathbf{w}=|\mathbf{v}||\mathbf{w}|\sin\theta\,\mathbf{n}, where n\mathbf{n} is the unit vector perpendicular to both, in the direction given by the right-hand screw rule (turn from v\mathbf{v} to w\mathbf{w}). In components: v×w=(v2w3−v3w2v3w1−v1w3v1w2−v2w1).\mathbf{v}\times\mathbf{w}=\begin{pmatrix} v_2w_3-v_3w_2 \\ v_3w_1-v_1w_3 \\ v_1w_2-v_2w_1 \end{pmatrix}. Example: (2,1,−1)×(1,3,2)=(5,−5,5)(2,1,-1)\times(1,3,2)=(5,-5,5). Reversing the order reverses the direction: w×v=−(v×w)\mathbf{w}\times\mathbf{v}=-(\mathbf{v}\times\mathbf{w}). Dividing by the magnitude gives a unit vector perpendicular to both: 13(1,−1,1)\frac{1}{\sqrt3}(1,-1,1). Your GDC can find vector products; always check the order of the vectors.

Key termsvector productright-hand screw ruleunit normal
Common mistake

v×w≠w×v\mathbf{v}\times\mathbf{w}\neq\mathbf{w}\times\mathbf{v}. Swapping the order reverses the sign of every component.

Section 5

Areas and distances using the vector product

∣v×w∣|\mathbf{v}\times\mathbf{w}| is the area of the parallelogram with sides v\mathbf{v} and w\mathbf{w}, and 12∣v×w∣\frac12|\mathbf{v}\times\mathbf{w}| is the area of the triangle. Example: a roof panel ABCABC has AB→=(3,2,−1)\overrightarrow{AB}=(3,2,-1) and AC→=(1,3,3)\overrightarrow{AC}=(1,3,3). Then AB→×AC→=(9,−10,7)\overrightarrow{AB}\times\overrightarrow{AC}=(9,-10,7) and the area is 12230=7.58\frac12\sqrt{230}=7.58 m2^2. The shortest distance from CC to the line ABAB is the height of the triangle: ∣AB→×AC→∣∣AB→∣=23014=4.05\frac{|\overrightarrow{AB}\times\overrightarrow{AC}|}{|\overrightarrow{AB}|}=\frac{\sqrt{230}}{\sqrt{14}}=4.05 m. This is the perpendicular component of AC→\overrightarrow{AC} relative to AB→\overrightarrow{AB}. Not required: proofs of the general properties of the scalar and vector products.

Key termsparallelogram areatriangle area
Common mistake

Forgetting the 12\frac12 for a triangle, or the square root when finding the magnitude of the cross product.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on 3.13 Scalar and vector products

  1. Two forces a=(312)\mathbf{a}=\begin{pmatrix} 3 \\ 1 \\ 2 \end{pmatrix} N and b=(1−24)\mathbf{b}=\begin{pmatrix} 1 \\ -2 \\ 4 \end{pmatrix} N act on a particle.
    A third force c=(k−12)\mathbf{c}=\begin{pmatrix} k \\ -1 \\ 2 \end{pmatrix} N is perpendicular to a\mathbf{a}. Find the value of kk.2 marks
  2. A triangular roof panel has corners A(1,0,2)A(1,0,2), B(4,2,1)B(4,2,1) and C(2,3,5)C(2,3,5), where the coordinates are in metres.
    Find the shortest distance from CC to the line through AA and BB.2 marks
  3. Two straight pipes are modelled by the lines l1: r=(102)+s(21−2)l_1:\ \mathbf{r}=\begin{pmatrix} 1 \\ 0 \\ 2 \end{pmatrix}+s\begin{pmatrix} 2 \\ 1 \\ -2 \end{pmatrix} and l2: r=(3−10)+t(1−22)l_2:\ \mathbf{r}=\begin{pmatrix} 3 \\ -1 \\ 0 \end{pmatrix}+t\begin{pmatrix} 1 \\ -2 \\ 2 \end{pmatrix}, where the units are metres.
    Use your GDC to find the acute angle between the two pipes.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).