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:

April 8[edit]

Constructing Wieferich numbers according to Agoh, Dilcher and Skula[edit]

I am trying to understand how to use the method in https://doi.org/10.1006/jnth.1997.2162 to construct composite base-a Wieferich numbers from a given integer a > 1 and a base-a Wieferich prime p. In section 6. EXAMPLES the authors use Theorem 5.5 to construct the list of base-2 Wieferich numbers based on the two known Wieferich primes 1093 and 3511. They compute the prime factorizations of 1092 and 3510 and apply Theorem 5.5 to obtain the 104 known base-2 Wieferich numbers. How does this work for arbitrary Wieferich primes p and bases a? For example, suppose I have the prime number p = 5209 which is a Wieferich prime to base a = 1359624 (see https://oeis.org/A143548 comment no. 3 by T. D. Noe). 5208 = 23 * 3 * 7 * 31. How does one obtain the base-1359624 Wieferich numbers generated by 5209 with Theorem 5.5? I also find the notation in the paper a bit confusing: q(a, m) is an Euler quotient per definition 1.2, but I don't really understand the definition of σ(a, p) at the top of p. 46. Is this simply the multiplicative order of a (mod p)? Toshio Yamaguchi (talk) 11:40, 8 April 2024 (UTC)[reply]

Is your question related to [1]? Which is the largest known Wieferich numbers to bases b<=25 2402:7500:916:7991:1CB3:D7F2:BD28:3F3A (talk) 08:11, 9 April 2024 (UTC)[reply]
Mhm, I guess it is related. If I understand correctly, Theorem 2 in that paper could be used to generate a Wieferich number w based on a given Wieferich prime p, although I have yet to understand how exactly that would work. Toshio Yamaguchi (talk) 09:22, 9 April 2024 (UTC)[reply]
A further question: On p. 2 of the Akbari, Siavashi paper there is a following statement I do not understand: "For a prime p and positive integer n, we denote the largest power of p in n by vp(n)". What does "power of p in n" mean? Toshio Yamaguchi (talk) 09:38, 9 April 2024 (UTC)[reply]

April 9[edit]

What is the smallest positive integer which is known to not divide any (even or odd) perfect number?[edit]

What is the smallest positive integer which is known to not divide any (even or odd) perfect number? Also, how many positive integers <= 400 are known to not divide any (even or odd) perfect number? 49.217.123.95 (talk) 08:05, 9 April 2024 (UTC)[reply]

All positive integers divide a perfect number. Writing in which is odd, it divides a perfect number of the form for  --Lambiam 17:03, 9 April 2024 (UTC)[reply]
Are you sure about that, Lambiam? We know of only 51 perfect numbers, and we do not know whether there are infinitely many of them. Assuming there is a highest one, there must be infinitely many numbers greater than that, which, by definition, do not divide any lower numbers. Or, is your formula somehow proof that there are indeed infinitely many? -- Jack of Oz [pleasantries] 19:22, 9 April 2024 (UTC)[reply]
No, thank you for correcting me. All positive integers divide a number (in fact, infinitely many) of the form but these need not be perfect numbers.  --Lambiam 00:13, 10 April 2024 (UTC)[reply]
Check. :) -- Jack of Oz [pleasantries] 02:27, 10 April 2024 (UTC)[reply]
As far as I can tell, from our article on perfect numbers (in particular, the section on odd perfect numbers; even perfect numbers are precisely divisible by all odd primes of the form , and assuming that there are infinitely many such primes, all powers of 2 as well), it would seem that the answer is 105. GalacticShoe (talk) 02:22, 10 April 2024 (UTC)[reply]
Obviously this gives a trivial lower bound of 3 on the number of positive integers at most 400 known to not divide any perfect number. GalacticShoe (talk) 02:23, 10 April 2024 (UTC)[reply]
Even numbers cannot be factors of odd perfect numbers, thus there should be a larger lower bound. 220.132.230.56 (talk) 21:11, 12 April 2024 (UTC)[reply]
Good point. The sequence of even numbers that divide no perfect numbers is , basically even numbers not of the form where is prime and . GalacticShoe (talk) 23:47, 12 April 2024 (UTC)[reply]
So how many positive integers <= 400 are known to not divide any (even or odd) perfect number? 220.132.230.56 (talk) 13:35, 13 April 2024 (UTC)[reply]

Is it possible to use all n-cubes with n <= 5 assembled into a 2*3*31 rectangular cuboid?[edit]

Is it possible to use all n-cubes with n <= 5 (reflections counted as distinct), with totally 186 cubes, assembled into a 2*3*31 rectangular cuboid?

Also, for which positive integer N, it is possible to use all n-cubes with n <= N (reflections counted as distinct), assembled into a rectangular cuboid? 2402:7500:916:7991:1CB3:D7F2:BD28:3F3A (talk) 08:49, 9 April 2024 (UTC)[reply]

