geometry

勾股定理的应用:超越直角三角形

如何在真实场景中使用 $a^2 + b^2 = c^2$——距离、梯子问题、导航,以及它与距离公式和三角学的联系。
AI-Math Editorial Team

作者: AI-Math Editorial Team

发布于 2026-05-01

大多数学生在初中第一次接触勾股定理 a2+b2=c2a^2 + b^2 = c^2,第二年就忘了。但这一个方程支撑着距离计算、GPS 三边测量、向量模长、信号强度,乃至整个欧几里得几何。本指南展示学生很少见到的实际应用。

定理

在任意直角三角形中,设两条直角边为 aabb,斜边为 cc

a2+b2=c2a^2 + b^2 = c^2

斜边永远是直角所对的那条边——也就是最长的那条边。一旦标错,每个答案都会出错。

应用 1:梯子问题

一架 13 英尺长的梯子靠在墙上,底端离墙 5 英尺。它能够到多高?

a=5a = 5c=13c = 13(梯子是斜边)。
52+b2=13225+b2=169b2=144b=125^2 + b^2 = 13^2 \Rightarrow 25 + b^2 = 169 \Rightarrow b^2 = 144 \Rightarrow b = 12 英尺。

这就是经典的 5-12-13 直角三角形。

应用 2:距离公式

两点 P1=(x1,y1)P_1 = (x_1, y_1)P2=(x2,y2)P_2 = (x_2, y_2) 构成一个直角三角形,水平直角边为 x2x1|x_2 - x_1|,竖直直角边为 y2y1|y_2 - y_1|。斜边就是它们之间的距离

d=(x2x1)2+(y2y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}

距离公式不过是伪装起来的勾股定理。

应用 3:三维欧几里得距离

加上一个 zz 坐标,同样的思路就能推广:

d=(x2x1)2+(y2y1)2+(z2z1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2}

电子游戏、机器人技术和物理仿真都是这样测量距离的。

应用 4:向量模长

二维向量 v=(a,b)\mathbf{v} = (a, b) 的长度是 v=a2+b2\|\mathbf{v}\| = \sqrt{a^2 + b^2}。同一个定理,不同的记号。

应用 5:导航与方位

一艘船先向东航行 30 公里,再向北航行 40 公里。它离港口的直线距离是多少?
302+402=900+1600=2500=50\sqrt{30^2 + 40^2} = \sqrt{900 + 1600} = \sqrt{2500} = 50 公里。这是把经典的 3-4-5 直角三角形放大 10 倍。

应用 6:与三角学的联系

在直角三角形中,sinθ=b/c\sin\theta = b/ccosθ=a/c\cos\theta = a/c,因此:

sin2θ+cos2θ=a2+b2c2=1\sin^2\theta + \cos^2\theta = \frac{a^2 + b^2}{c^2} = 1

勾股恒等式就是用三角语言写出的原始定理。

常见错误

  • 标错斜边——它永远在直角的对面。
  • 最后忘了开平方根
  • 把它用到非直角三角形上——对那些情形,请用余弦定理

用 AI 三角形求解器验证

把你的三条边(或两条边 + 直角)输入三角形求解器,即可对上面展示的每一步立即验证。

相关链接:

常见问题

The Pythagorean theorem states a² + b² = c², where a and b are the legs of a right triangle and c is the hypotenuse. It applies only to right triangles — triangles that contain a 90-degree angle.

Pythagorean triples are sets of three positive integers (a, b, c) satisfying a² + b² = c². Common examples are 3-4-5, 5-12-13, 8-15-17, and 7-24-25. Any positive integer multiple of a Pythagorean triple is also a triple.

It is used in construction to verify square corners, in navigation to calculate straight-line distances, in computer graphics to find pixel distances, and in physics to resolve vectors. The coordinate distance formula d = √((x₂−x₁)² + (y₂−y₁)²) is a direct application.

AI-Math Editorial Team

作者: AI-Math Editorial Team

发布于 2026-05-01

A small team of engineers, mathematicians, and educators behind AI-Math, focused on making step-by-step math help accessible to every student.