[go: nahoru, domu]

Jump to content

Wikipedia:Reference desk/Mathematics

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 116.86.4.41 (talk) at 08:59, 15 June 2021 (→‎Risk board game graph: Another reply). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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:

June 8

Wang tiles

Hello!

Suppose I have a set of 24 edge matching Wang tiles, 1 for every possible arrangement of 4 colours on each tile. I am trying to convince myself that I cannot arrange them on a 6x4 grid with all internal edges matching. I know that it be done if the tiles are permitted any rotation but not if they are non-rotatable tiles. I am trying to use symmetry operations on the tile set to argue that it is not possible. For example, if I arrange 6 tiles with colour #1 on the top, I can then place above them all the tiles with #1 at the bottom. But from there any symmetry operation or combination of operations leads to duplicate tiles.

Am I on the right track?

Duomillia (talk) 03:13, 8 June 2021 (UTC)[reply]

Edit: If I go at it with pen and paper I think there might be away. Stay tuned I’ll post if I find something. Duomillia (talk) 04:01, 8 June 2021 (UTC)[reply]

A brute force search found 24 × 1248 solutions (1248 after fixing a corner tile).  --Lambiam 07:50, 8 June 2021 (UTC)[reply]
I find 328 basic solutions, from which all can be obtained by flipping an arrangement and recolouring its tiles.  --Lambiam 09:54, 8 June 2021 (UTC)[reply]
I'm curious as to whether there are any solutions where opposite edges have matching colors, thus creating a periodic tiling of the plane. If not, is there any periodic tiling where the unit cell uses all 24 tiles exactly once? --RDBury (talk) 20:12, 8 June 2021 (UTC)[reply]
Quite a few. Of the 328 basic solutions, 54 have matching opposite edges. Each rectangular reptile can be rotated horizontally and vertically and so each should be in a nest of 24 (4 × 6) sibling reptiles, but some of these siblings are the same modulo recolouring. There are four nests, one of 24 siblings, one of 12 siblings, and two of 9 siblings. I don't see how 9 is possible; a bug? To be continued.  --Lambiam 22:07, 8 June 2021 (UTC)[reply]
Thanks. I agree that 9 sounds suspicious since it's not a divisor of 24. --RDBury (talk) 05:39, 9 June 2021 (UTC)[reply]
The problem was that I only looked for siblings among canonical representatives of the basic solutions. Some (in fact, most) siblings of a basic solution are not themselves such canonical representatives, also not after recolouring. After fixing that, all nests have size 12 or 24.  --Lambiam 22:51, 9 June 2021 (UTC)[reply]
There are 10 reptile nests, 6 nests of 24 siblings and 4 nests of 12 siblings, together 6×24+4×12 = 192 reptiles (modulo recolouring, but not modulo flipping). If one randomly puts the 24 tiles in the 24 slots, the probability of having a solution (i.e., touching sides have matching colours) equals (24×1248)/24!. Given that it is a solution, the probability that it will have matching colours on opposite sides equals 192/1248 = 2/13 ≈ 15%.  --Lambiam 08:22, 10 June 2021 (UTC)[reply]


Follow up question: Is it possible to arrange my 24 tiles so that not a one edge is adjacent to the same colour? Duomillia (talk) 02:00, 14 June 2021 (UTC)[reply]

Yes; I found a solution.  --Lambiam 09:41, 14 June 2021 (UTC)[reply]
I expect that if you randomly assign the 24 tiles to the 24 slots, the probability of having no equally coloured adjacent edges is about (3/4)38. That would mean there are on the order of 1019 solutions.  --Lambiam 15:31, 14 June 2021 (UTC)[reply]

Injective function definition

The definition (per Injective function) is stated as . Isn't it an if and only if, since if a=b, then f(a) must equal f(b) or else f is not a function? Could someone clarify please?Nikolaih☎️📖 21:47, 8 June 2021 (UTC)[reply]

These are equivalent statements. It is a matter of taste which of several equivalent definitions one prefers.  --Lambiam 22:18, 8 June 2021 (UTC)[reply]
Actually the other implication, "", that is "", would not add much information. pma 05:57, 9 June 2021 (UTC)[reply]
Thank you for your clarificationsNikolaih☎️📖 07:13, 9 June 2021 (UTC)[reply]
This is also standard math writing. For example, MOS:MATH#TONE advises that "When defining a term, do not use the phrase "if and only if". For example, instead of A function f is even if and only if f(−x) = f(x) for all x, write A function f is even if f(−x) = f(x) for all x." --JBL (talk) 13:49, 9 June 2021 (UTC)[reply]
Correct, but I don't think that's the bit Nikolaih was talking about. A function is said to be injective if blah, rather than if and only if blah, but Nikolaih's point was about the implication inside blah itself. --Trovatore (talk) 17:31, 9 June 2021 (UTC)[reply]
Yes, I agree, thanks. --JBL (talk) 19:52, 9 June 2021 (UTC)[reply]

June 15

Risk board game graph

The Risk game board as a graph with intercontinental routes in grey and the asterisk denoting the route missing in the 40th Anniversary Collector's Edition

I made this diagram for the Risk (game) article. I wanted to make all edges rectilinear or at 45° angles but had to use two irregular angles (between Ural and China, and between Middle East and East Africa).

Is there a way to draw the graph with all edges rectilinear or at 45° angles, especially those within a continent (e.g. Ural-China)? Moving the vertex China left one space isn't a solution as Mongolia-China then becomes irregular.

Thanks,
cmɢʟeeτaʟκ 00:08, 15 June 2021 (UTC)[reply]

Experiment with rotating everything surrounding Irkutsk clockwise, the see if that lets you move China left one cell. Duomillia (talk) 00:43, 15 June 2021 (UTC)[reply]

Wait, now you are in trouble China to Siberia. Never mind Duomillia (talk) 00:45, 15 June 2021 (UTC)[reply]


Ok. Try this.

Push Siam to where China is, moving Australia to the right. Push China to where Siberia is. Move all of Siberia/Japan/Mongolia up one.

Duomillia (talk) 03:25, 15 June 2021 (UTC)[reply]

Still stuck for Mongolia this time. Next, rotate Siberia/Japan/Mongolia cc by just a bit, so it forms a square instead of a diamond. Duomillia (talk) 03:32, 15 June 2021 (UTC)[reply]

As for Middle East to East Africa, do you permit your routes to cross over each other? I suspect that's the only way to accomplish part 2. Do South Africa > Madagascar > East Africa > Egypt > right Duomillia (talk) 04:27, 15 June 2021 (UTC)[reply]

I found a way to make the other connection work:

W.Europe S.Europe —— Middle East
| Egypt |
———— N.Africa —— E.Africa
Congo | Madagascar
S.Africa

--116.86.4.41 (talk) 08:47, 15 June 2021 (UTC)[reply]

Also, the above solution for Ural–China forces the Alaska–Kamchatka link to break the alignment. An alternative solution for Ural–China without that problem is: move 6,5,12,4,8,10,2 up one space; move 1 and 3 to the right one space; and move 9 up and to the right one space; then move Australia over (several positions work), and move North America up one space to re-align the Alaska–Kamchatka link. --116.86.4.41 (talk) 08:59, 15 June 2021 (UTC)[reply]