PrecalculusApplications of Trigonometry4 of 6
Applications of Trigonometry · 4

The Dot Product

We know how to add two vectors and how to stretch a vector by a number, and now we need a way to multiply two vectors to measure how much they work together.

1

What the Dot Product Means

When a force pulls on a cart along a track at an angle θ\theta, only the component of the pull along the track does work as the cart moves along the track. We find the dot product of two vectors A\pullVec{\mathbf{A}} and B\trackVec{\mathbf{B}}, written A⋅B\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}}, by multiplying the signed shadow component of one vector along the other by the length of that other vector. The component is positive when the shadow points along the other vector and negative when it points in the opposite direction.

What the Dot Product Means

For an acute angle θ\theta, right-triangle trigonometry gives the shadow's length as ∣A∣cos⁡θ\pullVec{|\mathbf{A}| \cos \theta}. The signed shadow component is ∣A∣cos⁡θ\pullVec{|\mathbf{A}| \cos \theta} for an obtuse angle too, where it is negative:

A⋅B=∣A∣cos⁡θ⏟shadow of A along B∣B∣=∣A∣∣B∣cos⁡θ\displaystyle \begin{aligned} \pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} &= \underbrace{\pullVec{|\mathbf{A}| \cos \theta}}_{\text{shadow of } \pullVec{\mathbf{A}} \text{ along } \trackVec{\mathbf{B}}} \trackVec{|\mathbf{B}|} \\ &= \pullVec{|\mathbf{A}|}\trackVec{|\mathbf{B}|} \cos \theta \end{aligned}

Because cos⁡θ\cos \theta changes sign as the angle opens past a right angle, the sign of A⋅B\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} tells us right away whether two vectors are helping or fighting each other:

With the vector lengths fixed, as the angle θ\theta between A\pullVec{\mathbf{A}} and B\trackVec{\mathbf{B}} decreases from 90∘90^\circ toward 0∘0^\circ, the forward shadow of A\pullVec{\mathbf{A}} gets longer. At 90∘90^\circ it is zero, and past 90∘90^\circ it points backward, making A⋅B\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} negative.

The shadow A\pullVec{A} casts along the line of B\trackVec{B} sets both the size and the sign of their dot product.
2

The Grid Method

When two vectors are given by their coordinates on an xx-yy grid, such as A=⟨3,2⟩=3i+2j\pullVec{\mathbf{A}} = \pullVec{\langle 3, 2 \rangle} = \pullVec{3}\mathbf{i} + \pullVec{2}\mathbf{j} and B=⟨4,1⟩=4i+1j\trackVec{\mathbf{B}} = \trackVec{\langle 4, 1 \rangle} = \trackVec{4}\mathbf{i} + \trackVec{1}\mathbf{j}, finding their lengths and the angle between them just to compute A⋅B\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} takes too much work. Instead, we can break each vector into its horizontal and vertical steps and see how the pieces work together.

The Grid Method
A=⟨3,2⟩\htmlClass{lc-blue}{\mathbf{A}} = \htmlClass{lc-blue}{\langle 3, 2 \rangle}
B=⟨4,1⟩\htmlClass{lc-pink}{\mathbf{B}} = \htmlClass{lc-pink}{\langle 4, 1 \rangle}
θ\theta
A⋅B=  ?\htmlClass{lc-blue}{\mathbf{A}} \cdot \htmlClass{lc-pink}{\mathbf{B}} = \;?
Text solution
Multiply the horizontal components and the vertical componentsBecause a horizontal step and a vertical step meet at 90∘90^\circ and cast zero shadow on each other, only matching directions work together.
A⋅B\displaystyle \pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} =(3)(4)+(2)(1)\displaystyle = (\pullVec{3})(\trackVec{4}) + (\pullVec{2})(\trackVec{1})
Add the two productsCombine the horizontal teamwork and the vertical teamwork into a single number.
=12+2\displaystyle = 12 + 2 =14\displaystyle = 14

For any two vectors A=⟨x1,y1⟩=x1i+y1j\pullVec{\mathbf{A}} = \pullVec{\langle x_1, y_1 \rangle} = \pullVec{x_1}\mathbf{i} + \pullVec{y_1}\mathbf{j} and B=⟨x2,y2⟩=x2i+y2j\trackVec{\mathbf{B}} = \trackVec{\langle x_2, y_2 \rangle} = \trackVec{x_2}\mathbf{i} + \trackVec{y_2}\mathbf{j}, the grid method gives the exact same dot product as the shadow formula:

A⋅B\displaystyle \pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} =x1x2⏟horizontal+y1y2⏟vertical\displaystyle = \underbrace{\pullVec{x_1} \trackVec{x_2}}_{\text{horizontal}} + \underbrace{\pullVec{y_1} \trackVec{y_2}}_{\text{vertical}}
3

