R+ (notation)
From Maths
Notation
- Do not use this notation
The notation R+ is horribly ambiguous, it could easily mean either of the following:
- R+:={x∈R | x≥0}
- Which is used by[1]
- R+:={x∈R | x>0}
TODO: Find reference for this
Solution
Use R≥0, this requires one more letter and there is literally no way to interpret this wrongly. Both R≥0 and R>0 are extremely clear. Furthermore this notation extends naturally to things like R≥5 or R≤0, it is obvious what these mean. See Denoting commonly used subsets of R
Ambiguities
- positive (+) means >0 and we use non-negative to mean ≥0 (as this is literally not negative)
Problems
- If we use R+ to denote ≥0 how would we denote >0?
Conflicts
When we use N+ it is pretty clear that this means the set {1,2,…,n,…}, that is - this conflicts with definition 1) above and thus using R+ as R≥0 violates the Doctrine of least surprise