← 返回资讯屏轩教育 · 行业资讯

The Scalar Product of Two Vectors | 两向量的标量积

2026-08-02 22:38 · 本文部分内容由AI辅助创作

📚 The Scalar Product of Two Vectors | 两向量的标量积

In IB Mathematics, the scalar product (also known as the dot product) is a fundamental operation that takes two vectors and returns a single number, or scalar. It has profound geometric significance, connecting lengths and the angle between vectors. Mastery of the scalar product is essential for solving problems involving perpendicularity, projections, and angles in both two and three dimensions.

在 IB 数学中,标量积(又称点积)是一种基本运算,它接受两个向量并返回一个数值(标量)。它具有深刻的几何意义,将向量的模长与夹角联系起来。掌握标量积对于解决涉及垂直关系、投影以及二维和三维空间中的夹角问题至关重要。


1. Definition of the Scalar Product | 标量积的定义

Given two non-zero vectors a and b, their scalar product is defined as the product of their magnitudes and the cosine of the angle between them. The angle θ is the angle formed when the two vectors are placed tail to tail, so 0° ≤ θ ≤ 180°. The outcome of this operation is a real number, never a vector.

给定两个非零向量 a 和 b,它们的标量积定义为两向量模长与夹角余弦的乘积。夹角 θ 是两向量尾尾相接(起点重合)时形成的角,因此 0° ≤ θ ≤ 180°。这一运算的结果是一个实数,而绝不是向量。

a · b = |a| |b| cos θ

If either vector is the zero vector, the scalar product is defined to be 0. This convention keeps the algebra consistent, because the zero vector has no well-defined direction and therefore no well-defined angle.

如果任一向量为零向量,则标量积定义为 0。这一约定保证了代数运算的一致性,因为零向量没有确定的方向,也就没有确定的夹角。

For example, if |a| = 3, |b| = 2 and θ = 60°, then a · b otice how a purely geometric statement about directions is converted into a single number.

例如,若 |a| = 3,|b| = 2 且 θ = 60°,则 a · b = 3 × 2 × cos 60° = 3 × 2 × ½ = 3。可以看到,一个纯几何的方​​向陈述被转换成了一个数值。


2. Geometric Interpretation | 几何意义

Geometrically, the scalar product a · b equals the product of the length of one vector and the length of the projection of the other vector onto it. More precisely, a · b = |a| (|b| cos θ) = |b| (|a| cos θ). The quantity |b| cos θ is the signed length of the projection of b onto a; it may be positive, zero or negative depending on θ.

从几何角度看,标量积 a · b 等于其中一个向量的模长与另一个向量在其上的投影长度的乘积。更准确地说,a · b = |a| (|b| cos θ) = |b| (|a| cos θ)。其中 |b| cos θ 是 b 在 a 上的投影的带符号长度,其正负取决于 θ。

If the angle is acute (0° < θ < 90°), the scalar product is positive; if the angle is obtuse (90° < θ < 180°), it is negative; and when θ r product is zero, reflecting the fact that no part of one vector extends along the other.

如果夹角为锐角 (0° < θ < 90°),标量积为正;若为钝角 (90° < θ < 180°),则为负;当 θ = 90° 时,标量积为零,这反映了一个向量没有沿另一个向量方向的投影分量。

a · b > 0 ⇔ θ 为锐角 a · b = 0 ⇔ θ = 90° a · b < 0 ⇔ θ 为钝角

This sign rule is one of the most examinable ideas in the topic: it lets you decide whether two vectors point roughly in the same direction, in opposite directions, or are perpendicular, without computing the angle at all.

这条符号法则是本专题中最常考的思想之一:它让你无需计算具体角度,就能判断两个向量大致同向、反向还是垂直。


3. Algebraic Properties | 代数性质

The scalar product behaves like an ordinary product in many ways, but not in all of them. The three properties below are the ones you are expected to state and use in proofs and algebraic manipulation.

标量积在许多方面与普通乘法相似,但并非完全相同。以下三条性质是考试中要求你能够叙述并用于证明和代数变形的基本性质。

Note carefully that the associative law (a · b) · c has no meaning here, because a · b is a scalar and you cannot take the dot product of a scalar with a vector.

