2024 AMC 12B Problems/Problem 21
Contents
- 1 Problem
 - 2 Solution 1
 - 3 Solution 2 (Complex Number)
 - 4 Solution 3 (Another Trig)
 - 5 Solution 4 (Similarity)
 - 6 Solution 5 (Complex)
 - 7 Solution 6 (Law of Cosines)
 - 8 Solution 7 (No Trig, Coord Bash)
 - 9 Solution 8 (Linear Algebra)
 - 10 Video Solution by Innovative Minds
 - 11 Video Solution by SpreadTheMathLove
 - 12 See also
 
Problem
The measures of the smallest angles of three different right triangles sum to 
. All three triangles have side lengths that are primitive Pythagorean triples. Two of them are 
 and 
. What is the perimeter of the third triangle?
Solution 1
Let 
 and 
 be the smallest angles of the 
 and 
 triangles respectively. We have
Then
Let 
 be the smallest angle of the third triangle. Consider
In order for this to be undefined, we need
so
Hence the base side lengths of the third triangle are 
 and 
. By the Pythagorean Theorem, the hypotenuse of the third triangle is 
, so the perimeter is 
.
Solution 2 (Complex Number)
The smallest angle of 
 triangle can be viewed as the arguement of 
, and the smallest angle of 
 triangle can be viewed as the arguement of 
.
Hence, if we assume the ratio of the two shortest length of the last triangle is 
 (
 being some rational number), then we can derive the following formula of the sum of their arguement.
Since their arguement adds up to 
, it's the arguement of 
. Hence, 
 where 
 is some real number.
Solving the equation, we get 
 Hence 
Since the sidelength of the theird triangle are co-prime integers, two of its sides are 
 and 
. And the last side is 
, hence, the parameter of the third triangle if 
.
~Prof. Joker
Solution 3 (Another Trig)
Denote the smallest angle of the 
 triangle as 
, the smallest angle of the 
 triangle as 
, and the smallest angle of the triangle we are trying to solve for as 
. We then have
Taking the hypotenuse to be 
 and one of the legs to be 
, we compute the last leg to be 
Giving us a final answer of 
.
~tkl
Solution 3.1 (Different Flavor of the same thing)
Consider 
 using the cosine addition identity. Instead of using the Pythagorean theorem, we can use Euclid's formula since we're dealing with primitive triples.
Combining that, we get 
 and 
. Using this, we can get that the other leg must be 
. We add the lengths and get that the perimeter is 
.
~ sxbuto
Solution 4 (Similarity)
Let's arrange the triangles 
 and 
 as shown in the diagram.
 
vladimir.shelomovskii@gmail.com, vvsss
Solution 5 (Complex)
Suppose the triangle has legs 
. We want 
This is equivalent to
Since the argument of this complex number is 
 its real part must be 
. Matching real and imaginary parts yields 
 or 
. The smallest pair 
 that works is 
 which yields a hypotenuse of 
 The perimeter of this triangle is 
-Benedict T (countmath1)
Solution 6 (Law of Cosines)
We can start by scaling the 
 right triangle up by a factor of 
 and "gluing" it to the 
 triangle's longer leg. Let 
, 
, and 
 be the smallest angles in the 
, 
 and unknown triangle respectively. We can construct the following diagram of the two known triangles.
We can also construct a diagram for the third, unknown triangle like so. We know that 
, and therefore that 
. We also know that the other acute angle in this third triangle will have a measure of 
 by the triangle angle sum theorem.
We can use the law of cosines on the triangle in the first diagram to get the equation 
. Isolating 
, we get 
, which further simplifies to 
. Since the third triangle has to be a primitive Pythagorean triple, we must take this trig ratio into its most simple form, namely 
. Using this information in our second diagram, we know that the smaller, adjacent leg must have length 
, and the hypotenuse must have length 
. We can then use the Pythagorean theorem to find the other, unknown leg, which has length 
. Adding these three lengths together, we find that the perimeter of this right triangle is 
.
~Phinetium
Solution 6.1 (Faster Ending)
Instead of computing 
 to find the second leg in the unknown triangle by hand, we can use process of elimination. 
 and 
 are the only answers within the realm of possibility, because 
  would entitle a triangle with a negative side length, and 
 and 
 would require legs greater than the length of the hypotenuse. The answer choice 
 would force the second leg to have a length of 
, which is smaller than the smallest leg in the triangle. (We know that the leg with length 
 is the smallest leg in the triangle by the side-angle relationship theorem, because it is opposite the smallest angle in the triangle.) Therefore, the only valid answer choice remaining is 
.
~Phinetium (again)
Solution 7 (No Trig, Coord Bash)
Set up a coordinate system. Let 
, 
, and 
 be the vertices of the base 
 right triangle. In this case, the three smallest angles will all be at 
, and one of the coordinates of the unknown triangle has to lie on the line 
. Now, scale down the 
 triangle by 
 so that the new sides are 
, and place the side with length 5 at the coordinates 
 and 
. The line passing through these two points can be written as 
, so the perpendicular of this line at 
 can be written as 
. Since the length of the other side is 
, after drawing smaller 
 right triangles, we find that the third coordinate of the 
 is at 
. This coordinate will be one of the coordinates for our unknown triangle. We can place the other coordinate of the unknown triangle at 
 and the third is, by definition, at 
. The distance from 
 to 
 is 
, and the distance from 
 to 
 is 
, and from before, the distance from 
 to 
 is 
. Scaling up the sides so that they are integers, we see that the side lengths make a 
 right triangle. The perimeter is then 
.
~mathwizard123123
Solution 8 (Linear Algebra)
Because the three smallest angles add up to 
, you can imagine putting the 
 and 
 triangles on the 
-axis and 
-axis, respectively, in the first quadrant. So that all 3 triangles will have their smallest angle meet at the origin and exactly fill up the first quadrant.
Now the 
 and 
 triangles describe the vectors 
 and 
 with the smallest angle of the third triangle, 
, between them. We can find 
 by taking the dot product and dividing by the magnitudes of the vectors (which are the hypotenuses that we know to be 5 and 13).
This ratio 
 describes the third triangle to have a hypotenuse with length 
, one leg with length 
, and another leg with length 
 by Pythagorean and difference of squares.
The perimeter is then 
~CorpulentAxolotl
Video Solution by Innovative Minds
Video Solution by SpreadTheMathLove
https://www.youtube.com/watch?v=cyiF8_5fEsM
See also
| 2024 AMC 12B (Problems • Answer Key • Resources) | |
| Preceded by Problem 20  | 
Followed by Problem 22  | 
| 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | |
| All AMC 12 Problems and Solutions | |
These problems are copyrighted © by the Mathematical Association of America, as part of the American Mathematics Competitions. 

