$\pi$ is a real number $\mathbb R$ and can be calculated using an infinite product.
As far as I know, $\mathrm{e}$ is a real number $\mathbb R$, too.
There is an exponential function which is $\mathrm{exp}(x) = e^x$ , and can be defined by an infinite sum, too.
But, I do not understand why this equivalence is correct:
$\mathrm{e}^{\mathrm{i}\,\pi} = \mathrm{exp}(\mathrm{i}\pi) = \cos\left(\pi \right) + \mathrm{i}\,\sin\left( \pi\right) = -1$
I know that there is a definition of $\mathrm{exp(x)}$ where $\mathrm{exp(x) = e^x} \ \forall \ x \in \mathbb R$ , and which has additionally the characteristic of being $\mathrm{exp(\mathrm{i}\pi)} = -1$ by allowing $x \in \mathbb C$ .
However, how can we know that $e^x = \mathrm{exp(x)}$ for $x \in \mathbb C$ ?
My opinion is that $e$ is a number which is defined as
$e = \lim_{n\to\infty} \left(1+\frac{1}{n}\right)^n$ , $e \in \mathbb R$
and therefore is $\mathrm{e}^{\mathrm{i}\,\pi} = 2.71828182845904...^{\mathrm{i}\,\pi}$ , but $\mathrm{exp(\mathrm{i}\pi)} = -1$ . Therefore $\mathrm{exp(x)} \ne e^x$ for $x \in \mathbb C$ . I think $e$ is a number, so $e^x$ is simply a power equivalation, while $\mathrm{exp(x)}$ is a function.
Can you help me clarify this, so I can understand?