ピタゴラスの定理

a² + b² = c² — すべての直角三角形が従う公式

[email protected], Geometry Calculator Developer & Online Math Educator が監修 最終更新 May 21, 2026

ピタゴラスの定理は、任意の直角三角形において、斜辺(直角の対辺)の平方が他の2辺の平方の和に等しいことを述べています。約2500年前に古代ギリシャ人によって発見され、距離計算、航海、建設、コンピュータグラフィックスなど、幾何学で最も使われる公式であり続けています。公式a² + b² = c²は覚えやすいですが、直角三角形のみに適用されます。

公式

名前 公式 備考
標準形 a² + b² = c² a, b = 2つの脚(直角に隣接する辺);c = 斜辺(直角の対辺、常に最長辺)。
斜辺を求める c = √(a² + b²) 両方の脚が既知の場合。常に正(長さは非負)。
脚を求める(斜辺と他の脚が与えられた場合) a = √(c² − b²) 平方を引き、平方根を取る。c > b が必要。
ピタゴラス恒等式の確認 a² + b² ≟ c² 与えられた3辺の長さが直角三角形を形成するかどうかをテストするため。真なら直角三角形、偽なら鋭角または鈍角三角形。
距離公式(2次元) d = √((x₂−x₁)² + (y₂−y₁)²) ピタゴラスを座標幾何学に適用 — 脚は水平方向のΔxと垂直方向のΔy。距離・中点公式のページを参照。
距離公式(3次元) d = √((x₂−x₁)² + (y₂−y₁)² + (z₂−z₁)²) 3次元への拡張。同じ考え方:成分の差の平方和、次に平方根。
ピタゴラス数 a:b:c = 3:4:5 / 5:12:13 / 8:15:17 / 7:24:25 / 20:21:29 整数値で常にピタゴラスを満たす辺の長さの比。素早い確認や一般的なテスト問題に便利。
ピタゴラス数の倍数 k·a, k·b, k·c ピタゴラス数の任意の正の倍数kもピタゴラス数:6-8-10、9-12-15、30-40-50はすべて成立。
ピタゴラス数の生成(ユークリッド) a = m²−n², b = 2mn, c = m²+n² 任意の正の整数 m > n に対して、ピタゴラス数を生成する。(m=2,n=1) → 3,4,5;(m=3,n=2) → 5,12,13。
逆定理 If a² + b² = c² → triangle is right 逆方向:辺の平方の等式が成り立てば、cの対角は必ず90°である。

例題

例題 1:脚が3と4の直角三角形 — 斜辺を求めよ

  1. c² = a² + b² = 3² + 4² = 9 + 16 = 25
  2. c = √25 = 5
  3. Recognize: this is the classic 3-4-5 Pythagorean triple.

例題 2:斜辺13、一方の脚5 — 他方の脚を求めよ

  1. b² = c² − a² = 13² − 5² = 169 − 25 = 144
  2. b = √144 = 12
  3. Recognize: this is the 5-12-13 triple.

