Skip to main content

Chapter 27
Vectors and Dot/Cross Product Relations

Geometry and Space
Author: Mark Anthony Higgins
© Mark Anthony Higgins 11 October 2025
Revised Date: 15 June 2026
Audio Overview
Flow Algebra
flow "Vectors and Dot/Cross Product Relations"

# ---------- CONCEPT ----------
# Vectors describe directed magnitude — the fundamental carriers of spatial coherence.
# The dot product measures alignment (scalar projection), while the cross product measures rotation (vector perpendicular to both inputs).
# Together they form the algebra of directional relation — quantifying how flows align, oppose, or rotate within space.

# ---------- STATES ----------
state VectorSystem(V):
  Vector:
    description: "v = (v₁, v₂, v₃) — ordered triple representing magnitude and direction."
  Magnitude:
    description: "‖v‖ = √(v·v) — scalar length of the vector."
  DotProduct:
    description: "u·v = Σ uᵢvᵢ = ‖u‖‖v‖cosθ — scalar measure of alignment."
  CrossProduct:
    description: "u×v — vector orthogonal to both u and v, magnitude ‖u‖‖v‖sinθ, orientation by right-hand rule."
  ScalarProjection:
    description: "proj_v(u) = (u·v)/‖v‖ — signed length of u along v."
  VectorProjection:
    description: "proj⃗_v(u) = (u·v)/(‖v‖²) v — component of u in direction v."
  TripleProduct:
    description: "(u×v)·w — scalar volume of parallelepiped spanned by u,v,w (signed)."

# ---------- PARAMETERS ----------
params:
  dimension: 3
  field: ℝ
  orthogonality: "u·v = 0"
  orientation: "Right-hand rule for cross product"
  closure: true

# ---------- INVARIANTS ----------
invariants:
  - "Dot product symmetric: u·v = v·u."
  - "Cross product antisymmetric: u×v = −(v×u)."
  - "Orthogonality: u·v = 0 ⇒ perpendicular vectors."
  - "Magnitude invariant under rotation: ‖R v‖ = ‖v‖ for R orthogonal."
  - "Distributivity: u·(v+w) = u·v + u·w; u×(v+w) = u×v + u×w."
  - "Scalar triple identity: (u×v)·w = (v×w)·u = (w×u)·v."
  - "Vector triple product: u×(v×w) = (u·w)v − (u·v)w."
  - "Mixed product absolute value gives volume: |(u×v)·w| = volume of parallelepiped."

# ---------- TRANSFORMS ----------
transforms:
  ComputeDot(u,v):
    rule: "u·v = u₁v₁ + u₂v₂ + u₃v₃."
  ComputeCross(u,v):
    rule: "u×v = (u₂v₃ − u₃v₂, u₃v₁ − u₁v₃, u₁v₂ − u₂v₁)."
  Magnitude(v):
    rule: "‖v‖ = √(v₁² + v₂² + v₃²)."
  ComputeAngle(u,v):
    rule: "cosθ = (u·v)/(‖u‖‖v‖)."
  Projection(u,v):
    rule: "proj⃗_v(u) = ((u·v)/(‖v‖²)) v."
  OrthogonalComponent(u,v):
    rule: "u⊥ = u − proj⃗_v(u)."
  ScalarTriple(u,v,w):
    rule: "(u×v)·w."
  VectorTriple(u,v,w):
    rule: "u×(v×w) = (u·w)v − (u·v)w."
  CheckParallel(u,v):
    condition: "u×v = 0 ⇒ vectors parallel (same or opposite direction)."
  CheckCoplanar(u,v,w):
    condition: "(u×v)·w = 0 ⇒ vectors coplanar."

# ---------- MONITORS ----------
monitors:
  OrthogonalityTest:
    measure: "u·v"
    output: "Zero ⇒ perpendicular."
  ParallelismTest:
    measure: "‖u×v‖"
    output: "Zero ⇒ parallel or antiparallel."
  AngleMonitor:
    measure: "θ = arccos((u·v)/(‖u‖‖v‖))"
    meaning: "Checks angular coherence between vectors."
  CrossMagnitudeCheck:
    measure: "‖u×v‖ − ‖u‖‖v‖|sinθ|"
    meaning: "Zero ⇒ correct cross magnitude."
  TripleProductSign:
    meaning: "Sign((u×v)·w) gives orientation (right vs left handed)."
  RotationConsistency:
    meaning: "Ensure right-hand rule maintained under transformation."

# ---------- EQUATIONS ----------
equations:
  - "u·v = u₁v₁ + u₂v₂ + u₃v₃ = ‖u‖‖v‖\\cosθ"
  - "u×v = (u₂v₃ − u₃v₂, u₃v₁ − u₁v₃, u₁v₂ − u₂v₁)"
  - "‖u×v‖ = ‖u‖‖v‖|\\sinθ|"
  - "proj_v(u) = \\frac{u·v}{‖v‖²}v"
  - "u×(v×w) = (u·w)v − (u·v)w"
  - "(u×v)·w = \\det[u,v,w]"
  - "‖u×v‖ = \\text{area of parallelogram formed by }u,v"
  - "|(u×v)·w| = \\text{volume of parallelepiped formed by }u,v,w"

