Math 2.0

statement proposition

Geometric formula for the dot product

Statement

Let nn be a positive integer, and let uu and vv be nonzero vectors in Rn\mathbb{R}^n. Let u⋅v=u1v1+⋯+unvnu \cdot v = u_1 v_1 + \dots + u_n v_n be their dot product, let ∥u∥\|u\| and ∥v∥\|v\| be their lengths, and let θ\theta be the angle between them. Then u⋅v=∥u∥ ∥v∥cos⁡θ.u \cdot v = \|u\| \, \|v\| \cos \theta.

Remarks

When the angle is defined by its cosine, the formula follows from the definition. The content is that this angle is the angle of elementary geometry. In the plane, write u=∥u∥(cos⁡α,sin⁡α)u = \|u\| (\cos \alpha, \sin \alpha) and v=∥v∥(cos⁡β,sin⁡β)v = \|v\| (\cos \beta, \sin \beta). Then u⋅v=∥u∥ ∥v∥cos⁡(α−β)u \cdot v = \|u\| \, \|v\| \cos(\alpha - \beta) by the addition formula for the cosine. The formula also follows from the law of cosines in the triangle with the vertices 00, uu and vv. If u=0u = 0 or v=0v = 0, then both sides are 00 for each value of θ\theta.

Explanations

L1 human

The dot product is large and positive when two vectors point in nearly the same direction. It is zero when they are perpendicular, and negative when they point in nearly opposite directions. For unit vectors uu and vv, the dot product is just the cosine of the angle between them.

What this node needs for W1
  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

What this needs

To read this node, read these 3 nodes in this order. The foundations come first, and the list ends with this node.

Each node uses the nodes above it. The colour of the bar on a box shows the evidence level, and the box also gives it as text. The list below has the same nodes.
  • no evidence level
  1. Angle between two vectors concept
  2. Length of a vector concept
  3. Geometric formula for the dot product statement

What depends on this

6 nodes use this node, directly or through other nodes.

Sources

  1. Web https://en.wikipedia.org/wiki/Dot_product, Equivalence of the definitions