Solution

ID: past-exam-of-the-mathematics-course-of-the-year-2-of-the-natural-sciences-course-of-the-university-of-cambridge/2019/paper-1/7/c/solution

Recognize that and . Their product has exactly the specified real part. Its imaginary part is
One can also recover it directly from the Cauchy-Riemann equations. Differentiating the specified real part gives
Integration of gives ; the other equation then forces . Thus the most general answer on a connected domain is
Indeed the difference of any two analytic functions with the same real part has zero real part; its two Cauchy-Riemann equations force its imaginary part to be constant. This proves that no further analytic freedom is missing.

New to topics? Read the docs here!