Testwiki:Reference desk/Archives/Mathematics/2023 February 21

From testwiki
Revision as of 03:06, 1 March 2023 by imported>Scsbot (edited by robot: archiving February 21)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Error:not substituted

{| width = "100%"

|- ! colspan="3" align="center" | Mathematics desk |- ! width="20%" align="left" | < February 20 ! width="25%" align="center"|<< Jan | February | Mar >> ! width="20%" align="right" |Current desk > |}

Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


February 21

Combinatorics, multisets, elements

Let there be n distinct multisets, each with m identical elements (such as 1,,1m,2,,2m,,n,,nm).
How many ways are there to arrange them in n distinct boxes, such that every box contains exactly m elements and the inner order does not matter? יהודה שמחה ולדמן (talk) 12:57, 21 February 2023 (UTC)

Does the boxes being "distinct" mean they can be considered to be labelled? Like, {A: {1,2}, B: {1,2}, C: {3,3}} is not the same arrangement as {A: {1,2}, B: {3,3}, C: {1,2}}? Or are these different presentations of the same arrangement {{1,2}, {1,2}, {3,3}}? Using the term bag for "multiset", are the arrangements to be counted sequences of bags or bags of bags?  --Lambiam 18:45, 21 February 2023 (UTC)
Yes. The boxes are labelled. For 1,1,2,2,3,3 I counted 21 arrangements fulfilling these properties. יהודה שמחה ולדמן (talk) 20:09, 21 February 2023 (UTC)
Here is a table with some partial results:
mn 0 1 2 3 4 5
0 1 1 1 1 1 1
1 1 1 2 6 24 120
2 1 1 3 21 282 6210
3 1 1 4 55 2008
4 1 1 5 120
Denoting the number of arrangements as mαn, it is apparent that
mα0=mα1=0αn=1;
mα2=m+1;
1αn=n!.
A formula fitting the observed values for n=3 is:
mα3=(m+1)(m+2)(m2+3m+4)8.
 --Lambiam 22:09, 21 February 2023 (UTC)
Just wanted to quickly point out an accidental error for m=1,n=5, that should be 120 GalacticShoe (talk) 22:12, 21 February 2023 (UTC)
Thanks, now corrected.  --Lambiam 00:37, 22 February 2023 (UTC)
Also wanted to point out that mα3 appears to correspond to A002817, mα4 to A001496 (funny how it came earlier), and mα5 to A003438 in OEIS. Similarly, A000681 for 2αn, A001500 for 3αn, and A172806 (what a jump!) for 4αn. If I'm interpreting this right, this would indicate that mαn is precisely the number of m×m matrices with nonnegative integer entries and row and column sums equal to n. GalacticShoe (talk) 22:25, 21 February 2023 (UTC)
Let, given a valid assignment, Bij stand for the multiplicity of element j in the box labelled i. Then the row sums give the number of elements in each of the m boxes, while the column sums are the original multiplicities of each of the m different elements; both equal n, and each matrix B with nonnegative entries satisfying the marginal constraints corresponds to a different (valid) assignment.  --Lambiam 01:03, 22 February 2023 (UTC)
There are other interpretations as well. if hm is the complete homogeneous symmetric polynomial of degree m, then these numbers correspond to the coefficient of the monomial symmetric polynomial mmn in hmn. For example the coefficient of m222 in h23 is 21. The general problem can be given in terms of partitions; given λ, μ, how many arrays of non-negative integers have row and column sums equal to the entries in λ, μ respectively. In this case λ and μ are both mn. It's been a while since I studied this; the represention theory of the symmetric group is related as well but I don't remember too many details. --RDBury (talk) 02:53, 22 February 2023 (UTC)
Using the OEIS sequences, I find:
mα0=1;
mα1=1;
mα2=m+1;
mα3=(m+1)(m+2)m2+3m+48;
mα4=(m+1)(m+2)(m+3)11m6+132m5+683m4+1944m3+3320m2+3360m+189011340
mα5=(m+1)(m+2)(m+3)(m+4)188723m12+5661690m11+78003775m10+652623750m9+3696611709m8+14962790430m7+44526915325m6+98693942250m5+163162497908m4+199040329080m3+174301898400m2+102918816000m+34871316480836911595520.
I've unsuccessfully attempted to find a recurrence relation such as is known for the partition function.  --Lambiam 20:52, 22 February 2023 (UTC)
I'm pretty sure this is equivalent to finding the Ehrhart polynomials of Birkhoff polytopes. If so then it's a well-studied problem and known to be computationally difficult. See for example Beck & Pixton's paper. --RDBury (talk) 07:35, 23 February 2023 (UTC)

Shape between an elipse and a circle

Consider an ellipse inscibed within a circle, so that it touches both ends of the circle's diameter. Is there a name for the shape created between the ellipse and the circle, for example the top half of the green circle and dotted red ellipse in this diagram? It isn't a crescent, as the inner part of a crescent is an arc of a circle, not an ellipse. Voice of Clam (talk) 19:38, 21 February 2023 (UTC)

I think you’re going to have to make up your own name for this –jacobolus (t) 21:28, 21 February 2023 (UTC)
These shapes are the planar projections of (rather special) spherical lunes, like the (astronomically correct) crescents of the Moon, so it would not be incorrect to call them crescents – while being aware that this term is commonly also used for emblems with astronomically "incorrect" shapes.  --Lambiam 22:18, 21 February 2023 (UTC)