If

then .

This is a REAL function, not complex.

Therefore is also real.

So we can write it as

.

You should be able to see that all the partial derivatives of will be , while the partial derivatives of won't always be.

Therefore the Cauchy-Riemann equations will not be satisfied, and the function is not analytic.