find rational function solutions of a linear ODE
ratsols(coeff_list, g, x)
linear differential equation
dependent variable of the lode
list of coefficients of a linear ode
right-hand side of the equation
independent variable of the lode
The ratsols command returns a basis of the rational function solutions of a linear differential equation having rational function coefficients.
The first calling sequence has a linear differential equation in diff or D form as the first argument, and the variable in the differential equation as the second argument. A system of differential equations can be given as a list of the equations as the first argument and a list of the variables as the second argument.
A second calling sequence accepts the following.
- For the first argument, the list of coefficients of a linear ode
- For the second, the right-hand side of such an equation
- For the third argument, the independent variable of the lode
A system of differential equations can be given as a list of lists of list of coefficients of a linear odes as the first argument, a list of the right-hand sides of such equations as the second argument and the independent variable as the third argument. Each equation is represented as the sum of lodes in one variable. Each is given as a list of coefficients, so one equation is given as a list of lists of coefficients and a system as a list of lists of lists. This input sequence is convenient for programming with the ratsols routine.
The list of coefficients is given in order from low differential order to high differential order and does not include the nonhomogeneous term.
In the case of a homogeneous equation, a basis is returned (as a list in the scalar case and as a list of lists in the system case). In the nonhomogeneous case, the return value is a two-element list, with the first element a basis for the homogeneous case and the second element a particular rational solution (if it exists).
In the system case, the function invokes LinearFunctionalSystems[RationalSolution] to find solutions.
ode ≔ t2+t⁢ⅆ3ⅆt3⁢z⁡t−t2+3⁢t+1⁢ⅆ2ⅆt2⁢z⁡t+t+4+2t⁢ⅆⅆt⁢z⁡t−1+4t+2t2⁢z⁡t=0:
ode ≔ D2⁡z⁡t−3⁢D⁡z⁡tt+3⁢z⁡tt2:
ode ≔ 3t2,−3t,1:
ode ≔ ⅆ2ⅆt2⁢z⁡t+2⁢ⅆⅆt⁢z⁡tt+1⁢z⁡tt4=2⁢t2+1t6:
sys ≔ x3⁢ⅆⅆx⁢y1⁡x+y2⁡x,ⅆⅆx⁢y2⁡x−x⁢y1⁡x=x:
vars ≔ y1⁡x,y2⁡x:
sysp ≔ 0,x3,1,−x,0,1:
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.