Module

for

Harmonic Functions

 

Section 3.3  Harmonic Functions

    Let  [Graphics:Images/HarmonicFunctionMod._gr_1.gif]  be a real-valued function of the two real variables x and y defined on a domain D.  (Recall that a domain is a connected open set.)  The partial differential equation

(3-26)            [Graphics:Images/HarmonicFunctionMod._gr_2.gif]  

is known as Laplace's equation and is sometimes referred to as the potential equation.  If [Graphics:Images/HarmonicFunctionMod._gr_3.gif] are all continuous and if [Graphics:Images/HarmonicFunctionMod._gr_4.gif] satisfies Laplace's equation, then [Graphics:Images/HarmonicFunctionMod._gr_5.gif] is called a harmonic function.

 

    Harmonic functions are important in the areas of applied mathematics, engineering, and mathematical physics.  In calculus we might have been asked to show that the functions [Graphics:Images/HarmonicFunctionMod._gr_6.gif] and  [Graphics:Images/HarmonicFunctionMod._gr_7.gif] are harmonic (and also that the functions  [Graphics:Images/HarmonicFunctionMod._gr_8.gif]  and  [Graphics:Images/HarmonicFunctionMod._gr_9.gif]  are harmonic).  Harmonic functions are used to solve problems involving steady state temperatures, two-dimensional electrostatics, and ideal fluid flow.  In Chapter 11 we will see how complex analysis techniques can be used to solve some problems involving harmonic functions.  For example, the function  [Graphics:Images/HarmonicFunctionMod._gr_10.gif]  is harmonic in the upper half plane and takes on the boundary values   [Graphics:Images/HarmonicFunctionMod._gr_11.gif]  and   [Graphics:Images/HarmonicFunctionMod._gr_12.gif],  as shown in Figure 3.A.

[Graphics:Images/HarmonicFunctionMod._gr_13.gif]

        Figure 3.A  The harmonic function  [Graphics:Images/HarmonicFunctionMod._gr_14.gif].

Exploration

 

These pairs of functions are not chosen at random, and there is an intimate relationship between them.  We begin with an important theorem relating analytic and harmonic functions.

 

Theorem 3.8.  Let  [Graphics:Images/HarmonicFunctionMod._gr_26.gif]  be an analytic function on a domain D.  Then both  [Graphics:Images/HarmonicFunctionMod._gr_27.gif]  and  [Graphics:Images/HarmonicFunctionMod._gr_28.gif]  are harmonic functions on D.  In other words, the real and imaginary parts of an analytic function are harmonic.

Proof.  In Corollary 6.3 we will show that, if f(z) is analytic, then all partial derivatives of u and v are continuous.  Using that result here, we see that, as f is analytic, u and v satisfy the Cauchy-Riemann equations

        [Graphics:Images/HarmonicFunctionMod._gr_29.gif]   and   [Graphics:Images/HarmonicFunctionMod._gr_30.gif].  

Taking the partial derivative with respect to x of each side of these equations gives  

        [Graphics:Images/HarmonicFunctionMod._gr_31.gif]   and   [Graphics:Images/HarmonicFunctionMod._gr_32.gif].  


Similarly, taking the partial derivative of each side with respect to y yields  

        [Graphics:Images/HarmonicFunctionMod._gr_33.gif]   and   [Graphics:Images/HarmonicFunctionMod._gr_34.gif].  


The partial derivatives [Graphics:Images/HarmonicFunctionMod._gr_35.gif] are all continuous, so we use a theorem from the calculus of real functions that states that the mixed partial derivatives are equal; that is,  

        [Graphics:Images/HarmonicFunctionMod._gr_36.gif]   and   [Graphics:Images/HarmonicFunctionMod._gr_37.gif].  


Combining all these results finally gives

        [Graphics:Images/HarmonicFunctionMod._gr_38.gif],  and  

        [Graphics:Images/HarmonicFunctionMod._gr_39.gif].  

Therefore both u and v are harmonic functions on D.

