Math Solver Free

Pythagorean Theorem

The Pythagorean theorem links the three sides of every right triangle in one equation: a² + b² = c². Here are its variables, why it is true, and three worked examples — checking a triangle, finding a leg, and finding the hypotenuse.

Circle FormulasA = πr² · C = 2πr · d = 2rArea, circumference, diameter and radius — the whole circle family, worked both ways.Slope Formulam = (y₂ − y₁) / (x₂ − x₁)Rise over run from two points, the four slope types, and the sign mistakes to avoid.Geometric Sequence Formulasaₙ = a₁·rⁿ⁻¹ · Sₙ · S∞The nth term, the finite sum and the infinite sum — each verified by direct addition.Quadratic Formulax = (−b ± √(b² − 4ac)) / 2aSolve any ax² + bx + c = 0: the formula, the discriminant, and a worked example.Distance Formulad = √((x₂ − x₁)² + (y₂ − y₁)²)Distance between two points from Pythagoras: formula, reasoning and a 6-8-10 example.Midpoint FormulaM = ((x₁ + x₂) / 2, (y₁ + y₂) / 2)The point exactly halfway between two points is just the average of their coordinates.Area FormulasA = lw, A = ½bh, A = ((a + b) / 2)h, A = (d₁d₂) / 2Rectangle, triangle, parallelogram, trapezoid and rhombus areas on one page, with worked examples.Volume FormulasV = s³, V = πr²h, V = (4/3)πr³Cube, cuboid, cylinder, cone, sphere and triangular prism volumes, with worked examples.Exponent Formulas (Laws of Exponents)aᵐ · aⁿ = aᵐ⁺ⁿ, (aᵐ)ⁿ = aᵐⁿ, a⁻ⁿ = 1/aⁿProduct, quotient, power, zero, negative and fractional exponent rules with micro-examples.Logarithm Formulaslog_b(x) = y ⟺ bʸ = x; log_b(xy) = log_b(x) + log_b(y)Definition, product, quotient and power rules, change of base, and ln vs log₁₀ — with examples.Derivative Formulasd/dx xⁿ = n·xⁿ⁻¹Power, sum, exponential, log and trig derivative rules with a worked example.Integral Formulas∫xⁿ dx = xⁿ⁺¹/(n+1) + CPower rule, 1/x, eˣ, sin and cos antiderivatives, the + C, and definite integrals as area.Standard Deviation Formulaσ = √[ Σ(xᵢ − μ)² / N ]Population σ with N and sample s with n − 1, built on the variance, with a fully worked dataset.Probability FormulasP(E) = favourable / totalBasic probability, complement, addition and multiplication rules, permutations and combinations, with dice and counting examples.Compound Interest FormulaA = P(1 + r/n)^(nt)A = P(1 + r/n)^(nt) and continuous compounding Pe^(rt), with $1,000 at 5% for 10 years worked both ways.Simple Interest FormulaI = P · r · tI = Prt and A = P + I, with $2,000 at 6% for 4 years worked to I = $480 and A = $2,480.Arithmetic Sequence Formulasaₙ = a₁ + (n − 1)dThe nth term aₙ = a₁ + (n − 1)d and the sum Sₙ = n/2 · (a₁ + aₙ), with 3, 7, 11, … worked to a₂₀ = 79 and S₂₀ = 820.Percentage Formulas% change = (new − old) / old × 100Percent of a number, percentage change and finding the whole, plus the percentage-points trap, with worked examples.Trigonometric Ratiossin θ = opposite / hypotenusesin, cos and tan on a right triangle, the reciprocal ratios csc, sec and cot, and the exact 30°/45°/60° values.

The Pythagorean theorem: in a right triangle, a² + b² = c². The two sides that form the right angle are the legs, and the side opposite the right angle — always the longest — is the hypotenuse. The theorem says the squares of the two legs add to the square of the hypotenuse. It runs in both directions: if you know two sides you can find the third, and if three sides satisfy the equation, the triangle must be right-angled. Almost everything in coordinate geometry — the distance formula included — is this theorem at work.