Dot Product Expressions and Length

Adding or scaling vectors produces a new vector, but taking a dot product turns two vectors into a plain number (a scalar). Let's see what that means when dot products appear inside larger expressions like (A⋅B)C(\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}})\mathbf{C}, and what happens when we dot a vector with itself, A⋅A\pullVec{\mathbf{A}} \cdot \pullVec{\mathbf{A}}.

Dot Product Expressions and Length
A=⟨3,2⟩B=⟨4,1⟩C=⟨1,−2⟩\displaystyle \begin{aligned} \pullVec{\mathbf{A}} &= \pullVec{\langle 3, 2 \rangle} \\ \trackVec{\mathbf{B}} &= \trackVec{\langle 4, 1 \rangle} \\ \mathbf{C} &= \langle 1, -2 \rangle \end{aligned}
(A⋅B) C=  ?A⋅A=  ?\displaystyle \begin{aligned} (\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}})\,\mathbf{C} &= \;? \\ \pullVec{\mathbf{A}} \cdot \pullVec{\mathbf{A}} &= \;? \end{aligned}
Text solution
Find the dot product inside the parentheses firstFor A=⟨3,2⟩\pullVec{\mathbf{A}} = \pullVec{\langle 3, 2 \rangle}, B=⟨4,1⟩\trackVec{\mathbf{B}} = \trackVec{\langle 4, 1 \rangle}, and C=⟨1,−2⟩\mathbf{C} = \langle 1, -2 \rangle, replace A⋅B\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} with the number 14\scaleNum{14}, which then scales vector C\mathbf{C}.
(A⋅B)C\displaystyle (\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}})\mathbf{C} =14⏟scalar⟨1,−2⟩\displaystyle = \underbrace{\scaleNum{14}}_{\text{scalar}}\langle 1, -2 \rangle =⟨14,−28⟩\displaystyle = \langle 14, -28 \rangle
Check why (A⋅B)⋅C(\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}}) \cdot \mathbf{C} is impossibleOnce A⋅B\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} turns into the plain number 1414, writing 14⋅C14 \cdot \mathbf{C} makes no sense because a plain number has no direction and cannot cast a shadow on a vector.
Dot A\pullVec{\mathbf{A}} with itself to find its length squaredA vector lines up at 0∘0^\circ with itself (cos⁡0∘=1\cos 0^\circ = 1), so dotting A=⟨3,2⟩\pullVec{\mathbf{A}} = \pullVec{\langle 3, 2 \rangle} with itself squares each component and adds them up.
A⋅A\displaystyle \pullVec{\mathbf{A}} \cdot \pullVec{\mathbf{A}} =(3)(3)+(2)(2)\displaystyle = (\pullVec{3})(\pullVec{3}) + (\pullVec{2})(\pullVec{2}) =32+22\displaystyle = \pullVec{3}^2 + \pullVec{2}^2 =13\displaystyle = 13

Because x2+y2\pullVec{x}^2 + \pullVec{y}^2 is the Pythagorean theorem before taking the square root, dotting any vector with itself gives the square of its length:

A⋅A\displaystyle \pullVec{\mathbf{A}} \cdot \pullVec{\mathbf{A}} =∣A∣2and∣A∣\displaystyle = \pullVec{|\mathbf{A}|}^2 \qquad \text{and} \qquad \pullVec{|\mathbf{A}|} =A⋅A\displaystyle = \sqrt{\pullVec{\mathbf{A}} \cdot \pullVec{\mathbf{A}}}
4

Finding the Angle Between Two Vectors

Now that the grid method gives us A⋅B\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} in seconds, we can use it alongside the shadow formula to find the angle θ\theta between two vectors on a grid, such as A=⟨3,4⟩\pullVec{\mathbf{A}} = \pullVec{\langle 3, 4 \rangle} and B=⟨4,1⟩\trackVec{\mathbf{B}} = \trackVec{\langle 4, 1 \rangle}.

