📚 IB Mathematics: Dot Product and Vector Angle Techniques | IB数学:数量积与向量夹角求解技巧
The dot product is one of the most powerful tools in vector geometry. It combines two vectors into a scalar, revealing how much one vector ‘projects’ onto another and giving us a direct route to the angle between them.
数量积是向量几何中最强大的工具之一。它将两个向量结合为一个标量,不仅揭示了其中一个向量在另一个方向上的“投影”,更为我们直接求解两向量之间的夹角提供了途径。
1. Introduction to the Dot Product | 数量积简介
The dot product (also called the scalar product) is defined for two non-zero vectors a and b as:
a · b = |a| |b| cos θ
Here θ (theta) is the smaller angle between the two vectors, measured from 0 to π radians (or 0° to 180°).
数量积(也称为标量积)对两个非零向量 a 与 b 定义为上式,其中 θ 是两向量之间较小的夹角,范围通常取 0 到 π 弧度(或 0° 到 180°)。
Because the result of the dot product is a single number, not a vector, it is called a ‘scalar’ product. This scalar value tells us about the relative direction: positive if the angle is acute, negative if obtuse, and zero if perpendicular.
由于数量积的结果是一个单个数而非向量,因此被称为“标量”积。这个标量值反映了向量间的方向关系:夹角为锐角时为正,钝角时为负,垂直时为零。
2. Geometric and Algebraic Definitions | 几何定义与代数定义
The geometric definition a · b = |a| |b| cos θ is useful for reasoning about angles and properties. But to compute the dot product from coordinates, we use the algebraic definition.
几何定义 a · b = |a| |b| cos θ 适合用于推导角度和性质。而要从坐标出发计算数量积,则需要使用代数定义。
For vectors in component form:
a = (aₓ, ay, az), b = (bₓ, by, bz)
a · b = aₓ bₓ + ay by + az bz
For two-dimensional vectors, simply omit the z-component.
对于二维向量,只需去掉 z 分量即可。
Example: If a = (1, 2) and b = (3, 4), then a · b = 1×3 + 2×4 = 11. This matches the geometric definition only after including magnitudes and cos θ.
例如:若 a = (1, 2), b = (3, 4),则 a · b = 1×3 + 2×4 = 11。该结果与几何定义在引入模长和 cos θ 后一致。
3. Vector Magnitudes and Unit Vectors | 向量的模与单位向量
To use the angle formula, we need the magnitude (length) of each vector. For a = (aₓ, ay, az):
|a| = √(aₓ² + ay² + az²)
向量 a = (aₓ, ay, az) 的模(长度)如上式所示。
A unit vector is a vector with magnitude 1. It is obtained by dividing a vector by its magnitude:
â = a / |a|
单位向量的模为 1,可通过将原向量除以其模得到:
The dot product of a vector with a unit vector gives the scalar projection of that vector onto the direction of the unit vector.
一个向量与单位向量做数量积,得到的是该向量在单位向量方向上的标量投影。
4. Key Properties of the Dot Product | 数量积的关键性质
These properties are frequently tested in IB exams, so memorise them and practise applying them.
以下性质在 IB 考试中经常出现,务必牢记并熟练运用。
- Commutative property: a · b = b · a
- 交换律:a · b = b · a
- Distributive property: a · (b + c) = a · b + a · c
- 分配律:a · (b + c) = a · b + a · c
- Scalar multiple: (k a) · b = k (a · b)
- 数乘性质:(k a) · b = k (a · b)
- Dot product of a vector with itself: a · a = |a|²
- 向量与自身的数量积:a · a = |a|²
The last property is particularly useful when calculating the magnitude of a vector from its dot product.
最后一个性质在通过数量积计算向量模长时尤为有用。
5. Computing the Angle Between Two Vectors | 计算两向量夹角
Rearranging the geometric definition gives the central formula used to find the angle between two vectors:
cos θ = (a · b) / (|a| |b|)
θ = cos⁻¹ [(a · b) / (|a| |b|)]
重排几何定义,得到求两向量夹角的核心公式。注意 θ ∈ [0, π],且必须使用计算器或反余弦函数得到最终角度。
Follow these steps:
求解步骤如下:
-
Calculate the dot product using components or vectors.
计算数量积:利用分量或已知向量直接计算 a · b。
-
Find both magnitudes |a| and |b|.
求两个向量的模 |a| 和 |b|。
-
Divide the dot product by the product of magnitudes.
相除:用数量积除以两模之积,得到 cos θ。
-
Take the inverse cosine to obtain θ.
取反余弦:使用 cos⁻¹ 得到角度 θ。
Always check whether your answer is in radians or degrees. In IB exams, if no unit is specified, use radians.
始终检查答案的单位是弧度还是度数。在 IB 考试中,若题目未指定单位,通常默认使用弧度。
6. Perpendicular and Parallel Conditions | 垂直与平行条件
The dot product gives us immediate tests for perpendicularity and parallelism.
数量积为我们提供了检验两向量垂直和平行的直接判据。
Perpendicular (orthogonal) vectors: a · b = 0 for non-zero vectors.
垂直(正交)向量:若两非零向量 a 与 b 满足 a · b = 0,则它们垂直。
Example: a = (2, -1) and b = (1, 2). Their dot product is 2×1 + (-1)×2 = 0, so they are perpendicular.
例如:a = (2, -1),b = (1, 2),数量积为 2×1 + (-1)×2 = 0,因此它们垂直。
Parallel vectors: b = k a for some scalar k. The dot product of parallel vectors is either +|a||b| (same direction) or −|a||b| (opposite directions).
平行向量:若存在实数 k 使 b = k a,则向量平行。平行向量的数量积为 +|a||b|(方向相同)或 −|a||b|(方向相反)。
Example: a = (1, 2), b = (3, 6) = 3a, so they are parallel and the dot product is positive.
例如:a = (1, 2),b = (3, 6) = 3a,因此两者平行,且数量积为正。
7. Direction Angles and Direction Cosines | 方向角与方向余弦
For a vector a = (x, y, z), the direction angles α, β, γ are the angles between the vector and the positive x-, y-, and z-axes respectively.
对于向量 a = (x, y, z),方向角 α、β、γ 分别是该向量与 x 轴、y 轴、z 轴正方向之间的夹角。
cos α = x / |a|, cos β = y / |a|, cos γ = z / |a|
These values are called direction cosines. They satisfy a beautiful identity:
这些值称为方向余弦,它们满足恒等式:
cos² α + cos² β + cos² γ = 1
This identity is useful for verifying calculations and solving problems where only two angles are given.
该恒等式可用于检验计算,或在已知两个方向角时求第三个方向角。
8. Scalar and Vector Projection | 标量投影与向量投影
The dot product also enables us to project one vector onto another, which has applications in physics and engineering.
数量积还允许我们将一个向量投影到另一个向量上,这在物理和工程中应用广泛。
The scalar projection of a onto b is the length of the component of a along b, given by:
标量投影(a 在 b 方向上的分量长度)为:
scalar projection = (a · b) / |b|
The vector projection is the scalar projection multiplied by the unit vector in the b direction:
向量投影是标量投影乘以 b 方向的单位向量:
projb (a) = [(a · b) / |b|²] b
Notice that the vector projection has direction b, while the scalar projection can be negative if the angle is obtuse.
注意向量投影的方向与 b 相同,而标量投影在夹角为钝角时可以为负值。
9. Worked Example: Angle in a Triangle | 例题:三角形中的角
Let us use the dot product to find an angle inside a triangle given by coordinates.
我们通过坐标给出的三角形,利用数量积求一个内角。
Problem: Triangle ABC has A = (1, 0), B = (3, 2), C = (0, 4). Find the angle at A.
题目:三角形 ABC 中,A = (1, 0), B = (3, 2), C = (0, 4)。求 ∠A。
Solution:
解答:
-
Find vectors AB and AC: AB = (3-1, 2-0) = (2, 2), AC = (0-1, 4-0) = (-1, 4).
求向量 AB 与 AC:AB = (3-1, 2-0) = (2, 2),AC = (0-1, 4-0) = (-1, 4)。
-
Compute dot product: AB · AC = 2×(-1) + 2×4 = -2 + 8 = 6.
计算数量积:AB · AC = 2×(-1) + 2×4 = -2 + 8 = 6。
-
Find magnitudes: |AB| = √(2² + 2²) = √8 = 2√2, |AC| = √((-1)² + 4²) = √17.
求模:|AB| = √(2² + 2²) = √8 = 2√2,|AC| = √((-1)² + 4²) = √17。
-
Use the formula: cos θ = 6 / (2√2 × √17) = 6 / (2√34) = 3 / √34.
套用公式:cos θ = 6 / (2√2 × √17) = 6 / (2√34) = 3 / √34。
-
θ = cos⁻¹(3/√34) ≈ 1.03 rad (or 59.0°)
θ = cos⁻¹(3/√34) ≈ 1.03 弧度(约 59.0°)。
Note that we used coordinate subtraction to obtain direction vectors from points. Misusing position vectors is a common error.
注意我们通过坐标相减得到方向向量。直接将位置向量当作方向向量是常见错误。
10. Common Mistakes and Exam Tips | 常见错误与考试技巧
Here are pitfalls to avoid and strategies to succeed in IB vector questions.
以下常见错误需要避免,同时这些策略能帮助你在 IB 向量题中获得更高分。
-
Using the wrong vectors: Always distinguish between position vectors (from origin) and direction vectors (from one point to another).
用错向量:始终区分位置向量(从原点出发)与方向向量(从一点指向另一点)。
-
Forgetting the inverse cosine: cos θ is not θ. Always take cos⁻¹ in the final step.
忘记取反余弦:cos θ 不等于 θ。最后一步一定要用 cos⁻¹。
-
Unit errors: When doing calculations, keep magnitudes as simplified surds; in final answers, state whether the angle is in radians or degrees.
单位错误:计算时模长应化简为最简根式;最终答案需要注明角度单位是弧度还是度。
-
Ignoring the range of θ: By definition, the angle between vectors is in [0, π]. If your calculator gives negative, adjust using 2π or π.
忽略 θ 的范围:两向量夹角定义为 [0, π]。若计算器给出负值,需根据情况调整到 [0, π] 内。
-
Using dot product for parallel test: To test parallelism, check if one vector is a scalar multiple of the other. A dot product of ±|a||b| also works, but scalar multiple is more direct.
用数量积检验平行:检验平行应看一个向量是否为另一个向量的数倍。虽然 a · b = ±|a||b| 也可以,但数倍关系更直接。
-
Practise with 3D vectors: The same formulas extend naturally to three dimensions. Do not memorise extra rules; just include the z-component.
练习三维向量:相同公式自然推广到三维。无需另外记忆规则,只需加入 z 分量即可。
Mastering the dot product will save you time in the exam because it links lengths, angles and projections in one elegant expression.
掌握数量积能让你在考试中节省时间,因为它将长度、夹角与投影统一在一个优美的表达式中。
Published by TutorHao | Mathematics Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)
屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导