DOCUMENTATION CENTER SEARCH
Mathematica
>
Assumptions and Domains
>
Built-in
Mathematica
Symbol
Using Assumptions
Tutorials »
|
Element
Simplify
Algebraics
Integers
Rational
Denominator
See Also »
|
Assumptions and Domains
Number Recognition
Number Theory
More About »
Rationals
Rationals
represents the domain of rational numbers, as in
x
Rationals
.
MORE INFORMATION
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
TraditionalForm
as
.
EXAMPLES
CLOSE ALL
Basic Examples
(3)
2/3
is a rational number:
In[1]:=
Out[1]=
A sum of rational numbers is a rational number:
In[1]:=
Out[1]=
Find rational solutions of an equation:
In[1]:=
Out[1]=
Scope
(4)
Properties & Relations
(2)
SEE ALSO
Element
Simplify
Algebraics
Integers
Rational
Denominator
TUTORIALS
Using Assumptions
MORE ABOUT
Assumptions and Domains
Number Recognition
Number Theory
New in 4
© 2008 Wolfram Research, Inc.