Finding the Angle Between Two Vectors
A=⟨3,4⟩\htmlClass{lc-blue}{\mathbf{A}} = \htmlClass{lc-blue}{\langle 3, 4 \rangle}
B=⟨4,1⟩\htmlClass{lc-pink}{\mathbf{B}} = \htmlClass{lc-pink}{\langle 4, 1 \rangle}
θ=  ?\theta = \;?
Text solution
Find the actual teamwork using the gridMultiply matching components of A=⟨3,4⟩\pullVec{\mathbf{A}} = \pullVec{\langle 3, 4 \rangle} and B=⟨4,1⟩\trackVec{\mathbf{B}} = \trackVec{\langle 4, 1 \rangle} and add them.
A⋅B\displaystyle \pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} =(3)(4)+(4)(1)\displaystyle = (\pullVec{3})(\trackVec{4}) + (\pullVec{4})(\trackVec{1}) =12+4\displaystyle = 12 + 4 =16\displaystyle = 16
Find the maximum possible teamwork from the lengthsCompute how much the arrows would work together if they pointed in the exact same direction.
∣A∣=32+42=5,∣B∣=42+12=17,∣A∣∣B∣=517\displaystyle \begin{aligned} \pullVec{|\mathbf{A}|} &= \sqrt{\pullVec{3}^2 + \pullVec{4}^2} = 5, \\ \trackVec{|\mathbf{B}|} &= \sqrt{\trackVec{4}^2 + \trackVec{1}^2} = \sqrt{17}, \\ \pullVec{|\mathbf{A}|}\trackVec{|\mathbf{B}|} &= 5\sqrt{17} \end{aligned}
Compare actual teamwork to the maximum possible to get cos⁡θ\cos \thetaDivide A⋅B\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} by ∣A∣∣B∣\pullVec{|\mathbf{A}|}\trackVec{|\mathbf{B}|}.
cos⁡θ\displaystyle \cos \theta =A⋅B∣A∣∣B∣\displaystyle = \frac{\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}}}{\pullVec{|\mathbf{A}|}\trackVec{|\mathbf{B}|}} =16517\displaystyle = \frac{16}{5\sqrt{17}}
Take the inverse cosine to find the angleUse a calculator in degree mode.
θ\displaystyle \theta =cos⁡−1 ⁣(16517)≈39∘\displaystyle = \cos^{-1}\!\left(\frac{16}{5\sqrt{17}}\right) \approx 39^\circ

So A\pullVec{\mathbf{A}} and B\trackVec{\mathbf{B}} meet at about a 39∘39^\circ angle, giving 1616 out of their maximum possible 517≈20.65\sqrt{17} \approx 20.6 teamwork.

5

Perpendicular, Parallel, or Neither

Often we don't need the exact angle between two vectors. We just want to know whether they meet at a 90∘90^\circ right angle (perpendicular, or orthogonal), lie along the same line direction at 0∘0^\circ or 180∘180^\circ (parallel), or meet at an angle in between (neither).

Perpendicular\text{Perpendicular}
⟨−2,6⟩\htmlClass{lc-blue}{\langle -2, 6 \rangle}
⟨3,1⟩\htmlClass{lc-pink}{\langle 3, 1 \rangle}
90∘90^\circ
Neither\text{Neither}
⟨3,4⟩\htmlClass{lc-blue}{\langle 3, 4 \rangle}
⟨4,1⟩\htmlClass{lc-pink}{\langle 4, 1 \rangle}
≈39∘\approx 39^\circ
Parallel\text{Parallel}
⟨3,−2⟩\htmlClass{lc-blue}{\langle 3, -2 \rangle}
⟨−6,4⟩\htmlClass{lc-pink}{\langle -6, 4 \rangle}
180∘180^\circ
Perpendicular, Parallel, or Neither
⟨−2,6⟩\htmlClass{lc-blue}{\langle -2, 6 \rangle}
⟨3,1⟩\htmlClass{lc-pink}{\langle 3, 1 \rangle}
??
Text solution
Check ⟨−2,6⟩\pullVec{\langle -2, 6 \rangle} and ⟨3,1⟩\trackVec{\langle 3, 1 \rangle} for a zero dot productMultiply matching components and add.
(−2)(3)+(6)(1)\displaystyle (\pullVec{-2})(\trackVec{3}) + (\pullVec{6})(\trackVec{1}) =−6+6\displaystyle = -6 + 6 =0\displaystyle = 0
Because the horizontal pull backward of −6-6 completely cancels the vertical teamwork of +6+6, the shadow has zero length and the vectors are perpendicular (90∘90^\circ).
Check ⟨3,−2⟩\pullVec{\langle 3, -2 \rangle} and ⟨−6,4⟩\trackVec{\langle -6, 4 \rangle} for a common scaling factorSee if a single number multiplies both components of the first vector into the second.
⟨−6,4⟩\displaystyle \trackVec{\langle -6, 4 \rangle} =−2⟨3,−2⟩\displaystyle = \scaleNum{-2}\pullVec{\langle 3, -2 \rangle}
Because the second vector is the first vector stretched by 2\scaleNum{2} and flipped backward (180∘180^\circ, where A⋅B=−26=−∣A∣∣B∣\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} = -26 = -\pullVec{|\mathbf{A}|}\trackVec{|\mathbf{B}|}), the vectors are parallel.
Check ⟨3,4⟩\pullVec{\langle 3, 4 \rangle} and ⟨4,1⟩\trackVec{\langle 4, 1 \rangle} against both testsTheir dot product isn't zero, and the number 43\scaleNum{\frac{4}{3}} that multiplies 3\pullVec{3} into 4\trackVec{4} does not multiply 4\pullVec{4} into 1\trackVec{1}.
⟨3,4⟩⋅⟨4,1⟩=16≠0,3×43=4 but 4×43≠1\displaystyle \begin{aligned} \pullVec{\langle 3, 4 \rangle} \cdot \trackVec{\langle 4, 1 \rangle} &= 16 \neq 0, \\ \pullVec{3} \times \scaleNum{\frac{4}{3}} &= \trackVec{4} \text{ but } \pullVec{4} \times \scaleNum{\frac{4}{3}} \neq \trackVec{1} \end{aligned}
So the vectors are neither perpendicular nor parallel.
6

