如何计算Absolute Value
learn.whatIsHeading
Absolute value |x| is the distance of a number from zero on the number line, always non-negative. |3| = 3, |−3| = 3, |0| = 0. In complex numbers, absolute value is the distance from the origin: |a+bi| = √(a²+b²).
分步指南
- 1|x| = x if x ≥ 0; |x| = −x if x < 0
- 2|x − y| = distance between x and y on the number line
- 3Triangle inequality: |a + b| ≤ |a| + |b|
- 4Properties: |ab| = |a||b|, |a/b| = |a|/|b|, |a|² = a²
例题解析
输入
|−7.5|
结果
7.5
Distance from zero, always positive
输入
|3 − 8|
结果
5
Distance between 3 and 8 on number line
准备好计算了吗?尝试免费的 Absolute Value 计算器
自己尝试一下 →