Dot product and angles
Problem 9.7 · easy
Let \( \displaystyle \mathbf{u} = \langle 4, 2, 1 \rangle \) and \( \displaystyle \mathbf{v} = \langle 0, 2, 5 \rangle \). Find \( \displaystyle \mathbf{u} \cdot \mathbf{v} \) and the angle between them.
- \[ 4 \cdot 0 + 2 \cdot 2 + 1 \cdot 5 = 9 \]Multiply componentwise and add.✓ Proved
- \[ \sqrt{21} \]|u|.✓ Proved
- \[ \sqrt{29} \]|v|.✓ Proved
- \[ \frac{3 \sqrt{609}}{203} \]cos θ = u·v / (|u||v|).✓ Proved
- θ = arccos of that.
Answer \( \mathbf{u}\cdot\mathbf{v} = 9,\quad \theta = \operatorname{acos}{\left(\frac{3 \sqrt{609}}{203} \right)} \approx 68.61^\circ \)
Lines: 4 proved, 1 not checked. The answer was also checked a second way, without looking at the solution. The explanation has not been reviewed yet.
The full receipt
| Line | Status | Checked by | Detail |
|---|---|---|---|
| 1 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| 2 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| 3 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| 4 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| 5 | Not checked | — | a sentence; read, not computed |
| answer, a second way | ✓ Checked independently | sympy 1.14.0 + mpmath 1.3.0 | the law of cosines on the triangle u, v, u − v gives the same angle |
Proved: SymPy reduced the difference between the two sides to zero. Checked independently: a separate
method, named above, confirmed it. Checked numerically: the two sides agree at every sampled point, which is evidence,
not proof. Reviewed: a model or a person read it; that is all a sentence can have. Solution by
generator:structured/dot_product_angle, checked 2026-09-26 with SymPy 1.14.0.