# Laplace's equation

(Redirected from Laplace equation)

In mathematics, Laplace's equation is a second-order partial differential equation named after Pierre-Simon Laplace who first studied its properties. This is often written as

${\displaystyle \nabla ^{2}f=0\qquad {\mbox{or}}\qquad \Delta f=0,}$

where ${\displaystyle \Delta =\nabla \cdot \nabla =\nabla ^{2}}$is the Laplace operator,[note 1] ${\displaystyle \nabla \cdot }$ is divergence operator (also symbolized "div"), ${\displaystyle \nabla }$ is the gradient operator (also symbolized "grad"), and ${\displaystyle f(x,y,z)}$ is a twice-differentiable real-valued function. The Laplace operator therefore maps a scalar function to another scalar function.

If the right-hand side is specified as a given function, ${\displaystyle h(x,y,z)}$, we have

${\displaystyle \Delta f=h.}$

This is called Poisson's equation, a generalization of Laplace's equation, Laplace's and Poisson's equation are the simplest examples of elliptic partial differential equations.

The Laplace equation is also a special case of the Helmholtz equation.

The general theory of solutions to Laplace's equation is known as potential theory. The solutions of Laplace's equation are the harmonic functions,[1] which are important in branches of physics, notably electrostatics, gravitation, and fluid dynamics. In the study of heat conduction, the Laplace equation is the steady-state heat equation.[2]

## Forms in different coordinate systems

${\displaystyle \Delta f={\frac {\partial ^{2}f}{\partial x^{2}}}+{\frac {\partial ^{2}f}{\partial y^{2}}}+{\frac {\partial ^{2}f}{\partial z^{2}}}=0.}$
${\displaystyle \Delta f={\frac {1}{r}}{\frac {\partial }{\partial r}}\left(r{\frac {\partial f}{\partial r}}\right)+{\frac {1}{r^{2}}}{\frac {\partial ^{2}f}{\partial \phi ^{2}}}+{\frac {\partial ^{2}f}{\partial z^{2}}}=0.}$

In spherical coordinates, using the ${\displaystyle (r,\theta ,\varphi )}$ convention,[3]

${\displaystyle \Delta f={\frac {1}{r^{2}}}{\frac {\partial }{\partial r}}\left(r^{2}{\frac {\partial f}{\partial r}}\right)+{\frac {1}{r^{2}\sin \theta }}{\frac {\partial }{\partial \theta }}\left(\sin \theta {\frac {\partial f}{\partial \theta }}\right)+{\frac {1}{r^{2}\sin ^{2}\theta }}{\frac {\partial ^{2}f}{\partial \varphi ^{2}}}=0.}$

More generally, in curvilinear coordinates,

${\displaystyle \Delta f={\frac {\partial }{\partial \xi ^{j}}}\left({\frac {\partial f}{\partial \xi ^{k}}}g^{kj}\right)+{\frac {\partial f}{\partial \xi ^{j}}}g^{jm}\Gamma _{mn}^{n}=0,}$

or

${\displaystyle \Delta f={\frac {1}{\sqrt {|g|}}}{\frac {\partial }{\partial \xi ^{i}}}\!\left({\sqrt {|g|}}g^{ij}{\frac {\partial f}{\partial \xi ^{j}}}\right)=0,\qquad (g=\mathrm {det} \{g_{ij}\}).}$

## Boundary conditions

Laplace's equation on an annulus (inner radius r = 2 and outer radius R = 4) with Dirichlet boundary conditions u(r=2) = 0 and u(R=4) = 4 sin(5 θ)

The Dirichlet problem for Laplace's equation consists of finding a solution φ on some domain D such that φ on the boundary of D is equal to some given function. Since the Laplace operator appears in the heat equation, one physical interpretation of this problem is as follows: fix the temperature on the boundary of the domain according to the given specification of the boundary condition. Allow heat to flow until a stationary state is reached in which the temperature at each point on the domain doesn't change anymore. The temperature distribution in the interior will then be given by the solution to the corresponding Dirichlet problem.

The Neumann boundary conditions for Laplace's equation specify not the function φ itself on the boundary of D, but its normal derivative. Physically, this corresponds to the construction of a potential for a vector field whose effect is known at the boundary of D alone.

Solutions of Laplace's equation are called harmonic functions; they are all analytic within the domain where the equation is satisfied. If any two functions are solutions to Laplace's equation (or any linear homogeneous differential equation), their sum (or any linear combination) is also a solution. This property, called the principle of superposition, is very useful, e.g., solutions to complex problems can be constructed by summing simple solutions.

## In two dimensions

Laplace's equation in two independent variables in rectangular coordinates has the form

${\displaystyle {\frac {\partial ^{2}\psi }{\partial x^{2}}}+{\frac {\partial ^{2}\psi }{\partial y^{2}}}\equiv \psi _{xx}+\psi _{yy}=0.}$