Proof.

 

    If we have a function [Graphics:Images/HarmonicFunctionMod._gr_40.gif] that is harmonic on the domain D and if we can find another harmonic function [Graphics:Images/HarmonicFunctionMod._gr_41.gif] such that the partial derivatives for u and v satisfy the Cauchy-Riemann equations throughout D, then we say that [Graphics:Images/HarmonicFunctionMod._gr_42.gif]is a harmonic conjugate of [Graphics:Images/HarmonicFunctionMod._gr_43.gif].  It then follows that the function  [Graphics:Images/HarmonicFunctionMod._gr_44.gif]  is analytic on D.

 

Example 3.11.  If  [Graphics:Images/HarmonicFunctionMod._gr_45.gif],  then  [Graphics:Images/HarmonicFunctionMod._gr_46.gif];   hence u is a harmonic function for all z.  We find that [Graphics:Images/HarmonicFunctionMod._gr_47.gif] is also a harmonic function and that

            [Graphics:Images/HarmonicFunctionMod._gr_48.gif],   and   

            [Graphics:Images/HarmonicFunctionMod._gr_49.gif].

Therefore v is a harmonic conjugate of u, and the function f given by  

            [Graphics:Images/HarmonicFunctionMod._gr_50.gif]  

is an analytic function.

Explore Solution 3.11.

 

    Theorem 3.8 makes the construction of harmonic functions from known analytic functions an easy task.

 

Example 3.12. The function  [Graphics:Images/HarmonicFunctionMod._gr_59.gif]  is analytic for all values of z, hence it follows that  

            [Graphics:Images/HarmonicFunctionMod._gr_60.gif]  
is harmonic, and
            [Graphics:Images/HarmonicFunctionMod._gr_61.gif]  
        
is a harmonic conjugate of u(x,y).

Explore Solution 3.12.

 

    Figures 3.2 and 3.3 show the graphs of these two functions.  The partial derivatives are  [Graphics:Images/HarmonicFunctionMod._gr_70.gif],   [Graphics:Images/HarmonicFunctionMod._gr_71.gif],   [Graphics:Images/HarmonicFunctionMod._gr_72.gif],  and  [Graphics:Images/HarmonicFunctionMod._gr_73.gif].  They satisfy the Cauchy-Riemann equations because they are the real and imaginary parts of an analytic function.  At the point [Graphics:Images/HarmonicFunctionMod._gr_74.gif],  we have  [Graphics:Images/HarmonicFunctionMod._gr_75.gif],  and these partial derivatives appear along the edges of the surfaces for u and v where [Graphics:Images/HarmonicFunctionMod._gr_76.gif].  Similarly,  [Graphics:Images/HarmonicFunctionMod._gr_77.gif]  and  [Graphics:Images/HarmonicFunctionMod._gr_78.gif]  also appear along the edges of the surfaces for u and v where [Graphics:Images/HarmonicFunctionMod._gr_79.gif].

[Graphics:Images/HarmonicFunctionMod._gr_80.gif]

    Figure 3.2  [Graphics:Images/HarmonicFunctionMod._gr_81.gif].              Figure 3.3  [Graphics:Images/HarmonicFunctionMod._gr_82.gif].

 

    We can use complex analysis to show easily that certain combinations of harmonic functions are harmonic.  For example, if v is a harmonic conjugate of u, then their product  [Graphics:Images/HarmonicFunctionMod._gr_83.gif] is a harmonic function. This can be verified directly by computing the partial derivatives and showing that Laplace's equation (3-26) holds, but the details are tedious.  If we use complex variable techniques instead, we can start with the fact that [Graphics:Images/HarmonicFunctionMod._gr_84.gif] is an analytic function.  Then we observe that the square of f is also an analytic function, which is

        [Graphics:Images/HarmonicFunctionMod._gr_85.gif].  

    We then know immediately that the imaginary part,  [Graphics:Images/HarmonicFunctionMod._gr_86.gif],   is a harmonic function by Theorem 3.8.   Since a constant multiple of a harmonic function is harmonic, it follows that [Graphics:Images/HarmonicFunctionMod._gr_87.gif] is harmonic.  It is left as an exercise to show that if [Graphics:Images/HarmonicFunctionMod._gr_88.gif] and [Graphics:Images/HarmonicFunctionMod._gr_89.gif] are two harmonic functions that are not related in the preceding fashion, then their product need not be harmonic.

 

