3D Dot Product
Computes the dot product of two vectors in R3 from their components in a single line.
—
Dot product u · v in 3D
The dot product of u = (u₁, u₂, u₃) and v = (v₁, v₂, v₃) is the scalar u · v = u₁v₁ + u₂v₂ + u₃v₃ = |u|·|v|·cos θ, with θ being the angle between them. The vectors are perpendicular exactly when u · v = 0, and parallel when u · v = ±|u||v|. Take (1, 2, 3) · (4, -5, 6) = 4 - 10 + 18 = 12 as a quick check. It's commutative and distributive, and it hands you the cosine similarity cos θ = (u · v) / (|u|·|v|) that turns up all over ML.
Applications
It shows up as the work a force does in physics, W = F · d, in the scalar projection of one vector onto another, and in cosine similarity for ML embeddings such as NLP word vectors, recommender systems and image retrieval. You'll also meet it in orthogonal Gram-Schmidt decomposition, ray-plane intersection tests, and any time you need the angle between two directions in 3D geometry or robotics.
FAQ
Why is u · v a scalar? It measures how much of u lines up with v, which is a single magnitude with no direction attached. The geometric form |u|·|v|·cos θ spells that out.
What if u · v is negative? Then θ is obtuse, greater than 90°, and the projections point in opposite directions.
What is the difference between dot product and cross product? The dot product gives back a scalar, a projection, and works in any number of dimensions. The cross product gives back a vector that's perpendicular to both, and it only exists in 3D.
Related Tools
3D Dot Product Calculator
Calculate the dot product (scalar product) of two 3D vectors from their x, y and z coordinates. Useful in physics, computer graphics and vector geometry.
Vector Projection Calculator
Computes scalar and vector projection of vector u onto vector v in three dimensions using dot product and unit vector.
3D Cross Product
Computes the cross product of two vectors in R3 from their components in a single line.
DOT Staking Rewards
Estimates yearly DOT staking rewards at 11% average APR.
IPI Tax Calculator
Calculate the Brazilian IPI tax on a product from the tax base and rate. Instantly see the tax amount and the total price with IPI included.
3D Cross Product of Two Vectors
Type the x, y and z components of two vectors and get a × b, the vector perpendicular to both, whose length equals the area of the parallelogram they span.
The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.