The real function $f$ is defined on $[0,\infty)$ and is increasing . The function $\phi$ is defined on $[0,\infty)$ by $$\phi (x)=\int_0^xf(t)dt$$
a) Prove that for all $x,y\ge 0$ $\phi (\frac{x+y}{2})\le \frac{1}{2}(\phi (x)+\phi (y))$.
b) Conclude that $\phi$ is convex .
i prove the 1st part using partition the interval ..but stuck in prove to 2nd part ..how prove it ??? Plz help ...