There are 11-polycubes with holes in the center, and it's impossible to fill this hole with anything but a single cube. There are several such shapes, and you only get one single cube, so N≥11 is impossible. You run into similar problems with holes when you try to tile with heptominos. You could stipulate that the pieces with holes not be included, but that would be a different problem. For N=5, it seems to me that best (or at least the most fun) approach would be to whip up a set with a 3-D printer and experiment. Sometimes a parity argument can give a simple impossibility proof, but that seems unlikely in this case. --RDBury (talk) 12:56, 9 April 2024 (UTC)[reply]



April 13[edit]

How to calculate a line integral by computer?[edit]

Hi!

There is a line integral ∫L yds, where L is y2=2x and from (1/2, -1) to (2, 2). My answer is (5√5−2√2)/3, but L is a quadratic curve (instead of a line) and the answer seems odd, therefore I am not sure my calculation is correct or not.

How can I calculate a line integral result by computer (by Wolfram Alpha, python etc.)? James King 2009 (talk) 11:49, 13 April 2024 (UTC)[reply]

Swapping and , this is the arc length of the segment of the parabola given by the equation from to . It can be turned into an ordinary integral of the form
In view of the square root in this formula, the appearance in the result should not be odd, but I find a different result, involving not only square roots but also logarithms (or arcsines). Obviously, the length of the arc should exceed that of the straight line segment connecting the end points, which is but your result evaluates numerically to less than To check your result: its numerical value should be close to  --Lambiam 14:19, 13 April 2024 (UTC)[reply]
The question calls for the integral of yds, so the first moment wrt the x-axis, not arc length. So basically you're integrating . --RDBury (talk) 15:37, 13 April 2024 (UTC)[reply]
PS. if you just want a ballpark estimate to check your result, break the curve up and approximate by line segments. In this case the section from y=-1 to y=1 cancels itself out, so you really just have to do the segment from (1/2, 1) to (2, 2). If you replace the curve with a line segment, its center of mass is the midpoint, so (5/4, 3/2). The length is √13/2, so the moment is (3/2)(√13/2) ≈ 2.7. That's off from the original result by about .1 so I'd count it as verified. --RDBury (talk) 15:54, 13 April 2024 (UTC)[reply]
Symbolic integration by Maxima confirms it as well.  --Lambiam 20:54, 13 April 2024 (UTC)[reply]
Actually I should try that out, so thanks. There are limits to what you can do with pencil & paper (and maybe a calculator). I've found you can do wonders with an off-the-shelf spreadsheet program, and if you already know how to use one that would work as well. As with many things, the trade-off is the time it takes to learn how to use the tool in question. You can write a Python program when the task is too complex for a spreadsheet, but if you don't know Python already that's a lot of effort for solving one problem. The OP mentioned Wolfram Alpha as well, and I assume that would tell you the answer too if you know the right input string. I use Alpha occasionally, but mostly for things where the right command is obvious, "solve x^3-x-1=0" for example. --RDBury (talk) 02:17, 14 April 2024 (UTC)[reply]
For this specific integral it isn't too hard to do the integration purely mentally by change of variables so and thus  --Lambiam 10:09, 14 April 2024 (UTC)[reply]


April 15[edit]

Does anyone use the word "cathetus" anymore?[edit]

I'm trying to read this article translated from a 1934 article in Swedish by B. Berggren. The word "catheter" is mentioned several times, and I gather it should be "cathetus" meaning a leg, or side other than the hypotenuse in a right triangle. I don't think I've heard of a cathetus before, nor a catheter with reference to a triangle. Is this term still used by anyone now? --RDBury (talk) 20:25, 15 April 2024 (UTC)[reply]

It makes it into wiktionary: cathetus, but there are no quotations. This says it's fairly rare, but some prefer it over the term "leg". -- Jack of Oz [pleasantries] 20:47, 15 April 2024 (UTC)[reply]
Thanks. I've mostly heard and used "side", but that's wrong if you think about it; triangles have three sides. I didn't think to look at NGram Viewer before, but I did just now and it seems that "cathetus" had about a 10 year window of popularity between the mid-1920's and mid-1930's, but still only about 3% as common as "hypotenuse". Perhaps it's more common in Swedish. --RDBury (talk) 06:44, 16 April 2024 (UTC)[reply]
The Swedish Wikipedia uses it in its article on the Pythagorean theorem. It did not help the translator that in Swedish the form kateter is both the word for "catheter" and the plural of katet, which means "cathetus".  --Lambiam 06:14, 17 April 2024 (UTC)[reply]

1,000 random editors[edit]

There's a room with 1,000 people, each with a computer. Their task is to access Wikipedia, and click Random article, editing whatever they see needs fixing each time, before repeating the same process endlessly. They're well paid. They do this for 8 hours a day, 5 days a week, until they either quit out of sheer boredom, kill themselves, or ascend to some higher plane of consciousness.

What are the chances that 2 or more of the people could be editing the same article simultaneously, causing an edit conflict when the second or later ones press Publish? And how long might it take for the first such conflict to occur? -- Jack of Oz [pleasantries] 23:20, 15 April 2024 (UTC)[reply]

