# 6.4 — Dot products, angles, and projections

Source: https://cca.twango.dev/Precalculus-Honors/homework/chapter-6/6.4-1

# 6.4 — Dot products, angles, and projections

Student work by James Ding; assignment “#1–39 x2,” with odd-numbered work shown. The remaining problems are in [[6.4-2]]. Textbook statements are absent.

## 1 and 3 — Dot products

1. $a\cdot b=(1)(1)+(1)(-1)=1-1=0$.

3. $a\cdot b=(p)(p)+(q)(-q)=p^2-q^2$.

## 5 — Parallel and perpendicular vectors

**a.** $b=-4\mathbf i+6\mathbf j$, $d=2\mathbf i-3\mathbf j$. Since $b=-2d$, $b\parallel d$.

**b.** $c=3\mathbf i+2\mathbf j$.

$$
c\cdot b=3(-4)+2(6)=0,\quad c\cdot d=3(2)+2(-3)=0.
$$

Thus $c\perp b$ and $c\perp d$.

## 7 — Distributive dot product

Written inputs: $a=2\mathbf i+3\mathbf j$, $b=3\mathbf i+5\mathbf j$, $c=\mathbf i+2\mathbf j$.

The original writes

$$
a\cdot(b+c)=a\cdot b+a\cdot c
=[2(3)+3(8)]+[2(1)+3(2)]=30+8=38.
$$

> [!correction] Component used twice
> For the written $b$, $a\cdot b=2(3)+3(5)=21$. Also $a\cdot c=8$, so the total is **29**. The original uses 8, the second component of $b+c$, inside $a\cdot b$ and then adds $a\cdot c$ again.

## 9 — Another distributive calculation

Written inputs: $a=3\mathbf i-4\mathbf j$, $b$ appears to be $2\mathbf i-4\mathbf j$, and $c=-3\mathbf i-5\mathbf j$. The first digit in $b$ is ambiguous.

The original calculation uses $3(8)+(-4)(-4)=40$ for $a\cdot b$, then $3(-3)+(-4)(-5)=11$ for $a\cdot c$, and boxes **51**.

> [!correction] First component discrepancy
> The listed $b$ appears to begin with **2**, while the multiplication clearly uses **8**. With a first component of 2, $a\cdot b=22$ and the total is **33**. If the textbook intended $b=8\mathbf i-4\mathbf j$, the original 51 is consistent. The missing problem statement prevents choosing a different input silently.

## 11, 13, 15 — Angles between vectors

The formula used is $\theta=\cos^{-1}((a\cdot b)/(|a||b|))$.

| Problem | $a$ | $b$ | $a\cdot b$ | $|a|$ | $|b|$ | Original angle |
|---|---|---|---|---|---|---|
| 11 | $\mathbf i+\sqrt3\mathbf j$ | $-\mathbf i+\sqrt3\mathbf j$ | $-1+3=2$ | 2 | 2 | $\cos^{-1}(2/4)=60^\circ$ |
| 13 | $\mathbf i+2\mathbf j$ | $4\mathbf i+3\mathbf j$ | $4+6=10$ | $\sqrt5$ | 5 | $\cos^{-1}(10/(5\sqrt5))=26.5651^\circ$ |
| 15 | $2\mathbf i+5\mathbf j$ | $3\mathbf i-4\mathbf j$ | $6-20=-14$ | $\sqrt{29}$ | 5 | $\cos^{-1}(-14/(5\sqrt{29}))=121.329^\circ$ |

## 17, 19, 21 — Multiples and perpendicular choices

17(a). $2(-\mathbf i+\mathbf j)=-2\mathbf i+2\mathbf j$.

17(b). For $a=-\mathbf i+\mathbf j$, orthogonality requires $-b_1+b_2=0$. The chosen $b_1=b_2=-1$ gives $b=-\mathbf i-\mathbf j$.

19(a). $2(4\mathbf i-3\mathbf j)=8\mathbf i-6\mathbf j$.

19(b). $4b_1-3b_2=0$; choose $b_1=3,b_2=4$, giving $3\mathbf i+4\mathbf j$.

21(a). $2(x\mathbf i+y\mathbf j)=2x\mathbf i+2y\mathbf j$.

21(b). $xb_1+yb_2=0$; choose $b_1=y,b_2=-x$, giving $y\mathbf i-x\mathbf j$.

These are choices rather than all possible perpendicular vectors. The general construction is zero if the input vector is zero.

## 23 and 25 — Scalar components

23. $v=\mathbf j$, $a=\mathbf i+\mathbf j$; $a\cdot v=1$, $|a|=\sqrt2$.

$$
\operatorname{comp}_a v=\frac{a\cdot v}{|a|}=\frac1{\sqrt2}=\frac{\sqrt2}2.
$$

25. $v=\mathbf i+\mathbf j$, $a=4\mathbf i-3\mathbf j$; $a\cdot v=1$, $|a|=5$.

$$
\operatorname{comp}_a v=\frac15.
$$

## 27 — Orthogonal-basis decomposition

$v=\mathbf j$, $a=\mathbf i+\mathbf j$, $b=\mathbf i-\mathbf j$. The page checks $a\cdot b=0$ and calculates

$$
a\cdot v=1,\quad a\cdot a=2,\quad b\cdot v=-1,\quad b\cdot b=2.
$$

Original boxed result: $v=\frac12a+\frac12b$.

> [!correction] Sign of the second coefficient
> The dot products give $v=\frac12a-\frac12b=\mathbf j$. The original plus sign instead produces $\mathbf i$.