Theorem 3.9 (Construction of a Conjugate).  Let  [Graphics:Images/HarmonicFunctionMod._gr_90.gif]  be harmonic in an [Graphics:Images/HarmonicFunctionMod._gr_91.gif]-neighborhood of the point [Graphics:Images/HarmonicFunctionMod._gr_92.gif].  Then there exists a conjugate harmonic function  [Graphics:Images/HarmonicFunctionMod._gr_93.gif]  defined in this neighborhood such that  [Graphics:Images/HarmonicFunctionMod._gr_94.gif] is an analytic function.

Proof.  A conjugate harmonic function v will satisfy the Cauchy-Riemann equations [Graphics:Images/HarmonicFunctionMod._gr_95.gif] and [Graphics:Images/HarmonicFunctionMod._gr_96.gif].  Assuming that such a function exists, we determine what it would have to look like by using a two-step process.  First, we integrate [Graphics:Images/HarmonicFunctionMod._gr_97.gif] (which should equal [Graphics:Images/HarmonicFunctionMod._gr_98.gif]) with respect to y and get

(3-27)            [Graphics:Images/HarmonicFunctionMod._gr_99.gif]

where [Graphics:Images/HarmonicFunctionMod._gr_100.gif] is a function of x alone that is yet to be determined.  Second, we compute [Graphics:Images/HarmonicFunctionMod._gr_101.gif] by differentiating both sides of this equation with respect to x and replacing  [Graphics:Images/HarmonicFunctionMod._gr_102.gif]  with  [Graphics:Images/HarmonicFunctionMod._gr_103.gif]  on the left side, which gives  

            [Graphics:Images/HarmonicFunctionMod._gr_104.gif]

It can be shown (we omit the details) that because u is harmonic, all terms except those involving x in the last equation will cancel, revealing a formula for [Graphics:Images/HarmonicFunctionMod._gr_105.gif] involving x alone.  Elementary integration of the single-variable function [Graphics:Images/HarmonicFunctionMod._gr_106.gif] can then be used to discover [Graphics:Images/HarmonicFunctionMod._gr_107.gif] .  We finally observe that the function v so created indeed has the properties we seek.

    The functions  [Graphics:Images/HarmonicFunctionMod._gr_108.gif] and [Graphics:Images/HarmonicFunctionMod._gr_109.gif] are computed with the formulas:

            [Graphics:Images/HarmonicFunctionMod._gr_110.gif],   and     
            
            [Graphics:Images/HarmonicFunctionMod._gr_111.gif].  

Proof.

    Technically we should always specify the domain of function when defining it.  When no such specification is given, it is assumed that the domain is the entire complex plane, or the largest set for which the expression defining the function makes sense.

 

Method. Construction of the Harmonic Conjugate of u(x,y).

Execute this cell to activate the construction of the harmonic conjugate subroutine.

[Graphics:Images/HarmonicFunctionMod._gr_112.gif]

Example 3.13.  Show that  [Graphics:Images/HarmonicFunctionMod._gr_113.gif]  is a harmonic function and find the harmonic conjugate  [Graphics:Images/HarmonicFunctionMod._gr_114.gif].

Solution.  We follow the construction process of Theorem 3.9.  The first partial derivatives are

(3-28)            [Graphics:Images/HarmonicFunctionMod._gr_115.gif]   and   [Graphics:Images/HarmonicFunctionMod._gr_116.gif].  

To verify that u is harmonic, we compute the second partial derivatives and note that  [Graphics:Images/HarmonicFunctionMod._gr_117.gif],  so u satisfies Laplace's Equation (3-26).  To construct v, we start with Equation (3-27) and the first of Equations (3-28) to get  

            [Graphics:Images/HarmonicFunctionMod._gr_118.gif]

