Angle Calculations in 3D Geometry | 空间几何中的夹角计算

📚 Angle Calculations in 3D Geometry | 空间几何中的夹角计算

In three-dimensional geometry, the angle between two lines, between a line and a plane, and between two planes can be systematically found using vectors. This method is central to IB Mathematics Analysis and Approaches HL and is also relevant to AI HL. By mastering the dot product, direction vectors, and normal vectors, you can solve such problems quickly and accurately.

在三维几何中,两条直线之间、直线与平面之间以及两个平面之间的夹角,都可以借助向量系统地求出。这一方法是 IB 数学分析与方法(AA)HL 的核心内容,对 AI HL 同样具有参考价值。掌握点积、方向向量和法向量后,你便能快速准确地解决这类问题。


1. Basic Objects in Space Geometry | 空间几何中的基本对象

A line in space can be described by a point and a direction vector. A plane can be described by a point and a normal vector, or by a Cartesian equation of the form ax + by + cz = d. In vector calculations, we usually express a line as r = a + tb, where b is the direction vector, and a plane as r · n = d, where n is the normal vector.

空间中的直线可以用一个点和方向向量表示。平面可以用一个点和法向量表示,也可以用形如 ax + by + cz = d 的笛卡尔方程表示。在向量计算中,我们通常把直线写作 r = a + tb,其中 b 是方向向量;把平面写作 r · n = d,其中 n 是法向量。

When it comes to angles, the direction vector tells us the orientation of a line, while the normal vector tells us the orientation of a plane. These two types of vectors will form the foundation of all angle calculations in this article.

在计算夹角时,方向向量决定了直线的方向,法向量决定了平面的方向。这两类向量将构成本文所有夹角计算的基础。


2. Dot Product and the Angle Formula | 点积与夹角公式

Given two vectors a and b, the dot product is defined as a · b = |a||b| cos θ, where θ is the angle between the vectors when they are placed tail-to-tail. Therefore, the cosine of the angle can be found by rearranging this formula.

对于两个向量 ab,点积定义为 a · b = |a||b| cos θ,其中 θ 是两向量起点重合时所夹的角。因此,通过变形可以得到夹角的余弦值。

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

If the vectors are given in component form, say a = (a₁, a₂, a₃) and b = (b₁, b₂, b₃), then the dot product is a₁b₁ + a₂b₂ + a₃b₃, and the magnitude is √(a₁² + a₂² + a₃²). These algebraic forms are what we will use in actual calculations.

如果向量以分量形式给出,例如 a = (a₁, a₂, a₃),b = (b₁, b₂, b₃),则点积为 a₁b₁ + a₂b₂ + a₃b₃,模长为 √(a₁² + a₂² + a₃²)。实际计算中我们使用的就是这些代数形式。


3. Angle Between Two Lines | 两条直线的夹角

For two lines with direction vectors d₁ and d₂, the angle θ between the lines is defined as the acute or right angle between their directions. It can be found by first computing the angle between the two direction vectors, then taking the absolute value of the cosine to ensure the result is acute.

对于两条具有方向向量 d₁d₂ 的直线,两直线的夹角 θ 定义为它们方向之间的锐角或直角。计算方法是先求两个方向向量之间的夹角,然后对余弦值取绝对值,以确保结果为锐角。

cos θ = |d₁ · d₂| / (|d₁||d₂|)

For example, if two lines have direction vectors (1, 2, 2) and (2, 1, -2), then the dot product is 1(2) + 2(1) + 2(-2) = 0, so the lines are perpendicular. If the dot product is negative, we take the absolute value; this ensures θ is between 0° and 90°.

例如,若两条直线的方向向量分别为 (1, 2, 2) 和 (2, 1, -2),则点积为 1(2) + 2(1) + 2(-2) = 0,因此两直线垂直。如果点积为负,我们取绝对值,这样 θ 就始终在 0° 和 90° 之间。


4. Angle Between a Line and a Plane | 直线与平面的夹角

The angle between a line and a plane is defined as the acute angle between the line and its projection onto the plane. Let the direction vector of the line be v and the normal vector of the plane be n. The angle α between v and n satisfies cos α = (v · n) / (|v||n|). However, the required angle φ between the line and the plane is complementary to α, so we use sine instead of cosine.