Vector Projection and Splitting a Vector

Earlier we used the length of the shadow of A=⟨3,2⟩\pullVec{\mathbf{A}} = \pullVec{\langle 3, 2 \rangle} on the track vector B=⟨4,1⟩\trackVec{\mathbf{B}} = \trackVec{\langle 4, 1 \rangle}. Now we want to find the actual coordinates of that shadow vector, called the vector projection of A\pullVec{\mathbf{A}} onto B\trackVec{\mathbf{B}}, and split A\pullVec{\mathbf{A}} into two vectors that add back up to A\pullVec{\mathbf{A}}: a piece A∥\pullVec{\mathbf{A}_{\parallel}} parallel to B\trackVec{\mathbf{B}} and a piece A⊥\perpPiece{\mathbf{A}_{\perp}} perpendicular to B\trackVec{\mathbf{B}}.

Vector Projection and Splitting a Vector
A=⟨3,2⟩\htmlClass{lc-blue}{\mathbf{A}} = \htmlClass{lc-blue}{\langle 3, 2 \rangle}
B=⟨4,1⟩\htmlClass{lc-pink}{\mathbf{B}} = \htmlClass{lc-pink}{\langle 4, 1 \rangle}
A∥=⟨ ?, ? ⟩\htmlClass{lc-blue}{\mathbf{A}_{\parallel}} = \langle\, ?, \ ? \,\rangle
Text solution
Compare how much A\pullVec{\mathbf{A}} works with B\trackVec{\mathbf{B}} to how much B\trackVec{\mathbf{B}} works with itselfThis fraction tells us how long the shadow is compared to the track vector B\trackVec{\mathbf{B}}.
A⋅BB⋅B=(3)(4)+(2)(1)42+12=1417\displaystyle \begin{aligned} \frac{\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}}}{\trackVec{\mathbf{B}} \cdot \trackVec{\mathbf{B}}} &= \frac{(\pullVec{3})(\trackVec{4}) + (\pullVec{2})(\trackVec{1})}{\trackVec{4}^2 + \trackVec{1}^2} \\ &= \scaleNum{\frac{14}{17}} \end{aligned}
Scale the track vector B\trackVec{\mathbf{B}} by that fraction to get the shadow vector A∥\pullVec{\mathbf{A}_{\parallel}}Multiply B=⟨4,1⟩\trackVec{\mathbf{B}} = \trackVec{\langle 4, 1 \rangle} by 1417\scaleNum{\frac{14}{17}}.
A∥=proj⁡BA=(A⋅BB⋅B)⏟fraction of BB=1417⟨4,1⟩=⟨5617,1417⟩\displaystyle \begin{aligned} \pullVec{\mathbf{A}_{\parallel}} = \pullVec{\operatorname{proj}_{\trackVec{\mathbf{B}}} \mathbf{A}} &= \underbrace{\scaleNum{\left(\frac{\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}}}{\trackVec{\mathbf{B}} \cdot \trackVec{\mathbf{B}}}\right)}}_{\text{fraction of } \trackVec{\mathbf{B}}} \trackVec{\mathbf{B}} \\ &= \scaleNum{\frac{14}{17}}\trackVec{\langle 4, 1 \rangle} \\ &= \pullVec{\left\langle \tfrac{56}{17}, \tfrac{14}{17} \right\rangle} \end{aligned}
Subtract the shadow piece from A\pullVec{\mathbf{A}} to get the perpendicular piece A⊥\perpPiece{\mathbf{A}_{\perp}}Since A∥+A⊥=A\pullVec{\mathbf{A}_{\parallel}} + \perpPiece{\mathbf{A}_{\perp}} = \pullVec{\mathbf{A}}, rewrite ⟨3,2⟩\pullVec{\langle 3, 2 \rangle} with a denominator of 1717 and subtract.
A⊥=A−A∥=⟨5117,3417⟩−⟨5617,1417⟩=⟨−517,2017⟩\displaystyle \begin{aligned} \perpPiece{\mathbf{A}_{\perp}} &= \pullVec{\mathbf{A}} - \pullVec{\mathbf{A}_{\parallel}} \\ &= \pullVec{\left\langle \tfrac{51}{17}, \tfrac{34}{17} \right\rangle} - \pullVec{\left\langle \tfrac{56}{17}, \tfrac{14}{17} \right\rangle} \\ &= \perpPiece{\left\langle -\tfrac{5}{17}, \tfrac{20}{17} \right\rangle} \end{aligned}

