Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2010/iii/paper-28/5/b/i/solution

Let , and suppose has a local maximum at . Choose such that the closed disk lies in and throughout it. Start planar Brownian motion at , and for let be its first exit from .
By part (a) and Itô formula, is a local martingale; boundedness of on the compact disk makes it a true bounded martingale. The exit time is finite almost surely. One direct check applies the same formula to , giving . Thus .
The optional stopping theorem, first at and then by bounded convergence, gives
The exit point is uniformly distributed on the circle: rotational invariance of planar Brownian motion about its starting point makes its exit law rotation invariant, and normalized arc length is the unique rotation-invariant probability measure on a circle. Since every boundary value is at most , equality of the mean forces every boundary value to equal ; continuity rules out a strict deficit at any boundary point. This holds for every , so is constant on the entire disk.
The Cauchy-Riemann equations then give both partial derivatives of equal to zero there. Thus is constant on that disk. The identity theorem for holomorphic functions propagates this constant to the connected component of in . Applying the same Brownian argument to proves the assertion for the imaginary part as well:
If is connected, this is constancy on all of . For a disconnected open set the printed global wording needs this qualification: a function taking different constants on two disjoint disks is holomorphic and has local maxima on each disk while not being globally constant.

New to topics? Read the docs here!