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

The Angle Between Two Vectors | 两向量间的夹角

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

📚 The Angle Between Two Vectors | 两向量间的夹角

Vectors encode both magnitude and direction, making them essential in geometry, physics, and engineering. One of the most fundamental operations is finding the angle between two vectors - a concept that links algebraic computation with geometric intuition. Whether you need to determine if vectors are perpendicular, compute the direction of a resultant force, or measure the steepness of a line, the angle formula provides a powerful and elegant solution.

向量同时携带大小和方向,因此在几何、物理和工程中不可或缺。最核心的操作之一就是求两向量间的夹角——这一概念将代数计算与几何直观紧密连接。无论是判断向量是否垂直、计算合力的方向,还是测量直线的倾斜度,向量夹角公式都提供了一个强大而简洁的解决方案。


1. Vectors and the Need for Angle | 向量与夹角需求

A vector in the plane or in space is often written in component form, such as u = (u₁, u₂) or v s, scale them, and find their lengths, the angle between them is not directly visible from components alone. The angle describes how aligned two directed quantities are, ranging from 0° (perfectly aligned) to 180° (opposite directions). This measure is crucial for topics like work, projection, and rotational dynamics.

平面或空间中的向量通常用分量形式表示,例如 u = (u₁, u₂) 或 v = (v₁, v₂, v₃)。我们可以进行向量加法、数乘和求模长,但它们之间的夹角并不能直接从分量中看出。夹角描述了两个有向量之间的对齐程度,范围从 0°(完全同向)到 180°(完全反向)。这个度量在功、投影和旋转动力学等主题中尤为关键。


2. The Dot Product: Algebraic and Geometric Views | 点积的代数与几何视角

The dot product (or scalar product) of two vectors u and v can be defined algebraically as the sum of the products of corresponding components: u·v ₃ (in 3D). Geometrically, the same dot product equals the product of the magnitudes and the cosine of the angle θ between them: u·v = ‖u‖ ‖v‖ cos θ. This double identity is the bridge between coordinates and geometry.

两向量 u 和 v 的点积(数量积)的代数定义为对应分量乘积之和:u·v = u₁v₁ + u₂v₂(二维)或 u₁v₁ + u₂v₂ + u₃v₃(三维)。在几何上,同一个点积等于两向量模长与其夹角 θ 的余弦的乘积:u·v = ‖u‖ ‖v‖ cos θ。这一双重身份是连接坐标与几何的桥梁。


3. Formula for the Angle Between Two Vectors | 两向量夹角公式

Rearranging the geometric definition gives the direct formula for the angle θ (0 ≤ θ ≤ π):

cos θ = (u·v) / (‖u‖ ‖v‖)

Thus, θ = arccos[ (u·v) / (‖u‖ ‖v‖) ]. The result is always in the range [0, π] radians or [0°, 180°], and the cosine value uniquely determines the angle because cosine is one-to-one on this interval. When the vectors are non‑zero, this formula works in any dimension.

将几何定义变形后,得到夹角 θ (0 ≤ θ ≤ π) 的直接公式:

cos θ = (u·v) / (‖u‖ ‖v‖)

因此,θ = arccos[ (u·v) / (‖u‖ ‖v‖) ]。结果始终在 [0, π] 弧度或 [0°, 180°] 区间内,且余弦值能唯一确定夹角,因为余弦在这个区间上是单射的。只要向量非零,该公式在任意维度下都适用。


4. Worked Example: 2D Vectors | 二维向量示例

