LessEqual

x<=y or xy

yields True if x is determined to be less than or equal to y.

x1x2x3

yields True if the xi form a nondecreasing sequence.

Details

  • xy can be entered as x <= y or x[LessEqual]y.
  • LessEqual gives True or False when its arguments are real numbers.
  • LessEqual does some simplification when its arguments are not numbers.
  • For exact numeric quantities, LessEqual internally uses numerical approximations to establish numerical ordering. This process can be affected by the setting of the global variable $MaxExtraPrecision.
  • In StandardForm, LessEqual is printed using .
  • xy, entered as x </ y or x[LessSlantEqual]y, can be used on input as an alternative to xy.

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

Less  GreaterEqual  LessEqualThan  OrderedQ  Element  RegionPlot  RegionPlot3D

Tutorials

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