Real number
How do you define "real"?
A real number is any number with an infinite decimal expansion and no imaginary component. Between any two real numbers, there are infinitely many real numbers, which is why they are often used to measure continuous quantities like distance and time. Rational and irrational numbers make up the set of reals, whose symbol is \(\mathbb{R}.\)
Real numbers are largely excluded from discrete mathematics because the focus is on non-continuous (discrete) structures such as integers, graphs, and logical statements.
Sign
The property of a real number being positive or negative is its sign. All real numbers but \(0\) have a sign.
If and only if \(x > 0\), \(x\) is positive.
If and only if \(x < 0\), \(x\) is negative.
If and only if \(x \ge 0\), \(x\) is non-negative.
If and only if \(x \le 0\), \(x\) is non-positive.
Absolute value
The absolute value of a real number is defined as the magnitude of its distance from \(0.\)
If and only if \(x\) is non-negative, \(|x|=x.\)
If and only if \(x\) is negative, \(|x|=-x.\)