We know that, by definition of a moment generating function, $$M_X(w)=E(\exp(wX)), w \in \mathbb R.$$ In particular, we have for $w=0:$ $M_X(0)=E(\exp(0))=E(1)=1.$ (Regarless of what's the random variable $X$ and its moment generating function $M_X$)
We know that, by definition of a moment generating function, $$M_X(w)=E(\exp(wX)), w \in \mathbb R.$$ In particular, we have for $w=0:$ $M_X(0)=E(\exp(0))=E(1)=1.$ (Regarless of what's the random variable $X$ and its moment generating function $M_X$)
What does this imply for $M_X(w)=K/(2-w)$?