The Wayback Machine - https://web.archive.org/web/20240910003801/https://www.geeksforgeeks.org/pythagoras-theorem/
Open In App

Pythagoras Theorem | Formula, Proof and Examples

Last Updated : 17 May, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Pythagorean theorem states that in a right-angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides. The theorem can be expressed as r2 = p2 + q2, where ‘r’ is the hypotenuse and ‘p’ and ‘q’ are the two legs often called perpendicular and base of the triangle.

Pythagoras Theorem explains the relationship between the three sides of a right-angled triangle and helps us find the length of a missing side if the other two sides are known. It is also known as the Pythagorean theorem.

In this article, we will learn about the Pythagoras theorem statement, its formula, proof, examples, applications, and converse of Pythagoras theorem in detail.

Proof of Pythagoras Theorem

Pythagoras Theorem Statement

The Pythagoras Theorem states that in a right-angled triangle, the square of the length of the hypotenuse is equal to the sum of the squares of the lengths of the other two sides. It provides us with the relationship between the sides in a right-angled triangle. A right triangle consists of two legs and a hypotenuse.

Pythagoras Theorem Formula

Pythagoras theorem formula is AC2 = AB2 + BC2, where AB is the perpendicular side, BC is the base, and AC is the hypotenuse side. The Pythagoras equation is applied to any triangle that has one of its angles equal to 90°.

Pythagoras Theorem Diagram

Pythagoras Formula

The three sides of the right-angled triangle are called the Pythagoras Triplets. 

Pythagoras Theorem Proof

Consider a right-angled triangle having sides A, B, and C. Here, AC is the longest side (hypotenuse), and AB and BC are the legs of the triangle. Draw a perpendicular line BD at AC as shown in the figure below,

Pythagorus Theorem Proof Illustration

Derivation of Pythagoras Theorem

In △ABD and △ACB,

∠A = ∠A (Common angle)

∠ADB = ∠ABC (90°)

Therefore, we can say △ABD ∼ △ ACB (By AA Similarity)

Similarly, △BDC ∼ △ACB

Hence, AD/AB = AB/AC

AB2 = AD × AC ⇢ (1)

And, CD/BC = BC/AC

BC2 = CD × AC ⇢ (2)

Adding equations (1) and (2),

AB2 + BC2 = AC × AD + AC × CD

AB2 + BC2 = AC (AD + CD)

AB2 + BC2 = AC × AC

AB2 + BC2 = AC2

Also, AC2 = AB2 + BC2

Hence proved.

Converse of Pythagoras Theorem

The converse of the Pythagoras theorem states that,

Given a triangle with sides of length a, b, and c, if a2 + b2 = c2, then the angle between sides a and b is a right angle. For any three positive real numbers a, b, and c such that a2 + b2 = c2, there exists a triangle with sides a, b and c as a consequence of the converse of the triangle inequality.

Converse of Pythagoras Theorem Proof

For a triangle with the length of its sides a, b, if c2 = a2 + b2, we need to prove that the triangle is right-angled.

Converse of Pythagoras Theorem

We assume that it satisfies c2 = a2 + b2, and by looking into the diagram, we can tell that ∠C = 90°, but to prove it, we require another triangle △EGF, such as AC = EG = b and BC = FG = a.

Converse of Pythagorean Theorem Proof

In △EGF, by Pythagoras Theorem:

⇒ EF2 = EG2 + FG22 = b2 + a2 ⇢ (1)

In △ABC, by Pythagoras Theorem:

⇒ AB2 = AC2 + BC2 = b2 + a2 ⇢ (2)

From equation (1) and (2), we have;

⇒ EF2 = AB2

⇒ EF = AB

⇒ △ ACB ≅ △EGF (By SSS postulate)

⇒ ∠G is right angle

Thus, △EGF is a right triangle. Hence, we can say that the converse of the Pythagorean theorem also holds.

History of Pythagoras Theorem

The history of the Pythagoras Theorem goes back to the ancient Babylon and Egypt eras. It is named after the ancient Greek mathematician and philosopher Pythagoras of Samos. He lived during the 6th century BCE.

