wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time.
This article has been viewed 30,777 times.
Learn more...
Laplace's equation is a second-order partial differential equation (PDE) widely encountered in the physical sciences. In particular, it shows up in calculations of the electric potential absent charge density, and temperature in equilibrium systems.
Because Laplace's equation is a linear PDE, we can use the technique of separation of variables in order to convert the PDE into several ordinary differential equations (ODEs) that are easier to solve. Linearity ensures that the solution set consists of an arbitrary linear combination of solutions. Once we have our general solution, we incorporate boundary conditions that are given to us.
Preliminaries
- We use the physicist's convention for spherical coordinates, where is the polar angle and is the azimuthal angle. Laplace's equation in spherical coordinates can then be written out fully like this. It looks more complicated than in Cartesian coordinates, but solutions in spherical coordinates almost always do not contain cross terms.
- We use the function in this article. In electromagnetism, the variable is commonly denoted to stand for electric potential, a quantity related to the electrostatic field via
Steps
General Solution
-
1Use the ansatz and substitute it into the equation. In the most general case, the potential depends on all three variables. However, in many physical scenarios, there exists an azimuthal symmetry to the problem. For a physical example, an insulating sphere could have a charge density that is only dependent on so the potential must not depend on This assumption greatly simplifies the problem so that we do not have to deal with spherical harmonics.
- First, we simply substitute.
- Divide the equation by What remains is a term that only depends on and a term that only depends on The derivatives then become ordinary derivatives.
- First, we simply substitute.
-
2Set the two terms equal to constants. An argument must be made here. We have a term that only depends on and a term that only depends on Their sum, however, must always equal 0. Since these derivatives are varying quantities in general, the only way that this can be true for all values of and is if the terms are both constant. We will see very shortly that it is convenient for us to denote the constant by
- We have now converted Laplace's equation, assuming azimuthal symmetry, into two noncoupled ordinary differential equations.
Advertisement -
3Solve the radial equation. After multiplying and using the product rule, we find that this is simply the Euler-Cauchy equation.
- The standard method of solving this equation is to assume the solution of the form and solve the resulting characteristic equation. In particular, we expand the quantity in the square root and factor.
- The roots of the characteristic equation suggest our choice of constant.
- Since the Euler-Cauchy equation is a linear equation, the solution to the radial part is as follows.
-
4Solve the angular equation. This equation is the Legendre differential equation in the variable
- To see this, we begin with the Legendre equation in the variable and make the substitution implying that
- This equation can be solved using the method of Frobenius. In particular, the solutions are Legendre polynomials in which we write as These are orthogonal polynomials with respect to an inner product, which we elaborate on shortly. This orthogonality means that we can write any polynomial as a linear combination of Legendre polynomials.
- The first few Legendre polynomials are given as follows. Notice that the polynomials alternate between even and odd. These polynomials will be very important in the next sections.
- It turns out that there is another solution to the Legendre differential equation. However, this solution cannot be part of the general solution because it blows up at and so it is omitted.
-
5Construct the general solution. We now have our solutions to both the radial and angular equations. We can then write out the general solution as a series, since by linearity, any linear combination of these solutions is also a solution.
Boundary Conditions
-
1Assume that a sphere with radius contains a potential on its surface. This is an example of a Dirichlet boundary condition, where the value everywhere on the boundary is specified. We then proceed to solve for the coefficients and
-
2Find the potential inside the sphere. Physically, the potential cannot blow up at the origin, so for all
- Multiply both sides by and integrate from to . The Legendre polynomials are orthogonal with respect to this inner product.
- We take advantage of the very important relation, written below. is the Kronecker delta, meaning that the integral is nonzero only when
-
3Solve for . Knowing the coefficients, we have our potential inside the sphere in terms of a series, with the coefficients written in terms of integrals that, in principle, can be calculated. Note that this method only works because the Legendre polynomials constitute a complete set on the interval
-
4Find the potential outside the sphere. We typically set the potential to 0 at infinity. This means that Using the same method, we can find the coefficients of
Electric Potential
-
1Find the electric potential everywhere, given a potential on the surface of a sphere of radius . The surface has a potential where is a constant. The goal of problems like these is to solve for the coefficients and From the previous section, we could in principle just do the integrals...but we opt to save some labor by comparing coefficients.
-
2Write the potential on the surface in terms of Legendre polynomials. This step is crucial in comparing coefficients, and we can use trigonometric identities to do this. We then refer to the zeroth, second, and fourth polynomials to write in terms of them.
-
3Solve for the potential outside the sphere. Physically, the potential should go to 0 as This means that outside the sphere,
- We then compare coefficients (there are three of them) to match boundary conditions.
- Plugging back into the solution, we have the potential outside the sphere.
-
4Solve for the potential inside the sphere. Since there is no charge density inside the sphere, the potential cannot blow up, so Furthermore, the boundary conditions and this technique ensure that the potential is continuous - in other words, the potential infinitesimally near the surface is the same when approached from both outside and inside the sphere.
- Again, we compare coefficients to match boundary conditions.
- We now have the potential inside the sphere.
- We can substitute in both equations to check for equality. As mentioned before, the potential must be continuous.