直线与平面的夹角定义为直线与其在平面上投影之间的锐角。设直线的方向向量为 v,平面的法向量为 n。向量 vn 的夹角 α 满足 cos α = (v · n) / (|v||n|)。但所求的线面角 φ 与 α 互余,因此使用正弦而非余弦。

sin φ = |v · n| / (|v||n|)

Note the absolute value: if the line points downward relative to the plane, the dot product may be negative, but the acute angle φ must be positive. This formula is one of the most commonly tested in IB exams.

注意绝对值符号:如果直线相对于平面朝下,点积可能为负,但锐角 φ 必须为正。这一公式是 IB 考试中最常考的考点之一。


5. Angle Between Two Planes | 两个平面的夹角

The angle between two planes is the acute angle between their normal vectors. If plane P₁ has normal vector n₁ and plane P₂ has normal vector n₂, then the dihedral angle θ between the planes is given by the following formula.

两个平面的夹角定义为它们法向量之间的锐角。若平面 P₁ 的法向量为 n₁,平面 P₂ 的法向量为 n₂,则两个平面之间的二面角 θ 由以下公式给出。

cos θ = |n₁ · n₂| / (|n₁||n₂|)

This gives the acute angle between the planes. If the actual dihedral angle is obtuse, the two planes still form an acute angle when considered in the usual sense; in IB questions, the answer is normally expected as an acute angle. If a specific obtuse angle is required, subtract the acute result from 180°.

此公式给出的是两平面之间的锐角。如果实际的二面角是钝角,按通常意义,两平面所成的角仍取锐角。在 IB 题目中通常要求锐角答案;如果题目明确要求钝角,则用 180° 减去锐角结果即可。


6. Finding Direction Vectors and Normal Vectors | 方向向量与法向量的求法

Given two points A and B on a line, the direction vector is simply B − A. For example, if A = (1, 0, 2) and B = (3, 4, 1), then the direction vector is (2, 4, -1). This is straightforward and reliable.

已知直线上两点 A 和 B,则方向向量就是 B − A。例如,若 A = (1, 0, 2),B = (3, 4, 1),则方向向量为 (2, 4, -1)。这种方法直接且可靠。

For a plane written as ax + by + cz = d, the normal vector is (a, b, c). For a plane given in parametric form, you can find the normal vector by taking the cross product of two non-parallel vectors lying in the plane.

对于形如 ax + by + cz = d 的平面,法向量为 (a, b, c)。若平面以参数形式给出,则可取平面内两个不平行向量的叉积作为法向量。

n = u × v

When using the cross product, ensure the two vectors are non-zero and not scalar multiples of each other; this guarantees a valid normal vector.

使用叉积时,必须确保两个向量非零且不互为倍数,这样才能保证得到有效的法向量。


7. Cross Product Essentials | 叉积要点

In IB AA HL, the cross product is essential for finding normal vectors. For u = (u₁, u₂, u₃) and v = (v₁, v₂, v₃), the cross product is:

在 IB AA HL 中,叉积是求法向量的重要工具。设 u = (u₁, u₂, u₃),v = (v₁, v₂, v₃),则叉积为:

u × v = (u₂v₃ − u₃v₂, u₃v₁ − u₁v₃, u₁v₂ − u₂v₁)

This vector is perpendicular to both u and v. It can be used to find the normal to a plane determined by three points: first construct two vectors from one point to the other two, then take their cross product.

该向量同时垂直于 uv。它可用于求由三个点确定的平面的法向量:先从其中一个点构造指向另外两点的两个向量,再取它们的叉积。


8. Worked Example: Line-Plane Angle | 例题:直线与平面的夹角

Consider the line with direction vector v = (1, −2, 2) and the plane 2x − y + 2z = 6. The normal vector of the plane is n = (2, −1, 2). First compute the dot product: v · n = 1(2) + (−2)(−1) + 2(2) = 2 + 2 + 4 = 8.

设直线方向向量 v = (1, −2, 2),平面方程为 2x − y + 2z = 6。平面的法向量为 n = (2, −1, 2)。先计算点积:v · n = 1(2) + (−2)(−1) + 2(2) = 2 + 2 + 4 = 8。

Next, compute the magnitudes: |v| = √(1² + (−2)² + 2²) = √9 = 3, and |n| = √(2² + (−1)² + 2²) = √9 = 3. Thus sin φ = 8 / (3 × 3) = 8/9. Therefore φ = arcsin(8/9) ≈ 62.7°.