But the roots of this theorem go to ancient cultures. It is very likely that Babylonians and Indians used this theorem well before Pythagoras, but its widespread use came into existence after Pythagoras stated it. The Pythagorean theorem is also known as the Baudhayana theorem, listed in the book Baudhāyana Śulbasûtra by the great Indian mathematician Baudhāyana.

One of the other reasons this theorem is known as Pythagoras or Pythagorean Theorem is because the disciples of Pythagoras spread knowledge and philosophy of Pythagoras after his death as well.

Pythagoras Theorem Applications

Below are some of the uses of Pythagorean Theorem in real life:

  • The Pythagoras theorem is used for navigation in order to find the shortest distance, etc.
  • In order to recognize faces in security cameras, this theorem is required to understand the distance of the person from the camera.
  • In engineering fields, it is used to calculate the unknown dimension, say, the diameter of a particular sector.

People Also Read:

Solved Examples on Pythagoras Theorem

Let’s solve some questions on Pythagoras Theorem.

Example 1: In the below given right triangle, find the value of y.

Pythagoras Theorem Example

Solution: 

By the statement of the Pythagoras theorem we get,

⇒ z2 = x2 + y2

Now, substituting the values directly we get,

⇒ 132 = 52 + y2

⇒ 169 = 25 + y2

⇒ y2 = 144

⇒ y = √144 = 12

Example 2: Given a rectangle with a length of 4 cm and breadth of 3 cm. Find the length of the diagonal of the rectangle.

Solution: 

Solved Example of Pythagoras Theorem

In the above diagram length of the rectangle is 4 cm, and the width is 3 cm. Now we have to find the distance between point A to point C or point B to point D. Both give us the same answer because opposite sides are of the same length i.e., AC = BD. Now let’s find the distance between points A and C by drawing an imaginary line.

Pythagorean Theorem Example

Now triangle ACD is a right triangle. 

So by the statement of Pythagoras theorem,

⇒ AC2 = AD2 + CD2

⇒ AC2 = 42 + 32

⇒ AC2 = 25

⇒ AC = √25 = 5

Therefore length of the diagonal of given rectangle is 5 cm.

Example 3: The sides of a triangle are 5, 12, and 13. Check whether the given triangle is a right triangle or not.

Solution: 

Given,

⇒ a = 5

⇒ b = 12

⇒ c = 13

By using the converse of Pythagorean Theorem,

⇒ a2 + b2 = c2

Substitute the given values in the above equation,

⇒ 132 = 52 + 122

⇒ 169 = 25 + 144

⇒ 169 = 169

So, the given lengths satisfy the above condition.

Therefore, the given triangle is a right triangle.

Example 4: The side of a triangle is of lengths 9 cm, 11 cm, and 6 cm. Is this triangle a right triangle? If so, which side is the hypotenuse?

Solution: 

We know that hypotenuse is the longest side. If 9 cm, 11 cm, and 6 cm are the lengths of the angled triangle, then 11 cm will be the hypotenuse.

Using the converse of Pythagoras theorem, we get

⇒ (11)2 = (9)2 + (6)2

⇒ 121 = 81 + 36

⇒ 121 ≠ 117

Since, both the sides are not equal therefore 9 cm, 11 cm and 6 cm are not the side of the right-angled triangle.

Pythagoras Theorem Questions

Here are some practice questions on the Pythagoras theorem for you to solve.

Q1: If the two shorter sides of a right angled triangle measures 14 and 15 cm, find the length of the longest side.

Q2: If the hypotenuse and perpendicular of a right angled triangle are 5 and 4 cm then find the base.

Q3: In a triangular field the sides measures 24 cm, 7 cm and 25 cm then prove that field is the form of a right triangle.

Q4: A wall is of 12 m height and a ladder of 13 m is placed against it touching its top. Find the distance between the foot of the ladder and the wall.

FAQs on Pythagorean Theorem

State Pythagoras Theorem.

