Apply the weak maximum principle for elliptic operators to . The product rule and the equation for the harmonic function give
The function is twice differentiable inside and continuous on the closure, by the prescribed regularity. Hence . Conversely, each boundary value of is a limit of values at interior points, so the reverse inequality holds for the suprema. Taking square roots proves the gradient maximum principle for harmonic functions:
This argument controls the length of the entire gradient, without comparing its separate components.