NegativeRationals
✖
NegativeRationals
represents the domain of strictly negative rational numbers, as in x∈NegativeRationals.
Details

- x∈NegativeRationals evaluates immediately if x is a numeric quantity.
- Simplify[expr∈NegativeRationals,assum] can be used to try to determine whether an expression corresponds to a negative rational number under the given assumptions.
- (x1x2…)∈NegativeRationals and {x1,x2,…}∈NegativeRationals test whether all xi are negative rational numbers.
- The domain of negative integers is taken to be a subset of the domain of negative rationals.
- NegativeRationals is output in StandardForm or TraditionalForm as
. This typeset form can be input using
nrats
.
Examples
open allclose allBasic Examples (3)Summary of the most common use cases
-2/3 is a negative rational number:

https://wolfram.com/xid/01zdhb9onag-s1074

A sum of negative rational numbers is a negative rational number:

https://wolfram.com/xid/01zdhb9onag-l7nnc

Find negative rational solutions of an equation:

https://wolfram.com/xid/01zdhb9onag-bemtf7

Scope (5)Survey of the scope of standard use cases
Test domain membership of a numeric expression:

https://wolfram.com/xid/01zdhb9onag-crra11


https://wolfram.com/xid/01zdhb9onag-f8i88p


https://wolfram.com/xid/01zdhb9onag-i6yxp8

Make domain membership assumptions:

https://wolfram.com/xid/01zdhb9onag-cn7igo

Specify the default domain over which Reduce should work:

https://wolfram.com/xid/01zdhb9onag-g9ic3l

Test whether several numbers are negative rationals:

https://wolfram.com/xid/01zdhb9onag-3pjyzh

If any number is explicitly not a negative rational, the result is False:

https://wolfram.com/xid/01zdhb9onag-m7ag79

TraditionalForm formatting:

https://wolfram.com/xid/01zdhb9onag-4xdcq9

Properties & Relations (4)Properties of the function, and connections to other functions
Membership in NegativeRationals is equivalent to membership in Rationals and negativity:

https://wolfram.com/xid/01zdhb9onag-bus6sg

NegativeRationals contains NegativeIntegers:

https://wolfram.com/xid/01zdhb9onag-bpv7ri

NegativeRationals is contained in NegativeReals, Algebraics and Complexes:

https://wolfram.com/xid/01zdhb9onag-culh0e


https://wolfram.com/xid/01zdhb9onag-i9rm0h


https://wolfram.com/xid/01zdhb9onag-oij108

NegativeRationals is disjoint from NonNegativeRationals and PositiveRationals:

https://wolfram.com/xid/01zdhb9onag-3ius3z


https://wolfram.com/xid/01zdhb9onag-pe30t4

Wolfram Research (2019), NegativeRationals, Wolfram Language function, https://reference.wolfram.com/language/ref/NegativeRationals.html.
Text
Wolfram Research (2019), NegativeRationals, Wolfram Language function, https://reference.wolfram.com/language/ref/NegativeRationals.html.
Wolfram Research (2019), NegativeRationals, Wolfram Language function, https://reference.wolfram.com/language/ref/NegativeRationals.html.
CMS
Wolfram Language. 2019. "NegativeRationals." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NegativeRationals.html.
Wolfram Language. 2019. "NegativeRationals." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NegativeRationals.html.
APA
Wolfram Language. (2019). NegativeRationals. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NegativeRationals.html
Wolfram Language. (2019). NegativeRationals. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NegativeRationals.html
BibTeX
@misc{reference.wolfram_2025_negativerationals, author="Wolfram Research", title="{NegativeRationals}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/NegativeRationals.html}", note=[Accessed: 12-May-2025
]}
BibLaTeX
@online{reference.wolfram_2025_negativerationals, organization={Wolfram Research}, title={NegativeRationals}, year={2019}, url={https://reference.wolfram.com/language/ref/NegativeRationals.html}, note=[Accessed: 12-May-2025
]}