Added modulus of complex numbers (#23696)

* Added modulus of complex numbers

* Update index.md
pull/34959/head
viviantran27 2019-01-25 14:38:57 -05:00 committed by Paul Gamble
parent 9cd1610839
commit ed2a1210b4
1 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,14 @@ It can be defined as,
The absolute value of a quantity x is denoted by |x| (the quantity is enclosed between two vertical bars).
Here you can see that in the graph of y = |x|, if -2 is input in to the function, 2 is the result. This is because -2 has a distance of 2 from zero. The absolute value of a number can never be negative.
For complex numbers, this is also referred to as the *modulus*.
```
Pythagorean Theorem: If z=a+bi, where a=Re{z} and b=Im{z}, then |z|=sqrt(a^2+b^2)
```
![i](https://1.bp.blogspot.com/-a9-goSuDZpY/VdtnQqPMRXI/AAAAAAAABbA/3U519TdTKgU/s400/modulo%2Bnumero%2Bcomplejo.png)
### Examples
* **Simplify |-5|**