平面向量的数量积公式为:
\[
\mathbf{a} \cdot \mathbf{b} = |\mathbf{a}| |\mathbf{b}| \cos \theta
\]
其中,$\mathbf{a} = (x_1, y_1)$ 和 $\mathbf{b} = (x_2, y_2)$,则数量积可以表示为:
\[
\mathbf{a} \cdot \mathbf{b} = x_1 x_2 + y_1 y_2
\]
这个公式表示两个向量的数量积等于它们对应坐标的乘积的和。同时,$\theta$ 是向量 $\mathbf{a}$ 和 $\mathbf{b}$ 之间的夹角。