So A=⟨3,2⟩\pullVec{\mathbf{A}} = \pullVec{\langle 3, 2 \rangle} splits into A∥=⟨5617,1417⟩\pullVec{\mathbf{A}_{\parallel}} = \pullVec{\left\langle \tfrac{56}{17}, \tfrac{14}{17} \right\rangle} along the track B\trackVec{\mathbf{B}} and A⊥=⟨−517,2017⟩\perpPiece{\mathbf{A}_{\perp}} = \perpPiece{\left\langle -\tfrac{5}{17}, \tfrac{20}{17} \right\rangle} at 90∘90^\circ to the track (A⊥⋅B=0\perpPiece{\mathbf{A}_{\perp}} \cdot \trackVec{\mathbf{B}} = 0), and the two pieces add directly back to ⟨3,2⟩\pullVec{\langle 3, 2 \rangle}.

For every position of A\pullVec{\mathbf{A}} on the grid, the shadow vector A∥\pullVec{\mathbf{A}_{\parallel}} stays a scaled multiple of the track vector B\trackVec{\mathbf{B}}, and A⊥\perpPiece{\mathbf{A}_{\perp}} has dot product zero with B\trackVec{\mathbf{B}}. The two pieces add head-to-tail to form A\pullVec{\mathbf{A}}.

Every vector A\pullVec{A} splits into two pieces that add back up to A\pullVec{A}: a multiple of B\trackVec{B} along the track, and a 90∘90^\circ piece off the track.
7

Finding Work with the Dot Product

When a constant force F\pullVec{\mathbf{F}} acts on an object along a straight displacement vector d\trackVec{\mathbf{d}}, the work done by the force is its signed component along the displacement times the distance moved. This is the dot product Work=F⋅d\workDone{\text{Work}} = \pullVec{\mathbf{F}} \cdot \trackVec{\mathbf{d}}.

Finding Work with the Dot Product
F\htmlClass{lc-blue}{\mathbf{F}}
d\htmlClass{lc-pink}{\mathbf{d}}
Work=  ?\workDone{\text{Work}} = \;?
Text solution
When given force, distance, and angle (30 lb\pullVec{30}\text{ lb} pull at 25∘25^\circ over 50 ft\trackVec{50}\text{ ft}), use the shadow methodMultiply the forward component of the force by the distance moved.
Work=∣F∣∣d∣cos⁡θ=(30cos⁡25∘)(50)=1500cos⁡25∘≈1359.5 foot-pounds\displaystyle \begin{aligned} \workDone{\text{Work}} &= \pullVec{|\mathbf{F}|}\trackVec{|\mathbf{d}|}\cos\theta \\ &= (\pullVec{30\cos 25^\circ})(\trackVec{50}) \\ &= 1500\cos 25^\circ \\ &\approx 1359.5\text{ foot-pounds} \end{aligned}
When given coordinates (F=⟨10,4⟩ lb\pullVec{\mathbf{F}} = \pullVec{\langle 10, 4 \rangle}\text{ lb} from (1,2)(1, 2) to (6,5)(6, 5) in feet), find the displacement vector d\trackVec{\mathbf{d}} firstSubtract the starting coordinates from the ending coordinates to get the horizontal and vertical motion steps.
d\displaystyle \trackVec{\mathbf{d}} =⟨6−1,5−2⟩\displaystyle = \trackVec{\langle 6 - 1, 5 - 2 \rangle} =⟨5,3⟩\displaystyle = \trackVec{\langle 5, 3 \rangle}
Dot the force vector with the displacement vector using the gridMultiply matching components and add them up.
Work=F⋅d=(10)(5)+(4)(3)=50+12=62 foot-pounds\displaystyle \begin{aligned} \workDone{\text{Work}} &= \pullVec{\mathbf{F}} \cdot \trackVec{\mathbf{d}} = (\pullVec{10})(\trackVec{5}) + (\pullVec{4})(\trackVec{3}) \\ &= 50 + 12 = 62\text{ foot-pounds} \end{aligned}

Key concepts

Before we practice, let's pull together how the shadow picture and the grid shortcut connect across every type of dot product problem.

