Jump to content

Wikipedia:Reference desk/Mathematics

From Wikipedia, the free encyclopedia
Welcome to the mathematics section
of the Wikipedia reference desk.
Select a section:
Want a faster answer?

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.
See also:


December 19

[edit]

Who is the following unknown?

[edit]

When asked "WHO IS YOUR X?" (X still being unknown to me but is known to the respondents), here are the answers I get:

A answers: "A"
B answers: "C"
C answers: "C"
D answers: "F"
E answers: "F"
F answers: "F"

To sum up, the special phenomenon here is that, everybody has their own X (usually), and if any respondent points at another respondent as the first respondent's X, then the other respondent must point at themself as their X.

I wonder who the unknown X may be, when I only know that X is a natural example from everyday life. I thought about a couple of examples, but none of them are satisfactory, as follows:

X is the leader of one's political party, or X is one's mayor, and the like, but all of these examples attribute some kind of leadership or superiority to X, whereas I'm not interested in this kind of solution - involving any superiority of X.

Here is a second solution I thought about: X is the first (or last) person born in the year/month the respondent was born, and the like. But this solution involves some kind of order (in which there is a "first person" and a "last person"), whereas I'm not interested in this kind of solution - involving any order.

Btw, I've published this question also at the Miscellaneous desk, because this question is about everyday life, but now I decide to publish this question also here, because it's indirectly related to a well known topic in Math. 79.177.151.182 (talk) 13:27, 19 December 2024 (UTC)[reply]

Head of household comes to mind as a fairly natural one. The colours then correspond to different households which can be just one person. One objection is that "head of household" is a fairy traditional concept. With marriage equality now being the norm it's perhaps outdated. --2A04:4A43:909F:F9FF:397E:BBF9:E80B:CB36 (talk) 15:11, 19 December 2024 (UTC)[reply]
I have already referred to this kind of solution, in the example of "my mayor", see above why this solution is not satisfactory. 79.177.151.182 (talk) 15:31, 19 December 2024 (UTC)[reply]

The question has been resolved at the Miscellaneous reference desk.

Resolved

79.177.151.182 (talk) 15:48, 19 December 2024 (UTC)[reply]

X may well be 'the oldest living person of your ancestry'. --CiaPan (talk) 20:46, 19 December 2024 (UTC)[reply]

Resolved or not, let's try to analyze this mathematically. Given is some set and some function For the example, with
Knowing that "everybody has their own X (usually)", we can normalize the unusual situation that function might not be total in two ways. The first is to restrict the set to the domain of that is, the set of elements on which is defined. This is possible because of the condition that implies so this does not introduce an undue limitation of the range of The second approach is to postulate that whenever might otherwise be undefined. Which of these two approaches is chosen makes no essential difference.
Let be the range of , given by:
Clearly, if we have We know, conversely, that implies
Let us also consider the inverse image of , given by:
Suppose that This means that there exists some which in turns means that But then we know that Combining this, we have,
The inverse-image function restricted to to which we assign the typing
now induces a partitioning of into non-empty, mutually disjoint subsets, which means they are the classes of an equivalence relation. Each class has its own unique representative, which is the single element of the class that is also a member of . The equivalence relation can be expressed formally by
and the representatives are the fixed points of
Applying this to the original example, and the equivalence classes are:
  • with representative
  • with representative and
  • with representative
Conversely, any partitioning of a set defines an equivalence relation; together with the selection of a representative for each equivalence class, this gives an instance of the situation defined in the question.  --Lambiam 20:47, 19 December 2024 (UTC)[reply]
FWIW, the number of such objects on a set of size n is given by OEISA000248, and that page has a number of other combinatorial interpretations. If you ignore the selection of a representative for each class, you get the Bell numbers. --RDBury (talk) 00:35, 21 December 2024 (UTC)[reply]

December 20

[edit]

Give a base b and two base b digits x and z, must there be a base b digits y such that the 3-digit number xyz in base b is prime?

[edit]

Give a base b and two base b digits x and z (x is not 0, z is coprime to b), must there be a base b digits y such that the 3-digit number xyz in base b is prime? 1.165.207.39 (talk) 02:10, 20 December 2024 (UTC)[reply]

