Less ()

x<y

yields True if is determined to be less than .

x1<x2<x3

yields True if the form a strictly increasing sequence.

Details

  • Less gives True or False when its arguments are real numbers.
  • Less does some simplification when its arguments are not numbers.
  • For exact numeric quantities, Less internally uses numerical approximations to establish numerical ordering. This process can be affected by the setting of the global variable $MaxExtraPrecision.

Examples

open allclose all

Basic Examples  (2)

Compare numbers:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Represent an inequality:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (9)

Properties & Relations  (12)

Possible Issues  (3)

See Also

LessEqual  Greater  LessThan  NumericalOrder  Positive  Element  RegionPlot  RegionPlot3D

Tutorials

Introduced in 1988
(1.0)
| Updated in 1996
(3.0)