Let B:XYB:X\to Y be an between real , and let f:YRf:Y\to\overline{\mathbb R} be a . Then fBf\circ B is convex on XX.

Proof idea

Use B(λx+(1λ)y)=λB(x)+(1λ)B(y)B(\lambda x+(1-\lambda)y)=\lambda B(x)+(1-\lambda)B(y) for 0λ10\leq\lambda\leq1, then apply convexity of ff.