例題 3:辺が6、8、11の三角形は直角三角形か?

  1. Test the converse: does 6² + 8² = 11²?
  2. 36 + 64 = 100 ; 11² = 121
  3. 100 ≠ 121 → NOT a right triangle (it's obtuse since 100 < 121).

例題 4:6×8の長方形の対角線

  1. The diagonal forms the hypotenuse of a right triangle with legs 6 and 8.
  2. d = √(36 + 64) = √100 = 10 units

Proofs of the Pythagorean Theorem

The validity of the relationship between the sides of a right triangle can be demonstrated through multiple rigorous methods. One of the most intuitive approaches is the rearrangement proof, which relies on area conservation. Consider four identical right triangles arranged inside a larger square. In the first configuration, the triangles are positioned such that their hypotenuses form a smaller square in the center. The area of this central square is equal to the sum of the areas of the two smaller squares formed by the legs when the triangles are rearranged differently within the same bounding square. This geometric manipulation visually confirms that the area associated with the longest side equals the combined areas of the other two.

An algebraic proof offers a different perspective by utilizing similar triangles. By drawing an altitude from the right angle vertex to the hypotenuse, the original triangle is divided into two smaller triangles that are similar to the parent triangle and to each other. Using the ratios of corresponding sides, one can derive equations that, when summed, yield the standard formula. Another common algebraic method involves constructing squares on each side of the triangle. The area of the square on the hypotenuse is shown to be exactly equal to the sum of the areas of the squares on the two legs. These proofs establish the theorem not merely as a rule for calculation, but as a fundamental property of Euclidean geometry.

Understanding these derivations helps clarify why the theorem holds true specifically for right triangles. The converse of Pythagorean theorem is also critical here; if the square of the longest side of any triangle equals the sum of the squares of the other two sides, then the triangle must contain a right angle. This bidirectional logic allows mathematicians and engineers to verify angular properties based solely on side measurements. Whether using visual rearrangements or algebraic manipulations involving similar triangles, the core principle remains consistent: the geometric integrity of the right triangle is defined by this precise mathematical equality.

Step-by-Step Examples

Applying the formula requires identifying which sides correspond to the variables. In a right triangle, the hypotenuse is always the side opposite the right angle and is the longest side, denoted as c. The other two sides are called legs, labeled a and b. When solving for the hypotenuse, you square both legs, add them together, and take the square root of the result. For example, if leg a is 3 units and leg b is 4 units, the calculation proceeds as follows: 3 squared is 9, and 4 squared is 16. Adding these gives 25. The square root of 25 is 5. Thus, the hypotenuse measures 5 units. This specific set of integers (3, 4, 5) is known as a Pythagorean triple, where all three sides are whole numbers satisfying the equation.

Solving for a missing leg requires a slight variation in the algebraic steps. If the hypotenuse c is 10 and one leg a is 6, you must isolate the unknown leg b. First, square the known values: 10 squared is 100, and 6 squared is 36. Since the formula states a² + b² = c², you subtract the square of the known leg from the square of the hypotenuse. The equation becomes 36 + b² = 100. Subtracting 36 from both sides yields b² = 64. Taking the square root of 64 gives b = 8. Therefore, the missing leg is 8 units long. This process demonstrates how the theorem allows for flexible problem-solving depending on which dimension is unknown.

These examples illustrate the practical utility of the theorem in basic arithmetic. It is important to ensure that the triangle is indeed a right triangle before applying these calculations. If the calculated value for the hypotenuse is less than the longest given leg, or if the sum of the squares does not match, the initial assumption about the triangle's type may be incorrect. Mastery of these step-by-step procedures enables accurate determination of unknown distances in various geometric contexts.

Real-World Applications

The Pythagorean theorem extends far beyond classroom exercises, serving as a foundational tool in construction, navigation, and physics. In construction, carpenters and builders frequently use the theorem to ensure structures are square. By measuring diagonals across rectangular frames, workers can verify that corners are exactly 90 degrees. If the diagonal length matches the calculation derived from the width and height, the frame is properly aligned. This application is crucial for installing cabinets, laying foundations, and framing walls, ensuring stability and precision in built environments.

In navigation, the theorem calculates the shortest distance between two points, often referred to as the Euclidean distance. When plotting a course on a map, the direct path between two coordinates forms the hypotenuse of a right triangle created by north-south and east-west displacements. Pilots and sailors use this calculation to determine fuel requirements and travel time more accurately than following grid lines. Similarly, in physics, the theorem is essential for resolving vectors. When forces or velocities act at angles, they can be broken down into perpendicular components. The magnitude of the resultant vector is found using the theorem, allowing engineers to analyze structural loads and motion dynamics effectively.

These applications highlight the theorem's role in measuring spatial relationships. Whether determining the length of a ladder needed to reach a roof, calculating the displacement of a projectile, or verifying the alignment of a building, the ability to relate perpendicular dimensions to a diagonal distance is indispensable. The consistency of the mathematical relationship ensures reliable results across diverse fields, making it a universal standard for distance measurement in flat, two-dimensional space.

Frequently Asked Questions

What is the formula?

The formula for the Pythagorean theorem is a² + b² = c². In this equation, a and b represent the lengths of the two legs of a right triangle, while c represents the length of the hypotenuse, which is the side opposite the right angle and typically the longest side.

Who discovered it?

Although the theorem is named after the ancient Greek mathematician Pythagoras, evidence suggests that Babylonian and Indian mathematicians knew of the relationship centuries earlier. Pythagoras or his followers are credited with providing the first formal proof, establishing it as a fundamental principle of geometry.

Can it be used for obtuse angles?

No, the standard theorem applies exclusively to right triangles. However, the Law of Cosines generalizes this concept for any triangle. For obtuse triangles, the square of the longest side will be greater than the sum of the squares of the other two sides, indicating that the angle opposite that side is greater than 90 degrees.

Are there other forms?

Yes, the converse of Pythagorean theorem is a distinct form used to identify right triangles. It states that if a² + b² = c² holds true for a triangle's sides, then the triangle must contain a right angle. Additionally, in coordinate geometry, the theorem is used to calculate the distance between two points, known as the Euclidean distance formula.

手計算は不要

数値を入力するだけで即座にステップごとの結果を取得。

Use Pythagorean Theorem Calculator 全ての幾何公式を見る