### Analytic functions

The real and imaginary parts of a complex analytic function both satisfy the Laplace equation. That is, if z = x + iy, and if

${\displaystyle f(z)=u(x,y)+iv(x,y),}$

then the necessary condition that f(z) be analytic is that the Cauchy–Riemann equations be satisfied:

${\displaystyle u_{x}=v_{y},\quad v_{x}=-u_{y}.}$

where ux is the first partial derivative of u with respect to x. It follows that

${\displaystyle u_{yy}=(-v_{x})_{y}=-(v_{y})_{x}=-(u_{x})_{x}.}$

Therefore u satisfies the Laplace equation. A similar calculation shows that v also satisfies the Laplace equation. Conversely, given a harmonic function, it is the real part of an analytic function, f(z) (at least locally). If a trial form is

${\displaystyle f(z)=\varphi (x,y)+i\psi (x,y),}$

then the Cauchy–Riemann equations will be satisfied if we set

${\displaystyle \psi _{x}=-\varphi _{y},\quad \psi _{y}=\varphi _{x}.}$

This relation does not determine ψ, but only its increments:

${\displaystyle d\psi =-\varphi _{y}\,dx+\varphi _{x}\,dy.}$

The Laplace equation for φ implies that the integrability condition for ψ is satisfied:

${\displaystyle \psi _{xy}=\psi _{yx},}$

and thus ψ may be defined by a line integral. The integrability condition and Stokes' theorem implies that the value of the line integral connecting two points is independent of the path. The resulting pair of solutions of the Laplace equation are called conjugate harmonic functions. This construction is only valid locally, or provided that the path does not loop around a singularity. For example, if r and θ are polar coordinates and

${\displaystyle \varphi =\log r,}$

then a corresponding analytic function is

${\displaystyle f(z)=\log z=\log r+i\theta .}$

However, the angle θ is single-valued only in a region that does not enclose the origin.

The close connection between the Laplace equation and analytic functions implies that any solution of the Laplace equation has derivatives of all orders, and can be expanded in a power series, at least inside a circle that does not enclose a singularity. This is in sharp contrast to solutions of the wave equation, which generally have less regularity.

There is an intimate connection between power series and Fourier series. If we expand a function f in a power series inside a circle of radius R, this means that

${\displaystyle f(z)=\sum _{n=0}^{\infty }c_{n}z^{n},}$

with suitably defined coefficients whose real and imaginary parts are given by

${\displaystyle c_{n}=a_{n}+ib_{n}.}$

Therefore

${\displaystyle f(z)=\sum _{n=0}^{\infty }\left[a_{n}r^{n}\cos n\theta -b_{n}r^{n}\sin n\theta \right]+i\sum _{n=1}^{\infty }\left[a_{n}r^{n}\sin n\theta +b_{n}r^{n}\cos n\theta \right],}$

which is a Fourier series for f. These trigonometric functions can themselves be expanded, using multiple angle formulae.

### Fluid flow

Let the quantities u and v be the horizontal and vertical components of the velocity field of a steady incompressible, irrotational flow in two dimensions. The continuity condition for an incompressible flow is that

${\displaystyle u_{x}+v_{y}=0,}$

and the condition that the flow be irrotational is that

${\displaystyle \nabla \times \mathbf {V} =v_{x}-u_{y}=0.}$

If we define the differential of a function ψ by

${\displaystyle d\psi =vdx-udy,}$

then the continuity condition is the integrability condition for this differential: the resulting function is called the stream function because it is constant along flow lines. The first derivatives of ψ are given by

${\displaystyle \psi _{x}=v,\quad \psi _{y}=-u,}$

and the irrotationality condition implies that ψ satisfies the Laplace equation. The harmonic function φ that is conjugate to ψ is called the velocity potential. The Cauchy–Riemann equations imply that

${\displaystyle \varphi _{x}=-u,\quad \varphi _{y}=-v.}$

Thus every analytic function corresponds to a steady incompressible, irrotational fluid flow in the plane. The real part is the velocity potential, and the imaginary part is the stream function.

### Electrostatics

According to Maxwell's equations, an electric field (u, v) in two space dimensions that is independent of time satisfies

${\displaystyle \nabla \times (u,v,0)=(v_{x}-u_{y}){\hat {\mathbf {k} }}=\mathbf {0} ,}$

and

${\displaystyle \nabla \cdot (u,v)=\rho ,}$

where ρ is the charge density. The first Maxwell equation is the integrability condition for the differential

${\displaystyle d\varphi =-u\,dx-v\,dy,}$

so the electric potential φ may be constructed to satisfy

${\displaystyle \varphi _{x}=-u,\quad \varphi _{y}=-v.}$

The second of Maxwell's equations then implies that

