Pythagorean Theorem Guide: Formula and Examples
The theorem is not a formula for any three sides. It describes the square relationship created by a right angle and its opposite side.
First find the right angle
Identify the hypotenuse, choose addition or subtraction from the missing side, and check that the three squares rebuild the right-triangle relationship.
c = √(a² + b²); a = √(c² − b²), for a right triangleThe hypotenuse c lies opposite the right angle and is the longest side; its square equals the sum of the leg squares.
The right angle chooses the theorem; the missing side chooses the operation.
Test the numbers while keeping the written reasoning beside them.Use square root in the scientific calculator
A Right Angle Creates a Square Relationship
Why must the longest side lie opposite the right angle?
In a right triangle, the two legs meet at 90 degrees and their squared lengths add to the square of the hypotenuse: a² + b² = c².
Identify c before moving any squared term.
For legs 3 and 4, c² = 9 + 16 = 25, so the positive length c is 5. The hypotenuse is opposite the right angle and longest.
The first diagram selects addition when c is missing and subtraction when a leg is missing. Both choices depend on identifying the hypotenuse.
The linked main calculator can evaluate squares and square roots after the right-triangle relationship is written; it does not identify the triangle for you.
Legs of 3 cm and 4 cm give c² = 3² + 4² = 9 + 16 = 25 cm². Taking the positive square root gives c = 5 cm.
Check: 5 exceeds both legs and 3² + 4² = 5².
The Hypotenuse Decides the Equation
What impossible result can appear when a leg is mislabeled as the hypotenuse?
To find a leg, subtract squared lengths: with c = 13 and one leg 5, the other leg squared is 169 − 25 = 144, so its length is 12.
- 01 · Square legs3² = 9; 4² = 16Use the two sides by the right angle.
- 02 · Add9 + 16 = 25This equals c².
- 03 · Rootc = √25 = 5Use positive length.
- 04 · Check3² + 4² = 5²Both sides equal 25.
The squared equation and side ordering support the same result.
Subtracting 13 − 5 before squaring would give the wrong geometric relation. The equation is about squares of lengths.
The step flow works through 3² + 4² = 25 and the positive square root 5, then checks the original squared relation.
If a proposed hypotenuse is shorter than a leg, the labels or measurements are inconsistent; c² − a² would be negative.
With hypotenuse 13 m and one leg 5 m, the other leg satisfies a² = 13² - 5² = 169 - 25 = 144. Thus a = 12 m.
Adding rather than subtracting would solve a different problem.
Add for the Hypotenuse, Subtract for a Leg
Why does the missing side determine whether the squared values are added or subtracted?
First locate the right angle, then label the side opposite it c. Substitute all known lengths in one unit.
Only the set whose smaller squares sum to the largest square forms a right triangle.
A 6-8-10 triangle scales the 3-4-5 case by two; its squared check is 36 + 64 = 100.
The comparison cards show that 3, 4, 5 passes the squared test while 2, 3, 4 does not; existence of a triangle alone is insufficient.
Area is a separate calculation: perpendicular legs 3 and 4 give (3 × 4)/2 = 6 square units. The main calculator CTA can evaluate that arithmetic.
From (−2,1) to (4,9), the horizontal change is 6 and vertical change is 8. The distance is √(6² + 8²) = √100 = 10.
Make the Squares Agree
Does the calculated side restore a² + b² = c² when it is substituted?
Square the candidate side and put it back into a² + b² = c². For 5, 12, 13, the check is 25 + 144 = 169.
A 3-4-6 triangle fails the right-angle test because 9 + 16 is not 36. The theorem cannot be applied as if the triangle were right.
All three side lengths must be positive, and a length answer takes the nonnegative square root even though x² = 25 has two algebraic roots.
The main calculator CTA evaluates the numeric expression after the triangle has been identified; it is not a hidden hypotenuse calculator.
For sides 2, 3, and 4, the largest side is 4. Since 2² + 3² = 13 rather than 4² = 16, the triangle is not right.
Let the Right Angle Lead
Use a² + b² = c² only after finding a right angle and the opposite hypotenuse. Add squared legs for c; subtract from c² for a missing leg.
Substitute lengths back into the squared relation. The linked main calculator can evaluate the arithmetic but does not decide which theorem applies.
References
The numerical cases are CalcSolver explanations. Read our calculation and correction method, or report an error with the input and expected result.