Pythagoras theorem states that, the square of the hypotenuse is equal to the sum of the sides of the perpendicular and base. It can be written as:

c2 = a2 + b2

Who invented Pythagoras Theorem?

Greek mathematician and philosopher Pythagoras of Samos (commonly known as Pythagoras) is credited with the invention of Pythagoras’ Theorem. Scientists also found inscriptions of the same theorem in the ruins of ancient Egypt and Babylon, but their use of the theorem was not widely publicized until Pythagoras stated it. 

What is Pythagoras Theorem Formula?

Pythagorean theorem formula is: a2 + b2 = c2 , where “a” and “b” represent the lengths of the two shorter sides of the right triangle and “c” represents the “hypotenuse.”

What is Converse of Pythagoras Theorem?

The converse of Pythagoras theorem states that if the square of the length of the longest side of a triangle is equal to the sum of the squares of the other two sides, then the triangle is a right triangle.

Can we apply Pythagoras Theorem to any triangle?

No, we can apply the Pythagoras theorem to the right-angled triangles only.

What are applications of Pythagoras Theorem?

Applications of the Pythagoras theorem are in various fields:

  • Architecture and navigation site.
  • In order to calculate the surface area and volume, etc.


Previous Article
Next Article

Similar Reads

Extreme Value Theorem - Formula, Examples, Proof, Statement
Extreme value theorem proves the existence of the maximum and minimum value of the function if the function is continuous in the closed interval [a, b]. In this article, we will discuss the extreme value theorem in depth along with the extreme value theorem statement, extreme value theorem proof and how to use the extreme value theorem. We will als
8 min read
Practice Questions on Pythagoras Theorem
Pythagorean Theorem is one of the most fundamental principles in mathematics, forming the foundation of geometry. This ancient theorem, attributed to the Greek mathematician Pythagoras, establishes a relationship between the sides of a right triangle. In this article, we are going to study about an important chapter of school mathematics. This arti
9 min read
Rydberg Formula: Formula, Proof and Solved Examples
The Rydberg formula predicts the wavelength of light produced by an electron moving between atomic energy levels. Each element has a unique spectral fingerprint. When an element's gaseous state is heated, light is produced. When this light passes through a prism or a diffraction grating, bright lines of various hues can be discerned. In some manner
6 min read
Basic Proportionality Theorem (BPT) Class 10 | Proof and Examples
Basic Proportionality Theorem: Thales theorem is one of the most fundamental theorems in geometry that relates the parts of the length of sides of triangles. The other name of the Thales theorem is the Basic Proportionality Theorem or BPT. BPT states that if a line is parallel to a side of a triangle that intersects the other sides into two distinc
8 min read
James A. Garfield's Proof of the Pythagorean Theorem
Pythagorean theorem is a theorem for right-angled triangles, it is also referred to as the Pythagoras theorem. It is used to show the connection in the sides of a triangle which is a right-angled triangle. According to this theorem sum of squares of any two small sides is equal to the square of the biggest side. The small sides of a right-angled tr
5 min read
Triangle Inequality Theorem, Proof & Applications
Triangle Inequality Theorem is the relation between the sides and angles of triangles which helps us understand the properties and solutions related to triangles. Triangles are the most fundamental geometric shape as we can't make any closed shape with two or one side. Triangles consist of three sides, three angles, and three vertices. The construc
9 min read
Sum of Cube of N Natural Numbers: Formula, Proof and Examples
Sum of cube of n natural numbers is a mathematical pattern on which various questions were asked in competitive exam. So, the sum of cube of n natural numbers is obtained by the formula [n2(n+1)2]/4 where S is sum and n is number of natural numbers. Natural Numbers are the numbers started from 1 and it ends on infinity ∞. We have covered the Sum of
6 min read
Euler’s Formula for Polyhedron : Proof, Examples and practice questions
Euler's formula for Polyhedron is a fundamental theorem in the field of geometry. Euler formula establishes a relationship between the number of vertices (V), edges (E), and faces (F) of a convex polyhedron. The formula is expressed as V - E + F = 2. The Euler Formula holds true for any convex polyhedron, such as a cube, tetrahedron, or any other s
10 min read
Quotient Rule: Formula, Proof, Definition, Examples
Quotient Rule is a method for finding the derivative of a function that is the quotient of two other functions. It is a method used for differentiating problems where one function is divided by another. We use the quotient rule when we have to find the derivative of a function of the form: f(x)/g(x). Let's learn about the Quotient Rule in Calculus,
7 min read
Derivative of Log x: Formula and Proof
Derivative of log x is 1/x. Log x Derivative refers to the process of finding change in log x function to the independent variable. The specific process of finding the derivative for log x functions is referred to as logarithmic differentiation. The function log x typically refers to the natural logarithm of x, which is the logarithm to the base e,
7 min read
Rolle's Theorem and Lagrange's Mean Value Theorem
Rolle's Theorem and Lagrange's Mean Value Theorem: Mean Value Theorems (MVT) are the basic theorems used in mathematics. They are used to solve various types of problems in Mathematics. Mean Value Theorem is also called Lagrenges's Mean Value Theorem. Rolle’s Theorem is a subcase of the mean value theorem and they are both widely used. These theore
11 min read
Chain Rule: Theorem, Formula and Solved Examples
Chain Rule is a way to find the derivative of composite functions. It is one of the basic rules used in mathematics for solving differential problems. It helps us to find the derivative of composite functions such as (3x2 + 1)4, (sin 4x), e3x, (ln x)2, and others. Only the derivatives of composite functions are found using the chain rule. The famou
9 min read
De Morgan's Law - Theorem, Proofs, Formula & Examples
De Morgan's law is the most common law in set theory and Boolean algebra as well as set theory. In this article, we will learn about De Morgan's law, De Morgan's law in set theory, and De Morgan's law in Boolean algebra along with its proofs, truth tables, and logic gate diagrams. The article also includes the solved De Morgan's Law Example and FAQ
14 min read
ASA Congruence Rule | Definition, Proof & Examples
ASA Congruence Rule: ASA stands for Angle-Side-Angle. It is one of the congruence tests used to test the congruence of two triangles. Other than ASA there are 4 more congruence rules i.e., SSS, SAS, AAS, and RHS. Condition of Congruency of Two Triangles: Two triangles are said to be congruent if two angles and the included side of one triangle are
8 min read
Why is the product of negative numbers positive: Proof with examples
The product of negative numbers are positive because multiplying a negative number by another negative number, the resultant operation is positive in nature. Algebra is the branch of mathematics dealing with arithmetic operations and their associated symbols. The symbols are termed as variables that may take different values when subjected to diffe
3 min read
Pythagorean Theorem Formula
Pythagorean theorem also known as Pythagoras' theorem can be defined as a relation among the three sides (hypotenuse, base, perpendicular) of a right-angled triangle. It states that the sum of squares of two small sides(base and perpendicular) is equal to the square of the longest side (hypotenuse). This theorem is named after the Greek philosopher
4 min read
Molecular Weight Formula - Definition, Formula, Solved Examples
An atom is the basic building block of matter i.e. everything around us is made of matter. This is the smallest unit into which matter can be divided without the release of any electrically charged particles. This is the smallest unit of matter which has the characteristic properties of a chemical element. The mass of an atom depends on the electro
5 min read
Use a proof by contradiction to show that there is no rational number r for which r<sup>3</sup> + r + 1 = 0
Number system is a way to represent numbers. In mathematics, there are different kinds of numbers present. Some of them are real numbers, Integers, whole numbers, rational and irrational numbers, even, odd, etc. Number system provides a unique representation for every number. There are also different types of number systems present in mathematics l
4 min read
The Experimental Proof Of DNA Replication
The process by which cells duplicate their genetic material during cell division—the replication of DNA—was still largely a mystery. This sparked a race to understand how DNA replication happens among several well-known experts. The experimental evidence of DNA replication, which showed that DNA replication is a semi-conservative process, was one o
5 min read
Proof: Why There Is No Rational Number Whose Square is 2?
Problem Statement : Why There Is No Rational Number Whose Square is 2. Rational Numbers: A number that can be expressed in the form of p/q, where p and q are integers and q ≠ 0, is known as a rational number. Examples are 0, 1, -1, 5/2, etc. Solution:Let's get started with the proof of the above problem statement. Proof in this article will be done
2 min read
Proof of De-Morgan's Laws in Boolean Algebra
De Morgan's Laws are fundamental principles in Boolean algebra and set theory, providing rules for transforming logical expressions. These laws are essential for simplifying and manipulating Boolean expressions, which have significant applications in digital circuit design, computer science, and engineering. This article provides a detailed proof o
7 min read
Theorem - There is one and only one circle passing through three given non-collinear points | Class 9 Maths
Theorem Statement: There is one and only one circle passing through three given non-collinear points. Required Diagram: Given: Three non-collinear points P, Q, and R. To Prove: There is one and only one circle passing through P, Q, and R. Construction: Join PQ and QR. Draw perpendicular bisectors AL and BM of PQ and RQ respectively. Since P, Q, R i
3 min read
Introduction to Parallelogram: Properties, Types, and Theorem
Parallelogram is a two-dimensional geometrical shape whose opposite sides are equal in length and parallel. The opposite angles of a parallelogram are equal in measure. In this article, we will learn about the definition of a parallelogram, its properties, types, theorem and formulas on the area and perimeter of a parallelogram in detail. Table of
12 min read
General and Middle Terms - Binomial Theorem - Class 11 Maths
Binomial theorem or expansion describes the algebraic expansion of powers of a binomial. According to this theorem, it is possible to expand the polynomial "(a + b)n" into a sum involving terms of the form "axzyc", the exponents z and c are non-negative integers where z + c = n, and the coefficient of each term is a positive integer depending on th
7 min read
Pythagorean Theorem: Fun Facts and More
Pythagorean Theorem is a fundamental principle in mathematics that has intrigued people for centuries. Named after the ancient Greek mathematician Pythagoras, the theorem states that in a right-angled triangle, the square of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the other two sides. Although Pythag
5 min read
Area and Perimeter of Shapes | Formula and Examples
Area and Perimeter are the two fundamental properties related to 2-dimensional shapes. Defining the size and length of its boundary. By learning about the areas of 2D shapes, we can easily determine the surface areas of 3D bodies and perimeter helps us to calculate the length of the boundary of any 2D closed shape. The method and parameters require
11 min read
Consensus Theorem in Digital Logic
Prerequisite - Properties of Boolean algebra, Minimization of Boolean Functions Redundancy theorem is used as a Boolean algebra trick in Digital Electronics. It is also known as Consensus Theorem: AB + A'C + BC = AB + A'C The consensus or resolvent of the terms AB and A'C is BC. It is the conjunction of all the unique literals of the terms, excludi
3 min read
Theorem - The lengths of tangents drawn from an external point to a circle are equal - Circles | Class 10 Maths
Tangent is a straight line drawn from an external point that touches a circle at exactly one point on the circumference of the circle. There can be an infinite number of tangents of a circle. These tangents follow certain properties that can be used as identities to perform mathematical computations on circles. Here, in this article, we will learn
5 min read
Theorem - The tangent at any point of a circle is perpendicular to the radius through the point of contact - Circles | Class 10 Maths
Tangent is a straight line drawn from an external point that touches a circle at exactly one point on the circumference of the circle. There can be an infinite number of tangents of a circle. These tangents follow certain properties that can be used as identities to perform mathematical computations on circles. Here, in this article, we will learn
3 min read
Multiplication Theorem
Probability refers to the extent of the occurrence of events. When an event occurs like throwing a ball, picking a card from the deck, etc ., then there must be some probability associated with that event. In terms of mathematics, probability refers to the ratio of wanted outcomes to the total number of possible outcomes. The probability of simulta
6 min read