represents the domain of rational numbers, as in x∈Rationals.
- x∈Rationals evaluates immediately only if x is a numeric quantity.
- Simplify[expr∈Rationals] can be used to try to determine whether an expression corresponds to a rational number.
- The domain of integers is taken to be a subset of the domain of rationals.
- Rationals is output in StandardForm or TraditionalForm as . This typeset form can be input using rats.
Examplesopen allclose all
Introduced in 1999
(4.0)| Updated in 2017