This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
 Mathematica Tutorial

# Linear Second-Order Equations with Solutions Involving Special Functions

DSolve can find solutions for most of the standard linear second-order ODEs that occur in applied mathematics.
Here is the solution for Airy's equation.
 Out[1]=
Here is a plot that shows the oscillatory behavior of the Airy functions for large negative values of x.
 Out[2]=
The solution to this equation is given in terms of the derivatives of the Airy functions, AiryAiPrime and AiryBiPrime.
 Out[3]=
Here is the solution for Bessel's equation with n=4. Note that the solution is given in terms of Bessel functions of the first kind, BesselJ, as well as those of the second kind, BesselY.
 Out[4]=
Here is a plot of the BesselJ functions for specific values of n.
 Out[5]=
Here is the general solution for Legendre's equation with n=7.
 Out[6]=
These special functions can be expressed in terms of elementary functions for certain values of their parameters. Mathematica performs this conversion automatically wherever it is possible.
These are some of these expressions that are automatically converted.
 Out[7]=
As a result of these conversions, the solutions of certain ODEs can be partially expressed in terms of elementary functions. Hermite's equation is one such ODE.
Here is the solution for Hermite's equation with arbitrary n.
 Out[8]=
With n set to 5, the solution is given in terms of polynomials, exponentials, and Erfi.
 Out[9]=