Proof of the Maximum Principle for Harmonic Functions
The maximum principle for harmonic functions states that a non-constant harmonic function on a domain cannot attain its maximum or minimum in the interior.
Statement
Let be harmonic on a connected domain . If attains its maximum at some point , then is constant.
Equivalently, if is non-constant, then for all .
Proof
Suppose for some .
Step 1: Mean value property forces constancy locally.
Choose with . By the mean value property:
Since for all , and the average equals , we must have for all (if on a set of positive measure, the average would be strictly less than ).
This holds for all with , so on the largest disk centered at contained in .
Step 2: Connectedness argument.
Define . We show is both open and closed in .
is open: If , the argument above shows on a disk around , so that disk is in .
is closed: is the preimage of a closed set under a continuous function.
Step 3: Conclusion.
Since is connected, is either empty or all of . Since , we have and .
Weak Maximum Principle
Let be a bounded domain and continuous on and harmonic on . Then
Similarly, .
Since is compact and is continuous, attains its maximum at some point . If , then by the strong maximum principle, is constant on and hence on (by continuity), so the maximum is also attained on . If , we are done.
Applications
If are both harmonic on , continuous on , and equal on , then is harmonic with on . By the maximum principle, on ; by the minimum principle, . Hence and .
If for all , and are the corresponding Dirichlet solutions, then for all . This follows from the maximum principle applied to and . The Dirichlet problem is stable: small changes in boundary data produce small changes in the solution.
The maximum principle extends to subharmonic functions: if is subharmonic on and is harmonic with on , then on . This comparison principle is fundamental in potential theory and PDE.