Finding the Angle Between Two Vectors | 两向量夹角的求解方法

📚 Finding the Angle Between Two Vectors | 两向量夹角的求解方法

In IB Mathematics, finding the angle between two vectors is one of the most frequently tested applications of the dot product. This skill appears in the Analysis & Approaches and Applications & Interpretation courses, particularly in the geometry and vectors chapters. Understanding the underlying concept and mastering the calculation method will save you time and prevent common errors in the exam.

在IB数学课程中,求解两向量夹角是点积(数量积)最常见的应用之一。无论是分析与方法(AA)还是应用与解释(AI)课程,在几何与向量章节都会反复考查这一点。理解其核心原理并熟练掌握计算方法,能帮助你在考试中节省时间、避免常见错误。


1. The Dot Product and Its Properties | 点积及其性质

The dot product (also called the scalar product) of two vectors a and b is defined in two equivalent ways. Algebraically, for three-dimensional vectors a = (a₁, a₂, a₃) and b = (b₁, b₂, b₃), their dot product is:

a · b = a₁b₁ + a₂b₂ + a₃b₃

For two-dimensional vectors, simply omit the third component. The dot product is a scalar (a real number), not a vector. It is commutative, meaning a · b = b · a, and distributive over vector addition: a · (b + c) = a · b + a · c.

点积(也称标量积)的代数定义如下:对于三维向量 a = (a₁, a₂, a₃) 和 b = (b₁, b₂, b₃),它们的点积为:

a · b = a₁b₁ + a₂b₂ + a₃b₃

二维向量则去掉第三个分量即可。点积的结果是一个标量(实数),而不是向量。点积满足交换律,即 a · b = b · a;也满足对向量加法的分配律:a · (b + c) = a · b + a · c。


2. The Geometric Meaning of the Angle | 角的几何意义

The angle between two vectors is defined as the smaller angle formed when the two vectors are placed so that their initial points coincide. This angle θ always lies between 0 and π (or 0° and 180°). If 0° θ 90°, the vectors point in generally the same direction; if 90° θ 180°, they point in generally opposite directions. The dot product gives a direct link to this angle through the geometric formula:

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

Here |a| and |b| denote the magnitudes (lengths) of the vectors, and θ is the angle between them.

两向量的夹角定义为:将两个向量的起点放在同一位置时,它们之间所成的最小角。这个角 θ 的范围在 0 到 π(即 0° 到 180°)之间。当 0° θ 90° 时,两个向量方向大致相同;当 90° θ 180° 时,方向大致相反。点积与这个角通过几何公式直接联系:

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

其中 |a| 和 |b| 分别是向量 a 和 b 的模(长度),θ 是两向量之间的夹角。


3. Deriving the Angle Formula | 角度公式的推导

To find the angle between two vectors, we rearrange the geometric dot product formula to solve for cos θ. Dividing both sides by |a||b| gives the standard formula:

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

From this expression, θ is obtained by applying the inverse cosine function:

θ = arccos[(a · b) / (|a||b|)]

Notice that the formula always yields a value between 0 and π because the range of arccos is exactly that interval. This ensures we automatically get the smaller, conventional angle between the vectors.

为了求两向量夹角,我们对点积的几何公式进行变形,解出 cos θ。等式两边同时除以 |a||b|,得到标准公式:

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

再对上式取反余弦函数,即可得到 θ:

θ = arccos[(a · b) / (|a||b|)]

请注意,由于 arccos 的定义域和值域,该公式计算出的 θ 自动落在 0 到 π 之间,因此得到的就是两向量之间较小的那个夹角。


4. Worked Example: Vectors in Two Dimensions | 二维向量例题

Let us apply the formula to two-dimensional vectors. Consider a = (3, 4) and b = (2, 1). First compute the dot product:

a · b = 3 × 2 + 4 × 1 = 6 + 4 = 10

Next, find the magnitudes:

|a| = √(3² + 4²) = √(9 + 16) = √25 = 5

|b| = √(2² + 1²) = √(4 + 1) = √5

Now substitute into the angle formula:

cos θ = 10 / (5 × √5) = 10 / (5√5) = 2 / √5

Therefore:

θ = arccos(2/√5) ≈ 26.57°

We used approximate angle values; in an IB exam you should give your answer either as an exact expression using arccos, or as a numerical value rounded to 3 significant figures as instructed.

让我们把这个公式应用于二维向量。设 a = (3, 4),b = (2, 1)。先计算点积:

a · b = 3 × 2 + 4 × 1 = 6 + 4 = 10

然后求模长:

|a| = √(3² + 4²) = √(9 + 16) = √25 = 5

|b| = √(2² + 1²) = √(4 + 1) = √5

代入夹角公式:

