At zero, , so the complex derivative exists. At a nonzero point, write . The Cauchy-Riemann equations for and force and , impossible when . Hence the function is complex differentiable only at zero and is holomorphic on no nonempty open subset. A complex derivative at one point gives no neighborhood of complex differentiability.
Write and . The complex derivative computed along a real increment is , while along an imaginary increment it is . Equality gives
These are the Cauchy–Riemann equations at every point where is holomorphic. The directional calculations also establish the existence of those partial derivatives. More explicitly, gives both real-direction formulas directly. If a converse is desired, continuous first partial derivatives together with these equations make the real differential multiplication by , hence give complex differentiability; the necessity above is what is requested.
For planar incompressible flow and irrotational flow, combine a velocity potential and a streamfunction into the complex potential of a two-dimensional potential flow:
The chosen conventions give
These are the Cauchy-Riemann equations, so is a holomorphic function wherever the flow is regular and a consistent local potential is chosen. Its complex derivative is the complex velocity
A spatially uniform flow has a constant. The following contour integral identities also apply to nonuniform potential flow, including the specified line vortex. A complex potential of a two-dimensional potential flow may be multivalued around a source or vortex even though its derivative is single-valued.
Compute the complex derivative along horizontal and vertical increments. Along the real direction, ; along the imaginary direction, . Equality gives the Cauchy-Riemann equations
The real and imaginary parts of a holomorphic function are smooth. Equality of their mixed partial derivatives then gives and , proving that both are harmonic functions.
For the first real part, and . The Cauchy-Riemann equations require and , so its harmonic conjugate is . Therefore
For the second real part, is the real part of . Its harmonic conjugate is , giving
These are the most general answers on a connected open domain: the difference of two candidates has zero real part, so the Cauchy-Riemann equations make its imaginary part constant. The second function cannot extend holomorphically through zero.
At a point of complex differentiability, the complex derivative is independent of the direction of approach. Taking increments along the real axis gives ; taking imaginary increments gives . Equality of their real parts and imaginary parts proves the Cauchy-Riemann equations and .
For the specified real part, observe that has exactly that real part. Equivalently, integrating and checking gives
Thus
The freedom is only a constant imaginary part: the difference of two such holomorphic functions has zero real part, so its Cauchy-Riemann equations make it constant on each connected domain.
At , compute the complex derivative first along real increments and then along imaginary increments. Holomorphy gives
Equating real and imaginary parts proves the Cauchy-Riemann equations:
The partial derivatives exist because these directional difference quotients are limits of the holomorphic derivative. This argument proves the necessary equations; it does not claim that their pointwise existence alone is sufficient for holomorphy.
For , the number avoids the nonpositive real axis. Define the branch of the complex logarithm by
Here the principal argument is selected as a continuous map on that slit domain, so this is a holomorphic function, with derivative and . For example, locally writing gives , verifying the complex derivative. The normalization also makes this branch of the complex logarithm unique: any two continuous choices differ by a constant integer multiple of on the connected slit domain, and their values at agree.
To evaluate the corresponding analytic branch of a square root on the unit circle, factor
For , we have and . Thus this factorization already uses the selected principal argument, with no hidden change by . It follows that
Halving this expression and applying the exponential function gives
Since , the desired branch value is
For instance, gives , a quick check that the sign agrees with the normalization.
Let . More generally, for a holomorphic function , the increment expansion at gives
Along real increments the first factor is , while along purely imaginary increments it is . Thus complex differentiability of requires . Conversely, if , the displayed expression tends to zero for arbitrary complex increments, so the complex derivative exists and equals zero.
For , this condition is , equivalent to . Consequently
These points form a discrete subset of the complex plane and contain no nonempty open set. Every neighbourhood of each one contains points where is not complex differentiable. Therefore is holomorphic on no nonempty open set, even though it has complex derivatives at the specified points.
At every , the Cauchy-Riemann equations are
To derive them from complex differentiability, approach along real increments . The complex derivative gives
Approaching along imaginary increments instead gives
These limits exist because is holomorphic. Equating their real and imaginary parts proves the equations, together with .
A sufficient condition is that is a connected space. Suppose, towards a contradiction, that is the same constant throughout . If , then , contradicting .
If , differentiate in and , and use the Cauchy-Riemann equations from part (a). They give
The coefficient matrix for has determinant . Hence , so everywhere. A holomorphic function with zero complex derivative is locally constant: within a small disc, differentiate along a straight segment. Local constancy and connectedness imply constancy on , again a contradiction.
Consequently,
This is the constant-modulus holomorphic function principle. The extra hypothesis matters: on two disjoint open discs, define on one and on the other. It is holomorphic and nonconstant, yet everywhere.
A complex derivative computed along the real and imaginary directions gives . Equality yields the Cauchy-Riemann equations
The gradients satisfy . Since a gradient is normal to a regular level set, the two families meet at right angles by orthogonality wherever . At a critical point the regular-curve argument fails: for both gradients vanish at zero, so the assertion requires this qualification.
A complex derivative computed along the real and imaginary directions gives . Equality yields the Cauchy-Riemann equations
The gradients satisfy . Since a gradient is normal to a regular level set, the two families meet at right angles by orthogonality wherever . At a critical point the regular-curve argument fails: for both gradients vanish at zero, so the assertion requires this qualification.