Differentiating the left and right sides of this equation with respect to x and using  [Graphics:Images/HarmonicFunctionMod._gr_119.gif]  and Equations (3-28) on the left side yields

            [Graphics:Images/HarmonicFunctionMod._gr_120.gif]

which implies that

            [Graphics:Images/HarmonicFunctionMod._gr_121.gif],  

then an easy integration yields  [Graphics:Images/HarmonicFunctionMod._gr_122.gif],  where C is a constant.  Now we substitute [Graphics:Images/HarmonicFunctionMod._gr_123.gif] and obtain the desired solution

            [Graphics:Images/HarmonicFunctionMod._gr_124.gif].  

Explore Solution 3.13.

 

    Contour plots for the families of curves  [Graphics:Images/HarmonicFunctionMod._gr_145.gif]  and  [Graphics:Images/HarmonicFunctionMod._gr_146.gif]  are shown in Figures 3.B.  

[Graphics:Images/HarmonicFunctionMod._gr_147.gif]

    Figure 3.B  Contour plot for  [Graphics:Images/HarmonicFunctionMod._gr_148.gif]     and     [Graphics:Images/HarmonicFunctionMod._gr_149.gif].  

    In Chapter 11 we will show that if  [Graphics:Images/HarmonicFunctionMod._gr_150.gif] is an analytic function.  Then the two families of level curves    [Graphics:Images/HarmonicFunctionMod._gr_151.gif]  and  [Graphics:Images/HarmonicFunctionMod._gr_152.gif],  are orthogonal in the sense that if [Graphics:Images/HarmonicFunctionMod._gr_153.gif]is a point in common to the two curves  [Graphics:Images/HarmonicFunctionMod._gr_154.gif]  and  [Graphics:Images/HarmonicFunctionMod._gr_155.gif],  and  if   [Graphics:Images/HarmonicFunctionMod._gr_156.gif],  then these two curves intersect orthogonally.  The orthogonal grid shown in Figure 3.C.  

[Graphics:Images/HarmonicFunctionMod._gr_157.gif]

        Figure 3.C  The orthogonal grid formed by [Graphics:Images/HarmonicFunctionMod._gr_158.gif] and [Graphics:Images/HarmonicFunctionMod._gr_159.gif].

 

Extra Example 1.  Show that  [Graphics:Images/HarmonicFunctionMod._gr_160.gif]  is a harmonic function and find the harmonic conjugate  [Graphics:Images/HarmonicFunctionMod._gr_161.gif].

Explore Extra Solution 1.

 

Fluid Flow

    Harmonic functions are solutions to many physical problems.  Applications include two-dimensional models of heat flow, electrostatics, and fluid flow.  We now give an example of the latter.
    
    We assume that an incompressible and frictionless fluid flows over the complex plane and that all cross sections in planes parallel to the complex plane are the same.  Situations such as this occur when fluid is flowing in a deep channel. The velocity vector at the point [Graphics:Images/HarmonicFunctionMod._gr_173.gif] is

(3-29)            [Graphics:Images/HarmonicFunctionMod._gr_174.gif].  

    The assumption that the flow is irrotational and has no sources or sinks implies that both the curl and divergence vanish, that is, [Graphics:Images/HarmonicFunctionMod._gr_175.gif] and [Graphics:Images/HarmonicFunctionMod._gr_176.gif].  Hence p and q obey the partial differential equations

(3-30)            [Graphics:Images/HarmonicFunctionMod._gr_177.gif],   and

            [Graphics:Images/HarmonicFunctionMod._gr_178.gif].  

Equations (3-30) are similar to the Cauchy-Riemann equations and permit us to define a special complex function:

(3-31)            [Graphics:Images/HarmonicFunctionMod._gr_179.gif].  

