Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Formula Manipulation > Assumptions and Domains > Rationals >

Rationals

Rationals
represents the domain of rational numbers, as in .
  • evaluates immediately only if x is a numeric quantity.
  • Simplify 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.
is a rational number:
A sum of rational numbers is a rational number:
Find rational solutions of an equation:
is a rational number:
In[1]:=
Click for copyable input
Out[1]=
 
A sum of rational numbers is a rational number:
In[1]:=
Click for copyable input
Out[1]=
 
Find rational solutions of an equation:
In[1]:=
Click for copyable input
Out[1]=
Test domain membership of a numeric expression:
Make domain membership assumptions:
Specify the default domain over which Reduce should work:
TraditionalForm formatting:
New in 4
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF