- A — x
- 1
- A — y
- 2
- A — z
- 3
- B — x
- 4
- B — y
- 5
- B — z
- 6
7.348469
Open with these values7.348469
Result: 7.348469The cross product of (1, 2, 3) and (4, 5, 6) is (−3, 6, −3), and its length is √54 ≈ 7.3485. That length is the area of the parallelogram the two vectors span, so it is zero for parallel vectors and largest when they meet at a right angle.
Held fixed: A — x 1.0000, A — y 2.0000, A — z 3.0000, B — x 4.0000, B — y 5.0000.
| B — z | Result |
|---|---|
| 0.0000 | 19.442222 |
| 2.0000 | 15.165751 |
| 4.0000 | 11.045361 |
| 6.0000Your value | 7.348469 |
| 8.0000 | 5.099020 |
| 10.0000 | 6.164414 |
| 12.0000 | 9.486833 |
7.348469
Open with these values1.000000
Open with these values41.833001
Open with these values|A × B| = √(cx² + cy² + cz²)
| ax, ay, az, bx, by, bz | A × B | Magnitude |
|---|---|---|
| 1, 0, 0, 2, 0, 0 | (0, 0, 0) | 0.000000 |
| 1, 0, 0, 0, 1, 0 | (0, 0, 1) | 1.000000 |
| 2, 0, 0, 0, 3, 0 | (0, 0, 6) | 6.000000 |
| 1, 2, 3, 4, 5, 6 | (−3, 6, −3) | 7.348469 |
| -1, -2, -3, -4, -5, -6 | (−3, 6, −3) | 7.348469 |
| 3, -3, 1, 4, 9, 2 | (−15, −2, 39) | 41.833001 |
First find the cross product A × B = (ay·bz − az·by, az·bx − ax·bz, ax·by − ay·bx), then take its length √(cx² + cy² + cz²). For (1, 2, 3) and (4, 5, 6) the cross product is (−3, 6, −3), so the magnitude is √54 ≈ 7.3485.
It equals the area of the parallelogram spanned by the two vectors. Geometrically it is |A| |B| sin θ, where θ is the angle between them, so it grows as the vectors become more perpendicular.
Whenever the two vectors are parallel or anti-parallel, because sin θ is then zero. It is also zero if either vector is the zero vector, and it is largest when the vectors meet at a right angle.
The dot product returns a single number and uses cos θ, so it is largest for parallel vectors. The cross product returns a vector perpendicular to both inputs and uses sin θ, so its length is largest for perpendicular vectors.
The cross product is defined for 3D vectors, so treat a 2D vector as (x, y, 0). The result then points along the z axis and its length is the area of the parallelogram in the plane.
Information, not professional advice.
Diese Seite gibt es auch auf Deutsch.
Zu Deutsch wechseln