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.
March 8
Bouncing ball confinement
When a ball is dropped in vacuum in a uniform gravitational field from a height onto an immovable surface whose lowest point is at height obeying an idealized version of Newton's laws and bouncing back totally elastically, it can theoretically bounce back to its release height, possibly only after many bounces, but will never get higher than This is an easy consequence of the preservation of energy, itself a consequence of Newton's laws, combined with the fact that kinetic energy, initially zero, is a nonnegative quantity.
Watching a video illustrating the butterfly effect in a 2D setting, in which 100 balls with imperceptibly different initial positions all very close to are simultaneously dropped on the curve given by it seemed to me that the balls basically remained confined to the rectangle with vertices
This is a much stronger confinement than Is there some simple mathematical argument supporting my observation? ย --Lambiam 19:58, 8 March 2024 (UTC)
- Don't have an answer, but someone else has a video which documents essentially the same phenomenon, this time tracing a path. The video title says "square" but I'm fairly sure that's just an artifact of the ball being dropped close to the apex. GalacticShoe (talk) 07:07, 9 March 2024 (UTC)
- Indeed, one of the replies to the video is just the three words, "not a square". When the trajectory is either undefined or confined to the line , but the limit case of the hypothesized rectangle for is a square. (The best way to define the bounce-back when the trajectory hits is to have the ball move back in the direction it came from, the limit case of hitting ) ย --Lambiam 10:06, 9 March 2024 (UTC)
- A few thoughts: The second video shows that the boundary is the envelope of all the possible trajectories. The possible trajectories are parabolas , with the apex at (to be shown that this is always so), height given by , and to be expressed in terms of the transverse velocity at the apex as well. This should give the one-parameter family of parabolas, and somebody should be able to determine the envelope. --Wrongfilter (talk) 07:42, 9 March 2024 (UTC)
- Thanks. This probably gives enough hints to prove the confinement hypothesis, after which it may not be a trivial exercise to reduce the proof to a much more elementary one based on invariants following from Newton's laws plus elasticity. ย --Lambiam 10:06, 9 March 2024 (UTC)
- I think the first thing to do is apply the conservation of energy, if the apex of the parabola is at then we have:
- Assume for now that this occurs at ; we'll verify this later. Call the value of for a specific path . Parametric equations for the parabola are given by:
- Eliminate t and write to get an implicit form for the equation:
- where k is a constant determining the path. The next step is to verify that that if two of these curves intersect on the line , then their angles with the line are the same. That will confirm then when the ball bounces off the line the new curve will be in the same family, which is what we assumed at the beginning. Suppose the two curves
- intersect at (x, y) with kโ l. Eliminating y:
- The normal vectors to the two curves are given by
- The reflection of the first vector by the line x=y is
- and by the previous equation this is a scalar multiple of the second vector, and this proves that the directions are reflections of each other. The corresponding fact for y=-x should be similar. Note that we did not use x=y anywhere, and I think this implies that you could insert short diagonal line segments into the "field of play" and the result would be the same. The balls may bounce around as in a pinball machine but they would still be constrained to be in the family of parabolic paths. Finally, it remains to find the envelope of the family. This is done by setting the partial derivative with respect to k of the implicit equation to 0 and eliminating k. We get:
- which gives:
- Plug this back into the original equation to produce:
- and this gives the two lines in question. As far as the original question is concerned I'm not sure if this counts as "simple" or not. There is a lot of messy algebra going on but conceptually it's not that hard. Consider too that this is from someone specializing in math and having little working knowledge of physics. I'm sure someone who has taken a few more physics courses than I have would have more tricks for tackling this sort of thing mare easily, using additional physical invariants etc. --RDBury (talk) 20:09, 9 March 2024 (UTC)
- PS. If you don't like the envelope part there is a simpler approach. If
- has a solution in k then the discriminant must be non-negative, in other words
- We know that from which we can deduce --RDBury (talk) 20:35, 9 March 2024 (UTC)
- PPS. (Some additional random thoughts.) If you replace k with z in the above equation, the result is the equation of a surface in space. This turns out to be a cone and slicing the cone by fixing z=k gives you conic sections. These turn out to be the parabolic trajectories. When you project the cone to the x-y plane you get the region as before.
- I think this could be generalized as follows. Start with any curve, say x=x(k), y=y(k) parameterized by k. Assume the apex of each parabola is on this curve, then the equation for each parabola can be worked out using the conservation of energy as above. This gives an equation in x, y and k. If this turns out to be quadratic in k then there is a region where each point is crossed by two of the parabolas. You can work out their tangent lines at that point, find the bisectors, and by assuming that a new curve is tangent to one of the bisectors you get a differential equation for the new curves. There are two bisectors so there are two differential equations, and the two sets of solutions would form orthogonal trajectories. In the case where the starting curve is a vertical line the resulting families of curves turn out to be diagonal lines. It's not hard to see that if the starting curve is a horizontal line then you get vertical and horizontal lines. The upshot in that case is that if you drop a ball in to a rectangular well then it will keep bouncing back to original height. I suppose the next easiest case would be when the starting curve is a diagonal line. The more complex the starting curve the more difficult it will be to work out the envelope of the parabolas and solve the differential equations. In the case where g=0 this is related to reflected caustics
- Going back to the original problem, instead of saying that the ball bounces off the wall, say that it goes through but now the gravitational force is reflected through the wall. The result would be a gravitational field of the form f=(0, -g) if y>|x|, (-g, 0) if x>|y|, f=(0, g) if y<-|x|, and (g, 0) if x<-|y|. (Sort of like the taxicab metric but with gravity.) This is not a central field so the conservation of angular momentum would not hold, and indeed it's not hard to see that an "orbit" can change direction sometimes. But there is a well defined potential function, namely gโ max(|x|, |y|).
- Finally, are we sure that we're observing an actual butterfly effect here, or is it an artifact of the simulation? Looking at some of the other bouncing ball simulations on the same channel, with most of them the balls become a chaotic mess limited above only by the original height. With g=0 and the container a square, the path will eventually get arbitrarily close to any point in the interior provided that the starting angle is irrational. But that's not chaotic behavior since small changes in the starting position do not result in increasingly larger changes in future positions. Are we sure that something similar wouldn't happen if the simulation was perfectly accurate? --RDBury (talk) 18:33, 11 March 2024 (UTC)
- It is hard to determine visually whether the system is chaotic. It may make a difference that we are dealing with a piecewise linear curve. Does it have a positive Lyapunov exponent? (Rather than I think the criterion should be for some ; "the" Lyapunov exponent should then be the supremum of the range satisfying the condition.) But with a bounded phase space the supremum is necessarily zero, so we need a modified definition, perhaps something related to the notion of entropy.
- Not obviously related, but perhaps there is a connection: a version with more balls shows an intriguing phenomenon at the end of 0:41. ย --Lambiam 22:52, 11 March 2024 (UTC)
- The fact that you can still make out the moose at the end of video makes me suspicious. There is another video comparing walls y=2|x| and y=.5|x|. Those are piecewise linear but the case for those systems being truly chaotic is a lot more believable for me. I suspect that the two lines being at right angles is the critical factor, but I'm not going to write my own simulator just to find out. Note that the rectangular well I mentioned above does not produce chaotic motion. --RDBury (talk) 06:16, 12 March 2024 (UTC)
- PS. If you don't like the envelope part there is a simpler approach. If
- I think the first thing to do is apply the conservation of energy, if the apex of the parabola is at then we have:
- Thanks. This probably gives enough hints to prove the confinement hypothesis, after which it may not be a trivial exercise to reduce the proof to a much more elementary one based on invariants following from Newton's laws plus elasticity. ย --Lambiam 10:06, 9 March 2024 (UTC)
- A few thoughts: The second video shows that the boundary is the envelope of all the possible trajectories. The possible trajectories are parabolas , with the apex at (to be shown that this is always so), height given by , and to be expressed in terms of the transverse velocity at the apex as well. This should give the one-parameter family of parabolas, and somebody should be able to determine the envelope. --Wrongfilter (talk) 07:42, 9 March 2024 (UTC)
March 16
Smallest triangular number with prime signature the same as A025487(n)
Smallest triangular number with prime signature the same as (sequence A025487 in the OEIS)(n), or 0 if no such number exists. (there is a similar sequence (sequence A081978 in the OEIS) in OEIS)
For n = 1 through n = 29, this sequence is: (I have not confirmed the n = 15 term is 0, but it seems that it is 0, i.e. it seems that there is no triangular number of the form p^3*q^2 with p, q both primes)
1, 3, 0, 6, 0, 28, 0, 136, 66, 0, 36, 496, 276, 0, 0, 118341, 120, 0, 1631432881, 300, 8128, 210, 0, 528, 0, 29403, 1176, 32896, 630
Is it possible to extend this sequence to n = 100? 1.165.194.85 (talk) 00:51, 16 March 2024 (UTC)
- This paper by Cohn implies that there are no prime solutions to and . If anyone here can prove that the elliptic curves have no nontrivial integral points (for that would be and , while for that would be ), then that implies that there are no triangular numbers of the form at all. GalacticShoe (talk) 06:22, 16 March 2024 (UTC)
- I'm not sure what you mean by "at all". If you drop the requirement that q is prime then there are many solutions, for example 242โ
243/2 = 33332, 12167โ
12168/2 = 233782. --RDBury (talk) 08:42, 16 March 2024 (UTC)
- Sorry, shoulda clarified; no triangular numbers of the form at all where are prime. Naturally, the two cases mentioned earlier (the latter example of which I hastily posted before remembering that I completely forgot about the prime signature part) are either not covered by Cohn's paper, with the case being invalid since we spread powers of among the cube and the square, or they are one of Cohn's special case, as with . GalacticShoe (talk) 09:51, 16 March 2024 (UTC)
- Thanks for the clarification. I don't have access to the Cohn paper, but it seems to me that the p3+1=2q2 is trivial to exclude, and similarly for p3-1=2q2. That leaves 2p3ยฑ1=q2. Using brute force I found 2โ
233+2=1562 but none, even when p is only required to be odd and q can be anything, where the difference is one. Note that this generates the 12167 example, but that's not the way I found it. I'm not sure how y2=x3ยฑ4 is related, but I'm no expert on elliptic curves so I may have to take your word on that. In any case, given that the p3q2 is proving so difficult, it seems unlikely that getting to n=100 is feasible. Finding entries where there is a solution should only require a computer search, but if none are found then proving that there are none to be found can be difficult. It seems ironic that while there is apparently no p3q2 solution, there is a p5q2, though this seems less likely at first glance. RDBury (talk) 18:24, 16 March 2024 (UTC)
- The condition arises because, if we write and , then an integer solution to implies is a rational, possibly integer solution to the equalities we are looking at. All integer solutions to can be generated this way, so the lack of a nontrivial integer solution to (or the existence only of solutions where are odd) would rule out any further triangular numbers of the form with prime. GalacticShoe (talk) 21:33, 16 March 2024 (UTC)
- Right, I should have seen that. The 2p3+1=q2 case may be easier than I thought; it reduces to 2p3=(q+1)(q-1). You can rule out p=2, q=2, giving q odd, but then by unique factorization qยฑ1 divides p, which is impossible. I thought of applying a similar trick to 2p3-1=q2, or 2p3=(q+i)(q-i), and using unique factorization over Gaussian integers. But I quickly got bogged down with this. --RDBury (talk) 02:10, 17 March 2024 (UTC)
- A similar disproof is that after proving and impossible by simple casework, odd implies that is a multiple of , which cannot be. I imagine that is indeed not as simple to pin down. GalacticShoe (talk) 02:45, 17 March 2024 (UTC)
- So if has no integer solution other than , , , than a(15) in the above sequence is 0? How about a(30), a(31), a(32), โฆ? Do you have the status for a(n) for all ? (sequence A081978 in the OEIS) has the proof for which some prime signatures do not exists for triangular numbers such as (i.e. a(33) = 0), see the comment of Jinyuan Wang in Aug 22 2020. (You can also check whether a(1) ~ a(29) which I have listed above are correct) (a(n) is the smallest triangular number with prime signature the same as (sequence A025487 in the OEIS)(n), or a(n) is 0 if no such number exists) 61.224.130.152 (talk) 03:21, 18 March 2024 (UTC)
- I mentioned this a few paragraphs back. Given that finding the value of a single entry is turning out to be a project in itself, and that it seems unlikely that computations will get any easier going on, I don't see getting to 100 as feasible. A081978 is asking for less information, and even so it took some high powered number theory to get it's values. --RDBury (talk) 15:36, 18 March 2024 (UTC)
- So if has no integer solution other than , , , than a(15) in the above sequence is 0? How about a(30), a(31), a(32), โฆ? Do you have the status for a(n) for all ? (sequence A081978 in the OEIS) has the proof for which some prime signatures do not exists for triangular numbers such as (i.e. a(33) = 0), see the comment of Jinyuan Wang in Aug 22 2020. (You can also check whether a(1) ~ a(29) which I have listed above are correct) (a(n) is the smallest triangular number with prime signature the same as (sequence A025487 in the OEIS)(n), or a(n) is 0 if no such number exists) 61.224.130.152 (talk) 03:21, 18 March 2024 (UTC)
- A similar disproof is that after proving and impossible by simple casework, odd implies that is a multiple of , which cannot be. I imagine that is indeed not as simple to pin down. GalacticShoe (talk) 02:45, 17 March 2024 (UTC)
- Right, I should have seen that. The 2p3+1=q2 case may be easier than I thought; it reduces to 2p3=(q+1)(q-1). You can rule out p=2, q=2, giving q odd, but then by unique factorization qยฑ1 divides p, which is impossible. I thought of applying a similar trick to 2p3-1=q2, or 2p3=(q+i)(q-i), and using unique factorization over Gaussian integers. But I quickly got bogged down with this. --RDBury (talk) 02:10, 17 March 2024 (UTC)
- The condition arises because, if we write and , then an integer solution to implies is a rational, possibly integer solution to the equalities we are looking at. All integer solutions to can be generated this way, so the lack of a nontrivial integer solution to (or the existence only of solutions where are odd) would rule out any further triangular numbers of the form with prime. GalacticShoe (talk) 21:33, 16 March 2024 (UTC)
- Thanks for the clarification. I don't have access to the Cohn paper, but it seems to me that the p3+1=2q2 is trivial to exclude, and similarly for p3-1=2q2. That leaves 2p3ยฑ1=q2. Using brute force I found 2โ
233+2=1562 but none, even when p is only required to be odd and q can be anything, where the difference is one. Note that this generates the 12167 example, but that's not the way I found it. I'm not sure how y2=x3ยฑ4 is related, but I'm no expert on elliptic curves so I may have to take your word on that. In any case, given that the p3q2 is proving so difficult, it seems unlikely that getting to n=100 is feasible. Finding entries where there is a solution should only require a computer search, but if none are found then proving that there are none to be found can be difficult. It seems ironic that while there is apparently no p3q2 solution, there is a p5q2, though this seems less likely at first glance. RDBury (talk) 18:24, 16 March 2024 (UTC)
- Sorry, shoulda clarified; no triangular numbers of the form at all where are prime. Naturally, the two cases mentioned earlier (the latter example of which I hastily posted before remembering that I completely forgot about the prime signature part) are either not covered by Cohn's paper, with the case being invalid since we spread powers of among the cube and the square, or they are one of Cohn's special case, as with . GalacticShoe (talk) 09:51, 16 March 2024 (UTC)
- I'm not sure what you mean by "at all". If you drop the requirement that q is prime then there are many solutions, for example 242โ
243/2 = 33332, 12167โ
12168/2 = 233782. --RDBury (talk) 08:42, 16 March 2024 (UTC)
March 18
Tautology logical reasoning
Does every tautology have a verbal logical reasoning not requiring any use of truth tables or logical connectives, just like combinatorial identities/formulae (at least many) have combinatorial reasonings?
For example, this tautology here: . ืืืืื ืฉืืื ืืืืื (talk) 18:44, 18 March 2024 (UTC)
- Well one can always read out the maths! But it would become very tedious and you might lose attention for anything much more complicated than the above. That though can be transformed by saying: A implies B means A is false or B is true. Then A implies B implies C means the same as A is false or B is false or C is true and that is the same as B is false or A is false or C is true. I mean what are you looking for beyond that? To start using the ancient business of syllogisms with names like Baroco? NadVolum (talk) 19:30, 18 March 2024 (UTC)
- I mean literally, how do we deduce with logical reasoning that the initial part implies the final part ?
- Of course I understand that we use symbols to express arguments, such as .
- But I am also asking if this is a definition apriori () or a theorem. ืืืืื ืฉืืื ืืืืื (talk) 20:53, 18 March 2024 (UTC)
- If I tell you that is a tautology without supplying an interpretation of the connective "" and ask you to provide verbal reasoning for this tautology, you will not be able to make any inroads. You can't do anything if you don't know the meaning of "". So it is not clear to me what kind of "verbal reasoning" might correspond to this tautology without referencing the interpretation of the material conditional connective "". To me, this would be like requiring a verbal proof of without any use of addition. The tautology can be verbalized: "If we know that if A is true, then if B is true then C is true, it follows that if B is true, then if A is true then C is true." If you can wrap your head around it, this should be self-evident, but a proof by natural deduction of the tautology can also be verbalized. ("Assume we know that if A is true, then if B is true then C is true. We want to show that it follows that if B is true, then if A is true then C is true. So assume that B is true. ...") However, unless one has an uncanny ability, one will get lost in keeping track of which assumptions hold at various steps and which have been discharged. ย --Lambiam 08:49, 19 March 2024 (UTC)
March 20
Whether it coincides with a simpler function
Is y = sin (arcsin x) (1) the same function as y=x, if we consider all branches of logarithm (of any real number) and all branches of inverse sine function? Or does (1) remain meaningless for any argument outside the range [-1;1] when we restrict it to real value for both the domain and the image, and (1) will coincide with the identity function only when we regard it as a function that map complex numbers to complex number? Does the logarithm of negative numbers lead to the presence of removable singularities for (1)? (In contrast, the function y=x obviously does not contain any singularity). I was able to prove that y = arcsin (sin x) and y = sin (arcsin x) are not always the same, but I still can't settle the aforementioned problems. 2402:800:63AD:81DB:105D:F4F:3B26:74C5 (talk) 14:36, 20 March 2024 (UTC)
- A univalued function and a multivalued function possibly partial, can be represented by a relation The total identity function corresponds to the identity relation Function composition corresponds to relation composition: The multivalued function inverse correspond to relation converse:
- Just like the multivalued complex logarithm is the multivalued inverse of the exponential function , the complex including all branches is the multivalued inverse of function So
- Generalizing this from the sine function to an arbitrary (univalued) function , we have:
- Clearly, this implies so the composed relation is the identity relation on the range of representing the identity function on that range. ย --Lambiam 18:21, 20 March 2024 (UTC)
March 22
Sin, cos and ellipses
In this book [1] (linked to the right page), left column towards the bottom. I'm having a problem with the "hence."
I understand that:
A: the point M has the coordinates (x,y), which is also (sin ฯ, cos ฯ), no matter how you slide the straight KL, for all ฯ.
B: the formula for the ellipse.
I just don't get how B follows from A. Maybe I'm missing a concept that the authors take for granted. But shouldn't the text have explained something in between? Something like why the ellipse matches the Pythagorean trigonometric identity? Or why the set of all possibles values of M is ? Why is that when you have the coordinates (sin, cos) you add them and equal to 1 to produce an ellipse? Grapesofmath (talk) 17:27, 22 March 2024 (UTC)
- I think you've misread the text: the point M (x, y) is actually (a sin ฯ, b cos ฯ). So x/a = sin ฯ and y/b = cos ฯ. Substituting into the identity (which is true for all ฯ) gives the formula in (B). AndrewWTaylor (talk) 18:09, 22 March 2024 (UTC)