Assume $ (\Omega,\mathcal{F})=([0,1],[0,1]\cap\mathcal{B}(\mathbb{R})$ . Let $(X_j)_{j\geq1}$ be a sequence of independent random variables s.t.
$\mathbb{P}(X_j=k)=\frac{1}{3}, k=0,1,2, j=1,2,..$
Now, one of the parts of the question asks me to calculate the MGF $F(t)=\mathbb{E}[e^{tX_j}] , t\in \mathbb{R}, j\geq1$.
By definition $\mathbb{E}[e^{tX_j}] =\int e^{tX_j}d\mathbb{P} $ . My problem is that I don't quite understand over what region I should integrate. According to literature it looks like it should be over the whole sample space , in this case $\Omega=[0,1]$ and since also- I assume $X_j:\Omega \longrightarrow \mathbb{R} $.
But then I ran into troubles because if I just look at it from measure theory point of view, then $X_j$ is just a simple function taking 3 values and the integral is a sum. But then to get my answer I need to evaluate it say over whole real line, or at least over [0,2] , i.e.
$ \int_\mathbb{R} e^{tX_j}d\mathbb{P}= \int_\mathbb{0,1,2} e^{tX_j}d\mathbb{P} = \int ( e^{t0}\mathbb{1}_{0} +e^{t1}\mathbb{1}_{1} + e^{t2}\mathbb{1}_{2} ) d\mathbb{P} = e^{t0}\mathbb{P}(0)+e^{t1}\mathbb{P}(1)+e^{t2}\mathbb{P}(2)= \frac{1}{3}(1+e^t+e^{2t})$
I must be getting something wrong. Would be very grateful for pointing out what exactly!