Lesson Summary
A\htmlClass{lc-blue}{\mathbf{A}}
B\htmlClass{lc-pink}{\mathbf{B}}
A=⟨3,2⟩\htmlClass{lc-blue}{\mathbf{A}} = \htmlClass{lc-blue}{\langle 3, 2 \rangle}
θ\theta
B=⟨4,1⟩\htmlClass{lc-pink}{\mathbf{B}} = \htmlClass{lc-pink}{\langle 4, 1 \rangle}
A∥=(A⋅BB⋅B) B\htmlClass{lc-blue}{\mathbf{A}_{\parallel}} = \htmlClass{lc-violet}{\left(\dfrac{\htmlClass{lc-blue}{\mathbf{A}} \cdot \htmlClass{lc-pink}{\mathbf{B}}}{\htmlClass{lc-pink}{\mathbf{B}} \cdot \htmlClass{lc-pink}{\mathbf{B}}}\right)}\,\htmlClass{lc-pink}{\mathbf{B}}
A⊥=A−A∥\htmlClass{lc-orange}{\mathbf{A}_{\perp}} = \htmlClass{lc-blue}{\mathbf{A}} - \htmlClass{lc-blue}{\mathbf{A}_{\parallel}}

Every question comes back to two ways of writing the same number, A⋅B\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}}:

Computing A⋅B\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}}

If you have lengths and the angle θ\theta, multiply the signed shadow component by the track length: A⋅B=∣A∣∣B∣cos⁡θ\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} = \pullVec{|\mathbf{A}|}\trackVec{|\mathbf{B}|}\cos\theta (for ∣A∣=3\pullVec{|\mathbf{A}|}=3, ∣B∣=5\trackVec{|\mathbf{B}|}=5, and ∣A∣cos⁡θ=3\pullVec{|\mathbf{A}|\cos\theta} = 3, A⋅B=15\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} = 15). If you have coordinates, don't find lengths or angles. Just multiply matching components and add: for ⟨3,2⟩\pullVec{\langle 3, 2 \rangle} and ⟨4,1⟩\trackVec{\langle 4, 1 \rangle}, A⋅B=(3)(4)+(2)(1)=14\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} = (\pullVec{3})(\trackVec{4}) + (\pullVec{2})(\trackVec{1}) = 14.

Expressions and length

A⋅B\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} is a plain number, so (A⋅B)C=14C(\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}})\mathbf{C} = \scaleNum{14}\mathbf{C} scales C\mathbf{C}, whereas (A⋅B)⋅C(\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}}) \cdot \mathbf{C} is impossible. Dotting a vector with itself squares its length without a square root: B⋅B=∣B∣2=42+12=17\trackVec{\mathbf{B}} \cdot \trackVec{\mathbf{B}} = \trackVec{|\mathbf{B}|}^2 = \trackVec{4}^2 + \trackVec{1}^2 = 17.

Perpendicular, parallel, or the angle θ\theta

For two nonzero vectors, check perpendicular first with the grid dot product (⟨−2,6⟩⋅⟨3,1⟩=0\pullVec{\langle -2, 6 \rangle} \cdot \trackVec{\langle 3, 1 \rangle} = 0 means 90∘90^\circ). To check if vectors are parallel, check if one vector is a single number times the other (⟨−6,4⟩=−2⟨3,−2⟩\trackVec{\langle -6, 4 \rangle} = \scaleNum{-2}\pullVec{\langle 3, -2 \rangle}). If neither holds, find the angle by comparing the dot product to the product of the lengths:

cos⁡θ\displaystyle \cos \theta =A⋅B∣A∣∣B∣\displaystyle = \frac{\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}}}{\pullVec{|\mathbf{A}|}\trackVec{|\mathbf{B}|}}

Projection and splitting a vector

To project A=⟨3,2⟩\pullVec{\mathbf{A}} = \pullVec{\langle 3, 2 \rangle} onto the track B=⟨4,1⟩\trackVec{\mathbf{B}} = \trackVec{\langle 4, 1 \rangle}, compare A⋅B\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} to B⋅B\trackVec{\mathbf{B}} \cdot \trackVec{\mathbf{B}} and scale B\trackVec{\mathbf{B}}:

A∥=proj⁡BA=(A⋅BB⋅B)B=1417⟨4,1⟩,A⊥=A−A∥\displaystyle \begin{aligned} \pullVec{\mathbf{A}_{\parallel}} = \pullVec{\operatorname{proj}_{\trackVec{\mathbf{B}}} \mathbf{A}} &= \scaleNum{\left(\frac{\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}}}{\trackVec{\mathbf{B}} \cdot \trackVec{\mathbf{B}}}\right)}\trackVec{\mathbf{B}} \\ &= \scaleNum{\frac{14}{17}}\trackVec{\langle 4, 1 \rangle}, \\ \perpPiece{\mathbf{A}_{\perp}} &= \pullVec{\mathbf{A}} - \pullVec{\mathbf{A}_{\parallel}} \end{aligned}

Work (Work=F⋅d\workDone{\text{Work}} = \pullVec{\mathbf{F}} \cdot \trackVec{\mathbf{d}})

