It is a number system with the base 1, so for example 1 would be represented with |, 2 with , 5 with | etc.
Chat with our AI personalities
In mathematics, unary operations are functions having only one number for an input. These include functions such as finding squares, square roots, and reciprocals for a number.
'not' for instance is a unary operator. It is unary in the sense that it operates on a single item. In contrast a binary operator such as addition operates on two items.
Unary RelationshipsUnary relationships have only one participant-the relation is associated with itself. The classic example of a unary relationship is Employee to Manager. One's manager is, in most cases, also an employee with a manager of his or her own.
In a unary numerical system, there is only one digit: 1. Any number larger than one is represented by the symbol 1 repeated the appropriate number of times. For example, 7 (decimal) = 1111111 (unary). It is the simplest numerical system to learn but becomes quite unmanageable. Using a 10 point font the biggest number that you could write on a normal page is approx 3584: the exact value depends on the margins. At that rate you would need approximately 5 billion (yes, BILLION) pages to write out the value of the US debt (in June 2014)! And the cost of all that paper will send it up some more!By contrast, a positional system uses a base band b different digits. The place value of the digit immediately to the left of the "decimal" point is b0 = 1, the place value of the digit to its left is b1, then to its left is b2 and so on.In the decimal system, the US debt is approx USD 17530000000000. It took only(!) 14 digits to write it out. In the hexadecimal (base 16) system, the same number can be represented by USD 414DE9280, requiring only 9 digits.
The nnary and Binary operators in relational Algebra.