Dot product u·v = |u||v|cos(θ). Zero means orthogonal (perpendicular). Negative means obtuse angle (>90°).
Cross product u×v gives a vector perpendicular to both. Its magnitude = area of the parallelogram they form.
Vectors in 3D - Interactive Visualization
Vectors are the fundamental language of machine learning. Every data point, model weight, and gradient is a vector. This interactive visualization lets you manipulate two 3D vectors u and v with xyz sliders, instantly seeing their sum, cross product direction, angle between them, and the plane they span. When the dot product equals zero, the vectors are orthogonal - a concept at the heart of PCA, attention mechanisms, and regularization.
Adjust xyz components and see vector operations update instantly
Visualize u+v (sum), u×v (cross product), and the angle between them
See when two vectors are orthogonal (dot product = 0)
Foundation for understanding PCA, attention, and embeddings
Part of the EngineersOfAI Interactive 3D - free interactive visualizations covering every major concept in machine learning and AI engineering. Hover any element for a plain-English explanation. No code required.