请特别注意,结合律 (a · b) · c 在这里没有意义,因为 a · b 是一个标量,而标量与向量之间无法作点积。


4. Component Form in 2D and 3D | 二维与三维的分量形式

In practice you rarely know the magnitudes and the angle directly. Instead, vectors are given in component form, and the scalar product is computed by multiplying matching components and adding the results.

实际解题时,你很少直接知道模长和夹角。向量通常以分量形式给出,此时只需将对应分量相乘后求和即可得到标量积。

a · b = a₁b₁ + a₂b₂ (二维)

a · b = a₁b₁ + a₂b₂ + a₃b₃ (三维)

For instance, if a = (2, −1, 3) and b = (1, 4, −2), then a · b The negative sign immediately tells you that the angle between the two vectors is obtuse.

例如,若 a = (2, −1, 3),b = (1, 4, −2),则 a · b = 2 × 1 + (−1) × 4 + 3 × (−2) = 2 − 4 − 6 = −8。负号立刻告诉你这两个向量之间的夹角是钝角。

广告 / Sponsored

The component formula is a consequence of distributivity and the fact that the basis vectors i, j, k are mutually perpendicular unit vectors, so i · i = j · j = k · k = 1 and i · j = j · k = k · i = 0.

分量公式可由分配律推出,其基础是基向量 i、j、k 是互相垂直的单位向量,因此 i · i = j · j = k · k = 1,而 i · j = j · k = k · i = 0。


5. Finding the Angle Between Two Vectors | 求两向量的夹角

Rearranging the geometric definition gives the standard formula for the angle between two vectors. This is the single most frequently used application of the scalar product in IB and A Level examinations.

将几何定义变形,就得到了求两向量夹角的标准公式。这是 IB 与 A Level 考试中标量积最常用的应用。

cos θ = (a · b) ÷ (|a| |b|)

Because the range of the inverse cosine function is 0° to 180°, the formula always returns the correct angle between the two vectors, even when that angle is obtuse. You should always state the answer to a sensible degree of accuracy, typically one decimal place in degrees or three significant figures in radians.

由于反余弦函数的值域为 0° 到 180°,该公式总能给出两向量之间正确的夹角,即使该角为钝角。作答时应给出合理的精度,通常保留到小数点后一位(角度制)或三位有效数字(弧度制)。

Worked example: take a = (2, −1, 3) and b = (1, 4, −2) again. We already have a · b = −8, |a| = √4 + 1 + 9 = √14, and |b| = √1 + 16 + 4 = √21. Therefore cos θ = −8 ÷ √294 ≈ −0.4666, so θ ≈ 117.8°.

例题:仍取 a = (2, −1, 3) 与 b = (1, 4, −2)。已算得 a · b = −8,|a| = √4 + 1 + 9 = √14,|b| = √1 + 16 + 4 = √21。因此 cos θ = −8 ÷ √294 ≈ −0.4666,从而 θ ≈ 117.8°。


6. Perpendicularity and Parallelism | 垂直与平行条件

o the whole product vanishes. This test works equally well in two and three dimensions and is the standard tool for finding unknown constants.

两个非零向量垂直,当且仅当它们的标量积为零。这是因为 cos 90° = 0,使整个乘积消失。该判定在二维和三维中同样适用,是求未知常数的标准工具。

Two non-zero vectors are parallel if and only if one is a scalar multiple of the other, which is equivalent to a · b = ±|a| |b|. In component form this means the ratios of corresponding components are equal, provided no component is zero.

两个非零向量平行,当且仅当其中一个是另一个的标量倍,这等价于 a · b = ±|a| |b|。用分量表示,就是对应分量之比相等(前提是分母不为零)。

Example: find k such that a = (k, 2, −1) is perpendicular to b = (3, −1, 2). Setting a · b = 3k − 2 − 2 = 0 gives 3k = 4, so k = 4 ÷ 3.

例:求 k,使 a = (k, 2, −1) 与 b = (3, −1, 2) 垂直。令 a · b = 3k − 2 − 2 = 0,得 3k = 4,所以 k = 4 ÷ 3。


7. Projections and Resolutes | 投影与分量

