Wikipedia:Reference desk/Mathematics

(Redirected from Wikipedia:RD/MATHS)
Latest comment: 3 hours ago by Bubba73 in topic Term for prime to a power?
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:

August 22

edit

Correlation for unordered sets

edit

When I read the definition of correlation, it boils down to "as one attribute rises, the other rises. As one attribute falls, the other falls." That makes sense for two ordered sets of values. What if you have unordered sets. For example, I have 5 people and I want to know if weight is correlated to nostril radius. So, I have five weights like [ 150, 127, 210, 108, 250 ] and five nostril radii [ 2.4, 2.2, 3.0, 1.9, 2.7 ]. I can arrange those attribute pairs however I like. So, it isn't that one is rising or falling. They are independent values. If I say they are "correlated", what do I really mean? Is it called something other than "correlated" because they are not ordered? Is the basic calculation, which I often see named "Person's Correlation" the same? I hope that it is clear that I am asking for a layman's term for correlation to use when data is not rising or falling, assuming that correlation is a proper measure to use for this data. 75.136.148.8 (talk) 12:22, 22 August 2024 (UTC)Reply

For correlation, you need to know which values in each set belong together - ie there are five individuals with the weights and nostril radii given, so each weight is linked to a specific nostril radius. Then you can put the weights in rising order, and if the corresponding nostril radii in that order also rise, then you have a correlation. If the radii in that order actually fall, then you have an inverse correlation. If the radii show no pattern, there is no correlation. -- Verbarson  talkedits 12:54, 22 August 2024 (UTC)Reply
Alternatively, plot weight as x-value and radius as y-value on a graph, giving five points. If they look like a diagonal line, there is a correlation of some sort. (Vertical or horizontal lines would only occur if all the values in one set were roughly identical, so no correlation.) -- Verbarson  talkedits 12:58, 22 August 2024 (UTC)Reply
So, what you are saying, is that it doesn't matter what the order of the values in the sets are, the correlation will be the same, correct? If that is true, I am having trouble with the definition "as one rises, the other rises" because I can rearrange them however I like to disrupt rising and falling data points. 75.136.148.8 (talk) 10:30, 23 August 2024 (UTC)Reply
You have five people. Each person has a weight and a nostril radius. If you want, you can order the people from smallest to largest weight (which induces a particular order on the nostril radii). If you want, you can order the people from largest to smallest nostril radius (which induces an order on the weights). But no matter what, each weight always corresponds to the same nostril radius (unless you're doing some pretty serious surgical intervention), so what you really have is a list of five ordered pairs (weight, nostril radius). Correlation does not care about which of these points you label first, second, third, fourth, fifth; but it would care a lot if you changed the correspondence between the two coordinates of the pair. 100.36.106.199 (talk) 10:37, 23 August 2024 (UTC)Reply

August 23

edit

Perpendicular projection of Fourier rotating epicircles

edit
 
Approximation of square wave

The animation shows how a Fourier series approximates a square wave.

I'm curious if instead of projecting the point horizontally, we project it vertically (or any other angle), what waveform do we get?

(I know all the terms will have cosine instead of sine, but is their sum meaningful?)

Thanks, cmɢʟeeτaʟκ 23:52, 23 August 2024 (UTC)Reply

So basically, factoring out the constant, instead of
 
you want
 
Notice that the series diverges at multiples of π. The graph zig-zags between positive and negative infinity, with asymptotes toward infinity at the even multiples of π, and asymptotes toward negative infinity at the odd multiples. I think it's possible to work out a closed formula, but I think I'll leave that as an "available upon request" kind of thing, since it will take time to work out and the result may not mean much to you. (Unless someone else wants to work it out.) See this Alpha result for a quick and dirty sketch. (Does anyone know how to get Alpha to find the closed formula for the infinite sum? I tried a few times but kept getting "could not determine the general term.") --RDBury (talk) 04:24, 24 August 2024 (UTC)Reply
I did
 
But Alpha only gave me a partial sum formula with complicated Lerch transcendent terms. Under the assumption that those terms tend to  , it would seem that the function is explicitly equal to
 
GalacticShoe (talk) 07:58, 24 August 2024 (UTC)Reply
Many thanks, @GalacticShoe and @RDBury. Good use of WolframAlpha. Guess the result isn't very interesting. Cheers, cmɢʟeeτaʟκ 09:44, 24 August 2024 (UTC)Reply
I think that what Wolfram Alpha is telling you is trivial: Let   Then   Then do a bit of algebra and take the antiderivative. Basically all of the work is the final line (showing that the sum actually converges). 100.36.106.199 (talk) 15:08, 24 August 2024 (UTC)Reply
Worth noting that this further simplifies down to
 
Or
 
GalacticShoe (talk) 15:40, 24 August 2024 (UTC)Reply
Nice closed formula. It doesn't seem to have much interesting application, unlike just the first term giving cosine. Thanks, cmɢʟeeτaʟκ 22:01, 24 August 2024 (UTC)Reply




August 30

edit

How does solving the finite’s fields discrete logarithm is easier on an extension field than with a prime degree ?

edit

Hi,

simple question, I’m seeing discrete logarithms records are higher when the finite’s field degree is composite and that such degrees are expressed as the degree of prime and the composite part being the extension of the field.
But how does that makes solving the discrete logarithm easier ? Is it only something that apply to index calculus methods like ꜰꜰꜱ or xɴꜰꜱ ? 2A01:E0A:401:A7C0:6861:5696:FAEB:61D1 (talk) 19:14, 27 August 2024 (UTC)Reply

I believe the function field sieve has much better asymptotic complexity for large powers of primes than other methods. Not sure about compositeness of degrees. Tito Omburo (talk) 20:36, 27 August 2024 (UTC)Reply
I’m also seeing it applies to variant of the ɴꜰꜱ. The paper about 2809 discrete logarithm record told the fact 809 was a prime power was a key difficulty. And indeed, all the larger records happened on extension fields (with a lower base prime exponent than 809)
The problem is I don’t understand how it’s achieved to make it little easier. 2A01:E0A:401:A7C0:6861:5696:FAEB:61D1 (talk) 05:02, 28 August 2024 (UTC)Reply

Projections of hypercubes

edit

Looking at Hypercube#Graphs, it looks like the projection of the n-cube into the Bn Coxeter plane has a no central vertex exactly when n can be written as 2m for some positive integer m. The pictures confirm this is true for 1 ≤ n ≤ 15.

So:

  1. Is this true in general?
  2. What's the general term of the sequence (an), where an is the number of vertices projected to the centre (i.e. 0, 0, 2, 0, 2, 4, 2, 0, ...) ?

Double sharp (talk) 18:21, 30 August 2024 (UTC)Reply

Did you intend to include a "not" in the question? I get no central vertex for n=2, 4, 8. For n=9 I get 8 points projected to the center. --RDBury (talk) 23:02, 30 August 2024 (UTC)Reply
Um, yes. Oops. T_T Double sharp (talk) 03:54, 31 August 2024 (UTC)Reply
For those who want to play along at home, I'm pretty sure the projection in question, translated to R2, is given by the matrix with columns   and   There may be a scaling factor involved if you're picky about distance being preserved, but this is irrelevant for the question. It's not too hard to show that these vectors are orthogonal and have the same length. So the question becomes, given n, how many combinations of   add to   These vectors form half of the points on a regular 2n-gon. It's not hard to see that there are at least two ways of doing it if n is odd; just alternate signs. A similar sign alternating idea shows that the number must be at least 2mp if n=mp where p is odd. So if n has an odd factor then there are points which project to 0. Proving the converse seems tricky though. --RDBury (talk) 00:04, 31 August 2024 (UTC)Reply
PS. I think I have an argument for the converse. The n points on the circle are all of the from ρk where ρ = eπi/n. We need to find a combination of these powers of ρ, which amounts to a polynomial in p of degree n-1, where all coefficients are ±1. If n is odd then ρ satisfies (ρn+1)/(ρ+1) = 1 - ρ + ρ2 - ... + ρn-1 = 0, and this polynomial has the desired properties. If n has an odd factor, say n=pq with p odd, then p satisfies (ρn+1)/(ρq+1) = 1 - ρq + ρ2q - ... + ρn-q = 0. Multiply by any polynomial of the form 1 ± ρ ± ρ2 - ... + ρq-1 to get a polynomial with the desired properties. But if n is a power of 2 then the minimum polynomial for ρ is ρn+1=0. The degree n is greater than n-1, so no integer combination of the powers of ρ from 1 to n-1 can add to 0 except when all the coefficients are 0. In other words, the condition that the coefficients are all ±1 isn't needed; we only need that they are not all 0, FWIW, it appears that the number of vertices projecting to the center is given by OEISA182256. It's a lower bound in any case. --RDBury (talk) 00:44, 31 August 2024 (UTC)Reply
That's nice indeed! So it was really a question about roots of unity, after all. :) Double sharp (talk) 04:00, 31 August 2024 (UTC)Reply

August 31

edit

Term for prime to a power?

edit

For the prime factorization of n:  

is there a term for an individual  ? Bubba73 You talkin' to me? 04:17, 31 August 2024 (UTC)Reply

Prime power. AndrewWTaylor (talk) 16:30, 31 August 2024 (UTC)Reply
I thought of that but it isn't specific enough. What I'm looking for is for the largest power of the prime that divides the number. Bubba73 You talkin' to me? 20:26, 31 August 2024 (UTC)Reply
It would be nice if there was a settled answer to this question. "Primary factor" would be appropriate in commutative ring theory. (Primary ideal) But this usage is not standard in this situation. Tito Omburo (talk) 21:44, 31 August 2024 (UTC)Reply
The exponent of p in the prime factorization is called the p-adic valuation of n. 100.36.106.199 (talk) 01:49, 1 September 2024 (UTC)Reply
Thanks. Bubba73 You talkin' to me? 02:28, 2 September 2024 (UTC)Reply
A bit of a mouthful: "maximal prime-power factor".[1][2][3]  --Lambiam 21:56, 1 September 2024 (UTC)Reply
Thanks. That is a bit of a mouthful (i.e. too long to use repeatedly). In my mind, and in notes to myself, for years I have called it the "prime component". Soon I expect to be writing up something, so I wondering if there is a recognized term. Bubba73 You talkin' to me? 02:28, 2 September 2024 (UTC)Reply

September 2

edit