Wikipedia:Reference desk/Mathematics
of the Wikipedia reference desk.
Main page: Help searching Wikipedia
How can I get my question answered?
- Select the section of the desk that best fits the general topic of your question (see the navigation column to the right).
- Post your question to only one section, providing a short header that gives the topic of your question.
- Type '~~~~' (that is, four tilde characters) at the end – this signs and dates your contribution so we know who wrote what and when.
- Don't post personal contact information – it will be removed. Any answers will be provided here.
- Please be as specific as possible, and include all relevant context – the usefulness of answers may depend on the context.
- Note:
- We don't answer (and may remove) questions that require medical diagnosis or legal advice.
- We don't answer requests for opinions, predictions or debate.
- We don't do your homework for you, though we'll help you past the stuck point.
- We don't conduct original research or provide a free source of ideas, but we'll help you find information you need.
How do I answer a question?
Main page: Wikipedia:Reference desk/Guidelines
- The best answers address the question directly, and back up facts with wikilinks and links to sources. Do not edit others' comments and do not give any medical or legal advice.
January 2
Sum of differences
Is there an algorithm for finding the maximum sum of absolute differences of N integers (1..N or 0..N-1 : it doesn't matter which) when arranged in a circle.
EG N=4 we can have 1 2 3 4 (1) with absolute differences 1 1 1 3 so a sum of 6. Or we can have 1 4 2 3 (1) -> 3 2 1 2 with sum 8. Or we can have 1 2 4 3 (1) -> 1 2 1 2 again sum 6.
I want to work out the "biggest" circle for N=26 without having to try every permutation.
-- SGBailey (talk) 13:10, 2 January 2020 (UTC)
- This looks like what you need: Geeks for Geeks: Maximize sum of consecutive differences in a circular array. --Canley (talk) 13:36, 2 January 2020 (UTC)
Thanks. -- SGBailey (talk) 20:23, 2 January 2020 (UTC)
- @SGBailey: for the particular case of N consecutive integers, see this OEIS entry. --JBL (talk) 21:15, 4 January 2020 (UTC)
Entia multiplicata praeter necessitatem
It appears to be not uncommon in mathematics that, when a topic is new, a multitude of terms are introduced which the student all has to learn. This occurs several times in The Whetstone of Witte, e.g. in the names for multiples, the table of proportion, and the signs and names for powers (of which we only kept the names “square” and “cube”). (For these names he lists an alternative, more systematic nomenclature, which he discourages because he feels the names of his first list “do expresse the qualitie of the nomber, better then these later names doe.” However, he lets his “Scholar” thank the Master “double, sith you are contente to teache me double names”!)
Similarly, before Adam Riese introduces multiplication and division, he inserts a chapter each for duplication and “mediation”.
The same occurs in other areas, such as chemical nomenclature, but due to their direct connection with physical nature they are not as clearly a figment of the human mind as in mathematics.
Do we have an article on this phenomenon? What can we learn from it for contemporary areas of mathematics? Will they, too, get simpler and more consistent over time, and can we foresee in which direction? ◄ Sebastian 16:40, 2 January 2020 (UTC)
- Concepts, even apparently fundamental ones, evolve over time. I don't think this phenomenon is limited to mathematics, though you may have a point that the changes are more apparently mental than physical in that case. I don't think the evolution necessarily goes in the direction of simplification either since since concepts often become more formal, abstract and complex as they are generalized to cover different situations. For example, with multiplication the idea of a product has been extended to apply in abstract algebra to such objects as rings and fields. Then there's the Cartesian product which has been generalized to a meaning in category theory which is virtually unrecognizable when compared with the original idea. So I think your question is more about philosophy than mathematics, and more philosophy proper than the philosophy of mathematics which tends to be concerned with finding fundamental principles upon which the rest of mathematics can be built. Probably the article which comes closest to what you're getting at is Conceptual history, though it's described as branch of semantics. As for the other questions, see the guidelines above about asking for predictions. In other words if I knew the future then I'd be busy getting rich on Wall Street, not answering questions on the internet. --RDBury (talk) 08:04, 4 January 2020 (UTC)
Including/excluding the first day
Apparently indicating a range of time/duration (e.g. a month) paradoxically produces two different results, depending on whether the initial day is included or excluded. E.g. 30 days actually yields either 29 or 30 depending on whether the first day is included. While normally the first day is excluded for such purposes, for example the 30-day transit pass in Poland somewhat misleadingly includes the first day, even if both cases involve 30 days. Apparently both cannot be true simultaneously (by that inclusive count common parlance deadlines like "after two days" would include the initial day as well). Is there a name for this oddity? 212.180.235.46 (talk) 17:11, 2 January 2020 (UTC)
- It's some version of the fencepost error. (In real life, I call this the "posts-versus-rails" problem, which I find more descriptive than "fencepost", but I don't know if this is common.) --JBL (talk) 04:25, 3 January 2020 (UTC)
- Separately, your statement of reality seems garbled. Here is an accurate version: the interval of time that starts on the day of the month numbered a and ends on the day of the same month numbered b contains b − a + 1 days. Thus, in a string of d consecutive days, the difference between the number of the first day and the number of the last day in the string is d − 1. The phrase "after two days" is ambiguous, but for unrelated reasons. --JBL (talk) 16:58, 3 January 2020 (UTC)
- I'm not sure it's for unrelated reasons. Or rather, you may have an example ambiguity in mind that's unrelated, but there's also an ambiguity that is related.
- An example appropriate to the current season is the circumcision of Christ, which traditionally is dated "eight days after" his birth. But his traditional birth date is December 25, and eight days after that (meaning 8 · 24 hours) is January 2. But his circumcision is traditionally dated January 1. I'm pretty sure the discrepancy is precisely the fencepost thing. --Trovatore (talk) 22:58, 3 January 2020 (UTC)
- I wrote a thing, but I'm not totally committed to it, so here it is small. Depending on where you are, some rail passes are "30 day passes" in the sense that they expire after 11:59 PM and are valid on 30 days, starting with the first day on which they are used. If you use such a pass on the first day of March, it will correctly expire at the end of the day on the 30th, and not be valid at all on the 31st. In some other places, a "30 day pass" may actually be valid for 720 hours beginning with first use, and if you first use such a pass on the first day of March (at any time other than 12:00 AM exactly) the pass will be valid for some portion of time on the 31st. However, I do not think this is the same kind of confusion as not understanding what is meant by "after eight days", whose genuine ambiguity is more akin to expecting a 30-day rail pass to be valid both at 8 AM on March 1st and at 5 PM on March 31st. --JBL (talk) 00:04, 4 January 2020 (UTC)
- In French two weeks is commonly referred to as a quinzaine (fifteenth) and a week a huitaine (eighth). Christian mythology has Jesus crucified on a Friday and resurrected on the following Sunday, the "third day". 2A01:E34:EF5E:4640:41ED:BCB4:C707:D0ED (talk) 22:32, 3 January 2020 (UTC)
- In English, "see you in a week" does not unambiguously indicate the next day on which we will see each other; in French, if you say "see you in a huitaine", am I right that this ambiguity is absent? --JBL (talk) 00:04, 4 January 2020 (UTC)
- the same ambiguity exists. The phrase would typically be followed by naming the day. — Preceding unsigned comment added by 2a01:e34:ef5e:4640:41ed:bcb4:c707:d0ed (talk)
- Interesting! --JBL (talk) 15:23, 4 January 2020 (UTC)
- "In a week" is not ambiguous. If today is Wednesday, it means on Wednesday next week. In informal use it may be used imprecisely to mean "in about a week", but that's not the same as claiming that it can have another specific meaning. --142.112.159.101 (talk) 03:35, 5 January 2020 (UTC)
- That seems definite, but it's not. If it's Wednesday early morning, 'in a week' may well be also the next Wednesday late evening. So a week in this case may be actually almost 8 times 24 hours. --CiaPan (talk) 10:10, 6 January 2020 (UTC)
- the same ambiguity exists. The phrase would typically be followed by naming the day. — Preceding unsigned comment added by 2a01:e34:ef5e:4640:41ed:bcb4:c707:d0ed (talk)
- In English, "see you in a week" does not unambiguously indicate the next day on which we will see each other; in French, if you say "see you in a huitaine", am I right that this ambiguity is absent? --JBL (talk) 00:04, 4 January 2020 (UTC)
January 9
The last digits of pi
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
This question arises from my comment on a blogposting on the butterfly effect here. So, classical mechanics is uncomputable, and one can even give an explicit construction of a computer whose clock cycle will shrink exponentially and its memory will expand exponentially, so that you can execute an infinite number of computations in a finite amount of time. Now, while classical mechanics does not apply (in an exact sense) to our universe, it's nevertheless mathematically well defined if you assume the mathematical existence of infinite quantities.
The question is then if this makes the last digits of irrational numbers such as pi well defined mathematically. If the exponentially accelerating computer is a well defined mathematical construct, we can consider it running an algorithm to compute the digits of pi. If each clock cycle takes half the time of the previous clock cycle, then after twice the time it takes to execute the first clock cycle, it will have computed an infinite number of digits of pi. It should thus be possible for the device to output the last few digits it has computed at that time. Count Iblis (talk) 04:10, 9 January 2020 (UTC)
- Iblis, given your history, I sort of suspect that this question ... may not be entirely sincere. But I'll take a stab at it anyway. The answer is that there are no "last few digits [...] computed at that time". If (just for definiteness) the computation ends at noon, then at 11:59, there are still infinitely many digits to be computed. At 11:59:59, there are still infinitely many digits to be computed. At 11:59:59.9, there are still infinitely many digits to be computed. And so on.
- Yes, at noon, it's all over and done with. But there aren't any "last" digits, just a wild rush of digits pouring out faster and faster the closer you get to noon. --Trovatore (talk) 07:10, 9 January 2020 (UTC)
- The memory on which it writes the output would become larger and larger by shrinking the size of the physical bits, but the last few bits can be written on a separate memory where the physical bits stay the same size. It would then erase the previously written bits written there. So, when the computer stops, the last few bits would be visible, while the infinite number of bits would have merged into a continuum in the main memory. Count Iblis (talk) 13:34, 9 January 2020 (UTC)
- It most certainly would be 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9. EvergreenFir (talk) 07:13, 9 January 2020 (UTC)
- @Count Iblis: You're trying to invent a Zeno machine, aren't you? --CiaPan (talk) 13:41, 9 January 2020 (UTC)
Zeroth
I'm not sure this belongs here or the lang reference desk. How many syllables in Zeroth. I know Wiktionary says two, and that there are only two vowels, but most of the people that I know pronounce it as if it was "Zero-eth", for three syllables.Naraht (talk) 14:01, 9 January 2020 (UTC)
- A few other dictionaries that I checked also only give two syllables, which is the only way that I've personally ever heard it said as well. I don't have access to the OED unfortunately, which tends to be more comprehensive. I'd be curious to see if it listed the other. –Deacon Vorbis (carbon • videos) 14:05, 9 January 2020 (UTC)
- Only two syllables in the OED. No listing for the mock-archaic zeroeth. Dbfirs 14:41, 9 January 2020 (UTC)