Derivative of a constant complex function

Let $\displaystyle f$ be an analytic function on a disc D.

Is it true that:

$\displaystyle f$ is constant $\displaystyle \iff$ $\displaystyle f'(z) =0 $ $\displaystyle \forall z \in D $

with ' denoting the derivative wrt to complex variable z. Or do we have to include some conditions on the partial derivatives wrt x,y (where Re(z)=x and Im(z)=y) ?

Thanks for anyhelp!

Re: Derivative of a constant complex function

Hey Ant.

This is true and you can use the fact that all analytic functions in a region are infinitely differentiable with the caveat that differentiating a constant gives 0.

Re: Derivative of a constant complex function

Thanks.

Do we also have the following:

$\displaystyle f'(z)=0 \iff $ both partial derivatives with respect to $\displaystyle x$ and $\displaystyle y$ are also zero.

(I think perhaps the above is false and only the $\displaystyle \Rightarrow $ direction holds??)

Thanks!

Re: Derivative of a constant complex function

Yes we should have and you could use the Cauchy-Riemann equations to show this.