Negative and non-negative numbers Guide, Meaning , Facts, Information and Description
A negative number is a number that is less than zero, such as −3. A positive number is a number that is greater than zero, such as 3. Zero itself is neither negative nor positive, though in computing zero is sometimes treated as though it were a positive number. The non-negative numbers are the positive numbers together with zero. The non-positive numbers are the negative numbers together with zero.In the context of complex numbers positive implies real, but for clarity one may say "positive real number".
| Table of contents |
|
2 Non-negative numbers 3 Sign function 4 Arithmetic involving signed numbers 5 Formal construction of negative and non-negative integers 6 See also |
Negative numbers
Negative integers can be regarded as an extension of the natural numbers, such that the equation x − y = z has a meaningful solution for all values of x and y. The other sets of numbers are then derived as progressively more elaborate extensions and generalizations from the integers.
Negative numbers are useful to describe values on a scale that goes below zero, such as temperature, and also in bookkeeping where they can be used to represent debts. In bookkeeping, debts are often represented by red numbers, or a number in parentheses.
Non-negative numbers
A number is nonnegative if and only if it is greater than or equal to zero, i.e. positive or zero. Thus the nonnegative integers are all the integers from zero on upwards, and the nonnegative reals are all the real numbers from zero on upwards.
A real matrix A is called nonnegative if every entry of A is nonnegative.
A real matrix A is called totally nonnegative by matrix theorists or totally positive by computer scientists if the determinant of every square submatrix of A is nonnegative.
Sign function
It is possible to define a function sgn(x) on the real numbers which is 1 for positive numbers, −1 for negative numbers and 0 for zero (sometimes called the signum function):
Adding a negative number is the same as subtracting the corresponding positive number:
Arithmetic involving signed numbers
Addition and subtraction
For purposes of addition and subtraction, one can think of negative numbers as debts.
Subtracting a positive number from a smaller positive number yields a negative result:
Subtracting a positive number from any negative number yields a negative result:
Subtracting a negative is equivalent to adding the corresponding positive:
Also: Multiplication
Multiplication of a negative number by a positive number yields a negative result: (−2) × 3 = −6. The reason is that this multiplication can be understood as repeated addition: (−2) × 3 = (−2) + (−2) + (−2) = −6. Alternatively: if you have a debt of $2, and then your debt is tripled, you end up with a debt of $6.
Multiplication of two negative numbers yields a positive result: (−3) × (−4) = 12. This situation cannot be understood as repeated addition, and the analogy to debts doesn't help either. The ultimate reason for this rule is that we want the distributive law to work:
Division
Division is similar to multiplication. If both the dividend and the divisor have different signs, the result is negative:
Formal construction of negative and non-negative integers
In a similar manner to rational numbers, we can extend the natural numbers N to the integers Z by defining integers as an ordered pair of natural numbers (a, b). We can extend addition and multiplication to these pairs with the following rules:- if and only if
We can also define a total order on Z by writing
- if and only if
See also
- hyperreal number
- integer
- negative and non-negative in binary
- rational number
- real number
- surreal number
This is an Article on Negative and non-negative numbers. Page Contains Information, Facts Details or Explanation Guide About Negative and non-negative numbers
