D
D
Di3gos2019-07-01 15:26:32
Mathematics
Di3gos, 2019-07-01 15:26:32

How to compare intervals?

Good afternoon. Here are the intervals .
Let's say I have two intervals [1.2; 3.4] and [1.3; 3.1]. How do I know which one is bigger? Should I take the middle of each and compare or are there certain rules?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Ronald McDonald, 2019-07-01
@Zoominger

Subtract the end of the range from the beginning of each range and compare the values. Who has more, he has more.

G
Griboks, 2019-07-01
@Griboks

Open your own link from the question. See operations on intervals. There is no comparison operation. the question is closed.
You can come up with your own comparison operation, but it's important to remember that:
1. Spacing can be labeled on the right, left, or both ends.
2. Intervals are derived from some ordered sets, such as integers.
3. If we consider any interval of simple numbers (real), then it contains an infinite number of elements.

T
tsarevfs, 2019-07-01
@tsarevfs

Most likely, the comparison can be defined differently depending on the tasks.
I have used definitions where one interval is less than another if all its points are less than all points of the other. Those. for intersecting intervals < and > will always return false.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question