叉积与面积
二维叉积是两个向量张成的平行四边形的有符号面积。符号表示转向是逆时针还是顺时针。
5 分钟难度 1/3交互演示区域不展示广告。
u × v4.180Area4.18Angle90.0°OrientationCCW
u × v = (2.13)(1.84) − (0.57)(-0.49) = 4.180
Counter-clockwise: u → v turns left.
The cross product magnitude is the area of the parallelogram spanned by u and v; its sign records orientation. Zero means the vectors are parallel. In 2D this is the signed area form; in 3D the same number points along the perpendicular axis.
你看到的是什么
1
在二维中,u × v = u? v? ? u? v?,即把 u 和 v 作为列向量构成的矩阵的行列式。
2
绝对值是平行四边形面积。逆时针转向为正,顺时针转向为负。
3
叉积为零表示两个向量平行,平行四边形退化为一条线。
为什么重要
叉积决定方向、力矩、表面积以及多边形是左转还是右转,是图形学和几何学的核心。
复杂度与细节
对两个二维向量,叉积和面积都是 O(1)。
常见问题
负面积意味着什么?+
大小仍然是面积。负号表示从 u 到 v 的转向是顺时针。
为什么平行向量的叉积为零?+
平行向量张不成二维面积,平行四边形退化,面积为 0。