I'm new to characteristic functions and I would really appriciate some help with the following question:
"Give the distribution which has characteristic function $\varphi(t)=cos(t)$."
I've tried to go backwards by the definition of a characteristic function, but can't get it right. Any suggestions on how I should think to solve this?
It seems that the distribution is a symmetric Bernoulli, but in my book there's a theorem that says:
"If the distribution of X is discrete, then $P(X=x)=\displaystyle{\lim_{T \to \infty}} \frac{1}{2T} \int_{-T}^{T} e^{-itx} \cdot \varphi(t) dt$."
The problem is that I get a really weird result when trying to integrate this (even though I used the (I + I)-trick): $\frac{(e^{-iTx}+e^{iTx})sin(T)-ix(e^{-iTx}-e^{iTx})cos(T)}{(1-x^2)}$
This doesn't look very "Bernoulli". What am I doing wrong?