cos θ = 10 / (5 × √5) = 10 / (5√5) = 2 / √5

所以:

θ = arccos(2/√5) ≈ 26.57°

这里用到了近似值。正式考试中,你可以把答案写成含 arccos 的精确表达式,也可以按题目要求四舍五入到 3 位有效数字。


5. Worked Example: Vectors in Three Dimensions | 三维向量例题

Now consider a three-dimensional example. Let a = (2, -1, 3) and b = (1, 2, -2). Compute the dot product:

a · b = 2(1) + (-1)(2) + 3(-2) = 2 – 2 – 6 = -6

Compute the magnitudes:

|a| = √(2² + (-1)² + 3²) = √(4 + 1 + 9) = √14

|b| = √(1² + 2² + (-2)²) = √(1 + 4 + 4) = √9 = 3

Therefore:

cos θ = -6 / (3√14) = -2 / √14

So θ = arccos(-2/√14) ≈ 122.31°. Since cos θ is negative, the angle is obtuse, which means the vectors point in broadly opposite directions. This is perfectly valid; angles between vectors can be obtuse.

再看一个三维向量的例子。设 a = (2, -1, 3),b = (1, 2, -2)。计算点积:

a · b = 2(1) + (-1)(2) + 3(-2) = 2 – 2 – 6 = -6

求模长:

|a| = √(2² + (-1)² + 3²) = √(4 + 1 + 9) = √14

|b| = √(1² + 2² + (-2)²) = √(1 + 4 + 4) = √9 = 3

所以:

cos θ = -6 / (3√14) = -2 / √14

因此 θ = arccos(-2/√14) ≈ 122.31°。由于 cos θ 为负,这个夹角是钝角,说明两个向量的方向大致相反。这是完全合理的;两向量夹角可以是钝角。


6. Special Cases: Perpendicular and Parallel Vectors | 特殊情况:垂直与平行

Two nonzero vectors are perpendicular if the angle between them is 90°. Since cos 90° = 0, the dot product condition is:

a · b = 0

For example, a = (1, -2, 3) and b = (4, 5, 2) are perpendicular because their dot product is 4 – 10 + 6 = 0.

Two nonzero vectors are parallel if the angle between them is 0° or 180°. This is equivalent to saying that one vector is a scalar multiple of the other: a = k b for some constant k. Parallel vectors can point in the same direction (k > 0) or opposite directions (k < 0).

两个非零向量垂直等价于它们之间的夹角为 90°。因为 cos 90° = 0,所以垂直的条件是:

a · b = 0

例如,a = (1, -2, 3) 与 b = (4, 5, 2) 垂直,因为它们的点积为 4 – 10 + 6 = 0。

两个非零向量平行等价于它们之间的夹角为 0° 或 180°。这也等同于说一个向量是另一个向量的标量倍:a = k b,其中 k 为常数。当 k > 0 时同向,当 k < 0 时反向。


7. Using the Angle in Geometric Problems | 在几何问题中应用

In coordinate geometry, you may be asked to find an angle inside a triangle or between two lines. The key step is to identify the correct vectors. For example, if you need the angle at vertex A in a triangle with points A, B, C, define the vectors from A to B and from A to C:

AB = B – A, AC = C – A

Then the angle ∠BAC is the angle between AB and AC. Substitute these vectors into the dot product formula. For lines, you should use their direction vectors rather than position vectors, and always take the acute or obtuse angle as specified by the question.

在坐标几何中,题目可能让你求三角形内角或两条直线的夹角。关键一步是找对向量。例如,若要求三角形中顶点 A 处的角,需要定义从 A 到 B 的向量和从 A 到 C 的向量:

AB = B – A, AC = C – A

此时 ∠BAC 就是 AB 与 AC 的夹角。把这两个向量代入点积公式即可。对于直线,应使用它们的方向向量,而不是位置向量,并且根据题目要求取锐角或钝角。


8. Common Pitfalls and How to Avoid Them | 常见误区与应对

  • Using the wrong vectors: When finding an angle between two lines or at a point, always construct vectors that point away from the angle vertex. For a triangle, use AB and AC, not AB and CA (which would give a different angle).
  • Wrong vector direction: The angle between vectors depends on their orientation. If you reverse one vector, the dot product changes sign and you may obtain the supplementary angle instead.
  • Forgetting magnitudes: The formula requires the product of the magnitudes in the denominator. Omitting this step is the most common algebraic mistake.
  • Calculator mode: IB calculators can work in degrees or radians. Set the correct mode before using arccos, and check whether the answer you obtain makes sense for the given context.
  • Zero vector: The angle is undefined if either vector is the zero vector, because its magnitude is zero and direction is undefined.
  • Angle between lines vs segments: A line is infinite; the angle between lines is the acute angle between their direction vectors (or equivalently its supplement). A segment is finite; always use the vectors that represent the actual sides as shown in the problem.

