Solutions to Differential Equations: Special Functions
Visualizing a few special functions
Bessel's equation is a second-order ODE having the following form, with the parameter ν being real and nonnegative.
Bessel's equation arises in problems in heat conduction and mass diffusion for problems with cylindrical symmetry (and many other situations). It's solution is a linear combination of two special functions called Bessel functions of the first kind, BesselJ in Mathematica, and Bessel functions of the second kind, BesselY in Mathematica.
The functions BesselJ and BesselY can be evaluated numerically and of course Mathematica has this capability built-in.
As an example of an application where the Bessel functions arise, consider radially-symmetric heat flow in an infinitely long cylinder of radius a that has an initial temperature profile T =T(r) and a surface temperature T(r = a) =
,and substitute T=
τ into the heat equation
=κ
T in cylindrical coordinates. The function τ must obey
+ ![]()
+
τ= 0, which has the form of Bessel's equation of order ν = zero. The solution will have the form T= A
(αr)
where A is a constant and
(αr)is the Bessel function of order zero of the first kind. The parameter α must, from boundary conditions, be a solution to the equation J(αa) = 0. The initial temperature distribution, f(r), can be expanded as a series of Bessel functions of zero order, analogous to what we did with Fourier series. The general solution to the heat-flow problem will then be an infinite series of Bessel functions, each modified by an exponentially decaying amplitude, taking the form T= ![]()
(
r)
. For a more thorough discussion, see H.S. Carslaw and J.C. Jaeger, Conduction of Heat in Solids, Oxford University Press, Second Edition, pp. 194–196 (1959).
Legendre's equation is a second-order ODE having the following form, with the parameters m and n being integers such that n is positive and -n ≤ m ≤ n (seems to suggest applications to quantum numbers!). Legendre's equation arises in physical problems with spherical symmetry. The simplest form of the equation has only one parameter, n and takes the form:
Its solution is a linear combination of two special functions, Legendre and PLegendreQ:
The two-parameter form of the Legendre equation is:
which has a solution involving the same special functions:
Of course, Mathematica can evaluate and plot Legendre functions…
Note how some of the Legendre functions are even and some are odd. Recall that by summing even and odd functions, functions that are neither even or odd can be produced.
Hypergeometric and Laguerre special functions
Here is another differential equation whose solution involves special functions. Many special functions are defined and analyzed precisely because they are solutions to simple ODEs
Using Special Functions to visualize the eigensolutions for an electron bound to a fixed proton--The Hydrogen Atom
Eigenfunctions for Hydrogen:
Preliminary Definitions:
n will be the first quantum number n =1,2,3
L will be the second quantum number L=0,1,2,... (n-1)
m will be the third quantum number m = -L,-L+1,... 0,1,2, +L
These rules come from restrictions on the special functions that make up the eigenfunctions for the H-atom
The eigenfunctions for the Hydrogen Atom can now be written down. The eigenfunctions will relate to the above definitions and involve the Spherical Harmonics which are related to Legendre functions and its derivatives.
2,1,1 corresponds to a 2p spin up electron
Plot a surface of constant probability density. Only an octant can be plotted, the numerical methods do not behave well on the coordinate "zero value" planes.
However, we can always put the octants back together like a puzzle
Write a function to place all the octants on one graph
It takes about a minute to compute and display one probability density contour
The next one takes a couple minutes, presumably because of the small probability values?
3,2,1 corresponds to a 3d spin-up electron
I am not sure why I am only getting the top half here...
| Created by Mathematica (December 5, 2005) |