In base 5, is composite for all base-5 Y. GalacticShoe (talk) 03:39, 20 December 2024 (UTC)[reply]
also offers a counterexample. While there are many counterexamples for most odd bases, I did not find any for even bases.  --Lambiam 09:58, 20 December 2024 (UTC)[reply]

December 23

[edit]

Is it possible to make Twisted Edwards curve birationally equivalent to twisted weirestrass curves ?

[edit]

Is there an equation fo converting a twisted Edwards curve into a tiwsted weierstrass form ? 2A01:E0A:401:A7C0:6D06:298B:1495:F479 (talk) 04:12, 23 December 2024 (UTC)[reply]

According to Montgomery curve § Equivalence with twisted Edwards curves, every twisted Edwards curve is birationally equivalent to a Montgomery curve, while Montgomery curve § Equivalence with Weierstrass curves gives a way to transform a Montgomery curve to an elliptic curve in Weierstrass form. I don't see a definition of "twisted Weierstrass", so I don't know if you can give an extra twist in the process. Perhaps this paper, "Efficient Pairing Computation on Twisted Weierstrass Curves" provides the answer; its abstract promises: "In this paper, we construct the twists of twisted Edwards curves in Weierstrass form."  --Lambiam 10:35, 23 December 2024 (UTC)[reply]

December 24

[edit]

How did the Romans do engineering calculations?

[edit]

The Romans did some impressive engineering. Engineers today use a lot of mathematical calculations when designing stuff. Calculations using Roman numerals strike me as being close to impossible. What did the Romans do? HiLo48 (talk) 05:50, 24 December 2024 (UTC)[reply]

The kind of engineering calculations that might have been relevant would mostly have been about statics – specifically the equilibrium of forces acting on a construction, and the ability of the design to withstand these forces, given its dimensions and the mechanical properties of the materials used in the construction, such as density, modulus of elasticity, shear modulus, Young modulus, fracture strength and ultimate tensile strength. In Roman times, only the simplest aspects of all this were understood mathematically, namely the statics of a construction in which all forces work in the same plane, without torque, and the components are perfectly rigid. The notion of assigning a numerical magnitude to these moduli and strengths did not exist, which anyway did not correspond to precisely defined, well-understood concepts. Therefore, engineering was not a science but an art, mainly based on experience in combination with testing on physical models. Any calculations would mostly have been for the amounts and dimensions of construction materials (and the cost thereof), requiring a relatively small number of additions and multiplications.  --Lambiam 19:03, 24 December 2024 (UTC)[reply]
Calculating with Roman Numerals might seem impossible, but in some ways it's simpler than our positional system; there are only so many symbols commonly used, and only so many ways to add and multiply them. Once you know all those ways you efficiently can do calculations with them, up to the limits imposed by the system.
And for a lot of things they relied on experience. Romans knew how to build circular arches, but rather than do calculations to build larger arches, or ones with more efficient shapes they used many small circular ones which they knew worked, stacked side by side and sometimes on top of each other. See e.g. any Roman aqueduct or the Colosseum. For materials they probably produce them on site or close by as they're needed.--2A04:4A43:909F:F9FF:FC7B:F1E8:19D6:124C (talk) 20:12, 24 December 2024 (UTC)[reply]
To add to the above, it wasn't really the Romans that were great innovators in science, engineering, etc.. I think more innovation and discovery took place in Ancient Greece and Ancient Egypt. Certainly Greece as we have a record of that. Egypt it's more that they were building on such a monumental scale, as scale no-one came close to repeating until very recently.
Romans were military geniuses. They conquered Greece, and Egypt, and Carthage, and Gaul, and Britannia, and everywhere in between. They then built forts, towns, cities and infrastructure throughout their empire. They built so much so widely that a lot of it still stands. But individually a lot of it isn't technically impressive; instead it's using a few simple patterns over and over again.--2A04:4A43:909F:F9FF:FC7B:F1E8:19D6:124C (talk) 12:09, 25 December 2024 (UTC)[reply]
See Roman abacus. catslash (talk) 22:03, 25 December 2024 (UTC)[reply]

Are these sequences mod any natural number n periodic?

[edit]

