Content deleted Content added
LucasBrown (talk | contribs) |
|||
(22 intermediate revisions by 18 users not shown) | |||
Line 1:
{{Short description|Summation method for hypergeometric terms}}
In [[mathematics]], '''Gosper's algorithm''' is a procedure for finding sums of [[Hypergeometric identities|hypergeometric terms]] that are themselves hypergeometric terms. That is: suppose we have ''a''(1) + ... + ''a''(''n'') = ''S''(''n'') − ''S''(0), where ''S''(''n'') is a hypergeometric term (i.e., ''S''(''n'' + 1)/''S''(''n'') is a [[rational function]] of ''n''); then necessarily ''a''(''n'') is itself a hypergeometric term, and given the formula for ''a''(''n'') Gosper's algorithm finds that for ''S(''n'').▼
{{Use dmy dates|date=January 2020|cs1-dates=y}}
▲In [[mathematics]], '''Gosper's algorithm''', due to [[Bill Gosper]], is a procedure for finding sums of [[Hypergeometric identities|hypergeometric terms]] that are themselves hypergeometric terms. That is: suppose
==Outline of the algorithm==
Step 1: Find a polynomial ''p'' such that, writing ''b''(''n'') = ''a''(''n'')/''p''(''n''), the ratio ''b''(''n'')/''b''(''n'' − 1) has the form ''q''(''n'')/''r''(''n'') where ''q'' and ''r'' are polynomials and no ''q''(''n'') has a nontrivial factor with ''r''(''n'' + ''j'') for ''j'' = 0, 1, 2, ... . (This is always possible, whether or not the series is summable in closed form.)
Step 2: Find a polynomial ''
==Relationship to Wilf–Zeilberger pairs==
Line 15:
==Definite versus indefinite summation==
Gosper's algorithm finds (where possible) a hypergeometric closed form for the ''indefinite'' sum of hypergeometric terms. It can happen that there is no such closed form, but that the sum over ''all'' ''n'', or some particular set of values of ''n'', has a closed form. This question is only meaningful when the coefficients are themselves functions of some other variable. So, suppose ''a''(''n'',''k'') is a hypergeometric term in both ''n'' and ''k'': that is, ''a''(''n'', ''k'')/''a''(''n'' − 1,''k'') and ''a''(''n'', ''k'')/''a''(''n'', ''k'' − 1) are rational functions of ''n'' and ''k''. Then [[Zeilberger's algorithm]] and [[Petkovšek's algorithm]] may be used to find closed forms for the sum over ''k'' of ''a''(''n'', ''k'').
==History==
Line 21:
[[Bill Gosper]] discovered this algorithm in the 1970s while working on the [[Macsyma]] computer algebra system at [[Stanford Artificial Intelligence Laboratory|SAIL]] and [[MIT]].
==
{{Reflist}}
==References==
* {{cite journal |title=Decision procedure for indefinite hypergeometric summation |author-first=Ralph William "Bill" |author-last=Gosper, Jr. |author-link=Bill Gosper |date=January 1978 |orig-year=1977-09-26 |series=Mathematics |journal=[[Proceedings of the National Academy of Sciences of the United States of America]] |___location=Xerox, Palo Alto Research Center, Palo Alto, California, USA |volume=75 |number=1 |pages=40–42 |doi=10.1073/pnas.75.1.40 |pmid=16592483 |pmc=411178 |bibcode=1978PNAS...75...40G |url=http://www.pnas.org/cgi/reprint/75/1/40.pdf |access-date=2020-01-10 |url-status=live |archive-url=https://web.archive.org/web/20190412200118/https://www.pnas.org/content/pnas/75/1/40.full.pdf |archive-date=2019-04-12 |quote=algorithm / binomial coefficient identities / closed form / symbolic computation / linear recurrences |doi-access=free }}
[[Category:Computer algebra]]
[[Category:Hypergeometric functions]]
|