construct the first and second rational canonical forms of a rational function
rational function in x
The RationalCanonicalForm(F,x) and RationalCanonicalForm(F,x) functions construct the first and second rational canonical forms for F, where F is a rational function in x over a field of characteristic 0, respectively.
If RationalCanonicalForm is called without any indexing, the first rational canonical form is used.
A sequence of five elements z,r,s,u,v, where z is an element in K and r,s,u,v are monic polynomials over K such that the following three conditions are satisfied, is returned:
gcd⁡r,Ek⁡s=1 for all integers k.
Note: E is the automorphism of K(x) defined by E⁡f⁡x=f⁡x+1.
The five-tuple z,r,s,u,v that satisfies the three conditions is a strict rational normal form for F. It is a normal form, not a canonical form. See the References section for information about definitions and constructions of the first and second rational canonical forms.
This function is part of the RationalNormalForms package, and so it can be used in the form RationalCanonicalForm(..) only after executing the command with(RationalNormalForms). However, it can always be accessed through the long form of the command by using RationalNormalForms[RationalCanonicalForm](..).
F ≔ 3⁢n⁢n+2⁢3⁢n+2⁢3⁢n+42⁢n−1⁢2⁢n+9⁢n+42
z1,r1,s1,u1,v1 ≔ RationalCanonicalForm1⁡F,n
z2,r2,s2,u2,v2 ≔ RationalCanonicalForm2⁡F,n
Check the result from RationalCanonicalForm.
Abramov, S., and Petkovsek, M. "Canonical Representations of Hypergeometric Terms." FPSAC'01. 2000.
Download Help Document
What kind of issue would you like to report? (Optional)