2D Dot Product Calculator

Compute the dot product a·b = a_x·b_x + a_y·b_y of two 2D vectors, including the projection length of a onto b.

📐 計算公式
二維點積:a·b = a_x·b_x + a_y·b_y;a 在 b 上投影長度 = a·b ÷ |b|(|b| = √(b_x²+b_y²))。校驗:a、b 的四個座標均必填,空白不等於 0;|b|=0 時點積照常輸出,投影長度顯示“無定義”。判據:無固定分級,投影帶符號,點積為 0 即兩向量垂直。

輸入兩向量分量,求點積與 a 在 b 上的投影長度。

Formula & Standard References

Item Formula / Note Source / Standard
Dot producta·b = aₓbₓ + a_yb_yVector algebra
Geometric forma·b = |a||b|cos θAnalytic geometry
ProjectionProjection scalar = (a·b)/|b|Vector projection
Sign meaningPositive acute, negative obtuseVector algebra
Orthogonalitya·b = 0 perpendicularGeometric criterion
Distributivea·(b+c) = a·b + a·cVector algebra laws
📌 計算說明
  • a·b = a_xb_x + a_yb_y。
  • 3,4·1,0 = 3。