使用错误的向量:求解两直线夹角或某点处夹角时,一定要构造从角的顶点出发指向两边的向量。例如三角形中应使用 AB 与 AC,而不是 AB 与 CA(后者会得到补角)。

向量方向搞反:两向量夹角与向量的方向有关。如果把其中一个向量反向,点积符号改变,可能得到补角而得出错误答案。

忘记求模长:公式的分母必须包含两个向量模长的乘积。漏掉这一步是最常见的代数错误。

计算器模式:IB考试允许使用计算器,但要注意角度制与弧度制。用 arccos 之前必须设置正确的单位,并检查结果是否符合题目背景。

零向量:如果任一向量为零向量,则夹角无定义,因为零向量的模为 0 且方向未定义。

直线夹角与线段夹角的区别:直线无限延伸,两直线的夹角是它们的方向向量所夹的锐角(或其补角)。线段是有限长的,应当根据题意使用表示实际边的向量。


9. Practice Exercises | 练习题目

Exercise 1: For a = (4, 0) and b = (1, √3), calculate the angle between them. (Answer: 60°, because a · b = 4, |a| = 4, |b| = 2, so cos θ = 1/2.)

Exercise 2: In a triangle with A = (1, 2, 3), B = (3, 0, 4), C = (5, 1, 2), find ∠BAC. First compute AB = (2, -2, 1) and AC = (4, -1, -1). Their dot product is 8 + 2 – 1 = 9; |AB| = 3, |AC| = √18 = 3√2, so cos θ = 9 / (9√2) = 1/√2, hence θ = 45°.

Exercise 3: A vector c has magnitude 5 and dot product c · d = -10 with another vector d of magnitude 4. Find the angle between c and d. (cos θ = -10 / (5 × 4) = -0.5, so θ = 120°.)

练习一:设 a = (4, 0),b = (1, √3),求两者的夹角。(答案:60°,因为 a · b = 4,|a| = 4,|b| = 2,故 cos θ = 1/2。)

练习二:在三角形中,A = (1, 2, 3),B = (3, 0, 4),C = (5, 1, 2),求 ∠BAC。先求 AB = (2, -2, 1),AC = (4, -1, -1)。它们的点积为 8 + 2 – 1 = 9;|AB| = 3,|AC| = √18 = 3√2,所以 cos θ = 9 / (9√2) = 1/√2,因此 θ = 45°。

练习三:向量 c 的长度为 5,它与向量 d(长度 4)的点积 c · d = -10。求 c 与 d 的夹角。(cos θ = -10 / (5 × 4) = -0.5,所以 θ = 120°。)


10. Exam Tips and Summary | 考试技巧与总结

In the IB exam, always write out the dot product and the magnitudes clearly before substituting into the angle formula. This shows the examiner your method and makes it easier to award partial marks. If the final answer requires a numerical value, give it in degrees or radians as requested, and round to the specified precision (usually 3 significant figures).

Remember these key steps: (1) Construct the correct vectors, especially when dealing with geometric figures; (2) compute the dot product a · b; (3) find each vector’s magnitude; (4) substitute into cos θ = (a · b) / (|a||b|); (5) apply arccos to obtain θ. Test your answer for reasonableness — if the dot product is positive, θ should be acute; if negative, θ should be obtuse.

With practice, this straightforward process becomes automatic. The angle between two vectors is not just an isolated skill; it connects to vector geometry, kinematics, and even matrix transformations. Master it now and it will serve you throughout the entire IB maths course.

在IB考试中,一定要先清晰地写出点积和模长的计算过程,再代入夹角公式。这样能让阅卷老师看到你的思路,也更容易获得步骤分。如果最终答案要求具体数值,应按照题目要求使用角度制或弧度制,并保留指定精度(通常为3位有效数字)。

请记住关键步骤:(1) 构造正确的向量,特别是面对几何图形时;(2) 计算点积 a · b;(3) 分别求出两个向量的模长;(4) 代入 cos θ = (a · b) / (|a||b|);(5) 用 arccos 求出 θ。最后检查答案是否合理——如果点积为正,夹角应为锐角;如果为负,夹角应为钝角。

多加练习后,这一流程便会变得十分熟练。两向量夹角的求解不仅仅是孤立的知识点,它与向量几何、运动学甚至矩阵变换都有联系。现在掌握它,将为你整个IB数学课程的学习打下坚实基础。


Published by TutorHao | IB Mathematics Revision Series | aleveler.com

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

Comments

屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from aleveler.com

Subscribe now to keep reading and get access to the full archive.

Continue reading