DEtools
kovacicsols
find solutions of a second order linear ODE
Calling Sequence
Parameters
Description
Examples
References
kovacicsols(lode, v)
kovacicsols(coeff_list, x)
lode
-
second order linear differential equation with rational coefficients
v
dependent variable of the lode
coeff_list
list of coefficients of a linear ode
x
independent variable of the lode
The kovacicsols routine returns a list of Liouvillian solutions of a second order linear differential equation with rational coefficients. It uses the algorithm of Kovacic to determine if such solutions exist, and if so, to determine them.
Functions that can be expressed in terms of exp, int, and algebraic functions, are called Liouvillian functions. The typical example is ⅇ∫R⁡xⅆx where R⁡x is an algebraic function, that is, a function that can be expressed in the form RootOf⁡F⁡x,y,y for some polynomial F⁡x,y.
By default, kovacicsols currently returns answers in a form that is different from the regular Kovacic algorithm; if the projective differential Galois group is A4, S4, or A5, then kovacicsols presents the answer in terms of hypergeometric functions. This is done by reducing the equation to an equation with only 3 singularities using the formulas given in [2] (see references at the end).
To change this behavior, set _Env_kovacicsols_pullback := false. Then, kovacicsols presents the solutions in the same form as the usual Kovacic algorithm.
There are two input forms. The first has as the first argument a linear differential equation in diff or D form and as the second argument the variable in the differential equation.
A second input sequence accepts for the first argument a list of coefficients of the linear ode, and for the second argument the independent variable of the lode. This input sequence is useful for programming with the kovacicsols routine.
In the second calling sequence, the list of coefficients is given in order from low differential order to high differential order and does not include the nonhomogeneous term. The coefficients must be rational.
This function is part of the DEtools package, and so it can be used in the form kovacicsols(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[kovacicsols](..).
with⁡DEtools:
ode≔diff⁡y⁡x,x,x+316⁢x2−x+1x−12⁢x2⁢y⁡x:
kovacicsols⁡ode,y⁡x
x−1⁢−x32+x−x−114,x−1⁢x32+x−1+x14
A≔3−12⁢x2,−8⁢x3+5⁢x−1,x2−x4:
kovacicsols⁡A,x
ⅇ−1xx3⁢x−1,ⅇ−1x⁢x⁢ⅇ1x+ⅇ−1⁢Ei1⁡−x+1xx3⁢x−1
ode≔48⁢x⁢x+1⁢5⁢x−4⁢diff⁡y⁡x,x,x+8⁢25⁢x+16⁢x−2⁢diff⁡y⁡x,x−5⁢x+68⁢y⁡x
ode≔48⁢x⁢x+1⁢5⁢x−4⁢ⅆ2ⅆx2y⁡x+8⁢25⁢x+16⁢x−2⁢ⅆⅆxy⁡x−5⁢x+68⁢y⁡x
Compute a solution in terms of the hypergeometric function.
kovacicsols⁡ode,y⁡x1
x2−12⁢x−16x14⁢hypergeom⁡−112,14,23,−5⁢x2+24⁢x+163x⁢x2−12⁢x−163
Compute a solution in terms of RootOfs and radicals.
_Env_kovacicsols_pullback≔false
x+2⁢x23−4⁢x13+4⁢−6⁢3⁢x23−x13+1⁢x13+6⁢3⁢x23−4⁢x23−x13+1⁢x23+4⁢x+2⁢3⁢x23−x13+1−5⁢3⁢x13−3⁢x23−x13+1⁢x13+x23+4⁢3−2⁢x23−x13+1+2⁢x13+26⁢3⁢x23−x13+1⁢x13−6⁢3⁢x23−4⁢x23−x13+1⁢x23+4⁢x−2⁢3⁢x23−x13+1+5⁢3⁢x13−3⁢x23−x13+1⁢x13+x23−4⁢3−2⁢x23−x13+1+2⁢x13+2⁢x13+114⁢3⁢x13−3−2⁢x23−x13+13⁢x13−3+2⁢x23−x13+118x13
Kovacic, J. "An algorithm for solving second order linear homogeneous equations". J. Symb. Comp. Vol. 2. (1986): 3-43.
Weil, J.A. "Recent Algorithms for Solving Second-Order Differential Equations", The Algorithm Project, http://pauillac.inria.fr/algo/seminars/sem01-02/weil.pdf; accessed 2002.
See Also
dcoeffs
dsolve
RootOf
Download Help Document