TITLE: Is $f(z)=z^n$ holomorphic?
QUESTION [5 upvotes]: Is $f(z)=z^n$ holomorphic?
I have tested a number of other functions using the Cauchy Riemann equations $u_x=v_y$, $v_x=-u_y$. However in the case of $f(z)=z^n$ I cannot think of a way to find the functions $u(x,y)$ and $v(x,y)$ without using a binomial expansion of $(x+iy)^n$. 
Any help or pointers is appreciated.
edit - the problem requires the use of the Cauchy - Riemann equations and not the formal definition of complex differentiation.

REPLY [9 votes]: HINT: Show that if $f=u+iv$ and $g=\hat{u}+i\hat{v}$ satisfy the Cauchy-Riemann equations, then so does $fg$. Use this together with the fact that $z^n$ is a finite product of holomorphic functions (since $z$ is holomorphic).

REPLY [7 votes]: Consider the function $f(x,y)=(x+iy)^n$. Then the real and imaginary parts of this function are
$$
u(x,y)=\frac{1}{2}((x+iy)^n+(x-iy)^n)\\
v(x,y)=\frac{1}{2i}((x+iy)^n-(x-iy)^n)$$
so
$$
\frac{\partial u}{\partial x}=\frac{n}{2}((x+iy)^{n-1}+(x-iy)^{n-1})
$$
whereas
$$
\frac{\partial v}{\partial y}=
\frac{n}{2i}(i(x+iy)^{n-1}+i(x-iy)^{n-1})
$$
Verify also the other Cauchy-Riemann equation.
Is this legitimate? Yes, of course. We're just considering functions $\mathbb{R}\to\mathbb{C}$ and derivatives are perfectly defined as usual, with the usual properties.

If you don't trust this (but you should), you can do a proof by induction. Denote by $u_n(x,y)$ and $v_n(x,y)$ the real and imaginary parts of $f(x,y)=(x+iy)^n$. Then
\begin{align}
u_n(x,y)+iv_n(x,y)&=(u_{n-1}(x,y)+iv_{n-1}(x,y))(x+iy)\\
&=
(xu_{n-1}(x,y)-yv_{n-1}(x,y))+i(xv_{n-1}(x,y)+yu_{n-1}(x,y))
\end{align}
So
\begin{align}
u_n(x,y)&=xu_{n-1}(x,y)-yv_{n-1}(x,y)\\
v_n(x,y)&=xv_{n-1}(x,y)+yu_{n-1}(x,y)
\end{align}
Compute the partial derivatives and apply the induction hypothesis.