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 Airys equation.
In[1]:=
Click for copyable input
Out[1]=
Here is a plot that shows the oscillatory behavior of the Airy functions for large negative values of .
In[2]:=
Click for copyable input
Out[2]=
The solution to this equation is given in terms of the derivatives of the Airy functions, AiryAiPrime and AiryBiPrime.
In[3]:=
Click for copyable input
Out[3]=
Here is the solution for Bessels equation with . 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.
In[4]:=
Click for copyable input
Out[4]=
Here is a plot of the BesselJ functions for specific values of .
In[5]:=
Click for copyable input
Out[5]=
Here is the general solution for Legendres equation with .
In[6]:=
Click for copyable input
Out[6]=

These special functions can be expressed in terms of elementary functions for certain values of their parameters. The Wolfram Language performs this conversion automatically wherever it is possible.

These are some of these expressions that are automatically converted.
In[7]:=
Click for copyable input
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 .
In[8]:=
Click for copyable input
Out[8]=
With set to 5, the solution is given in terms of polynomials, exponentials, and Erfi.
In[9]:=
Click for copyable input
Out[9]=