42 lines
1.2 KiB
Markdown
42 lines
1.2 KiB
Markdown
---
|
||
title: Absolute Value
|
||
localeTitle: 绝对值
|
||
---
|
||
## 绝对值
|
||
|
||
绝对值是数字的正值。 您可以将数字的绝对值视为距离零的距离。 它可以定义为,
|
||
|
||
![IMG](https://latex.codecogs.com/gif.latex?%5Cdpi%7B120%7D%20%5Clarge%20y%20%3D%20%5Cleft%20%7C%20x%20%5Cright%20%7C%20%3D%20%5Cleft%5C%7B%5Cbegin%7Bmatrix%7D%20x%20%26%20for%20%5C%2C%20x%20%5Cgeq%200%20%5C%5C%20-x%20%26%20for%20%5C%2Cx%20%3C0%20%5Cend%7Bmatrix%7D%5Cright.)
|
||
|
||
![](https://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/Absolute_value.svg/2000px-Absolute_value.svg.png)
|
||
|
||
在这里你可以看到在y = | x |的图形中,如果-2输入到函数中,则2是结果。这是因为-2与零的距离为2。数字的绝对值永远不会是负数。
|
||
|
||
### 例子
|
||
|
||
* **简化| -5 |**
|
||
|
||
| -5 | = 5
|
||
|
||
* **简化| 0(5)|**
|
||
|
||
| 0(5)| = | 0 | = 0
|
||
|
||
* **简化 - | -1 |**
|
||
|
||
\- | -1 | = - (1)= -1
|
||
|
||
* **简化| -5(-3)+ 1 |**
|
||
|
||
| -5(-3)+ 1 | = | 15 + 1 | = | 16 | = 16
|
||
|
||
* **简化| 8 |**
|
||
|
||
| 8 | = 8
|
||
|
||
* **简化|(-5)^ 3 |** | -125 | = 125
|
||
|
||
|
||
#### 更多信息:
|
||
|
||
[绝对值](http://www.purplemath.com/modules/absolute.htm "Absolute Value") |