Triangle Combination: Legal & Illegal Combos

  • Context: High School 
  • Thread starter Thread starter brad sue
  • Start date Start date
  • Tags Tags
    Combination Triangle
Click For Summary
SUMMARY

The discussion centers on the conditions necessary for three lengths to form a valid triangle, specifically addressing the triangle inequality theorem. The theorem states that for any three sides a, b, and c, the sum of the lengths of any two sides must be greater than the length of the remaining side. The user also highlights the importance of ensuring that points are not collinear when working with coordinates. These principles are crucial for developing functions that validate triangle combinations in programming.

PREREQUISITES
  • Understanding of the triangle inequality theorem
  • Basic programming skills for implementing validation functions
  • Familiarity with geometric concepts such as collinearity
  • Knowledge of coordinate systems if working with points
NEXT STEPS
  • Research the triangle inequality theorem in-depth
  • Learn how to implement validation functions in programming languages like Python or Java
  • Study geometric properties of points and lines, focusing on collinearity
  • Explore algorithms for checking valid triangle combinations in computational geometry
USEFUL FOR

Software developers, mathematicians, and educators involved in teaching geometry or developing applications that require geometric validation.

brad sue
Messages
270
Reaction score
0
HI ,
I don't know where to post my question. sorry if it is not in the correct forum.

I am working on a program and one of the instruction say this:
(Prior we have to know that a,b,c are the sides of a triangle)

"Note that not all combination of a,b,c produce a triangle.
Your function should produce correct results for legal data and reasonable results for illegal combinations"


I did not know that there can be bad combination for a triangle.
What is this bad combination?

thank you
B.
 
Mathematics news on Phys.org
Try to draw a triangle whose sides are 1, 2, and 4.
 
Well, c must be less than a + b, if that's what you ment..Or, if you're working with points (coordinates), three points mustn't be colinear.
 

Similar threads

Replies
2
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 30 ·
2
Replies
30
Views
6K
Replies
7
Views
3K
  • · Replies 17 ·
Replies
17
Views
11K
  • · Replies 45 ·
2
Replies
45
Views
5K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 5 ·
Replies
5
Views
3K