DEtools
hypergeomsols
solutions of a hypergeometric type second order linear ODE
Calling Sequence
Parameters
Description
Examples
hypergeomsols(LODE)
hypergeomsols(LODE,y(x))
hypergeomsols(coeff_list,x)
LODE
-
homogeneous linear differential equation of second order
y(x)
any indeterminate function of one variable; required only when the ODE involves more than one function being differentiated
coeff_list
list of coefficients of the linear ODE
x
independent variable of the linear ODE
The hypergeomsols routine returns a basis of the space of solutions of a second order linear ODE of hypergeometric type--that is, an equation of the form (see hyperode)
DEtools[hyperode](hypergeom([a,b], [c], x), y(x)) = 0;
y⁡x⁢a⁢b+a+b+1⁢x−c⁢ⅆⅆxy⁡x+x2−x⁢ⅆ2ⅆx2y⁡x=0
For making symbolic experiments with the hypergeom function and the differential equation it satisfies see also dpolyform.
There are two general forms of calling sequences available for hypergeomsols.
The first argument LODE of the first calling sequence is a linear differential equation in diff or D form. The second argument y(x) is the function in the differential equation, and it is required only when the ODE involves more than one function being differentiated.
The last calling sequence has as its first argument the list of coefficients of a linear ODE, and the second argument is the independent variable. This input sequence may be convenient for programming with the hypergeomsols routine.
This routine is part of the DEtools package, and so it can be used in the form hypergeomsols(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[hypergeomsols](..).
with⁡DEtools:
PDEtoolsdeclare⁡y⁡x,prime=x
y⁡x⁢will now be displayed as⁢y
derivatives with respect to⁢x⁢of functions of one variable will now be displayed with '
Kamke's example 2.108:
ode108≔x⁢diff⁡y⁡x,x,x+x+a+b⁢diff⁡y⁡x,x+a⁢y⁡x
ode108≔x⁢y''+x+a+b⁢y'+a⁢y
B108≔hypergeomsols⁡ode108,y⁡x
B108≔KummerM⁡a,a+b,−x,KummerU⁡a,a+b,−x
A solution to this ODE is built by using this solution basis and tested as follows.
sol108≔y⁡x=add⁡_C‖i⁢B108i,i=1..2
sol108≔y=_C1⁢KummerM⁡a,a+b,−x+_C2⁢KummerU⁡a,a+b,−x
odetest⁡sol108,ode108
0
Kamke's example 2.114:
ode114≔−y⁡x+diff⁡y⁡x,x⁢−2⁢x+2+x⁢diff⁡y⁡x,x,x
ode114≔−y+y'⁢−2⁢x+2+x⁢y''
B114≔hypergeomsols⁡ode114,y⁡x
B114≔ⅇ2⁢x⁢KummerM⁡32,2,−2⁢x,ⅇ2⁢x⁢KummerU⁡32,2,−2⁢x
Kamke's example 2.116:
ode116≔x⁢diff⁡y⁡x,`$`⁡x,2+a⁢x+b+n⁢diff⁡y⁡x,x+n⁢a⁢y⁡x
ode116≔x⁢y''+a⁢x+b+n⁢y'+n⁢a⁢y
B116≔hypergeomsols⁡ode116,y⁡x
B116≔KummerM⁡n,b+n,−a⁢x,KummerU⁡n,b+n,−a⁢x
See Also
dpolyform
dsolve
hyperode
Download Help Document