NonNegativeReals

NonNegativeReals

represents the domain of non-negative real numbers.

Details

  • xNonNegativeReals evaluates immediately if x is a numeric quantity.
  • Simplify[exprNonNegativeReals,assum] can be used to try to determine whether an expression corresponds to a non-negative real number under the given assumptions.
  • (x1|x2|)NonNegativeReals and {x1,x2,}NonNegativeReals test whether all xi are non-negative real numbers.
  • NonNegativeReals is output in StandardForm and TraditionalForm as . This typeset form can be input using nnreals.

Examples

open allclose all

Basic Examples  (3)

is a non-negative real number:

If is a real number, then is a non-negative real number:

Find non-negative real solutions of an equation:

Scope  (4)

Test if a numeric quantity is non-negative:

Make domain membership assumptions:

Specify the default domain over which a function should work:

Test whether several numbers are non-negative reals:

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

Applications  (1)

Testing membership in the non-negative reals is a fast way to verify non-negativity of a large list:

Properties & Relations  (4)

Membership in NonNegativeReals is equivalent to membership in Reals along with non-negativity:

NonNegativeReals contains NonNegativeRationals and NonNegativeIntegers:

NonNegativeReals is contained in Complexes:

NonNegativeReals is disjoint from NegativeReals:

It intersects NonPositiveReals:

Wolfram Research (2019), NonNegativeReals, Wolfram Language function, https://reference.wolfram.com/language/ref/NonNegativeReals.html.

Text

Wolfram Research (2019), NonNegativeReals, Wolfram Language function, https://reference.wolfram.com/language/ref/NonNegativeReals.html.

BibTeX

@misc{reference.wolfram_2021_nonnegativereals, author="Wolfram Research", title="{NonNegativeReals}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/NonNegativeReals.html}", note=[Accessed: 17-May-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_nonnegativereals, organization={Wolfram Research}, title={NonNegativeReals}, year={2019}, url={https://reference.wolfram.com/language/ref/NonNegativeReals.html}, note=[Accessed: 17-May-2021 ]}

CMS

Wolfram Language. 2019. "NonNegativeReals." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NonNegativeReals.html.

APA

Wolfram Language. (2019). NonNegativeReals. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NonNegativeReals.html