Triangles - combinations
How many different triangles with sides of whole centimetres have a perimeter of 12 cm?
Final Answer:

Showing 1 comment:
Dr. Math
To determine how many different triangles with integer side lengths (in centimeters) have a perimeter of 12 cm, we can follow these steps:
For three side lengths (a, b, c) to form a valid triangle, they must satisfy:
Since a + b + c = 12 , the inequalities simplify to:
This implies that no side can be 6 cm or longer (since if a ≥ 6 , then b + c ≤ 6 , violating the triangle inequality).
We list all ordered triples (a, b, c) where:
- a ≤ b ≤ c (to avoid duplicate triangles),
- a + b + c = 12 ,
- a, b, c ≥ 1 (side lengths are positive integers),
- c < 6 (from the triangle inequality).
1. c = 5 :
- Then a + b = 7 , and b ≥ a ≥ 1 .
- Possible pairs (a, b) :
(2, 5) , (3, 4) .
- Resulting triangles:
(2, 5, 5) , (3, 4, 5) .
(Check: 2 + 5 > 5 , 3 + 4 > 5 , etc. — all valid.)
2. c = 4 :
- Then a + b = 8 , and b ≥ a ≥ 1 .
- Possible pairs (a, b) :
(4, 4) .
(Since a ≤ b ≤ c , a cannot be less than 4, otherwise b > c .)
- Resulting triangle:
(4, 4, 4) .
(Check: 4 + 4 > 4 — valid.)
3. c = 3 :
- Then a + b = 9 , but b ≤ c = 3 , so a + b ≤ 6 .
- No valid solutions (since a + b = 9 contradicts b ≤ 3 ).
4. c ≤ 2 :
- No valid triangles (since a + b + c = 12 , but c ≤ 2 forces a + b ≥ 10 , which would violate a ≤ b ≤ c ).
From the above, the distinct triangles (up to ordering) are:
1. (2, 5, 5)
2. (3, 4, 5)
3. (4, 4, 4)
Each of these represents a unique triangle shape:
- (2, 5, 5) — isosceles,
- (3, 4, 5) — scalene (right-angled),
- (4, 4, 4) — equilateral.
No other combinations satisfy the conditions.
There are 3 distinct triangles with integer side lengths and a perimeter of 12 cm:
1. Triangle Inequality Condition
For three side lengths (a, b, c) to form a valid triangle, they must satisfy:
a + b > c, a + c > b, b + c > a
Since a + b + c = 12 , the inequalities simplify to:
a + b > 6, a + c > 6, b + c > 6
This implies that no side can be 6 cm or longer (since if a ≥ 6 , then b + c ≤ 6 , violating the triangle inequality).
2. Enumerate Possible Triplets
We list all ordered triples (a, b, c) where:
- a ≤ b ≤ c (to avoid duplicate triangles),
- a + b + c = 12 ,
- a, b, c ≥ 1 (side lengths are positive integers),
- c < 6 (from the triangle inequality).
Possible Cases:
1. c = 5 :
- Then a + b = 7 , and b ≥ a ≥ 1 .
- Possible pairs (a, b) :
(2, 5) , (3, 4) .
- Resulting triangles:
(2, 5, 5) , (3, 4, 5) .
(Check: 2 + 5 > 5 , 3 + 4 > 5 , etc. — all valid.)
2. c = 4 :
- Then a + b = 8 , and b ≥ a ≥ 1 .
- Possible pairs (a, b) :
(4, 4) .
(Since a ≤ b ≤ c , a cannot be less than 4, otherwise b > c .)
- Resulting triangle:
(4, 4, 4) .
(Check: 4 + 4 > 4 — valid.)
3. c = 3 :
- Then a + b = 9 , but b ≤ c = 3 , so a + b ≤ 6 .
- No valid solutions (since a + b = 9 contradicts b ≤ 3 ).
4. c ≤ 2 :
- No valid triangles (since a + b + c = 12 , but c ≤ 2 forces a + b ≥ 10 , which would violate a ≤ b ≤ c ).
From the above, the distinct triangles (up to ordering) are:
1. (2, 5, 5)
2. (3, 4, 5)
3. (4, 4, 4)
Each of these represents a unique triangle shape:
- (2, 5, 5) — isosceles,
- (3, 4, 5) — scalene (right-angled),
- (4, 4, 4) — equilateral.
No other combinations satisfy the conditions.
There are 3 distinct triangles with integer side lengths and a perimeter of 12 cm:
Tips for related online calculators
Do you solve Diofant problems and are looking for a calculator of Diofant integer equations?
See also our permutations calculator.
Do you want to convert length units?
See also our trigonometric triangle calculator.
Would you like to compute the count of combinations?
See also our permutations calculator.
Do you want to convert length units?
See also our trigonometric triangle calculator.
Would you like to compute the count of combinations?
You need to know the following knowledge to solve this word math problem:
combinatoricsalgebraplanimetricsbasic operations and conceptsnumbersUnits of physical quantitiesGrade of the word problem
We encourage you to watch this tutorial video on this math problem: video1
Related math problems and questions:
- Similar triangles
Triangle A'B'C 'is similar to triangle ABC, whose sides are 5 cm, 8 cm, and 7 cm long. What is the length of the sides of the triangle A'B'C' if its circumference is 80 cm? - Two similar
There are two similar triangles. One has a circumference of 100 cm, and the second has sides successively 8 cm, 14 cm, and 18 cm longer than the first. Find the lengths of its sides. - Triangles
Five sticks with a length of 2,3,4,5,6 cm. How many ways can you choose three sticks to form three sides of a triangle? - Triangle side
The lengths of the sides of the triangle ABC are in the ratio 4:2:5. Calculate the size of the longest side of a similar KLM triangle, whose circumference is 66 cm. - Isosceles triangle perimeter
Two isosceles triangles have the same angle at the vertex opposite the base. The first one has a base of 12 cm and a leg of 9 cm. The other has a 16 cm long base. Calculate the perimeter of the second triangle. - Sides of the triangle
The sides of the triangle ABC have a length of 4 cm, 5 cm, and 7 cm. Construct triangle A'B'C', similar to triangle ABC, which has a circumference of 12 cm. - Right Triangle Perimeter
We sorted the lengths of the sides of the two triangles by size: 8 cm, 10 cm, 13 cm, 15 cm, 17 cm, and 19 cm. One of these two triangles is right-angled. Calculate the perimeter of this right triangle in centimeters
