For convexity :
$$e^{ta+(1-t)b} \leq t \cdot e^a+(1-t)e^b \Rightarrow e^{(a-b)^t} \leq te^{a-b} + 1 - t$$
Now I'm stuck on how to solve it further.
For convexity :
$$e^{ta+(1-t)b} \leq t \cdot e^a+(1-t)e^b \Rightarrow e^{(a-b)^t} \leq te^{a-b} + 1 - t$$
Now I'm stuck on how to solve it further.
Are you allowed to use derivatives? From Wikipedia: "A twice differentiable function of one variable is convex on an interval if and only if its second derivative is non-negative there".
Since the second derivative of $e^x$ is $e^x$, and $e^x > 0$ for all $x \in \Bbb R$, we have that $e^x$ is convex on any interval.
The exponential function is infinitely differentiable and hence you can apply the second derivative test which is a lot easier than the method you are employing. Assuming then that you are allowed to use the second derivative:
$$f \prime \prime (x) = e^{x}>0$$
and you see that this is a (strictly) convex function on any interval.
You certainly know that $e^x$ grows faster and faster and that it is always positive. Can you conceive a curve satisfying the first condition without being convex ?