Use ∣F∣∣d∣cos⁡θ\pullVec{|\mathbf{F}|}\trackVec{|\mathbf{d}|}\cos\theta when given force, distance, and angle; when given points like (1,2)(1, 2) to (6,5)(6, 5), find d=⟨6−1,5−2⟩=⟨5,3⟩\trackVec{\mathbf{d}} = \trackVec{\langle 6-1, 5-2 \rangle} = \trackVec{\langle 5, 3 \rangle} and dot it with F\pullVec{\mathbf{F}} on the grid.

8

Practice

1

Find the dot product of A=5i−3j\pullVec{\mathbf{A}} = \pullVec{5}\mathbf{i} - \pullVec{3}\mathbf{j} and B=−2i+4j\trackVec{\mathbf{B}} = \trackVec{-2}\mathbf{i} + \trackVec{4}\mathbf{j}.

i\mathbf{i} and j\mathbf{j} are the horizontal and vertical steps. Multiply matching components and add them. (Watch out: don't leave i\mathbf{i} and j\mathbf{j} in your answer as −10i−12j-10\mathbf{i} - 12\mathbf{j}. A dot product adds the horizontal and vertical products into a single number, and keep the negative signs on both products so you don't get +2+2 or +22+22.)

−22-22
2

Two vectors A\pullVec{\mathbf{A}} and B\trackVec{\mathbf{B}} have lengths ∣A∣=8\pullVec{|\mathbf{A}|} = \pullVec{8} and ∣B∣=5\trackVec{|\mathbf{B}|} = \trackVec{5}, and the angle between them is 120∘120^\circ. Find A⋅B\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}}.

You have the two lengths and the angle between them, so use the shadow formula and check which way the shadow points when θ>90∘\theta > 90^\circ. (Watch out: because 120∘120^\circ is past 90∘90^\circ, cos⁡120∘=−12\cos 120^\circ = -\frac{1}{2} is negative; forgetting the negative sign gives +20+20, and leaving your calculator in radian mode gives 32.632.6.)

−20-20
3

Let A=⟨2,−3⟩\pullVec{\mathbf{A}} = \pullVec{\langle 2, -3 \rangle}, B=⟨4,1⟩\trackVec{\mathbf{B}} = \trackVec{\langle 4, 1 \rangle}, and C=⟨−1,2⟩\mathbf{C} = \langle -1, 2 \rangle. Find (A⋅B)C(\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}})\mathbf{C} and A⋅A\pullVec{\mathbf{A}} \cdot \pullVec{\mathbf{A}}, and explain why (A⋅B)⋅C(\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}}) \cdot \mathbf{C} makes no sense.

Compute the number inside the parentheses A⋅B\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} first, then use that number to scale C\mathbf{C}. (Watch out: when computing A⋅A\pullVec{\mathbf{A}} \cdot \pullVec{\mathbf{A}}, squaring −3-3 gives (−3)2=+9(-3)^2 = +9, whereas writing −32=−9-3^2 = -9 gives the wrong answer 4−9=−54 - 9 = -5.)

(A⋅B)C=⟨−5,10⟩(\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}})\mathbf{C} = \langle -5, 10 \rangle, A⋅A=13\pullVec{\mathbf{A}} \cdot \pullVec{\mathbf{A}} = 13, and (A⋅B)⋅C(\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}}) \cdot \mathbf{C} makes no sense because A⋅B=5\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} = 5 is a plain number (a scalar), so you cannot take its dot product with vector C\mathbf{C}.
4

Determine whether each pair of vectors is perpendicular, parallel, or neither: (a) ⟨4,−6⟩\pullVec{\langle 4, -6 \rangle} and ⟨3,2⟩\trackVec{\langle 3, 2 \rangle}, (b) ⟨−4,10⟩\pullVec{\langle -4, 10 \rangle} and ⟨6,−15⟩\trackVec{\langle 6, -15 \rangle}, (c) ⟨2,5⟩\pullVec{\langle 2, 5 \rangle} and ⟨5,2⟩\trackVec{\langle 5, 2 \rangle}.

Check whether the dot product is 00 first; if it isn't, check whether a single number multiplies both components of the first vector into the second. (Watch out: in (b), getting a nonzero dot product of −174-174 only rules out perpendicular, not parallel, so check the multiplier −1.5-1.5; in (c), swapped components with the same signs give a dot product of 2020, not 00.)

(a) Perpendicular (their dot product is 00), (b) Parallel (⟨6,−15⟩=−1.5⟨−4,10⟩\trackVec{\langle 6, -15 \rangle} = \scaleNum{-1.5}\pullVec{\langle -4, 10 \rangle}), (c) Neither (their dot product is 20≠020 \neq 0 and neither is a scalar multiple of the other).
5

Find the angle θ\theta between A=⟨2,5⟩\pullVec{\mathbf{A}} = \pullVec{\langle 2, 5 \rangle} and B=⟨4,−1⟩\trackVec{\mathbf{B}} = \trackVec{\langle 4, -1 \rangle} to the nearest degree.