# ---------- NOTES ----------
notes:
  - "The dot product captures alignment — the scalar coherence between two directions."
  - "The cross product captures rotation — the perpendicular coherence orthogonal to both directions."
  - "Dot and cross are complementary: one measures shared alignment, the other independent rotation."
  - "The scalar triple product combines them to measure volumetric coherence — how three flows enclose space."
  - "Vector triple products express nested interactions, preserving orientation and directional balance."
  - "In Flow Algebra, dot and cross represent the dual aspects of vector coherence: projection (alignment) and rotation (orthogonal generation) — the foundation of geometric interaction."
Explanatory Notes

Vectors are the language of direction and magnitude — the foundation of geometric coherence.
They describe how structure extends through space, encoding not only position and distance but also orientation and balance.  From vectors arise two fundamental operations: the dot product, which measures alignment, and the cross product, which measures rotation.

Together, these two operations describe how flows combine, align, and oppose within the spatial field.

A vector v=(v1,v2,v3)\mathbf{v} = (v_1, v_2, v_3) defines a directed magnitude in three-dimensional space. Its length

\[ \| \mathbf{v} \| = \sqrt{v_1^2 + v_2^2 + v_3^2} \]

quantifies its intensity or displacement.
Two vectors can be compared through the dot product,

\[ \mathbf{u} \cdot \mathbf{v} = u_1v_1 + u_2v_2 + u_3v_3 = \|\mathbf{u}\|\,\|\mathbf{v}\|\cos\theta \]

which measures their degree of alignment.

  • If the dot product is positive, the vectors point roughly in the same direction;
  • if zero, they are perpendicular — completely independent;
  • if negative, they oppose one another.

The dot product therefore expresses scalar coherence — how much one vector contributes to another’s direction.

The cross product,

\[ \mathbf{u} \times \mathbf{v} = (u_2v_3 - u_3v_2,\, u_3v_1 - u_1v_3,\, u_1v_2 - u_2v_1) \]

produces a new vector perpendicular to both u\mathbf{u} and v\mathbf{v}.
Its magnitude,

\[ \|\mathbf{u} \times \mathbf{v}\| = \|\mathbf{u}\|\,\|\mathbf{v}\|\,|\sin\theta| \]

represents the area of the parallelogram formed by the two vectors.
Its direction follows the right-hand rule, establishing orientation within the three-dimensional field.
The cross product therefore expresses rotational coherence — the perpendicular balance of interacting directions.

From these two products arise the projection relations:
the scalar projection (the shadow of one vector along another),

\[ \mathrm{proj}_{\mathbf{v}}(\mathbf{u}) = \frac{\mathbf{u} \cdot \mathbf{v}}{\|\mathbf{v}\|^2}\,\mathbf{v} \]

and the vector projection,

\[ \mathrm{proj}_{\mathbf{v}}(\mathbf{u}) = \frac{\mathbf{u} \cdot \mathbf{v}}{\|\mathbf{v}\|^2}\,\mathbf{v} \]

which gives the full vector component of u\mathbf{u} along v\mathbf{v}.
These allow any vector to be decomposed into parallel and orthogonal parts, revealing the internal balance of direction.

When three vectors interact, coherence extends into volume.
The scalar triple product,

\[ (\mathbf{u} \times \mathbf{v}) \cdot \mathbf{w} \]

gives the signed volume of the parallelepiped spanned by the three vectors.
Its sign distinguishes handedness (orientation), while its magnitude gives spatial extent — a measure of volumetric coherence.

The vector triple product,

\[ \mathbf{u} \times (\mathbf{v} \times \mathbf{w}) = (\mathbf{u} \cdot \mathbf{w})\,\mathbf{v} - (\mathbf{u} \cdot \mathbf{v})\,\mathbf{w} \]

encodes nested relationships between flows, maintaining both orientation and internal symmetry.

Together, the dot and cross products reveal how structure maintains balance through direction, magnitude, and rotation.  They are dual expressions of coherence — the dot measuring alignment (shared direction), the cross measuring independence (orthogonal rotation).

Every geometric interaction, from mechanical force to electromagnetic field, emerges from this duality.

In Flow Algebra, these vector operations represent the two fundamental modes of relation:

  • Dot product — convergent coherence: alignment, projection, and shared direction.
  • Cross product — divergent coherence: rotation, independence, and orthogonal balance.

Through their interplay, the geometry of space becomes a system of self-consistent flows —
a structure where every direction interacts, balances, and stabilises within the field of coherence.

Related Chapters
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