I am trying to follow the proof of Lemma 9.2 (Certain prerequisite lemma to prove a maximum principle) of the Book of Gilbarg and Trudinger and I am having certain difficulties with an assertion in the proof. It is the following
Let's take a function $u:\Omega\subset\mathbb{R}^n\rightarrow \mathbb{R}$ belonging to the class of $C^2(\Omega)\cap C(\overline{\Omega})$ functions, that takes a positive maximum at a point $y\in \Omega$, and let $k$ be the function whose graph is the cone $K$ with vertex $(y,u(y))$ and base $\partial \Omega \times \{0\}$. Then, the book says that for each supporting hyperplane (Defined later) to $K$, there exists a parallel hyperplane tangent to the graph of $u$. Moreover, as far as I understand, it is not only tangent to the graph of $u$ but also a supporting hyperplane of it. I am utterly lost in even knowing how to start proving this, any hint is welcomed.
Now, the promised definition. We call a supporting hyperplane of the graph of a function $u$ at the point $z$ to an hyperplane given by the graph of a function $f:\Omega\rightarrow \mathbb{R}$ of the form $f(x) := u(z) + p \cdot (x-z)$ such that $u(x)\leq f(x)$ $\forall x\in\Omega$. The $\cdot$ represents the inner product in $\mathbb{R}^n$.
I am purposedly not giving any condition on the set $\Omega$ except posibly being bounded because I don't know if it is necessary for this claim to be truth. I have no problem in assuming it is smooth though because I have to start somewhere.
Apart from that, since I have taken the question from a PDEs book I am tagging it with the PDEs tag. I am not sure which other tags would be appropiate but would thank if any reader comes up with any and tell me in a comment.
Regarding comments: I must add the assumption that $u\leq 0$ on the boundary.
Posibly another necessary assumption: As far as I could prove below (with the help of the answers and comments given here) it may be necessary to ask to the cone $K$ to have a base slightly bigger than $\Omega$. For example $\Omega+B_\varepsilon(0)$. I don't have a counterexample for this assumption to be necessary yet.
Because question didn't specify any point on the graph of $u$ where supporting hyperplane passes through I assume we are free to choose point. (other wise it is not hard always construct a counterexample!)
In later case $K$ does not play any role ! and problem is somehow trivial.
Take any hyper plane $h(x) =a^t x + \alpha$ with normal vector $a \in R^n$ and graph $H \subset R^n \times R $ Consider the shape enclosed with the graph $u$ and $\Omega$, denote it with $S$. Therefore $S \subset R^n \times R$ is a compact set. Now assume $\alpha$ is large enough such that $u \le h$. Thus $dist(H, S) $ is attained on a point on $S$ (a least one point) say $(z , u(z)).$ Now the hyperplan $ f(x) := u(z) + a^t \cdot (x-z) $ which is parallel to $h$ and supports $u$ at $(z, u(z))$ and so it is automatically tangent to $u$ too (since $u$ is $C^2$).
In following we show that we choose $f$ such that support $u$ at a point on $\Omega$ not in it's boundary!
Edit To prove claim with assumption $u \leq 0$ on $\partial \Omega ,$ we consider two cases:
Case 1: First Assume $ k < u $ on $\Omega$ and $k=u$ on $\partial\Omega.$
Take $h(x) = a^T x + b$ the non-horizontal supporting hyperplane of $K$ at interior (max) point $(z,u(z))=(0,u(0)).$ Hence $ k \leq h$ everywhere and $b=u(0) > 0$. It is easy to see that there $w$ close enough to $z=0$ such that $h(w) < u(w).$
Now quite similar previous method by increasing only $b$ to $b + \epsilon$ we can get the parallel hyperplan $f(x) = a^t x + b+ \epsilon$ such that $f$ support $u$ ($u \leq f$) at a point, say $(y,u(y)).$
Claim: $y$ can not be on $\partial \Omega$.
Proof: if not then $f(y) = u(y) = k(y) \leq h(y)$ Therefore
$$ a^t y + b + \epsilon \leq a^t + b $$
Which is contradiction, since $\epsilon > 0.$
Case 2: (general case) Let $A$ be the maximal subset of $\Omega$ such that $ z=0 \in A $ and $k < u$ on $int A \setminus \{z\}$. " If you are sensitive about existence of $A$ you can apply Zorn Lemma". Moreover, because $u \leq 0$ on $\partial \Omega$ then it is easy to proof that $ u = k $ on $\partial A$. Now apply Case 1 on $A$ and get the result.