In mathematics, the absolute value or the modulus | x | is non-negative, regardless of its sign, that is | x | = x means positive x, | x | = -x means negative x (in this case -x is positive), and | 0 | = 0. For example, the absolute value of 3 is 3, and the absolute value of -3 is also 3. The absolute value of a number can be considered as the distance from zero.
Extended data
In computer language or calculator, the absolute value function is often recorded as abs(x).
The (1) absolute value function is an even function, and its graph is symmetric about the Y axis.
(3) The absolute value function is differentiable only at the origin and at other points.
(4) Relationship with symbolic function: ∣ x ∣ = SGN (x) x or x = SGN (x) ∣ x ∣.
Geometric meaning:
∣x∣ indicates the distance from the X point on the X axis to the origin.
∣ x-a ∣ represents the distance from point X to point A on the X axis.
Baidu encyclopedia-absolute value
Baidu encyclopedia-absolute value function