Given the moment generating function of a random variable $X$, $$M_X (t) = \mathbb{E}[e^{tX}],$$ one defines the cumulant generating function, $$K(t) = \log \mathbb{E}[e^{tX}].$$ One then states that the right-hand side (RHS) can be written as a series, $$K(t) = k_1 \frac{t}{1!} + k_2\frac{t^2}{2!} + \cdots + k_n \frac{t^n}{n!} + \cdots,$$ where the quantities $k_i$ are the cumulants or central moments of $X.$
I do not see how one gets the RHS. First, I tried to expand $e^{tX}$ inside the expectation and use the linearity of the expectation, $$K(t) = \log(1+t\mathbb{E}[X] + \frac{t^2}{2!}\mathbb{E}[X^2] + \cdots).$$ I also considered the Taylor expansion of $\log(1+t\mathbb{E}[X])$ at zero, $$\log(1+t\mathbb{E}[X]) = \frac{t}{1!} ((1-1)!\mathbb{E}[X]) + \frac{t^2}{2!} (-(2-1)!\mathbb{E}[X]^2) + \frac{t^3}{3!}((3-1)!\mathbb{E}[X]^3) + \cdots.$$ The expressions in parentheses do not seem to be all the cumulants. The first one is correct but not the second one. Can someone provide some hint or explain how one can obtain the expression for the cumulant generating function? Many thanks.
Isn't it the case that the cumulants are defined to be the coefficients $k_1,k_2,\cdots$?
But you have: $$\begin{align}K(t)&=\log(1+\underset{\psi}{\underbrace{t\Bbb E[X]+\frac{t^2}{2!}\Bbb E[X^2]+\cdots}})\\&=\psi-\frac{1}{2}\psi^2+\frac{1}{3}\psi^3+\cdots\\&=t\Bbb E[X]+\frac{1}{2}t^2\Bbb E[X^2]+\frac{1}{6}t^3\Bbb E[X^3]\cdots-\frac{1}{2}(t^2\Bbb E[X]^2+t^3\Bbb E[X]\Bbb E[X^2]+\cdots)\\&+\frac{1}{3}(t^3\Bbb E[X]^3+\frac{3}{2}t^4\Bbb E[X^2]\Bbb E[X]^2+\cdots)+\cdots\\&=t\Bbb E[X]+\frac{1}{2}t^2(\Bbb E[X^2]-\Bbb E[X]^2)+\frac{1}{6}t^3(\Bbb E[X^3]-3\Bbb E[X]\Bbb E[X^2]+2\Bbb E[X]^3)+O(t^4)\end{align}$$
Finding $k_1=\Bbb E[X],k_2=\Bbb E[X^2]-\Bbb E[X]^2$, $k_3=\Bbb E[X^3]-3\Bbb E[X]\Bbb E[X^2]+2\Bbb E[X]^3$.
You just have to be a bit more careful :) Tediously expanding this further and further will find all coefficients. There's probably even a closed form. Your mistake was in omitting the $+\frac{t^2}{2!}\Bbb E[X^2]+\cdots$ portion, this will not give a valid Taylor expansion.