The strong maximum principle for subharmonic functions states that an upper semicontinuous subharmonic function on a connected open set which attains its finite global maximum at an interior point is constant. In particular this holds for a harmonic function; negating the function gives the corresponding minimum principle for superharmonic functions.
Let the maximum be , attained at . For every sufficiently small ball centered at , the mean value inequality gives
Therefore its average equals . If some point in the ball had value less than , upper semicontinuity would give an open neighborhood where for some . That positive-measure neighborhood would make the average strictly less than , a contradiction. Thus throughout a neighborhood of .
The same argument at each maximizing point shows that is open; it is also closed relative to the domain by upper semicontinuity. It is nonempty, so connectedness forces it to be the whole domain. Without connectedness, constancy is only guaranteed on the component containing the maximizing point.
The strong maximum principle for subharmonic functions is: on a connected open domain, the canonical upper semicontinuous representative of a subharmonic function cannot attain a finite global maximum at an interior point unless it is constant. A local maximum instead forces constancy on an appropriate neighbourhood; it alone does not assert constancy on the whole domain unless that value is a global maximum.
Suppose on and . For every sufficiently small ball centred at , the subharmonic mean inequality gives
The nonnegative function has integral zero, so almost everywhere on that ball. Its canonical representative is then at every point of the ball, by taking still smaller local averages.
The maximum set is consequently open by the same argument at each of its points. It is closed relative to , because upper semicontinuity makes its complement open. It is nonempty, and connectedness gives . Therefore . This proves the principle, including its representative and connectedness hypotheses. Arbitrary representatives do not satisfy it: the function equal to zero almost everywhere but assigned value one at the origin has zero distributional Laplacian and an artificial pointwise maximum.