in mathematics which one comes first (4, 8)

In mathematics, there is no inherent order between the numbers in a pair, such as (4, 8). The order is determined by the context in which the pair is used. If the pair represents an ordered pair or an interval, then the convention is to consider the first number before the second number. In this case, 4 would come before 8. However, if the pair is used in a different context, such as a coordinate system, then the numbers might represent the x and y coordinates respectively, and their order is significant.