Wikipedia:Reference desk/Mathematics

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

The Wikipedia Reference Desk covering the topic of mathematics.

Welcome to the mathematics reference desk.
Want a faster answer?

Main page: Help searching Wikipedia

How can I get my question answered?

  • Provide a short header that gives the general topic of the question.
  • Type '~~~~' (that is, four tilde characters) at the end – this signs and dates your contribution so we know who wrote what and when.
  • Post your question to only one desk.
  • Don't post personal contact information – it will be removed. All answers will be provided here.
  • Specific questions, that are likely to produce reliable sources, will tend to get clearer answers.
  • 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.
Choose a topic:
See also:
Help desk
Village pump
Help manual

October 21[edit]

Primes of the form kn^2 - kn + 1[edit]

Has anyone ever made any conjectures related to this statement:

The sequences of the form produce infinitely many primes for all . (For , the sequence is simply the odd squares.) Georgia guy (talk) 13:52, 21 October 2020 (UTC)

The formula is somewhat reminiscent of the Lucky numbers of Euler. CodeTalker (talk) 18:34, 21 October 2020 (UTC)
This seems to be a special case of the Bunyakovsky conjecture, which in turn is a generalization of Landau's fourth problem. The numbers themselves are (in most cases) Centered polygonal numbers. (I'm not entirely convinced that article meets WP's notability criteria but I've used up my orange tag quota for the month.) For fixed k there are certain things you can say about the possible prime factors of these numbers, for example if a prime divides n^2 - n + 1 then it must be 3 or congruent to 1 mod 3. This, in turn affects the "probability" that a number of this form will be prime, and from there you can make an educated guess at the frequency of such primes. But that's a long way from a proof and in general problems like this are usually either relatively easy or completely intractable, with Dirichlet's theorem on arithmetic progressions being one of the few cases that lie in the middle somewhere. --RDBury (talk) 20:07, 21 October 2020 (UTC)

Calculating the value of arctan2(x, y)[edit]

Our article atan2 states that the function can be calculated as follows:

I'm new to polar coordinates and I'm not that familiar with how they work. When x < 0, why should the definition distinguish between positive and negative values of y? For any angle in radians, adding or subtracting pi should have the same effect. At least, that's my impression from high school math. Why should that not apply here? --PuzzledvegetableIs it teatime already? 17:39, 21 October 2020 (UTC)

I'm not really sure what you're asking, but essentially because atan2 is defined that way. You could define an atan3 that returns a value in the range but you'd still be distinguishing between cases no matter what you pick. –Deacon Vorbis (carbon • videos) 17:51, 21 October 2020 (UTC)
My question is why atan2 is defined that way. My somewhat unsophisticated understanding of angles is that adding pi to an angle, and subtracting pi from the same angle, should have the same result. Pi takes you halfway around the circle, regardless of which "direction" you take. So, why distinguish between positive and negative values of y if we're doing the same thing anyway? --PuzzledvegetableIs it teatime already? 18:12, 21 October 2020 (UTC) + minor edit --PuzzledvegetableIs it teatime already? 18:14, 21 October 2020 (UTC)
I mean, and represent the same angle in the plane, but they're still two different numbers. You have to pick some half-open interval of length to return values in. If you mean, why this particular choice? I'm just guessing a bit, but probably because it's centered around 0, just like the regular arctangent. As far as which endpoint to include...ehh, I guess one favors the positive choice? It doesn't really make much difference. But you have to pick something and stick with it. –Deacon Vorbis (carbon • videos) 18:24, 21 October 2020 (UTC)
To add a little to that, if, for example, you used for both cases when as you seem to be hinting at, then you'd get something in the range You'd still have to decide which endpoint to include. This would also be a valid definition, but it's probably a less natural one due to the lack of symmetry. –Deacon Vorbis (carbon • videos) 18:29, 21 October 2020 (UTC)
That makes sense, but shouldn't it be the opposite? When y is negative, using arctan rather than atan2 would result in a point that is in quadrant I. To compensate for this, you should need to add pi to the angle to get it back to quadrant III. When y is positive using arctan rather than atan2 would result in a point that is in quadrant IV. To compensate for this, you should need to subtract pi to get it back to quadrant II. Yet, the definition seems to say the opposite. I thought that angles increase in a counter-clockwise direction. --PuzzledvegetableIs it teatime already? 18:43, 21 October 2020 (UTC)
A more indirect way of defining mathematically (ignoring the fact that computations with floating point numbers cannot be always exact) is as follows:
For and ,
For a relationship of this kind to hold, needs to be constrained either to be positive or to be negative; few people will contest that is the better choice. For we need a constraint of either the form or for some fixed The choice would have been reasonable, but probably the desire to have the identity be valid led to the choice we have now.  --Lambiam 21:08, 21 October 2020 (UTC)

October 22[edit]

Number of roots of polinomial in fields other than C[edit]


if I am not mistaken, the fundermental theorem of Algebra states that there are at most roots of a polinomial . Does this still hold true for finite fields?

Thanks TheFibonacciEffect (talk) 16:04, 22 October 2020 (UTC)

First, that degree-n polynomials have at most n roots over any field is reasonably straightforward to show; whenever a is a root, you can factor out (xa). In fact, this much remains true for polynomials over any integral domain.
The FToA says that every complex polynomial has at least one complex root. Combining this with the above observation, it follows that every such polynomial has exactly n roots (counted with multiplicity). However, finite fields are not algebraically closed, so there exist polynomials over them with no roots. In fact, finite fields will always have degree-2 polynonmials without roots; this can shown by a counting argument. –Deacon Vorbis (carbon • videos) 16:25, 22 October 2020 (UTC)
For a simple example, has no integer solution, i.e. in has no root. TigraanClick here to contact me 08:50, 23 October 2020 (UTC)
Thank you
- TheFibonacciEffect (talk) 11:14, 23 October 2020 (UTC)
@Tigraan: But is not a field, no? Double sharp (talk) 13:49, 26 October 2020 (UTC)
I meant to say something here but forgot. No, it's not (it's not even an integral domain, which is equivalent to not being a field for finite objects anyway). And the bit about having no more roots than degree can fail when you're not in an integral domain. For example, the polynomial has 4 roots in Deacon Vorbis (carbon • videos) 14:16, 26 October 2020 (UTC)
In , the polynomial has no roots.  --Lambiam 21:37, 26 October 2020 (UTC)

October 27[edit]