The period of Fibonacci number mod n is the Pisano period of n, but are these sequences mod any natural number n also periodic like Fibonacci number mod n?

  1. Lucas number
  2. Pell number
  3. Tribonacci number
  4. Tetranacci number
  5. Newman–Shanks–Williams number
  6. Padovan sequence
  7. Perrin number
  8. Narayana sequence
  9. Motzkin number
  10. Bell number
  11. Fubini number
  12. Euler zigzag number
  13. Partition number OEISA000041
  14. Distinct partition number OEISA000009

42.76.153.22 (talk) 06:06, 24 December 2024 (UTC)[reply]

For 1. through 4., see Pisano period#Generalizations. Although 5. through 8. are not explicitly listed, I'm pretty sure the same argument applies for their periodicity as well. GalacticShoe (talk) 07:05, 24 December 2024 (UTC)[reply]
For 13, I'm not sure, but I think the partition function is not periodic modulo any nontrivial number, to the point that the few congruences that are satisfied by the function are also very notable, e.g. Ramanujan's congruences. GalacticShoe (talk) 07:23, 24 December 2024 (UTC)[reply]
It's possible that a sequences is eventually periodic but not periodic from the start, for example powers of 2 are periodic for any odd n, but for n=2 the sequence is 1, 0, 0, ..., which is only periodic starting with the second entry. In other words a sequence can be become periodic without being pure periodic. A finiteness argument shows that 1-8 are at least eventually periodic, but I don't think it works for the rest. (Pollard's rho algorithm uses this finiteness argument as well.) It says in the article that Bell numbers are periodic mod n for any prime n, but the status for composite n is unclear, at least from the article. Btw, Catalan numbers not on the list?. --RDBury (talk) 08:08, 24 December 2024 (UTC)[reply]
If only the periodicity of Bell numbers modulo prime powers were known, then periodicity for all modulos would immediately result from the Chinese remainder theorem. GalacticShoe (talk) 01:29, 29 December 2024 (UTC)[reply]
PS. 1-8 are pure periodic. In general, if the recurrence can be written in the form F(k) = (some polynomial in F(k-1), F(k-2), ... F(k-d+1) ) ± F(k-d), then F is pure periodic. The reason is that you can solve for F(k-d) and carry out the recursion backwards starting from where the sequence becomes periodic. Since the previous entries are uniquely determined they must follow the same periodic pattern as the rest of the sequence. If the coefficient of F(k-d) is not ±1 then this argument fails and the sequence can be pre-periodic but not pure periodic, at least when n is not relatively prime to the coefficient. --RDBury (talk) 18:12, 24 December 2024 (UTC)[reply]
Ah, what was tripping me up was showing pure periodicity, recursing backwards completely slipped my mind. Thanks for the writeup! GalacticShoe (talk) 18:31, 24 December 2024 (UTC)[reply]
good questions. What about TREE(n) mod k, for arbitrary fixed k?Rich (talk) 23:03, 27 December 2024 (UTC)[reply]
Link: TREE function. There are a lot of sequences like this where exact values aren't known, Ramsey numbers are another example. It helps if there is a relatively simple recursion defining the sequence. --RDBury (talk) 11:50, 28 December 2024 (UTC)[reply]
For 9. Motzkin numbers are not periodic mod 2. Motzkin numbers mod 2 are OEIS:A039963, which is OEIS:A035263 with each term repeated (i.e. .) OEIS:A035263 in turn is the sequence that results when one starts with the string and successively maps (e.g. .) It is clear that if OEIS:A035263 were periodic with period , then the periodic string of length would need to map to string , but this is impossible as the last character of is always the opposite of the last character of the map applied to . Thus OEIS:A035263 is nonperiodic, and neither is OEIS:A039963. GalacticShoe (talk) 01:08, 29 December 2024 (UTC)[reply]
For 11., the article seems to suggest that Fubini numbers are eventually periodic modulo any prime power. I'm pretty sure this means that they the numbers eventually periodic mod any number , since the lcm of the eventual periods modulo all prime power divisors of should correspond to the eventual period modulo itself, with the remainders being obtainable through the Chinese remainder theorem. However, the wording also seems to suggest that periodicity modulo arbitrary is still conjectural, so I'm not sure. GalacticShoe (talk) 02:44, 29 December 2024 (UTC)[reply]


December 30

[edit]