接着计算模长:|v| = √(1² + (−2)² + 2²) = √9 = 3,|n| = √(2² + (−1)² + 2²) = √9 = 3。因此 sin φ = 8 / (3 × 3) = 8/9,所以 φ = arcsin(8/9) ≈ 62.7°。

Notice that the line is unusually steep relative to the plane. This is because the direction vector has a large component in the normal direction. In many IB problems the answer is expected in degrees; remember to set your calculator to degree mode.

注意,这条直线相对于平面相当陡峭,因为方向向量在法线方向上的分量较大。在许多 IB 题目中,答案要求以度为单位;请记得将计算器设置为角度模式。


9. Worked Example: Plane-Plane Angle | 例题:两个平面的夹角

Let plane P₁ be x + y + z = 1 and plane P₂ be x − y + 2z = 0. The normal vectors are n₁ = (1, 1, 1) and n₂ = (1, −1, 2). Their dot product is 1(1) + 1(−1) + 1(2) = 1 − 1 + 2 = 2.

设平面 P₁ 为 x + y + z = 1,平面 P₂ 为 x − y + 2z = 0。法向量分别为 n₁ = (1, 1, 1) 和 n₂ = (1, −1, 2)。它们的点积为 1(1) + 1(−1) + 1(2) = 1 − 1 + 2 = 2。

We then find |n₁| = √3 and |n₂| = √(1 + 1 + 4) = √6. Therefore cos θ = 2 / (√3√6) = 2 / √18 = 2 / (3√2) ≈ 0.4714. Hence θ ≈ 61.9°.

然后求得 |n₁| = √3,|n₂| = √(1 + 1 + 4) = √6。因此 cos θ = 2 / (√3√6) = 2 / √18 = 2 / (3√2) ≈ 0.4714,故 θ ≈ 61.9°。

Since we used the absolute value of the dot product, this is the acute angle between the planes. If the planes intersect, this is the usual answer quoted in textbooks.

由于我们对点积取了绝对值,因此得到的是两平面之间的锐角。如果两平面相交,这通常就是教科书中所给出的答案。


10. Common Mistakes and Exam Tips | 常见错误与考试技巧

Students often confuse which formula to use. As a quick memory aid: line-line and plane-plane use cosine; line-plane uses sine. This is because the line-plane angle is complementary to the angle between the direction vector and the normal vector.

学生经常混淆该用哪个公式。快速记忆技巧:线线与面面用余弦;线面用正弦。这是因为线面角与方向向量和法向量之间的夹角互余。

  • Always take the absolute value of the dot product when finding the acute angle. This avoids negative cosine values from obtuse vector angles.

    在求锐角时,务必对点积取绝对值,这样可避免由向量夹角为钝角带来的负余弦值。

  • If your cosine result is greater than 1 or less than −1, recheck the dot product and magnitudes; numerical errors often come from careless arithmetic.

    如果余弦结果大于 1 或小于 −1,请复查点积和模长;计算失误通常来自粗心的算术。

  • For line-plane angles, ensure you compute the sine, not the cosine, of the answer. A common error is to output the angle between v and n directly.

    对于线面角,务必计算的是答案的正弦值而非余弦值。常见错误是直接输出 vn 的夹角。

  • When a plane is given by three points, use the cross product to find its normal vector. Do not guess the normal by inspection.

    当平面由三个点给出时,用叉积求法向量,不要凭观察猜测法向量。

  • In IB exams, show the formula and your substitution clearly. Method marks are often awarded even if the final angle is slightly incorrect.

    在 IB 考试中,要清晰写出公式和代入过程。即使最终角度略有偏差,通常也能获得方法分。


11. Summary | 总结

Angle calculations in 3D geometry are entirely reduced to vector operations once you identify direction vectors and normal vectors. Use the dot product to compute the cosine of the angle between vectors, and remember to take the absolute value for acute angles. For line-plane angles, switch to sine. With these tools, you can handle all standard IB questions on this topic confidently.

空间几何中的夹角计算,一旦识别出方向向量和法向量,就完全归结为向量的运算。用点积计算向量夹角的余弦,并记得对锐角取绝对值。对于线面角,改用正弦。掌握这些工具后,你就能自信地应对 IB 中这一主题的所有标准题型。

Published by TutorHao | 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