3D/2D Vector Operations Solver
Calculate dot product, cross product, magnitude, and angles for 2D and 3D vectors. Includes visual canvas representation of vector addition.
Vector A
Vector B
About
Vectors are fundamental to physics and engineering, representing quantities with both magnitude and direction. While manual calculation of the cross product for 3D vectors involves complex determinant matrices, errors are common. This tool automates these linear algebra operations. It supports both R2 (2D plane) and R3 (3D space) systems.
Visualizing the resulting vector from a Cross Product (orthogonal to the plane of the two input vectors) is notoriously difficult for students. This solver provides the numeric components along with magnitude and angle calculations, essential for mechanics and electromagnetism problems.
Formulas
Cross Product Determinant:
a × b = ijkaxayazbxbybz
Resulting Components:
cx = aybz − azby
cy = azbx − axbz
cz = axby − aybx
Reference Data
| Operation | Formula | Result Type |
|---|---|---|
| Magnitude | |v| = √(x2 + y2 + z2) | Scalar |
| Dot Product | a ⋅ b = x1x2 + y1y2... | Scalar |
| Cross Product | a × b | Vector |
| Angle (θ) | cos-1( (a ⋅ b) / (|a| |b|) ) | Degrees/Radians |
| Unit Vector | u = v / |v| | Vector |
| Projection | projba = ( (a ⋅ b) / |b|2 ) b | Vector |
| Distance | |a - b| | Scalar |
| Area (Parallelogram) | |a × b| | Scalar |