# Complex Analysis/Complex Functions/Analytic Functions/Proof

Namely if the function is analytic its real and imaginary parts must have the partial derivative of all orders the function is analytic it must satifiy the Cauchy Riemann equation.

A holomorphic function is harmonic, provided it is of class C^{2}

Let the function f = u+iv be holomorphic and of class C^{2}.

By the Cauchy-Riemann equations, we have:

d^{2}u/dx^{2}=d/dx(dv/dy)=d/dy(dv/dx)=-d^{2}u/dy^{2}

Which proves that u is harmonic. Similar reasoning proves the same result for v, and thus f is harmonic.