The scalar product gives both the length of the projection of one vector onto another and the vector of that projection. The signed projection length of b onto a is (a · b) ÷ |a|, and the projection vector itself is the scalar multiple ((a · b) ÷ (a · a)) a.

标量积既能给出一个向量在另一个向量上的投影长度,也能给出投影向量本身。b 在 a 上的带符号投影长度为 (a · b) ÷ |a|,而投影向量为标量倍 ((a · b) ÷ (a · a)) a。

投影长度 = (a · b) ÷ |a|  投影向量 = ((a · b) ÷ (a · a)) a

Worked example: let a = (3, 4) and b = (1, 2). Then a · b = 3 + 8 = 11 and |a| = 5, so the projection length is 11 ÷ 5 = 2.2. Since a · a = 25, the projection vector is (11 ÷ 25)(3, 4) = (1.32, 1.76).

例题:设 a = (3, 4),b = (1, 2)。则 a · b = 3 + 8 = 11,|a| = 5,所以投影长度为 11 ÷ 5 = 2.2。又因 a · a = 25,投影向量为 (11 ÷ 25)(3, 4) = (1.32, 1.76)。

A closely related idea is resolution of a vector into two perpendicular components, which underlies the physics of forces on a slope and the decomposition of velocity into horizontal and vertical parts.

与之密切相关的思想是把一个向量分解为两个互相垂直的分量,这正是斜面上力的分解以及速度分解为水平与竖直分量的物理基础。


8. Magnitude, Distance and the Dot Product | 模长、距离与点积

Setting b = a in the definition gives the standard length formula, since θ = 0° and cos 0° = 1. This simple identity, |a|² = a · a, appears constantly in examination proofs.

在定义中令 b = a,由于 θ = 0° 且 cos 0° = 1,即得标准的模长公式。这个简单的恒等式 |a|² = a · a 在考试证明中频繁出现。

|a| = √a · a = √a₁² + a₂² + a₃²

The distance between two points A and B with position vectors a and b is therefore AB = |b − a| = √((b − a) · (b − a)). Expanding the brackets with distributivity is a common technique for proving geometric results such as the cosine rule.

因此,位置向量为 a 和 b 的两点 A 与 B 之间的距离为 AB = |b − a| = √((b − a) · (b − a))。用分配律展开括号,是证明余弦定理等几何结论的常用技巧。

Indeed, taking the dot product of (b − a) with itself gives |a|² + |b|² − 2a · b, which is exactly the cosine rule in vector form. This shows how tightly the scalar product is linked to classical trigonometry.

事实上,将 (b − a) 与自身作点积得到 |a|² + |b|² − 2a · b,这正是向量形式的余弦定理。这说明了标量积与经典三角学之间联系之紧密。


9. Applications to Lines and Planes | 在直线与平面中的应用

The scalar product is the engine behind the vector equations of lines and planes. A plane with normal vector n passing through a point with position vector a consists of all points r satisfying n · (r − a) = 0, which expands to n · r = n · a.

标量积是直线与平面向量方程背后的核心工具。法向量为 n、过位置向量为 a 的点的平面,由所有满足 n · (r − a) = 0 的点 r 组成,展开得 n · r = n · a。

For example, the plane r −3) and passes through any point whose position vector satisfies that equation, such as (3, 0, 0).

例如,平面 r · (2, 1, −3) = 6 的法向量为 (2, 1, −3),它经过所有满足该方程的点,比如 (3, 0, 0)。

The angle between two planes, or between a line and a plane, is found by feeding the relevant normal and direction vectors into the cosine formula. The perpendicular distance from a point P to a plane with normal n through A is |n · (p

广告 / Sponsored
IBDP国际文凭计算机科学学生用书 高级及标准水平 Computer Science for the IB Diplo…
计算机 备考教辅 · 正版现货 · 与本文内容相关
查看详情 / View on Taobao参考价 ¥524.0

更多咨询请联系16621398022(同微信)

备考资讯每日更新,关注不错过
考纲变化 · 科目分析 · 学习方法
扫码关注公众号 tutorhao
在微信里长按二维码识别关注
或截图后用「扫一扫 → 相册」选择本图
公众号:tutorhao