${\displaystyle \varphi _{xx}+\varphi _{yy}=-\rho ,}$

which is the Poisson equation. The Laplace equation can be used in three-dimensional problems in electrostatics and fluid flow just as in two dimensions.

## In three dimensions

### Fundamental solution

A fundamental solution of Laplace's equation satisfies

${\displaystyle \Delta u=u_{xx}+u_{yy}+u_{zz}=-\delta (x-x',y-y',z-z'),}$

where the Dirac delta function δ denotes a unit source concentrated at the point (x′, y′, z′). No function has this property: in fact it is a distribution rather than a function; but it can be thought of as a limit of functions whose integrals over space are unity, and whose support (the region where the function is non-zero) shrinks to a point (see weak solution). It is common to take a different sign convention for this equation than one typically does when defining fundamental solutions. This choice of sign is often convenient to work with because −Δ is a positive operator. The definition of the fundamental solution thus implies that, if the Laplacian of u is integrated over any volume that encloses the source point, then

${\displaystyle \iiint _{V}\nabla \cdot \nabla u\,dV=-1.}$

The Laplace equation is unchanged under a rotation of coordinates, and hence we can expect that a fundamental solution may be obtained among solutions that only depend upon the distance r from the source point. If we choose the volume to be a ball of radius a around the source point, then Gauss' divergence theorem implies that

${\displaystyle -1=\iiint _{V}\nabla \cdot \nabla u\,dV=\iint _{S}{\frac {du}{dr}}\,dS=\left.4\pi a^{2}{\frac {du}{dr}}\right|_{r=a}.}$

It follows that

${\displaystyle {\frac {du}{dr}}=-{\frac {1}{4\pi r^{2}}},}$

on a sphere of radius r that is centered on the source point, and hence

${\displaystyle u={\frac {1}{4\pi r}}.}$

Note that, with the opposite sign convention (used in physics), this is the potential generated by a point particle, for an inverse-square law force, arising in the solution of Poisson equation. A similar argument shows that in two dimensions

${\displaystyle u=-{\frac {\log(r)}{2\pi }}.}$

where log(r) denotes the natural logarithm. Note that, with the opposite sign convention, this is the potential generated by a pointlike sink (see point particle), which is the solution of the Euler equations in two-dimensional incompressible flow.

### Green's function

A Green's function is a fundamental solution that also satisfies a suitable condition on the boundary S of a volume V. For instance,

${\displaystyle G(x,y,z;x',y',z')}$

may satisfy

${\displaystyle \nabla \cdot \nabla G=-\delta (x-x',y-y',z-z')\qquad {\hbox{in }}V,}$
${\displaystyle G=0\quad {\hbox{if}}\quad (x,y,z)\qquad {\hbox{on }}S.}$

Now if u is any solution of the Poisson equation in V:

${\displaystyle \nabla \cdot \nabla u=-f,}$

and u assumes the boundary values g on S, then we may apply Green's identity, (a consequence of the divergence theorem) which states that

${\displaystyle \iiint _{V}\left[G\,\nabla \cdot \nabla u-u\,\nabla \cdot \nabla G\right]\,dV=\iiint _{V}\nabla \cdot \left[G\nabla u-u\nabla G\right]\,dV=\iint _{S}\left[Gu_{n}-uG_{n}\right]\,dS.\,}$

The notations un and Gn denote normal derivatives on S. In view of the conditions satisfied by u and G, this result simplifies to

${\displaystyle u(x',y',z')=\iiint _{V}Gf\,dV+\iint _{S}G_{n}g\,dS.\,}$

Thus the Green's function describes the influence at (x′, y′, z′) of the data f and g. For the case of the interior of a sphere of radius a, the Green's function may be obtained by means of a reflection (Sommerfeld 1949): the source point P at distance ρ from the center of the sphere is reflected along its radial line to a point P' that is at a distance

${\displaystyle \rho '={\frac {a^{2}}{\rho }}.\,}$

Note that if P is inside the sphere, then P' will be outside the sphere. The Green's function is then given by

${\displaystyle {\frac {1}{4\pi R}}-{\frac {a}{4\pi \rho R'}},\,}$

where R denotes the distance to the source point P and R′ denotes the distance to the reflected point P′. A consequence of this expression for the Green's function is the Poisson integral formula. Let ρ, θ, and φ be spherical coordinates for the source point P. Here θ denotes the angle with the vertical axis, which is contrary to the usual American mathematical notation, but agrees with standard European and physical practice. Then the solution of the Laplace equation with Dirichlet boundary values g inside the sphere is given by

${\displaystyle u(P)={\frac {1}{4\pi }}a^{3}\left(1-{\frac {\rho ^{2}}{a^{2}}}\right)\int _{0}^{2\pi }\int _{0}^{\pi }{\frac {g(\theta ',\varphi ')\sin \theta '}{(a^{2}+\rho ^{2}-2a\rho \cos \Theta )^{\frac {3}{2}}}}d\theta '\,d\varphi '}$  (Zachmanoglou 1986, p. 228)

where

${\displaystyle \cos \Theta =\cos \theta \cos \theta '+\sin \theta \sin \theta '\cos(\varphi -\varphi ')}$

is the cosine of the angle between (θ, φ) and (θ′, φ′). A simple consequence of this formula is that if u is a harmonic function, then the value of u at the center of the sphere is the mean value of its values on the sphere. This mean value property immediately implies that a non-constant harmonic function cannot assume its maximum value at an interior point.

### Electrostatics

Let ${\displaystyle \mathbf {E} }$  be the electric field, ${\displaystyle \rho }$  be the electric charge density, and ${\displaystyle \varepsilon _{0}}$  be the permittivity of free space. Then Gauss's law for electricity (Maxwell's first equation) in differential form states[4]

${\displaystyle \nabla \cdot \mathbf {E} ={\frac {\rho }{\epsilon _{0}}}.}$

Now, the electric field can be expressed as the negative gradient of the electric potential ${\displaystyle V}$ ,

${\displaystyle E=-\nabla V,}$

if the field is irrotational, ${\displaystyle \nabla \times \mathbf {E} =\mathbf {0} }$ . The irrotationality of ${\displaystyle \mathbf {E} }$  is also known as the electrostatic condition.[4]

Plugging this relation into Gauss's law, we obtain Poisson's equation for electricity,[4]

${\displaystyle \nabla ^{2}V=-{\frac {\rho }{\varepsilon _{0}}}.}$

In the particular case of a source-free region, ${\displaystyle \rho =0}$  and Poisson's equation reduces to Laplace's equation for the electric potential.[4]

If the electrostatic potential ${\displaystyle V}$  is specified on the boundary of a region ${\displaystyle {\mathcal {R}}}$ , then it is uniquely determined. If ${\displaystyle {\mathcal {R}}}$  is surrounded by a conducting material with a specified charge density ${\displaystyle \rho }$ , and if the total charge ${\displaystyle Q}$  is known, then ${\displaystyle V}$  is also unique.[5]

A potential that doesn't satisfy Laplace's equation together with the boundary condition is an invalid electrostatic potential.

## In the Schwarzschild metric

S. Persides[6] solved the Laplace equation in Schwarzschild spacetime. Using the canonical variables r, θ, φ the solution is

${\displaystyle \Psi (r,\theta ,\varphi )=R(r)Y_{l}(\theta ,\varphi ),}$

where Yl(θ, φ) is a spherical harmonic function, and

${\displaystyle R(r)=(-1)^{l}{\frac {(l!)^{2}r_{s}^{l}}{(2l)!}}P_{l}\left(1-{\frac {2r}{r_{s}}}\right)+(-1)^{l+1}{\frac {2(2l+1)!}{(l)!^{2}r_{s}^{l+1}}}Q_{l}\left(1-{\frac {2r}{r_{s}}}\right).}$

Here Pl and Ql are Legendre functions of the first and second kind, respectively, while rs is the Schwarzschild radius. The parameter l is an arbitrary non-negative integer.

## Notes

1. ^ The delta symbol, Δ, is also commonly used to represent a finite change in some quantity, e.g. ${\displaystyle \Delta x=x_{1}-x_{2}}$ . Its use to represent the Laplacian should not be confused with this use.

## References

1. ^ Stewart, James. Calculus : Early Transcendentals. 7th ed., Brooks/Cole, Cengage Learning, 2012. Chapter 14: Partial Derivatives. p. 908. ISBN 978-0-538-49790-9.
2. ^ Zill, Dennis G, and Michael R Cullen. Differential Equations with Boundary-Value Problems. 8th edition / ed., Brooks/Cole, Cengage Learning, 2013. Chapter 12: Boundary-value Problems in Rectangular Coordinates. p. 462. ISBN 978-1-111-82706-9.
3. ^ a b c Griffiths, David J. Introduction to Electrodynamics. 4th ed., Pearson, 2013. Inner front cover. ISBN 978-1-108-42041-9.
4. ^ a b c d Griffiths, David J. Introduction to Electrodynamics. Fourth ed., Pearson, 2013. Chapter 2: Electrostatics. p. 83-4. ISBN 978-1-108-42041-9.
5. ^ Griffiths, David J. Introduction to Electrodynamics. Fourth ed., Pearson, 2013. Chapter 3: Potentials. p. 119-121. ISBN 978-1-108-42041-9.
6. ^ Persides, S. (1973). "The Laplace and poisson equations in Schwarzschild's space-time". Journal of Mathematical Analysis and Applications. 43 (3): 571–578. doi:10.1016/0022-247X(73)90277-1.