Harmonic functions
The real part of a holomorphic function satisfies one equation in its second partial derivatives. Which equation, and does every solution of it come from a holomorphic function?
Where you are 6 in Complex functions
Why this exists
Differentiate the Cauchy-Riemann equations of Complex differentiability and the Cauchy-Riemann equations once more and the imaginary part drops out: the real part u of a holomorphic function satisfies Laplace’s equation u_{xx} + u_{yy} = 0. That equation governs steady temperature, electrostatic potential and ideal fluid flow. Conversely, on any disk a solution of it is the real part of a holomorphic function. This lesson proves both directions and shows where the second stops.
Definition
Let G \subseteq \mathbb{C} be open, with x + iy identified with (x, y). A real function u on G is of class C^2 if its Partial derivatives of first and second order exist and are continuous on G. Mixed partials are written u_{xy} = (u_x)_y; for u of class C^2, Clairaut’s theorem (Result 3 of Partial derivatives) gives u_{xy} = u_{yx}.
Harmonic. For u of class C^2 on G, the Laplacian of u is \Delta u = u_{xx} + u_{yy}. A function u : G \to \mathbb{R} is harmonic on G if it is of class C^2 on G and satisfies Laplace’s equation
at every point of G. As \Delta is linear, sums and real multiples of harmonic functions on G are harmonic on G.
Harmonic conjugate. Let u : G \to \mathbb{R}. A function v : G \to \mathbb{R} is a harmonic conjugate of u on G if u + iv is holomorphic on G.
Intuition
Laplace’s equation says that u is, to second order, the average of its neighbors. Taylor’s theorem in each variable, for u of class C^2 and small h, gives
Where \Delta u > 0 the center sits below the average of its four neighbors, and where \Delta u < 0 above it. In a plate with no heat source, a spot hotter than its surroundings would cool, so steady temperatures are harmonic.
A harmonic conjugate v is tied to u geometrically: its level curves cross those of u at right angles (Result 3). When u is a temperature, heat flows down the gradient -\nabla u, across the isotherms, so along the level curves of v. Figure 1 shows the pair \displaystyle u = \operatorname{Re}\frac1z, \displaystyle v = \operatorname{Im}\frac1z.
Results
1. Real and imaginary parts are harmonic. Let f = u + iv be holomorphic on an open set G, and suppose that u and v are of class C^2 on G. Then u and v are harmonic on G.
The hypothesis always holds, by Cauchy's integral formula (Result 5); until that lesson it is stated wherever it is used.
2. Holomorphic maps carry harmonic functions to harmonic functions. Let H be open and u of class C^2 on H. Let f = p + iq be holomorphic on an open set G with f(G) \subseteq H, with p and q of class C^2 on G, and let U(x, y) = u(p(x, y), q(x, y)). Then U is of class C^2 on G and
In particular, if u is harmonic on H, then u \circ f is harmonic on G.
3. Perpendicular gradients. If f = u + iv is holomorphic on an open set G, then at every point of G
If moreover u and v have continuous first partials on G (always true, by Cauchy's integral formula), then where f'(z_0) \ne 0 the level curves of u and of v through z_0 cross at right angles.
4. Harmonic conjugates on a disk. Let z_0 = x_0 + iy_0, and let D be an open disk centered at z_0, an open rectangle with sides parallel to the axes that contains z_0, or \mathbb{C}. If u is harmonic on D, then
is a harmonic conjugate of u on D with v(x_0, y_0) = 0, and v is of class C^2 and harmonic. On any region G, two harmonic conjugates of the same function differ by a real constant.
5. Locally a real part. Let u be harmonic on an open set G. On every open disk D \subseteq G there is a holomorphic f with \operatorname{Re} f = u on D, unique up to adding ic with c real. Granted the theorem of Cauchy's integral formula that f' is holomorphic whenever f is, u and the real and imaginary parts of every holomorphic function have continuous partials of every order.
On a region that is not a disk, a harmonic function need not have a harmonic conjugate (Example 4).
Why it is true
Result 1. Proof. By Result 2 of Complex differentiability and the Cauchy-Riemann equations, u_x = v_y and u_y = -v_x on G. Differentiating the first in x and the second in y gives u_{xx} = v_{yx} and u_{yy} = -v_{xy}. As v is of class C^2, Clairaut’s theorem gives v_{xy} = v_{yx}, so \Delta u = v_{yx} - v_{xy} = 0. Differentiating the first in y and the second in x gives u_{xy} = v_{yy} and u_{yx} = -v_{xx}, so \Delta v = u_{xy} - u_{yx} = 0 by Clairaut’s theorem for u. \blacksquare
Result 2. Proof. Write w = s + it for points of H, and let u_s, u_t, u_{ss}, u_{st}, u_{tt} denote partials of u evaluated at (p, q). By the The multivariable chain rule, U_x = u_s p_x + u_t q_x. Differentiating again by the chain and product rules, with u_{st} = u_{ts},
and U_{yy} is the same with y for x. These, and U_{xy} found the same way, are continuous, so U is of class C^2. Adding,
The Cauchy-Riemann equations q_x = -p_y and q_y = p_x give p_xq_x + p_yq_y = 0 and q_x^2 + q_y^2 = p_x^2 + p_y^2, and since f' = p_x + iq_x = p_x - ip_y, both sums of squares equal |f'|^2. By Result 1, \Delta p = \Delta q = 0. So \Delta U = |f'|^2(u_{ss} + u_{tt}), with u_{ss} + u_{tt} evaluated at f(z). \blacksquare
Result 3. Proof. By the Cauchy-Riemann equations \nabla v = (-u_y, u_x), so \nabla u \cdot \nabla v = -u_xu_y + u_yu_x = 0, and |\nabla v| = |\nabla u| = |u_x - iu_y| = |f'|. If f'(z_0) \ne 0 and the first partials are continuous, both gradients are nonzero at z_0, so near z_0 each level curve through z_0 is a smooth curve with the gradient as its normal there (Gradient and directional derivatives, by the implicit function theorem). The normals are perpendicular, so the curves are. \blacksquare
Result 4. Proof. For (x, y) \in D, the segment from (x_0, y_0) to (x, y_0) and the segment from (x, y_0) to (x, y) lie in D: for the disk, each coordinate of a point on them differs from that of z_0 by no more than the same coordinate of (x, y) does. So v is defined.
As t \mapsto u_x(x, t) is continuous, the The fundamental theorem of calculus gives v_y = u_x. In v_x, the second term contributes -u_y(x, y_0), by the same theorem. For the first, use Leibniz’s rule: if g and g_x are continuous on a closed rectangle [a, b] \times [c, d], then x \mapsto \int_c^d g(x, t)\,dt is differentiable on (a, b) with derivative \int_c^d g_x(x, t)\,dt. The closed vertical segment is a compact subset of the open set D, so a closed rectangle of some width 2\delta > 0 around it lies in D, and the rule applies to g = u_x. Since u_{xx} = -u_{yy} and t \mapsto u_y(x, t) has the continuous derivative u_{yy},
So u and v have continuous first partials satisfying the Cauchy-Riemann equations, and u + iv is holomorphic on D by Result 3 of Complex differentiability and the Cauchy-Riemann equations. The second partials v_{xx} = -u_{yx}, v_{xy} = -u_{yy}, v_{yx} = u_{xx}, v_{yy} = u_{xy} are continuous, and \Delta v = u_{xy} - u_{yx} = 0. Both integrals vanish at (x_0, y_0).
If v_1 and v_2 are harmonic conjugates of u on a region G, then g = i(v_1 - v_2) is holomorphic with real part 0. Its Cauchy-Riemann equations give (v_1 - v_2)_y = (v_1 - v_2)_x = 0, so g' = 0 on G and g is constant by Result 5 of Complex differentiability and the Cauchy-Riemann equations. \blacksquare
Result 5. Proof. A disk is a region, so Result 4 gives f and its uniqueness. For holomorphic g = a + ib, Result 2 of Complex differentiability and the Cauchy-Riemann equations gives a_x = \operatorname{Re} g' and a_y = -b_x = \operatorname{Re}(ig'). If each f^{(n)} is holomorphic, induction shows that every partial of \operatorname{Re} f of order n is \operatorname{Re}(i^k f^{(n)}), with k the number of differentiations in y, a continuous function. This applies to u on each disk in G, and to u = \operatorname{Re} f and v = \operatorname{Re}(-if) for any holomorphic f. \blacksquare
Worked examples
A family of quartics
For which real a is u = x^4 + ax^2y^2 + y^4 harmonic on \mathbb{C}? For that a, find every entire f with \operatorname{Re} f = u.
SolutionThe polynomial u is of class C^2, with u_{xx} = 12x^2 + 2ay^2 and u_{yy} = 2ax^2 + 12y^2, so \Delta u = (12 + 2a)(x^2 + y^2). This vanishes on \mathbb{C} exactly when a = -6.
Let a = -6 and let f = u + iv be entire. By Result 2 of Complex differentiability and the Cauchy-Riemann equations and the Cauchy-Riemann equations, f' = u_x + iv_x = u_x - iu_y, so
since (x + iy)^3 = x^3 - 3xy^2 + i(3x^2y - y^3). So f - z^4 has derivative 0 on the region \mathbb{C} and is a constant C. Expanding, \operatorname{Re} z^4 = x^4 - 6x^2y^2 + y^4 = u, so \operatorname{Re} C = 0. The entire functions with real part u are z^4 + ic with c real, and the harmonic conjugates of u are 4x^3y - 4xy^3 + c.
A conjugate by integration
Show that u = e^{x}(x\cos y - y\sin y) is harmonic on \mathbb{C}, find its harmonic conjugate v with v(0, 0) = 0, and write u + iv in terms of z.
SolutionBy the product rule,
and then u_{xx} = e^{x}(x\cos y - y\sin y + 2\cos y) and u_{yy} = -e^{x}(x\cos y - y\sin y + 2\cos y). These are continuous and sum to 0, so u is harmonic. Apply Result 4 with D = \mathbb{C} and z_0 = 0. As u_y(t, 0) = 0, the second integral vanishes, and with \int_0^y (-t\sin t)\,dt = y\cos y - \sin y,
Expanding e^{x}(x + iy)(\cos y + i\sin y) gives exactly u + iv, so u + iv = ze^{z}.
Steady temperature in a pipe wall
Yuna and Kofi service a pasteurizer whose hot-water line is a long steel pipe. In a cross-section, with positions in centimeters and the pipe’s axis at 0, the wall is the annulus A = \{z : 2 < |z| < 4\}. The inner surface is held at 80 degrees Celsius and the outer surface at 20. Away from the ends the temperature does not change along the pipe or in time, and it is then a harmonic function of position in the cross-section. Find the harmonic function on A that depends only on r = |z| and has these wall values, its value at r = 3, and the radius where it is 50 degrees.
SolutionLet u = g(r) with g of class C^2 on (2, 4). As \displaystyle r_x = \frac{x}{r}, the chain rule gives \displaystyle u_x = g'(r)\frac{x}{r} and
and likewise in y. Adding, with x^2 + y^2 = r^2,
So u is harmonic exactly when (rg'(r))' = rg'' + g' = 0, that is, rg'(r) = b for a constant b, and g(r) = a + b\ln r. The wall values give a + b\ln 2 = 80 and a + b\ln 4 = 20, so b\ln 2 = -60 and a = 140:
At r = 3, u = 140 - 60\log_2 3 \approx 44.9 degrees, below the 50 a straight-line drop would give. The value 50 needs \displaystyle \log_2 r = \frac32, so \displaystyle r = 2\sqrt{2} \approx 2.83 centimeters. Heat flows along \displaystyle -\nabla u = \frac{60}{\ln 2}\cdot\frac{(x, y)}{r^2}, straight outward and fastest at the inner wall (Figure 2). That no other harmonic function on A has these wall values needs the maximum principle, not proved here.
A short proof: no conjugate around the pipe
Prove that the temperature u of Example 3 has no harmonic conjugate on A.
SolutionProof. If v were one, then \displaystyle \frac{\ln 2}{60}(140 - u - iv) would be holomorphic on A with real part \ln|z|. So it is enough to show that \ln|z| has no harmonic conjugate on A.
Suppose F = \ln|z| + iw is holomorphic on A. With \displaystyle U = \frac12\ln(x^2 + y^2), \displaystyle U_x = \frac{x}{x^2 + y^2} and \displaystyle U_y = \frac{y}{x^2 + y^2}, so \displaystyle F' = U_x - iU_y = \frac{x - iy}{|z|^2} = \frac1z. The set A' = A \setminus (-\infty, 0] is open and connected: each point joins 3 by an arc of its circle about 0 avoiding the negative axis, then a segment of the positive axis. On the region A', \operatorname{Log} has derivative \displaystyle \frac1z (Result 4 of Complex differentiability and the Cauchy-Riemann equations), so (F - \operatorname{Log})' = 0 and F = \operatorname{Log} + c for a constant c. For 0 < \theta < \pi,
As \theta \to \pi both points tend to -3 \in A, where F is continuous, so both right sides tend to F(-3). But they tend to values 2\pi i apart. \blacksquare
On A', \displaystyle -\frac{60}{\ln 2}\operatorname{Arg} z is a conjugate of u; around the pipe it would need to change by \displaystyle \frac{120\pi}{\ln 2} \approx 543.9, which measures the heat leaving through the wall.
Transport by a polynomial
Show that U = \ln B, where B = (x^2 - y^2 - 1)^2 + 4x^2y^2, is harmonic on \mathbb{C} \setminus \{1, -1\}, and find the holomorphic F on D(0, 1) with \operatorname{Re} F = U and F(0) = 0.
SolutionSince z^2 - 1 = (x^2 - y^2 - 1) + 2xyi, B = |z^2 - 1|^2, and U = u \circ f with f(z) = z^2 - 1 and u(s, t) = \ln(s^2 + t^2) = 2\ln|w|. By Example 3 (with a = 0, b = 2), u is harmonic on H = \mathbb{C} \setminus \{0\}. The entire f has polynomial parts and maps \mathbb{C} \setminus \{1, -1\} into H, so U is harmonic there by Result 2.
For |z| < 1, \operatorname{Re}(1 - z^2) \ge 1 - |z|^2 > 0, so F(z) = 2\operatorname{Log}(1 - z^2) is holomorphic on D(0, 1) by the chain rule. Its real part is 2\ln|1 - z^2| = U, and F(0) = 0. By Result 5 any other choice is F + ic, and F(0) = 0 forces c = 0.
Boundaries
A hole can block a conjugate. Result 4 is proved for disks, rectangles and the plane, and Example 4 is a harmonic function on an annulus with no conjugate there. On a simply connected region a conjugate always exists; that needs antiderivatives of holomorphic functions on such regions, from Cauchy's theorem, and is not proved here.
Products and moduli. x is harmonic and x^2 is not, as \Delta(x^2) = 2. For holomorphic f, |f| is usually not harmonic: |z| = r has \displaystyle \Delta r = \frac1r by the formula of Example 3. But \ln|f| is harmonic where f \ne 0 (Exercise 14).
Conjugation is not symmetric. If v is a harmonic conjugate of u, then -u, not u, is one of v, since -i(u + iv) = v - iu (Exercise 13).
Where this goes next
Cauchy's integral formula proves that f' is holomorphic, which removes the C^2 hypotheses here and makes every harmonic function infinitely differentiable. The maximum modulus principle proves the mean-value property for holomorphic functions; real parts on disks carry it to harmonic ones. Möbius transformations supplies holomorphic maps between disks and half-planes, along which Result 2 moves harmonic functions.
Exercises
Testing for harmonicity
- Which of these are harmonic on \mathbb{C}: (a) u = 2x^3 - 6xy^2 + y; (b) u = e^{3y}\cos 3x; (c) u = x^3y - xy^3 + x^2?
- For which real k is u = e^{kx}\sin 3y harmonic on \mathbb{C}?
- Find the real a and b for which u = ax^3 + bx^2y + 6xy^2 - 2y^3 is harmonic on \mathbb{C}, and the entire f with \operatorname{Re} f = u and f(0) = 0.
Harmonic conjugates
- Show that u = \sinh x\sin y is harmonic on \mathbb{C}, find its harmonic conjugate with v(0, 0) = 0 by Result 4, and write u + iv in terms of z.
- Show that \displaystyle u = \frac{x}{x^2 + y^2} is harmonic on \mathbb{C} \setminus \{0\} and has a harmonic conjugate on all of \mathbb{C} \setminus \{0\}.
- Show that \operatorname{Arg} z is harmonic on \mathbb{C} \setminus (-\infty, 0] and find a harmonic conjugate of it there.
- Compute the harmonic conjugate of \ln|z| on D(2, 2) given by Result 4 with z_0 = 2, show that it equals \operatorname{Arg} z, and explain why this does not contradict Example 4.
Level curves and transport
- For \displaystyle u = \frac{x}{x^2 + y^2} and \displaystyle v = \frac{-y}{x^2 + y^2}, show that the level curve u = c with c \ne 0 is a circle centered at \displaystyle \frac{1}{2c} with radius \displaystyle \frac{1}{2|c|}, less the point 0, and find the circle v = k with k \ne 0. Check that the curves \displaystyle u = \frac12 and \displaystyle v = -\frac12 meet at 1 + i at right angles.
- Use Result 2 with u(s, t) = s^2 + t^2 and f(z) = z^3 to find \Delta\big[(x^2 + y^2)^3\big], and confirm it with the formula of Example 3.
Steady temperature
- A pipe wall is the annulus 1 < |z| < 3 in centimeters, with the inner surface at 100 degrees Celsius and the outer at 40. Find the steady temperature that depends only on r = |z|, the radius where it is 70 degrees, and |\nabla u| at r = 2.
- A long bar has cross-section the quadrant x > 0, y > 0, with the face on the positive real axis held at 20 degrees Celsius and the face on the positive imaginary axis at 100. Show that \displaystyle u = 20 + \frac{160}{\pi}\operatorname{Arg} z is harmonic on the quadrant and tends to these face values, find \displaystyle u(\sqrt{3} + i), and find the curve along which heat flows through \displaystyle \sqrt{3} + i.
Proofs
- Prove that if u and u^2 are both harmonic on a region G, then u is constant on G.
- Let v be a harmonic conjugate of u on a region G. Prove that -u is a harmonic conjugate of v, and that if u is also a harmonic conjugate of v, then u and v are constant.
- Let f be holomorphic and never 0 on an open set G, with real and imaginary parts of class C^2. Prove that \ln|f| is harmonic on G.
- Let f be holomorphic on a region G with real and imaginary parts of class C^2. Prove that \Delta|f|^2 = 4|f'|^2, and that |f|^2 is harmonic on G only when f is constant.
- Let u be harmonic on an open set G. Prove that g = u_x - iu_y is holomorphic on G.
- For a and b of class C^2 on G, prove \Delta(ab) = a\,\Delta b + b\,\Delta a + 2\nabla a \cdot \nabla b. Deduce that if f = u + iv is holomorphic on G with u and v of class C^2, then uv is harmonic, and match this with \displaystyle uv = \frac12\operatorname{Im}(f^2).
Answers
- (a) and (b). (a) u_{xx} = 12x and u_{yy} = -12x. (b) u_{xx} = -9e^{3y}\cos 3x and u_{yy} = 9e^{3y}\cos 3x. (c) u_{xx} = 6xy + 2 and u_{yy} = -6xy, so \Delta u = 2 \ne 0.
- k = 3 or k = -3: \Delta u = (k^2 - 9)e^{kx}\sin 3y, which vanishes on \mathbb{C} exactly when k^2 = 9.
- a = -2, b = 6, and f(z) = -2(1 + i)z^3. Here \Delta u = (6a + 12)x + (2b - 12)y. Then u_x = -6x^2 + 12xy + 6y^2 and u_y = 6x^2 + 12xy - 6y^2, and f' = u_x - iu_y equals -6(1 + i)z^2 on expanding z^2 = x^2 - y^2 + 2xyi. So f + 2(1 + i)z^3 is constant, and f(0) = 0 makes it 0.
- u_{xx} = \sinh x\sin y = -u_{yy}, continuous. With u_x = \cosh x\sin y and u_y(t, 0) = \sinh t, Result 4 gives v = \cosh x\,(1 - \cos y) - (\cosh x - 1), so v = 1 - \cosh x\cos y. As \cosh z = \cosh x\cos y + i\sinh x\sin y, u + iv = i - i\cosh z.
- \displaystyle \frac1z = \frac{x - iy}{x^2 + y^2} is holomorphic on \mathbb{C} \setminus \{0\} with C^2 parts, so by Result 1 \displaystyle u = \operatorname{Re}\frac1z is harmonic, and \displaystyle v = \frac{-y}{x^2 + y^2} is a conjugate on the whole punctured plane.
- On the slit plane \operatorname{Log} z = \ln|z| + i\operatorname{Arg} z is holomorphic, and \displaystyle \operatorname{Arg} z = 2\arctan\frac{y}{x + |z|} is of class C^2, so Result 1 makes \operatorname{Arg} z harmonic. As -i\operatorname{Log} z = \operatorname{Arg} z - i\ln|z|, a harmonic conjugate is -\ln|z|.
- On D(2, 2), x > 0, \displaystyle u_x(x, t) = \frac{x}{x^2 + t^2} and u_y(t, 0) = 0, so \displaystyle v = \int_0^y \frac{x}{x^2 + t^2}\,dt = \arctan\frac{y}{x}, which is \operatorname{Arg} z for x > 0. The disk does not surround 0, while Example 4 needs a conjugate on a whole circle about 0.
- \displaystyle \frac{x}{x^2 + y^2} = c means \displaystyle x^2 + y^2 - \frac{x}{c} = 0, that is, \displaystyle \left(x - \frac{1}{2c}\right)^2 + y^2 = \frac{1}{4c^2} with (x, y) \ne (0, 0). Likewise v = k is the circle \displaystyle x^2 + \left(y + \frac{1}{2k}\right)^2 = \frac{1}{4k^2}, centered at \displaystyle -\frac{i}{2k}, less 0. As \displaystyle \frac{1}{1 + i} = \frac{1 - i}{2}, the point 1 + i lies on \displaystyle u = \frac12 (center 1, radius 1) and on \displaystyle v = -\frac12 (center i, radius 1). The radii to it, (1 + i) - 1 = i and (1 + i) - i = 1, are perpendicular, so the tangents are too.
- \Delta u = 4 and |f'|^2 = |3z^2|^2 = 9|z|^4, so \Delta\big[(x^2 + y^2)^3\big] = 36(x^2 + y^2)^2. With g(r) = r^6, \displaystyle g'' + \frac{g'}{r} = 30r^4 + 6r^4 = 36r^4.
- \displaystyle u = 100 - \frac{60}{\ln 3}\ln|z|, from a = 100 and b\ln 3 = -60. It is 70 where \displaystyle \ln r = \frac12\ln 3, at \displaystyle r = \sqrt{3} \approx 1.73 centimeters, and \displaystyle |\nabla u| = \frac{60}{r\ln 3}, so at r = 2 it is \displaystyle \frac{30}{\ln 3} \approx 27.3 degrees per centimeter.
- By Exercise 6 and linearity u is harmonic on the slit plane, which contains the quadrant. Near the positive real axis \operatorname{Arg} z \to 0 and u \to 20; near the positive imaginary axis \displaystyle \operatorname{Arg} z \to \frac{\pi}{2} and u \to 100. \displaystyle u(\sqrt{3} + i) = 20 + \frac{160}{6}, so it is \displaystyle \frac{140}{3} \approx 46.7 degrees. By Exercise 6, \displaystyle -\frac{160}{\pi}\ln|z| is a harmonic conjugate, so heat flows along the arc of |z| = 2 in the quadrant, from the hot face toward the cold one (Result 3).
- Proof. (u^2)_{xx} = 2u_x^2 + 2uu_{xx}, and likewise in y, so \Delta(u^2) = 2u\,\Delta u + 2(u_x^2 + u_y^2). With \Delta u = \Delta(u^2) = 0, this gives u_x = u_y = 0 on G. So u + 0i has continuous partials satisfying the Cauchy-Riemann equations, is holomorphic with derivative u_x = 0 (Results 3 and 2 of Complex differentiability and the Cauchy-Riemann equations), and is constant on the region G by Result 5 there. \blacksquare
- Proof. -i(u + iv) = v - iu is holomorphic, so -u is a harmonic conjugate of v. If also v + iu is holomorphic, the sum 2v is holomorphic with imaginary part 0; its Cauchy-Riemann equations give v_x = v_y = 0, so its derivative is 0 and v is constant (Result 5 of Complex differentiability and the Cauchy-Riemann equations). Then u_x = v_y = 0 and u_y = -v_x = 0, and u is constant in the same way. \blacksquare
- Proof. \displaystyle u(s, t) = \frac12\ln(s^2 + t^2) = \ln|w| is harmonic on H = \mathbb{C} \setminus \{0\} by Example 3 with a = 0, b = 1. Since f(G) \subseteq H, Result 2 shows \ln|f| = u \circ f is of class C^2 with \Delta\ln|f| = |f'|^2 \cdot 0 = 0. \blacksquare
- Proof. With u(s, t) = s^2 + t^2, \Delta u = 4 and |f|^2 = u \circ f, so Result 2 gives \Delta|f|^2 = 4|f'|^2. If |f|^2 is harmonic, then f' = 0 on G, and f is constant by Result 5 of Complex differentiability and the Cauchy-Riemann equations; a constant clearly gives 0. \blacksquare
- Proof. \operatorname{Re} g = u_x and \operatorname{Im} g = -u_y have continuous first partials, as u is of class C^2. The Cauchy-Riemann equations hold: (u_x)_x = u_{xx} = -u_{yy} = (-u_y)_y by Laplace’s equation, and (u_x)_y = u_{xy} = u_{yx} = -(-u_y)_x by Clairaut’s theorem. So g is holomorphic by Result 3 of Complex differentiability and the Cauchy-Riemann equations. \blacksquare
- Proof. By the product rule (ab)_{xx} = a_{xx}b + 2a_xb_x + ab_{xx}, and likewise in y; adding gives the identity. For f = u + iv, Result 1 gives \Delta u = \Delta v = 0 and Result 3 gives \nabla u \cdot \nabla v = 0, so \Delta(uv) = 0. Also f^2 = u^2 - v^2 + 2iuv is holomorphic with C^2 parts, so \displaystyle uv = \frac12\operatorname{Im}(f^2) is harmonic by Result 1 directly. \blacksquare