The question comes from the page 472, Elliptic partial differential equations of second order/ David Gilbarg, Neil S. Trudinger. In one dimension it's obviously true, but it seems more involved in higher dimensions. Even though the authors consider it trivial but I didn't find any references for that. Can anybody give a suggestion?
Let $f:B\left(0,2\right)\subseteq\mathbb{R}^{n}\rightarrow\mathbb{R}$ be a smoothly convex function. Prove that $$\underset{\overline{B}\left(0,1\right)}{\max}\left|\nabla f\right|=\underset{\partial B\left(0,1\right)}{\max}\left|\nabla f\right|.$$
Thank you.