I'm trying to derive the characteristic function for exponential distribution and geometric distribution. Can you please guide me on getting them?
Here is my solution so far:
Characteristic function of exponential distribution:
$\phi(t) = E[e^{itX}]$ where $X$ has exponential distribution , then by definition, expectation can be written as: $$ \int_0^{\infty} e^{itx} \lambda e^{-\lambda x } dx = \frac{\lambda}{it - \lambda} e^{(it - \lambda)x}\bigg|_0^{\infty} = \frac{\lambda}{ \lambda- it}$$
For the geometric random variables, assume $\Pr(X = 0) = P$, how can we find the characteristic function of $X$?
Here, since $X$ is a discrete random variable, we have:
$\phi(t) = E[e^{itX}] = \sum_{j = 0}^{\infty} e^{itj} (1 - P)^j P$ my issue is I don't know how to get a closed form for the characteristic function?
Thanks for your help.