The Variables, Explained

  • a and b are the legs, the sides meeting at the right angle. They are interchangeable: swapping a and b changes nothing.
  • c is the hypotenuse, opposite the 90° angle. It is always the longest side, and in the formula it must be the one standing alone.
  • a², b², c² are literally areas: the theorem says the squares built on the two legs together cover exactly the square built on the hypotenuse.

Why It Is True: The Rearrangement Idea

Draw a square of side a + b and place four copies of the triangle inside it, one in each corner, tilted so their hypotenuses form a slanted square in the middle. The middle square has side c, so its area is c². Now rearrange the same four triangles into two pairs in opposite corners: the uncovered region becomes two flat squares, of areas a² and b². The outer square and the four triangles never changed, so the uncovered area is the same in both arrangements — therefore c² = a² + b². This dissection is one of the oldest proofs in mathematics, and it shows the theorem is really a statement about areas, which is why squares appear in it at all.

Worked Example 1: Checking the 3-4-5 Triangle

Does a triangle with sides 3, 4 and 5 have a right angle? Put the longest side in the c position: is 3² + 4² = 5²? Compute: 9 + 16 = 25, and 5² = 25. Equal — so yes, the triangle is right-angled, with the right angle opposite the side of length 5. Builders have used this converse for millennia: a rope knotted at 3, 4 and 5 units folds into a perfect right angle for laying out corners.

Worked Example 2: Finding a Leg — Hypotenuse 13, Leg 5

Solve for the leg this time, so the unknown goes under a subtraction: b² = c² − a² = 13² − 5² = 169 − 25 = 144, and b = √144 = 12. Check: 5² + 12² = 25 + 144 = 169 = 13² ✓. The 5-12-13 triple is worth recognising on sight, like 3-4-5.

Worked Example 3: Finding the Hypotenuse — Legs 6 and 8

Here c is unknown and the legs add: c² = 6² + 8² = 36 + 64 = 100, so c = √100 = 10. This 6-8-10 triangle is the 3-4-5 triangle doubled — every multiple of a Pythagorean triple is another triple, which is why these numbers recur so often in exercises.

Common Mistakes

  • Adding the legs without squaring. For legs 6 and 8, c is not 6 + 8 = 14; it is √(36 + 64) = 10.
  • Putting a leg in the c position. The alone side of the equation must be the hypotenuse — the longest side, opposite the right angle. Mislabel, and a "leg" problem silently becomes a "hypotenuse" problem.
  • Adding when you should subtract. Finding a leg means c² − a². Adding 13² + 5² in Example 2 gives √194 ≈ 13.9, longer than the hypotenuse itself — an impossible leg, and a built-in alarm bell.
  • Forgetting the square root at the end. c² = 100 is not the answer; c = 10 is.
  • Using it on non-right triangles. The theorem needs a right angle. For other triangles the law of cosines is the generalisation that applies.

Try your own sides in the Pythagorean theorem calculator, read the standard treatment in OpenStax Prealgebra, and browse the full formulas library for more reference pages.

Frequently Asked Questions

What is the Pythagorean theorem?

In a right triangle, a² + b² = c², where a and b are the legs meeting at the right angle and c is the hypotenuse opposite it. Example: 3² + 4² = 9 + 16 = 25 = 5².

How do I find a missing leg?

Subtract instead of adding: leg² = c² − other leg². With hypotenuse 13 and leg 5: √(169 − 25) = √144 = 12.

How do I find the hypotenuse?

Add the squares of the legs and take the root: for legs 6 and 8, c = √(36 + 64) = √100 = 10.

Which side is c?

Always the hypotenuse: the side opposite the right angle, and always the longest side of the triangle. The legs a and b can swap freely.

Does a² + b² = c² prove a triangle is right-angled?

Yes — that is the converse of the theorem. If the three sides satisfy the equation, the angle opposite the longest side is exactly 90°, as with 3, 4 and 5.

What are Pythagorean triples?

Whole-number sides satisfying the theorem: 3-4-5, 5-12-13, 6-8-10, 8-15-17. Any multiple of a triple is also a triple, so 6-8-10 is just 3-4-5 doubled.

Related Tools & Guides