Get Math Help

GET TUTORING NEAR ME!

By submitting the following form, you agree to Club Z!'s Terms of Use and Privacy Policy

    Nonnegative

    Usage

    NonNegative[x] gives True if x is a non-negative number.

    Basic example

    Evaluate different types of numbers:
In[1]:=NonNegative[{1.6, 3/4, Pi, 0, -5, 1 + I, Sin[10^5]}]
Out[1]={True, True, True, True, False, False, True}
Quantities that are not NumericQ remain unevaluated:
In[2]:=NonNegative[{x, Sin[y]}]
Out[2]={NonNegative[x], NonNegative[Sin[y]]}

    Attributes

    Listable | Protected

    Relationships with other entities

    Negative | Positive | NonPositive | RealSign | Greater | Simplify | Assumptions

    Relationships with other entities

    Typical ranks of usage in programs

    1036th most common (1 in 108000 symbols)

    640th most common (1 in 71100 symbols)

    3099th most common (1 in 108000 symbols)

    History

    introduced in Version 1 (June 1988)

    Timeline

    Timeline

    Find the right fit or it’s free.

    We guarantee you’ll find the right tutor, or we’ll cover the first hour of your lesson.