This is essentially the same as the birthday problem for a set of randomly chosen people on a planet in which a year takes days, where is equal to the number of Wikipedia articles (currently 6,814,053). Assuming all are in the same time zone, working 9 to 5, the probability that any article is being edited simultaneously by multiple persons, using the square approximation, equals approximately
A slightly better approximation is given by the formula
How long it will take for a conflict to arise (assuming that all simultaneous edits are conflictual) depends on how long editors stay within the same article, which may be characterized by individual-dependent probability distributions and hard to impossible to tackle analytically. If they are synchronized, each editing one article per time slot in equal time slots, the expected number of time slots until conflict is approximately
 --Lambiam 03:31, 16 April 2024 (UTC)[reply]
Thanks. The first answer is about what I expected. But the time till the first conflict is rather counter-intuitive. If the time slots were 5 minutes, that means a conflict would occur after only a bit over an hour. I don't question your maths, but that is amazingly short for such a huge database. Thanks again.
But then, I guess the number of editors does make a rather significant difference (* cough), since the number of possible conflicts with 1,000 editors in each time slot is half factorial 999, a number with c. 2,565 digits, and about 102485 times the number of atoms in the universe. Compared to this, a mere 6-odd million articles is infinitesimally small, so having to wait an hour for a conflict does seems a bit tardy, on reflection. If it were only 4 editors, there are only 6 possible conflicts and the expected time would increase massively, to about 500 days. Very nice. -- Jack of Oz [pleasantries] 23:56, 16 April 2024 (UTC)[reply]
Yes, at first glance it is counterintuitive, which is why the problem in its birthday suit setting is also known as the "birthday paradox".  --Lambiam 05:41, 17 April 2024 (UTC)[reply]


April 18[edit]

How do I calculate the daily interest rate, when given the effective annual interest rate?[edit]

Interest compounds daily. The effective annual interest rate is 5.15%. Is there some formula to calculate what is the actual daily interest rate? Using a lot of trial and error on spreadsheets, I estimated that the daily interest rate is 5.02235% (or so). But, that was through a lot of trial and error … and it only comes “close to” an estimate of the actual daily interest rate. Is there some mathematical formula that will give me the exact figure? Thanks. 32.209.69.24 (talk) 02:04, 18 April 2024 (UTC)[reply]

To clarify, when I estimated the daily interest rate, I came up with 5.02235% (divided by 365) = 0.01375986301370%. Thanks. 32.209.69.24 (talk) 02:14, 18 April 2024 (UTC)[reply]

If I'm interpreting this correctly, then if you are given the annual interest rate , then you want a daily interest rate such that , where is the number of years. Since both sides are exponentials and the only way they can always match is for the bases to match, we can just remove the to get . Taking the root on each side, you get . Rearranging yields . For your value of , this yields , which is close to but slightly off from your value. GalacticShoe (talk) 02:15, 18 April 2024 (UTC)[reply]
Thank you so much ... for such a quick reply and for such a detailed explanation. Much appreciated. A follow-up question, if I may. That final formula that you cite contains a "root index" of 365. Is there a comparable formula that can be entered into an Excel spreadsheet? (I have no idea of how to -- or even if -- one can express a root index of 365 in Excel.) Thanks! 32.209.69.24 (talk) 02:29, 18 April 2024 (UTC)[reply]
Some preliminary searching indicates that you can just do "value^(1/365)", so for example "365*((1+A)^(1/365)-1)" GalacticShoe (talk) 02:44, 18 April 2024 (UTC)[reply]
Thanks a million! Very much appreciated! 32.209.69.24 (talk) 05:21, 18 April 2024 (UTC)[reply]

Why is it quintillion...[edit]

...and not pentillion? Someone who's wrong on the internet (talk) 05:43, 18 April 2024 (UTC)[reply]

All those number names are based on Latin (in this case quinque) rather than Greek (πέντε). --Wrongfilter (talk) 06:14, 18 April 2024 (UTC)[reply]
Then why is it pentagon and not quintagon? Someone who's wrong on the internet (talk) 09:07, 18 April 2024 (UTC)[reply]
Because -gon is Greek (γωνία = angle, from γόνυ = knee), hence the prefix is Greek, too. Some terms are Greek, others are Latin, mixtures are to be avoided. --Wrongfilter (talk) 09:21, 18 April 2024 (UTC)[reply]
German makes a bit more sense when it comes polygons, Dreieck=Triangle, Viereck=Quadrilateral, Fünfeck=Pentagon, ... . Literally (the number in German)+"Eck" = corner or angle. I imagine other languages not so heavily influenced by Latin and Greek are similar, none of this "If it's Tuesday we must be using Greek roots." The word for "polygon" is "Polygon" in German, breaking the pattern, though "Vieleck"="many"+"angle" is used as well. As for the numbers, people still don't seem to agree on what these names even mean (see Long and short scales). When in doubt, use 1018. --RDBury (talk) 14:21, 18 April 2024 (UTC)[reply]
My favourite shape is the octangular quadragon. -- Jack of Oz [pleasantries] 21:14, 18 April 2024 (UTC) [reply]

April 19[edit]