Skip to main content

Vector Operations

  • Situation: Combining, reversing and scaling movements
  • Target: Addition and subtraction · Scalar multiplication · Valid geometric operations
  • Convention: Right-handed orthonormal frame; column vectors; rightmost matrix first; angles in radians unless marked °; lengths in m · Overview

Core concepts​

  • Addition and subtraction: component-wise operations in the same frame; subtraction as addition of the negative
vector addition triangle rule
Figure 1. vector addition triangle rule
  • Scalar multiplication: k positive preserving direction, k negative reversing direction, k=0 giving zero; division only by nonzero scalar
vector negation
Figure 2. vector negation
  • Valid geometric operations: point−point → vector; point+vector → point; vector+vector → vector

  • Affine combinations: point weights summing to one, such as midpoint (A+B)/2; plain point sum dependent on origin

  • Algebra: commutative and associative addition; distributive scalar multiplication; translation order independent of endpoint

Worked example​

Inputs: d=(3,4,0), u=(0,0,2) m; A+d+u=E=(4,5,2) m; E−u−d=A

d+u=[342],k(a+b)=ka+kb,P(t)=(1−t)A+tB\mathbf d+\mathbf u=\begin{bmatrix}3\\4\\2\end{bmatrix},\qquad k(\mathbf a+\mathbf b)=k\mathbf a+k\mathbf b,\qquad P(t)=(1-t)A+tB

Practice​

  • Preparation → prediction → calculation: Prior scene and u; predict endpoints for two move orders; calculate forward and reverse chains; retain d and its scaled versions for length comparisons
  • Record: Assumed exercise inputs; predictions before calculation; calculated answers and optional viewer output in separate columns; no physical measurements
CasePredictionCalculated resultViewer output (optional)
d+u\mathbf d+\mathbf u
−2d-2\mathbf d
(A+B)/2(A+B)/2
  • Optional extension: Midpoint after translating the origin; invariant geometric location of the affine combination

Exercises​

  1. Problem: d+u\mathbf d+\mathbf u
  2. Problem: −2d-2\mathbf d
  3. Problem: (A+B)/2(A+B)/2
  4. Problem: Division of d by zero
Answers and checks
  1. Answer: (3,4,2) m(3,4,2)\ \mathrm m
  2. Answer: (−6,−8,0) m(-6,-8,0)\ \mathrm m
  3. Answer: (2.5,3,0) m(2.5,3,0)\ \mathrm m
  4. Answer: Undefined

Connections​