return the hypergeometric solution of linear difference equation depending on a hypergeometric term
HypergeometricSolution(eq, var, term, cert)
linear difference equation depending on a hypergeometric term
function variable for which to solve, for example, z(n)
certificate of the right hand side
The HypergeometricSolution(eq, var, term, cert) command returns the hypergeometric solution of the linear difference equation eq. If such a solution does not exist, the function returns NULL.
The hypergeometric term in the linear difference equation is specified by a name, for example, t. The meaning of the term is defined by the parameter term. It can be specified directly in the form of an equation, for example, t=n!, or specified as a list consisting of the name of term variable and the consecutive term ratio, for example, t,n+1.
If the third parameter is omitted, then the input equation can contain a hypergeometric term directly (not a name). In this case, the procedure extracts the term from the equation, transforms the equation to the form with a name representing a hypergeometric term, and then solves the transformed equation.
In the current state, the procedure handles only equations with hypergeometric right hand sides. Here the term "hypergeometric" means that for the right hand side R⁡x,t⁡x the ratio R⁡x+1,t⁡x+1R⁡x is a rational function in x and t (such a ratio is referred to as "certificate"). For the two argument case the procedure computes and checks the certificate. For the four argument case the certificate should be given directly in cert parameter and equation eq should be homogeneous.
The search for a hypergeometric solution is reduced to searching a rational solution by change of the function variable y⁡x=z⁡x⁢R⁡x,t⁡x, where R⁡x,t⁡x is the right hand side and z⁡x is a new function variable that should be rational.
The solution is the function, corresponding to var. The solution may involve arbitrary constants of the form, for example, _c1 and _c2.
Download Help Document
What kind of issue would you like to report? (Optional)