Question: If $x\in\mathbb{R^n}$, then $f(x)=\log(e^{x_1}+\cdots+e^{x_n})$ is convex or not?
For $x\in\mathbb{R}$, $f(x)=\log(e^x)$ is convex since it is a line. Or using the definition of linearity, $$\alpha f(x)+\beta f(y)=\log(e^{\alpha x})+\log(e^{\beta y})=\log(e^{\alpha x+\beta y})=f(\alpha x+\beta y)~,$$ thus $f(x)$ is convex.
I have plotted $f(x)$ for $x\in\mathbb{R^2}$, it doesn't look like convex. But how we can show it?
We also can rewrite $f(x)=h(g(x))$, where $h(x)$ is concave and $g(x)$ is convex, but is it helpful? I couldn't find any convex preserving operation based on that.