Triangles - combinations

How many different triangles with sides in whole centimeters have a perimeter of 12 cm?

Correct answer:

n =  3

Step-by-step explanation:

o=12 cm a+b+c = o = 12 cm abc  a+b>c b+c>a c+a>b  a+b>12(a+b) 2(a+b)>12  a+b>6 a+c>6 c+a>6  (3,4,5) (4,4,4) (5,5,2)  a1=3 b1=4 c1=5  a2=4 b2=4 c2=4  a3=5 b3=5 c3=2  n=3



Did you find an error or inaccuracy? Feel free to write us. Thank you!



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:

1. Triangle Inequality Condition


For three side lengths (a, b, c) to form a valid triangle, they must satisfy:
a + b > c, quad a + c > b, quad b + c > a

Since a + b + c = 12 , the inequalities simplify to:
a + b > 6, quad a + c > 6, quad 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?

You need to know the following knowledge to solve this word math problem:


 
We encourage you to watch this tutorial video on this math problem: video1

Related math problems and questions: