Skip to content
All apps

Cross and scalar triple products in 3D

About this app

Drag vectors to explore perpendicular direction, parallelogram area and the right-hand rule. Add a third vector to investigate signed volume and coplanarity.

With explain mode: an AI tutor walks you through the app, points out what matters in the scene and answers your questions.

Cross product and scalar triple product

The cross product a × b = (a₂b₃ − a₃b₂, a₃b₁ − a₁b₃, a₁b₂ − a₂b₁) is a vector. It is perpendicular to a and b, its length |a||b| sin φ equals the area of the parallelogram spanned by a and b, and a, b, a × b form a right-handed system (thumb, index and middle finger of the right hand). Swapping the factors reverses the direction: b × a = −(a × b). The scalar triple product [a b c] = a·(b × c) is a number: the signed volume of the parallelepiped, positive for a right-handed and negative for a left-handed system.

What the app shows

The 3D scene shows a, b, the parallelogram and the arrow a × b with an angle arc and direction of rotation. The values panel lists a × b, |a × b|, |a||b| sin φ, the angle φ, the area, and the checks a·(a × b) and b·(a × b), both zero. In triple product mode c is added; the app shows the parallelepiped, [a b c], the volume and the orientation. Presets such as e₁ × e₂, parallel, orthogonal, coplanar and acute angle load typical cases.

Try it yourself

Press “swap a and b” and watch the arrow flip to the other side. Load the “parallel” preset: the parallelogram collapses and a × b becomes zero. In triple product mode, the “coplanar” preset puts c into the plane of a and b, so [a b c] = 0 and the three vectors are linearly dependent. Arrow tips can be dragged horizontally; the height is set with the sliders.

Frequently asked questions

What does the cross product mean geometrically?
The cross product a × b is a vector perpendicular to both a and b. Its magnitude is the area of the parallelogram they span, |a||b| sin φ. Its direction follows the right-hand rule.
Why is the cross product not commutative?
Because orientation matters: a, b, a × b form a right-handed system. Swapping a and b forces the result to point the other way to keep the system right-handed. Hence b × a = −(a × b).
What does the scalar triple product compute?
The triple product [a b c] = a·(b × c) is the signed volume of the parallelepiped spanned by a, b and c. If it is zero, the vectors lie in one plane and are linearly dependent. It equals the determinant of the matrix with a, b, c as columns.
Which presets does the app offer?
Standard, e₁ × e₂, parallel, orthogonal, coplanar and acute angle. They let you see special cases such as a × b = 0 or a zero volume directly in 3D.

Subject: Analytic geometry

More from Analytic geometry

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps