Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3). |
Topics | Help • Register • News • History • How to • Sequences statistics • Template prototypes |
Difference between revisions of "Complex number"
(restored) |
(Enclosing remaining formulas in <math> tags) |
||
Line 1: | Line 1: | ||
− | A '''complex number''' is defined as a pair of [[real number]]s z = (x, y) where the following operations are defined: | + | A '''complex number''' is defined as a pair of [[real number]]s <math>z = (x, y)</math> where the following operations are defined: |
− | *Addition: | + | *Addition: <math>z_1 + z_2 = (x_1 + x_2, y_1 + y_2)</math> |
− | *Multiplication: | + | *Multiplication: <math>z_1 z_2 = (x_1 y_1 - x_2 y_2, x_2 y_1 + x_2 y_1)</math> |
When the second element equals zero the complex numbers behaves as real numbers. That's why the first element of the complex number is known as the ''real part'' and the second element as the ''imaginary part''. | When the second element equals zero the complex numbers behaves as real numbers. That's why the first element of the complex number is known as the ''real part'' and the second element as the ''imaginary part''. | ||
− | Multiplying (0, 1) (0, 1) we get (-1, 0). Since no real number is the square root of -1, we can now understand why the second element is the imaginary part. | + | Multiplying <math>(0, 1) (0, 1)</math> we get <math>(-1, 0)</math>. Since no real number is the square root of -1, we can now understand why the second element is the imaginary part. |
− | An alternate (and more used) notation is z = x + iy. From the previous paragraph we get: | + | An alternate (and more used) notation is <math>z = x + iy</math>. From the previous paragraph we get: <math>i^2 = -1</math>. |
Using this notation and the definitions above we can deduce all basic operations on complex numbers: | Using this notation and the definitions above we can deduce all basic operations on complex numbers: |
Revision as of 22:59, 26 October 2020
A complex number is defined as a pair of real numbers [math]\displaystyle{ z = (x, y) }[/math] where the following operations are defined:
- Addition: [math]\displaystyle{ z_1 + z_2 = (x_1 + x_2, y_1 + y_2) }[/math]
- Multiplication: [math]\displaystyle{ z_1 z_2 = (x_1 y_1 - x_2 y_2, x_2 y_1 + x_2 y_1) }[/math]
When the second element equals zero the complex numbers behaves as real numbers. That's why the first element of the complex number is known as the real part and the second element as the imaginary part.
Multiplying [math]\displaystyle{ (0, 1) (0, 1) }[/math] we get [math]\displaystyle{ (-1, 0) }[/math]. Since no real number is the square root of -1, we can now understand why the second element is the imaginary part.
An alternate (and more used) notation is [math]\displaystyle{ z = x + iy }[/math]. From the previous paragraph we get: [math]\displaystyle{ i^2 = -1 }[/math].
Using this notation and the definitions above we can deduce all basic operations on complex numbers:
- Addition:
- [math]\displaystyle{ z_1 + z_2 = (x_1 + x_2) + (y_1 + y_2) i }[/math]
- Subtraction:
- [math]\displaystyle{ z_1 - z_2 = (x_1 + x_2) + (-y_1 - y_2) i }[/math]
- Multiplication:
- [math]\displaystyle{ z_1 z_2 = (x_1 y_1 - x_2 y_2) + (x_1 y_2 + x_2 y_1) i }[/math]
- Division:
- [math]\displaystyle{ \frac {z_1}{z_2} = \frac {x_1 y_1 + x_2 y_2}{x_2^2 + y_2^2}\,+\,\frac {x_2 y_1 - x_1 y_2}{x_2^2 + y_2^2} \,i }[/math]
- Square root:
- [math]\displaystyle{ \sqrt{x+iy} = \sqrt{\frac{\left|x+iy\right| + x}{2}} \pm i \sqrt{\frac{\left|x+iy\right| - x}{2}} }[/math]
- where the sign of the imaginary part of the root is the same as the sign of the imaginary part of the original number and
- [math]\displaystyle{ \left|x+iy\right| = \sqrt{x^2+y^2} }[/math]