Question: what is the mathematical definition for endpoint?
Answer: End Point. more ... Any of the two furthest points on a line segment. (Or generally any of the furthest points on anything.) See: Line Segment.