Let $i$ be the complex number $i^2 = -1$. I want to prove that $$ \Biggl| e^{i x} - \sum_{j = 0}^N \frac{(i x)^j}{j!} \Biggr|\leq \frac{ | x |^{N+1} }{(N+1)!} $$ hold for all $x \in \mathbb{R}$. This should follow from some form of Taylor's theorem.
I don't think I can apply the real Taylor's theorem, because it's a complex function, but I also can not apply complex Taylor theorem because I am only considering $x \in \mathbb{R}$, instead of an open subset of $\mathbb{C}$. How can I deduce this? Thank you!