Right triangle, perimeter = area?

Geometry Level 3

Find all the right triangles with integer side lengths such that their perimeter and area have the same numerical value.

Submit your answer as the sum of all possible numerical values mentioned above.


The answer is 54.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Eamon Gupta
Jul 9, 2017

Euclid's formula for Pythagorean Triples states that the sides of a right angled triangle must be in the form of m 2 n 2 m^2-n^2 , 2 m n 2mn and m 2 + n 2 m^2+n^2 , where m , n m,n are both postive integers. Hence we can now equate the area and perimeter:

1 2 ( 2 m n ) ( m 2 n 2 ) = ( m 2 + n 2 ) + ( m 2 n 2 ) + ( 2 m n ) \frac{1}{2}(2mn)(m^2-n^2) = (m^2+n^2)+(m^2-n^2)+(2mn)

m n ( m 2 n 2 ) = 2 m 2 + 2 m n mn(m^2-n^2)=2m^2+2mn

m n ( m + n ) ( m n ) = 2 m ( m + n ) mn(m+n)(m-n)=2m(m+n)

m n ( m n ) = 2 m mn(m-n)=2m

n ( m n ) = 2 n(m-n)=2

From this we obtain the 2 2 solutions for ( m , n ) (m,n) which are ( 3 , 1 ) (3,1) and ( 3 , 2 ) (3,2) since 2 2 only has 2 2 factors. Substituting these values back into the side lengths of the triangle, we obtain the 6 8 10 6-8-10 triangle with area and perimeter of 24 \color{#3D99F6}24 and the 5 12 13 5-12-13 triangle with area and perimeter 30 \color{#D61F06}30 .

Hence 24 + 30 = 54 \color{#3D99F6}24+\color{#D61F06}30 = \color{#333333}\boxed{54}

Euclid's formula is a way to generate infinitely many Pythagorean triples, but it doesn't give us an exhaustive list. It's insufficiently general, according to the wiki.

Richard Desper - 3 years, 10 months ago

The hypotenuse wasn't also supposed to be a integer? In this case, there wouldn't be any solution.

Iván B F - 3 years, 10 months ago

Log in to reply

Correct, if we required that the hypotenuse not be an integer then there would be no solutions. But this isn't what the problem stipulates.

Stewart Gordon - 3 years, 10 months ago
Zach Abueg
Jul 7, 2017

If a a , b b , and a 2 + b 2 \sqrt{a^2 + b^2} are the sides of a right triangle, then P = a + b + a 2 + b 2 P = a + b + \sqrt{a^2 + b^2} and A = a b 2 A = \displaystyle \frac {ab}{2} . Equating both expressions yields

a 2 + b 2 = a 2 b 2 4 a b 2 a 2 b + 2 a b + a 2 + b 2 \displaystyle a^2 + b^2 = \frac{a^2b^2}{4} - ab^2 - a^2b + 2ab + a^2 + b^2

which simplifies to

a + b = a b 4 + 2 (1) \displaystyle \begin{aligned} a + b = \frac{ab}{4} + 2 \tag{1} \end{aligned}

Since a , b N a, b \in \mathbb{N} , it follows that a b 4 N \displaystyle \frac{ab}{4} \in \mathbb{N} , and 4 4 divides a a or b b , or 2 2 divides both a a and b b . In the latter case, letting a = 2 p a = 2p and b = 2 q b = 2q , we find that 2 p + 2 q = p q + 2 2p + 2q = pq + 2 . Therefore, 2 2 divides p p or q q , and so either a a or b b is divisible by 4 4 , which was the former case.

Suppose that b = 4 m b = 4m for some positive integer m m . Substituting ( 1 ) (1) , we get a + 4 m = a m + 2 a + 4m = am + 2 . Since this can be written as

( a 4 ) + 2 = ( a 4 ) m (a - 4) + 2 = (a - 4)m

we see that ( a 4 ) 2 (a - 4) \mid 2 . Thus, the only solutions to our problem occur for a = 5 a = 5 and a = 6 a = 6 , with respective values b = 12 b = 12 and b = 8 b = 8 . Their corresponding areas are

A = 1 2 5 12 = 30 A = 1 2 6 8 = 24 \displaystyle \begin{aligned} A & = \frac 12 \cdot 5 \cdot 12 = 30 \\ A & = \frac 12 \cdot 6 \cdot 8 = 24 \end{aligned}

Our answer is 54 \boxed{54} .

Nice work. Once you get to your equation (1), it might also be convenient to write it as a b 4 a 4 b + 8 = 0 ab - 4a - 4b + 8 = 0 , so you can see how it factors: ( a 4 ) ( b 4 ) = 8 (a-4)(b-4) = 8 . Then both the ways to split 8 into two factors, that is, ( 1 ) ( 8 ) (1)(8) and ( 2 ) ( 4 ) (2)(4) , generate the above solutions for a and b.

Seth Kleinerman - 3 years, 10 months ago

Log in to reply

Amazing insight! Thank you Seth :) That definitely would have cut down the work into easier, algebraic methods.

Zach Abueg - 3 years, 10 months ago

Wow I like your solution! Can anyone explain me what the | symbol means, smaller than or equal to???

Marek O - 3 years, 10 months ago

Log in to reply

Thanks!

a b a \mid b means that a a divides b b for integers a a and b b . In other words, there exists some integer k k such that k a = b k \cdot a = b .

Zach Abueg - 3 years, 10 months ago

Yes, this method is also known as Simon's favorite factoring trick .

Pi Han Goh - 3 years, 10 months ago
Chan Lye Lee
Jul 5, 2017

Suppose the 3 sides of the right angled triangle is a , b a, b and c c , where a b c a\le b \le c . Then

{ a + b + c = p 1 2 a b = p a 2 + b 2 = c 2 . \large \begin{cases} a+b+c=p\\ \frac{1}{2}ab=p\\ a^2+b^2=c^2. \end{cases}

The first equation gives a + b = p c a+b= p-c , square both sides of the equation to obtain a 2 + b 2 + 2 a b = p 2 2 p c + c 2 . a^2+b^2+2ab=p^2-2pc+c^2.

The above equation can be simplified using the second and third equations: 4 p = p 2 2 p c . 4p = p^2 - 2pc .

This implies that c = p 4 2 c=\frac{p-4}{2} . Thus a + b = p p 4 2 = p + 4 2 a+b =p-\frac{p-4}{2} =\frac{p+4}{2} .

From a + b = p + 4 2 a+b =\frac{p+4}{2} and a b = 2 p ab=2p , we know that a a and b b are roots of x 2 ( p + 4 ) x 2 + 2 p = 0 x^2-\frac{(p+4)x}{2}+2p=0 .

Since a a and b b are integers, the discriminant is a perfect square, i.e. ( p + 4 2 ) 2 4 ( 1 ) ( 2 p ) = k 2 \left(\frac{p+4}{2}\right) ^2 -4(1)(2p)=k^2 , where k > 0 k >0 is an integer. This equation is equivalent to p 2 24 p + 16 = ( 2 k ) 2 p^2-24p+16 =(2k)^2 , which can be written as ( p 12 + 2 k ) ( p 12 2 k ) = 128 = 2 7 (p-12+2k)(p-12-2k)=128 = 2^7 . As p 12 + 2 k p-12+2k and p 12 2 k p-12-2k has the same parity, and p 12 + 2 k > p 12 2 k p-12+2k > p-12-2k , we have the following possibles cases.

{ p 12 + 2 k = 64 and p 12 2 k = 2 p 12 + 2 k = 32 and p 12 2 k = 4 p 12 + 2 k = 16 and p 12 2 k = 8. \large \begin{cases} p-12+2k=64 \, \, \,\text{and} \, \, \, p-12-2k =2\\ p-12+2k=32 \, \, \,\text{and} \, \, \, p-12-2k =4\\ p-12+2k=16 \, \, \,\text{and} \, \, \, p-12-2k =8. \end{cases}

The first case give non-integer k k , and it is rejected. Solving for the second and the third cases give p = 30 p=30 and p = 24 p=24 respectively.

Hence the sum of all such p p is 54 \boxed{54} .

Check: if p = 30 p=30 , ( a , b , c ) = ( 5 , 12 , 13 ) (a,b,c)=(5,12,13) ; if p = 24 p=24 , ( a , b , c ) = ( 6 , 8 , 10 ) (a,b,c)=(6,8,10) .

The question is unclear. Knowing the two triangles were (5,12,13) and (6,8,10), I could not decide what "all possible numerical values mentioned above" meant.

stephen bryant - 3 years, 10 months ago
Tristan Chaang
Jul 19, 2017

Assume the legs are x x and y y . W.l.o.g, x y x \geq y .

Perimeter = x + y + x 2 + y 2 = x+y+\sqrt{x^2 +y^2}

Area = x y 2 =\frac{xy}{2}

x + y + x 2 + y 2 = x y 2 \therefore x+y+\sqrt{x^2 +y^2}=\frac{xy}{2}

After squaring and rearranging the equation,

x y 4 x 4 y + 8 = 0 xy -4x-4y+8=0

( x 4 ) ( y 4 ) = 8 = 8 × 1 = 4 × 2 (x-4)(y-4)=8=8\times1=4\times2

So the solutions are ( x , y ) = ( 12 , 5 ) , ( 6 , 8 ) (x,y)=(12,5),(6,8)

Both solutions are accepted since x 2 + y 2 \sqrt{x^2 +y^2} are positive integers. Namely 13 and 10 respectively.

W = x y 2 = 30 or 24 W=\frac{xy}{2} = 30 \text{ or } 24

W = 54 \therefore \sum{W} = \boxed{54}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...