## Differential Equations

Nearly all problems in physics can be reduced to solving some form of differential equation, often linear. Here I shall go over some of the methods of solutions for Laplace's equation, the Helmholtz equation, various special functions, the diffusion equation, and the wave equation, in a variety of coordinate systems.

### Laplace's Equation

The Laplace equation, , is at the heart of many physical laws, often arising in potential theory when a source of the potential is absent. The solutions to Laplace's equation are called harmonic functions, and possess special properties, such as the fact that the average value of the functions over a spherical surface is equal to the value at the center of the sphere (Gauss's Harmonic Function Theorem). In general, at least within 13 coordinate systems, the solutions can be found by the method of separation of variables. 10 of these are special cases of the confocal ellipsoidal coordinate system, including the common Cartesian, cylindrical, and spherical systems. For example, consider the Cartesian version of the equation:

We can split the partial differential equation into ordinary differential equations using the ansatz that the solution is the product of functions dependent only one one variable:, so that if we divide through by , we have:

Since each coordinate may be varied independently of the others, each term must in fact be equal to a constant. We choose the constants so that

These three ODEs can be solved based on the boundary conditions imposed (in general they will be sines, cosines, and exponentials for Cartesian systems). Our solutions are then labeled by these eigenvalues:

such that . Because Laplace's equation is linear, the most general solution is a linear superposition of solutions, so that we may write our general solution as

where the constant coefficients are chosen to satisfy the boundary conditions, leading to a discrete set of the eigenvalues .

Another often-used system of coordinates for systems with axial symmetry is the cylindrical coordinate system. Here we again use separation of variables using the ansatz . The Laplacian in these coordinates is

which upon substitution into Laplace's equation reduces to

.

Since the dependence has been isolated, let's set it equal to a constant: . Then after some rearrangement,

,

so we've isolated the angular dependence. Set , anticipating sines and cosines. The remaining equation for the radial dependence,

,

is called Bessel's equation, and the solutions are the Bessel functions and . So we have that , , , and again a general solution is a linear combination of these.

The third important coordinate system is the spherical system, where . The Laplacian is

,

so that using our ansatz,

.

The dependence has been isolated, so set . Hence

.

The radial part must equal a constant, so we write , which has the solutions . The remaining angular piece is

,

known as the associated Legendre differential equation in , and whose solutions are the polynomials . The general complex solution is then

.

The angular dependence can be summarized by defining the spherical harmonics,

,

where the normalization constant is chosen so that the spherical harmonics are orthogonal over all solid angle.

Under Construction