Divide the actual dot product from the grid by the maximum teamwork ∣A∣∣B∣\pullVec{|\mathbf{A}|}\trackVec{|\mathbf{B}|} the two vectors could have. (Watch out: remember to take the square roots when finding the lengths ∣A∣=29\pullVec{|\mathbf{A}|} = \sqrt{29} and ∣B∣=17\trackVec{|\mathbf{B}|} = \sqrt{17}. Dividing by 29×17=49329 \times 17 = 493 without square roots gives cos⁡−1(3493)≈90∘\cos^{-1}(\tfrac{3}{493}) \approx 90^\circ.)

θ=cos⁡−1(3493)≈82∘\theta = \cos^{-1}(\tfrac{3}{\sqrt{493}}) \approx 82^\circ
6

Let A=⟨1,4⟩\pullVec{\mathbf{A}} = \pullVec{\langle 1, 4 \rangle} and B=⟨2,1⟩\trackVec{\mathbf{B}} = \trackVec{\langle 2, 1 \rangle}. Find the vector projection of A\pullVec{\mathbf{A}} onto B\trackVec{\mathbf{B}}, and split A\pullVec{\mathbf{A}} into a vector A∥\pullVec{\mathbf{A}_{\parallel}} parallel to B\trackVec{\mathbf{B}} and a vector A⊥\perpPiece{\mathbf{A}_{\perp}} perpendicular to B\trackVec{\mathbf{B}}.

B\trackVec{\mathbf{B}} is the track vector, so compare A⋅B\pullVec{\mathbf{A}} \cdot \trackVec{\mathbf{B}} to B⋅B\trackVec{\mathbf{B}} \cdot \trackVec{\mathbf{B}}, scale B\trackVec{\mathbf{B}} by that fraction to get A∥\pullVec{\mathbf{A}_{\parallel}}, and subtract from A\pullVec{\mathbf{A}}. (Watch out: divide by B⋅B=5\trackVec{\mathbf{B}} \cdot \trackVec{\mathbf{B}} = 5 and scale B\trackVec{\mathbf{B}}. Dividing by A⋅A=17\pullVec{\mathbf{A}} \cdot \pullVec{\mathbf{A}} = 17 and scaling A\pullVec{\mathbf{A}} projects onto the wrong vector and gives ⟨617,2417⟩\langle \tfrac{6}{17}, \tfrac{24}{17} \rangle.)

A∥=proj⁡BA=⟨125,65⟩\pullVec{\mathbf{A}_{\parallel}} = \pullVec{\operatorname{proj}_{\trackVec{\mathbf{B}}} \mathbf{A}} = \langle \tfrac{12}{5}, \tfrac{6}{5} \rangle and A⊥=⟨−75,145⟩\perpPiece{\mathbf{A}_{\perp}} = \langle -\tfrac{7}{5}, \tfrac{14}{5} \rangle
7

You pull a wagon 80 feet\trackVec{80}\text{ feet} along flat, horizontal ground with a force of 25 pounds\pullVec{25}\text{ pounds} on a handle held at a 35∘35^\circ angle above the ground. How much work is done, to the nearest tenth of a foot-pound?

Only the horizontal shadow of the 25-pound\pullVec{25}\text{-pound} pull moves the wagon along the 80-foot\trackVec{80}\text{-foot} track, so use cos⁡35∘\cos 35^\circ for the side adjacent to 35∘35^\circ. (Watch out: using sin⁡35∘\sin 35^\circ instead of cos⁡35∘\cos 35^\circ uses the wasted upward pull and gives 1147.2 foot-pounds1147.2\text{ foot-pounds}, and forgetting the angle altogether gives 2000 foot-pounds2000\text{ foot-pounds}.)

2000cos⁡35∘≈1638.3 foot-pounds2000 \cos 35^\circ \approx 1638.3\text{ foot-pounds}
8

A constant force F=8i−3j pounds\pullVec{\mathbf{F}} = \pullVec{8}\mathbf{i} - \pullVec{3}\mathbf{j}\text{ pounds} acts on an object as it moves in a straight line from the point (2,−1)(2, -1) to the point (7,3)(7, 3), where distances are in feet. How much work does the force do?

Subtract the starting point from the ending point to find the displacement vector d\trackVec{\mathbf{d}}, then dot F\pullVec{\mathbf{F}} with d\trackVec{\mathbf{d}}. (Watch out: in the vertical step 3−(−1)=43 - (-1) = 4, dropping the negative sign on −1-1 gives a vertical step of 22 and a wrong answer of 40−6=34 foot-pounds40 - 6 = 34\text{ foot-pounds}.)

28 foot-pounds28\text{ foot-pounds}