So I'm revising moment generating functions and I'm stuck on a part of a question I'm looking at.
So I am asked to find the moment generating function of a random variable X whose distribution is given by $$\Bbb{P}(X=1)=\Bbb{P}(X=-1)=1/2$$ I get the Moment generating function for this random variable X to be $$M(t)=\frac{e^t-e^{-t}}{2}$$I am then asked to show that $$M(t)\le \exp\left(\frac{t^2}{2}\right)$$ I am not sure how to go about doing this. I was thinking I could use Taylor series, and expand both sides of the inequality, but I seem to get stuck and can't actually show that one is less than or equal to the other.
Any help appreciated-thanks.