CLASS-7
ABSOLUTE VALUE OF AN INTEGERS
ABSOLUTE VALUE OF AN INTEGERS -
The absolute value of an integer is the distance between that integer and zero on the number line, without considering the direction. It is always a non-negative number. In simpler terms, it is always a positive number or zero.
- The absolute value of a positive number is the number itself.
- The absolute value of zero is zero.
- The absolute value of a negative number is the positive counterpart of that number.
Mathematically, it is written as:-
- |a| = a if a ≥ 0
- |a| = -a if a < 0
For example:-
- The absolute value of -5 is 5 because the distance from -5 to 0 is 5.
- The absolute value of 5 is 5 because the distance from 5 to 0 is also 5.
- The absolute value of 0 is 0 because it's already at 0.
Notation:-
The absolute value of an integer x is written as |x|.
- |5| = 5 (since 5 is already positive)
- |-7| = 7 (since -7 is 7 units away from 0)
- |0| = 0 (since 0 is at 0)