Here we have  [Graphics:Images/HarmonicFunctionMod._gr_180.gif].  We can use Equations (3-30) to verify that the Cauchy-Riemann equations are satisfied for f:  

            [Graphics:Images/HarmonicFunctionMod._gr_181.gif],   and    

            [Graphics:Images/HarmonicFunctionMod._gr_182.gif].  

Assuming the functions p and q have continuous partials, Theorem 3.4 guarantees that function f defined in Equation (3-31) is analytic, and that the fluid flow of Equation (3-29) is the conjugate of an analytic function, that is,

            [Graphics:Images/HarmonicFunctionMod._gr_183.gif].  


    In Chapter 6 we will prove that every analytic function f has an analytic antiderivative F;  assuming this to be the case, we can write  

(3-32)            [Graphics:Images/HarmonicFunctionMod._gr_184.gif],  

where [Graphics:Images/HarmonicFunctionMod._gr_185.gif].  

    Theorem 3.8 tells us that [Graphics:Images/HarmonicFunctionMod._gr_186.gif] is a harmonic function.  If we use the vector interpretation of a complex number we see that the gradient of [Graphics:Images/HarmonicFunctionMod._gr_187.gif] can be written as

            [Graphics:Images/HarmonicFunctionMod._gr_188.gif].


    The Cauchy-Riemann equations applied to [Graphics:Images/HarmonicFunctionMod._gr_189.gif] give  [Graphics:Images/HarmonicFunctionMod._gr_190.gif];   making this substitution in the last equation yields  

            [Graphics:Images/HarmonicFunctionMod._gr_191.gif].  

Equation (3-14) says that  [Graphics:Images/HarmonicFunctionMod._gr_192.gif],  which by the preceeding equation and Equation (3-32) imply that  

            [Graphics:Images/HarmonicFunctionMod._gr_193.gif].  

Finally, from Equation (3-29),  [Graphics:Images/HarmonicFunctionMod._gr_194.gif] is the scalar potential function for the a fluid flow, so

            [Graphics:Images/HarmonicFunctionMod._gr_195.gif].

    The curves given by [Graphics:Images/HarmonicFunctionMod._gr_196.gif] are called equipotentials.  The curves [Graphics:Images/HarmonicFunctionMod._gr_197.gif] are called streamlines and describe the path of fluid flow.  In Chapter 11 we will see that the family of equipotentials is orthogonal to the family of streamlines.

 

Example 3.14.  Show that the harmonic function [Graphics:Images/HarmonicFunctionMod._gr_198.gif]  is the scalar potential function for the fluid flow  [Graphics:Images/HarmonicFunctionMod._gr_199.gif].  

Solution.  We can write the fluid flow expression as

            [Graphics:Images/HarmonicFunctionMod._gr_200.gif].   

An antiderivative of  [Graphics:Images/HarmonicFunctionMod._gr_201.gif]  is  [Graphics:Images/HarmonicFunctionMod._gr_202.gif],  and the real part of [Graphics:Images/HarmonicFunctionMod._gr_203.gif] is the desired harmonic function:  

            [Graphics:Images/HarmonicFunctionMod._gr_204.gif].  

Note that the hyperbolas  [Graphics:Images/HarmonicFunctionMod._gr_205.gif]  are the equipotential curves and that the hyperbolas  [Graphics:Images/HarmonicFunctionMod._gr_206.gif]  are the streamline curves; these curves are orthogonal, as shown in Figure 3.6.

[Graphics:Images/HarmonicFunctionMod._gr_207.gif]

Figure 3.6  Blue equipotential curves [Graphics:Images/HarmonicFunctionMod._gr_208.gif], and red streamline curves [Graphics:Images/HarmonicFunctionMod._gr_209.gif], for [Graphics:Images/HarmonicFunctionMod._gr_210.gif].

Explore Solution 3.14.

 

Library Research Experience for Undergraduates

Analytic Functions

Cauchy-Riemann Equations

Harmonic Functions

 

Download this Mathematica Notebook

 

Return to the Complex Analysis Project

 

(c) 2006 John H. Mathews, Russell W. Howell