Calculate from matching components
Enter one component per row. Binary operations need vectors of the same length; cross product needs exactly three components. Components may have compatible linear units, but every component, including zero, needs its unit. Norm keeps that common unit; normalization divides it away.
The dot product conjugates the first vector: ⟨a,b⟩=Σ conjugate(aⱼ)bⱼ. The norm is sqrt(Σ |aⱼ|²). Projection of a onto b is b⟨b,a⟩/⟨b,b⟩ and keeps the unit of a. The steps show each actual component product and running sum.
A zero vector has norm zero, but it cannot be normalized or used as a projection direction. Geometric angle requires real, nonzero vectors and follows the selected angle unit. Complex dot products and projections use the stated Hermitian convention.
Worked example: the norm of (3,4) is 5
Square the component magnitudes: 3²=9 and 4²=16. Their sum is 25, so the norm is sqrt(25)=5. For components 3*m and 4*m, the norm is 5 m and the normalized vector is the dimensionless pair (3/5,4/5).
Project (3,4) onto (1,0): the numerator is 1×3+0×4=3 and the denominator is 1²+0²=1, giving (3,0). For a complex check, ⟨(i),(i)⟩=(−i)i=1 because the first component is conjugated.
Load example fills the form without calculating. Choose its primary action to work it out.
Sources and related calculators
- Margalit and Rabinoff, Interactive Linear Algebra §6.1: dot products and length — checked 1 November 2026.
- Interactive Linear Algebra §6.3: projection onto a line — checked 1 November 2026.
- NumPy vdot: conjugating the first vector — checked 1 November 2026.
The method and worked example here are original. Sources describe the underlying mathematics or notation; calculation choices and limits are in the precision and syntax guide.