is equivalent to minxmax.


is equivalent to min1xmax1||min2xmax2||.


is an operator form that yields Between[x,range] when applied to an expression x.



open allclose all

Basic Examples  (3)

Check that a number is included in an interval:

Use an operator form:

For symbolic expressions, the result is given as inequalities:

Select the numbers between 10 and 20, both included:

Scope  (6)

Use Between with numbers:

Use Between with numeric Quantity objects:

Use Between with dates:

Use Between with the union of several ranges:

Use Between in operator form:

Use symbolic limits:

Applications  (3)

Find the particles whose mass is in a given range:

Find surfaces with algebraic degree between 7 and 10, both included:

Find movies with runtime in a given range, returning the result as an association:

Properties & Relations  (3)

Between[x,{min,max}] includes the min, max limits:

The limits min, max in Between[x,{min,max}] are assumed to be sorted:

Use Interval objects and IntervalMemberQ instead of Between:

Alternatively, use intervals directly in Between:

Introduced in 2015