NonPositiveRationals
✖
NonPositiveRationals
represents the domain of non-positive rational numbers, as in x∈NonPositiveRationals.
Details

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

https://wolfram.com/xid/0e5cq0la3njhz8-s1074

A sum of non-positive rational numbers is a non-positive rational number:

https://wolfram.com/xid/0e5cq0la3njhz8-l7nnc

Find non-positive rational solutions of an equation:

https://wolfram.com/xid/0e5cq0la3njhz8-bemtf7

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

https://wolfram.com/xid/0e5cq0la3njhz8-crra11


https://wolfram.com/xid/0e5cq0la3njhz8-f8i88p


https://wolfram.com/xid/0e5cq0la3njhz8-i6yxp8

Make domain membership assumptions:

https://wolfram.com/xid/0e5cq0la3njhz8-cn7igo

Specify the default domain over which Reduce should work:

https://wolfram.com/xid/0e5cq0la3njhz8-g9ic3l

Test whether several numbers are non-positive rationals:

https://wolfram.com/xid/0e5cq0la3njhz8-3pjyzh

If any number is explicitly not a non-positive rational, the result is False:

https://wolfram.com/xid/0e5cq0la3njhz8-m7ag79

TraditionalForm formatting:

https://wolfram.com/xid/0e5cq0la3njhz8-4xdcq9

Properties & Relations (4)Properties of the function, and connections to other functions
Membership in NonPositiveRationals is equivalent to membership in Rationals and non-positivity:

https://wolfram.com/xid/0e5cq0la3njhz8-bus6sg

NonPositiveRationals contains NonPositiveIntegers:

https://wolfram.com/xid/0e5cq0la3njhz8-bpv7ri

NonPositiveRationals is contained in NonPositiveReals, Algebraics and Complexes:

https://wolfram.com/xid/0e5cq0la3njhz8-culh0e


https://wolfram.com/xid/0e5cq0la3njhz8-i9rm0h


https://wolfram.com/xid/0e5cq0la3njhz8-oij108

NonPositiveRationals is disjoint from PositiveRationals:

https://wolfram.com/xid/0e5cq0la3njhz8-pe30t4

NonPositiveRationals intersects NonNegativeRationals:

https://wolfram.com/xid/0e5cq0la3njhz8-3ius3z

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