Talk:Constant-recursive sequence
![]() | A request has been made for this article to be peer reviewed to receive a broader perspective on how it may be improved. Please make any edits you see fit to improve the quality of this article. |
![]() | Mathematics C‑class Mid‑priority | |||||||||
|
![]() | Computer science C‑class Low‑importance | ||||||||||||||||
|
Be more explicit about eventually-periodic case
Two possible improvements to this article:
- First, I think we should update the article to be clearer about the case of sequences like . This is allowed as a constant-recursive sequence according to the current text (see Eventually periodic sequences) but sections like Characterization in terms of exponential polynomials do not apply for such sequences.
- Second, the article should clearly place itself relative to linear difference equation. These are basically the same concept. I think the latter article is excluding the eventually-periodic case, though. And maybe we should here too... best idea would be to dig up a reference textbook and see how they define it.
Thoughts? Happy to make some of these changes when I get the chance. Caleb Stanford (talk) 19:00, 7 November 2021 (UTC)
Eventually periodic sequences can only be excluded artificially, since " for all " is equivalent to " for all ", which satisfies the definition of being constant-recursive. I agree it's worth discussing this in the article, as well as the fact that an "eventually constant-recursive" sequence is constant-recursive, for the same reason. The sequence is described by an exponential polynomial, namely since zero to the power of zero is when the exponent only takes on integer values. Eric Rowland (talk) 23:31, 7 November 2021 (UTC)
- Thanks User:Eric Rowland, but how would you plan to represent as an exponential polynomial -- since doesn't work? To exclude eventually-periodic sequences non-artificially, we just have to require that in the satisfied linear recurrence . Caleb Stanford (talk) 23:41, 7 November 2021 (UTC)
- Good point. I checked The Concrete Tetrahedron (by Kauers and Paule), and they do require . This is artificial from the perspective of generating series because then the characterization as rational series needs an extra requirement on the degree of the numerator. But on the other hand it does fix the characterization as exponential polynomials. Eric Rowland (talk) 00:47, 8 November 2021 (UTC)
- Thanks for looking into another reference! My preference would then be to have .
Three TwoOne other justificationsfor that criterion: (i) it allows the sequence to be uniquely extended in the negative direction as well,(ii) it's implied by the "alternate definition" under "Definition" in the article, namely "the set of sequences is contained in a vector space whose dimension is finite." For we get the set of all finite-support sequences, which is infinite-dimensional.Caleb Stanford (talk) 01:06, 8 November 2021 (UTC)
- Thanks for looking into another reference! My preference would then be to have .
- I'm fine with requiring , if you want to make the change. I agree with your point (i). For your point (ii), if is the sequence , then and all higher shifts are the zero sequence, right? In that case is contained in the -dimensional space of sequences of the form . Eric Rowland (talk) 01:17, 8 November 2021 (UTC)
- Oh you are right about (ii), my mistake. OK, thanks for the discussion. Caleb Stanford (talk) 01:33, 8 November 2021 (UTC)
Given that some definitions (see (ii) and the generating series definition) point to eventually-periodic sequences naturally being considered constant-recursive, I think I'm now somewhat inclined to allow . Also, it leads to a more general definition, in terms of many of the results (e.g. closure properties). For now, I edited the article with some clarifications to the definition. Caleb Stanford (talk) 01:57, 8 November 2021 (UTC)
Hasse diagram
As currently defined, the set of order- sequences doesn't include the set of order- sequences, but the Hasse diagram implies that it does. The diagram can be fixed by writing "order " and so on. Also, a vertical ellipsis might look nicer than a horizontal ellipsis for the omitted orders. Eric Rowland (talk) 17:33, 13 November 2021 (UTC)
- Good points. Fixed now! Caleb Stanford (talk) 19:56, 13 November 2021 (UTC)
Rename and merges (November 2021)
Per consensus at WT:WPM#Linear recurrence relations and discussion here, I've renamed the article from constant-recursive sequence to the clearer linear recurrence with constant coefficients, and am adding merge suggestions from:
1. Recurrence relation#Solving homogeneous linear recurrence relations with constant coefficients
Next TODO in editing the page is to complete the merge from the above two articles. Feel free to discuss here. Caleb Stanford (talk) 03:24, 21 November 2021 (UTC)
- I don't see good motivation for renaming the article. The entire article is about sequences, not recurrences. Eric Rowland (talk) 16:46, 21 November 2021 (UTC)
- I agree and this was a problem when I was trying to update the article. But I didn't want to go against what people were telling me was the WP:Consensus. What do you suggest here? Maybe having two articles, this one for sequences, and one for methods of solving linear recurrences that this one can point to? Or merging the content in here and changing the name? At any rate, having 3 articles on the topic does seem wrong to me. Caleb Stanford (talk) 17:15, 21 November 2021 (UTC)
A possible proposal:
1. Name this article linear-recursive sequence (gives us the adjective form linear-recursive which the other names do not offer and is used extensively throughout the article)
2. Merge the other two articles into a separate linear recurrence with constant coefficients
@D.Lazard: --- Your input would also be valuable here. As Eric points out, the whole article is about sequences, not solving recurrences, so the new name does not fit. I am thinking that having 2 articles would therefore be best as above. Caleb Stanford (talk) 13:03, 22 November 2021 (UTC)
I agree that 3 articles is a lot, but these objects are so common that they occur in lots of different areas, so different people have quite different ways of thinking about them and different aspects they are interested in. A similar situation exists with P-recursive equation, Polynomial solutions of P-recursive equations, Holonomic function, and Linear differential equation (though in this case hopefully we can reduce the number of articles). Linear difference equation seems to be focused on models and stability, which is different than what combinatorists and computer scientists might be interested in. I propose leaving it as its own article and trying to avoid too much duplication where it makes sense. Most of the material under Recurrence relation#Solving homogeneous linear recurrence relations with constant coefficients could be merged into one of the other two articles since Recurrence relation is quite long.
As for terminology, the reasoning "linear-recursive is used extensively throughout the article" applies equally well to constant-recursive because all instances of "constant-recursive" were replaced with "linear-recursive" when the title was changed. So I still don't see good motivation for the recent renaming. The unfortunate fact is that there is no one established name for these sequences. "linear-recursive" is not great because it doesn't distinguish between recurrences with constant coefficients and recurrences with polynomial coefficients where also appear linearly. "constant-recursive"/"C-recursive"/"C-finite" are used less widely but have the advantages that they make this distinction and they parallel "polynomial-recursive"/"P-recursive". Eric Rowland (talk) 16:37, 22 November 2021 (UTC)
- I am fine with reverting back to the terminology constant-recursive based on your argument, and merging Recurrence relation#Solving homogeneous linear recurrence relations with constant coefficients into Linear difference equation. I still favor renaming Linear difference equation to Linear recurrence with constant coefficients. Waiting for further discussion in case D.Lazard wants to chime in, otherwise I will go ahead and take this direction in a couple of days. Caleb Stanford (talk) 17:34, 22 November 2021 (UTC)