Let a = 3i + 4j and b = i + 2j. First compute the dot product: a·b = 3×1 + 4×2 = 3 + 8 = 11. Next, find the magnitudes: ‖a‖ = √3² + 4² = √25 = 5, and ‖b‖ = √1² + 2² = √5. Then cos θ = 11 / (5 × √5) = 11 / (5√5). Using a calculator, θ = arccos(11/(5√5 os(0.9839) ≈ 10.3°. The small angle reflects that the vectors point in similar directions.

设 a = 3i + 4j,b = i + 2j。首先计算点积:a·b = 3×1 + 4×2 = 3 + 8 = 11。然后求模长:‖a‖ = √3² + 4² = √25 = 5,‖b‖ = √1² + 2² = √5。于是 cos θ = 11 / (5 × √5) = 11 / (5√5)。用计算器求得 θ = arccos(11/(5√5)) ≈ arccos(0.9839) ≈ 10.3°。很小的夹角说明两个向量指向相似的方向。


5. Perpendicular Vectors: Dot Product Zero | 垂直向量:点积为零

When two non‑o vectors are perpendicular, the angle between them is 90°, and cos 90° = 0. Consequently, u·v = 0 is the algebraic test for orthogonality. For instance, u = (2, -1, 1) and v = (1, 2, 0) give u·v = 2×1 + (-1)×2 + 1×0 = 0, confirming they are perpendicular. This zero‑dot‑product condition is one of the most frequently used facts in vector geometry.

当两个非零向量互相垂直时,夹角为 90°,cos 90° = 0。因此,u·v = 0 成为判断正交的代数条件。例如,u = (2, -1, 1) 和 v = (1, 2, 0) 的点积为 2×1 + (-1)×2 + 1×0 = 0,证实它们垂直。这个点积为零的条件是向量几何中使用最频繁的事实之一。


6. Parallel Vectors: Angle 0° or 180° | 平行向量:夹角0°或180°

If two vectors are parallel, one is a scalar multiple of the other: v = ku. Then u·v = u·(ku) = k‖u‖², and ‖v‖ = |k|‖u‖. The cosine formula yields cos θ = k‖u‖² / (‖u‖·|k|‖u‖) = k/|k| on) and θ = 180° when k < 0 (opposite direction). In both cases the vectors are collinear.

若两向量平行,其中之一是另一个的标量倍:v = ku。此时 u·v = u·(ku) = k‖u‖²,而 ‖v‖ = |k|‖u‖。余弦公式给出 cos θ = k‖u‖² / (‖u‖·|k|‖u‖) = k/|k| = ±1。因此,当 k > 0 时 θ = 0°(同向),当 k < 0 时 θ = 180°(反向)。这两种情况都表示向量共线。


广告 / Sponsored

7. Direction Angles and Direction Cosines | 方向角与方向余弦

In 3D, a vector v = (x, y, z) makes three direction angles α, β, γ with the positive x‑, y‑, and z‑axes respectively. The direction cosines are cos α = x/‖v‖, cos β = y/‖v‖, cos γ = z/‖v‖ ey identity is cos²α + cos²β + cos²γ = 1. These cosines are essentially the angles between v and the unit basis vectors i, j, k, directly applying the angle formula with unit vectors.

在三维空间中,向量 v = (x, y, z) 与 x、y、z 轴正向分别形成方向角 α、β、γ。方向余弦为 cos α = x/‖v‖,cos β = y/‖v‖,cos γ = z/‖v‖。一个关键的恒等式是 cos²α + cos²β + cos²γ = 1。这些余弦本质上就是 v 与单位基向量 i、j、k 的夹角,直接用单位向量代入夹角公式即可得到。


8. Angle Between Vectors in 3D Space | 三维空间向量夹角

Consider p = (1, 2, 2) and q = (−2, 1, 2). Dot product: p·q = 1×(−2) + 2×1 + 2×2 = −2 + 2 + 4 = 4. Magnitudes: ‖p‖ = √1+4+4 = √9 = 3, ‖q‖ = √4+1+4 = √9 calculation mirrors the 2D case exactly; simply extend the summation to three components.

取 p = (1, 2, 2) 和 q = (−2, 1, 2)。点积:p·q = 1×(−2) + 2×1 + 2×2 = −2 + 2 + 4 = 4。模长:‖p‖ = √1+4+4 = √9 = 3,‖q‖ = √4+1+4 = √9 = 3。因此 cos θ = 4/(3×3) = 4/9,可得 θ ≈ arccos(0.444...) ≈ 63.6°。计算过程与二维完全一致,只是将求和扩展到三个分量。


9. Angle Between Two Lines Using Direction Vectors | 利用方向向量求两直线夹角

In IB problems, you often need the angle between two lines. If the lines have direction vectors d₁ and d₂, the acute angle φ between the lines satisfies cos φ = |d₁·d₂| / (‖d₁‖ ‖d₂‖ e lines do not have a preferred orientation. For example, lines with direction vectors (1,2,−1) and (−2,1,0) give |d₁·d₂| = |1×(−2)+2×1+(−1)×0| = |0| = 0, so the lines are perpendicular.

在 IB 考题中,常常需要求两直线的夹角。若直线的方向向量为 d₁ 与 d₂,则两直线所成的锐角 φ 满足 cos φ = |d₁·d₂| / (‖d₁‖ ‖d₂‖)。取绝对值是为了确保得到锐角(0° ≤ φ ≤ 90°),因为直线没有指定方向。例如,方向向量为 (1,2,−1) 和 (−2,1,0) 的直线,|d₁·d₂| = |1×(−2)+2×1+(−1)×0| = |0| = 0,所以这两条直线垂直。


10. Scalar Projection and the Cosine Link | 标量投影与余弦联系

The scalar projection of vector a onto vector b is comp_b(a) = ‖a‖ cos θ, where θ is the angle between them. Using the dot product, this becomes (a·b) / ‖b‖. The cosine factor neatly isolates the component of a in the direction of b. When θ is acute, the projection is positive; when obtuse, it is negative. This concept is fundamental to understanding vector resolutions and the formula for mechanical work.

向量 a 在向量 b 上的标量投影定义为 comp_b(a) = ‖a‖ cos θ,其中 θ 为两向量夹角。利用点积,可写为 (a·b) / ‖b‖。这里的 cos θ 因子恰好提取出 a 在 b 方向上的分量。当 θ 为锐角时投影为正;为钝角时投影为负。这一概念是理解向量分解和机械功公式的基础。


11. Application: Work Done by a Constant Force | 应用:恒力做功

In physics, the work W done by a constant force F acting along a displacement d is W = F·d = ‖F‖‖d‖ . This direct application of the angle between vectors is a classic IB exam context linking mathematics with mechanics.

在物理学中,恒力 F 沿位移 d 所做的功为 W = F·d = ‖F‖‖d‖ cos θ,其中 θ 是力与位移之间的夹角。若力垂直于位移,cos 90° = 0,做功为零。这一向量夹角公式的直接应用是 IB 考试中数学与力学结合的经典场景。


12. Common Mistakes and How to Avoid Them | 常见错误与避免方法

Many students forget to take the absolute value when finding the acute angle between lines, yielding an obtuse answer. Another frequent error is mismatching components in the dot product, especially in 3D. Always double-check your arithmetic: compute each product ui × vi carefully. Finally, ensure you use the correct magnitude formula; a single missing square can ruin the entire cosine value. Treat the angle formula as a three-step check: dot product, magnitudes, division.

很多学生在求直线间的锐角时忘记取绝对值,从而得到钝角答案。另一个常见错误是点积分量不对应,尤其在三维空间。务必仔细核对每一步乘积 ui × vi。最后,要确保使用了正确的模长公式;遗漏任意一个平方都会毁掉整个余弦值。将夹角公式视为三步核查:点积、模长、相除。


13. Key Formulas and Exam Tips | 关键公式与考试技巧

Core formula: cos θ = (u·v) / (‖u‖ ‖v‖). Perpendicular: u·v = 0. Parallel: u·v = ±‖u‖‖v‖. Acute angle between lines: cos φ = |d₁·d₂|/(‖d₁‖‖d₂‖). In the exam, always write the formula explicitly before substituting numbers. If the dot product comes out as zero, immediately conclude the vectors are perpendicular. When asked for the angle between a line and a plane, remember it is the complement of the angle between the direction vector and the normal. Practice with both exact surd forms and decimal degrees to handle any mark scheme.

核心公式: cos θ = (u·v) / (‖u‖ ‖v‖)。垂直: u·v = 0。平行: u·v = ±‖u‖‖v‖。直线间锐角: cos φ = |d₁·d₂|/(‖d₁‖‖d₂‖)。考试时,务必先写出公式再代入数字。一旦点积为零,直接得出两向量垂直的结论。当题目要求直线与平面的夹角时,记住它是方向向量与法向量夹角的余角。练习时兼顾根式精确值和角度小数形式,以应对任何评分标准。


Published by TutorHao | Mathematics Revision Series | aleveler.com

广告 / Sponsored
英文原版 Oxford IB Diploma Programme Physics Print Course Book …
物理 备考教辅 · 正版现货 · 与本文内容相关
查看详情 / View on Taobao参考价 ¥630.0

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

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