Q1.
Does a triangle exist with sidelengths 4 cm, 5 cm and 8 cm? This satisfies the triangle inequality: 8 < 4 + 5 = 9. Why do we not need to check the other two sides?
Answer
Because the other two comparisons are already guaranteed by the size order.
4 < 5 + 8 = 13 ✓ (4 is smaller than 8 alone)
5 < 4 + 8 = 12 ✓ (5 is smaller than 8 alone)
8 < 4 + 5 = 9 ✓ — the only comparison that could have failed
5 < 4 + 8 = 12 ✓ (5 is smaller than 8 alone)
8 < 4 + 5 = 9 ✓ — the only comparison that could have failed
Why it happens: Each of the smaller lengths is already less than the longest length by itself; adding a third positive length can only widen the gap. So checking the longest against the sum of the other two settles the whole question.