It is currently Fri May 09, 2025 6:26 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 117 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
Offline
 Post subject: Re: Math puzzles
Post #41 Posted: Wed Nov 17, 2010 12:54 pm 
Tengen

Posts: 4382
Location: Caldas da Rainha, Portugal
Liked others: 499
Was liked: 733
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
Dr. Straw, is there some hidden problem there? I thought he was just being a little inexplicit, by not writing "i.e. for all x, f(x) + g(x) = x".

_________________
Occupy Babel!

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #42 Posted: Wed Nov 17, 2010 1:55 pm 
Lives with ko
User avatar

Posts: 163
Location: Oregon
Liked others: 8
Was liked: 23
Rank: 5K or so
GD Posts: 163
KGS: GoCat
DrStraw wrote:
Now for the simplest answer. As the domain and range of the functions are not defined I am going to take them both as the reals modulo 1. Then f(x) = g(x) = x/2 gives the desired solution.

This is a much nicer version of the answer I tried to compose using clocks. But then, you're a mathematician.... so you would know how to do it right! I guess in these terms, I was thinking of f(x) = 2x, g(x) = -x. I think the idea was in my head, just didn't have the math to state it clearly!

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #43 Posted: Wed Nov 17, 2010 1:56 pm 
Lives in sente
User avatar

Posts: 924
Location: Pittsburgh
Liked others: 45
Was liked: 103
Rank: lazy
KGS: redundant/silchas
Tygem: redundant
Wbaduk: redundant
DGS: redundant
OGS: redundant
There are very many nice properties of the zero ring. Any equation involving any of its elements are true.

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #44 Posted: Wed Nov 17, 2010 2:05 pm 
Lives in gote

Posts: 302
Liked others: 70
Was liked: 8
Rank: DDK
KGS: Sujisan 12 kyu
OGS: Sujisan 13 kyu
Here's a problem related to Redundant's, and I'm not quite sure how I solved it since in my solution M/2 was still an infinite number.

Imagine 200 people in prison and the prison warden makes them a deal that if they can guess the color of the hat on their head they get to go free. The Warden, knowing the solution to Redundant's problem, decides to make it a bit harder on the prisoners and not only uses Black and White hats but uses Red, Green, and Blue hats as well.

So, the Warden with his five colors of hats decides to give the prisoners time to develop a strategy beforehand. When the judgment day arrives, so to speak, he is going to put all the prisoners in a room and ask them the color of their hat. If they get it correct, they can go free. If they are incorrect, they have to stay there and serve the remainder of their original sentence.

Obviously, they can see everybody else's hat and not their own.

What is the optimal solution for the prisoners?

_________________
My plan to become an SDK is here.

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #45 Posted: Wed Nov 17, 2010 6:27 pm 
Lives in sente
User avatar

Posts: 924
Location: Pittsburgh
Liked others: 45
Was liked: 103
Rank: lazy
KGS: redundant/silchas
Tygem: redundant
Wbaduk: redundant
DGS: redundant
OGS: redundant
The infinite case still works the same as before :)

Finitely ... I'll have to think about this.


Another cool problem. Find two sets (A and B) that partition the naturals (including zero) subject to the following condition: for each n, the number of distinct unordered pairs in A that sum to n is the same as those for B.

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #46 Posted: Wed Nov 17, 2010 8:39 pm 
Dies in gote

Posts: 35
Liked others: 3
Was liked: 4
Rank: Not Good
KGS: Something
DrStraw wrote:
flOvermind wrote:
Puzzle 1:
Find two periodic functions f and g, such that their sum is the identity function (that is, f(x) + g(x) = x).


I still have an issue with the statement of the problem. The operation is function addition and x is not the identity for that operation. x is only the identity under function composition.

Now for the simplest answer. As the domain and range of the functions are not defined I am going to take them both as the reals modulo 1. Then f(x) = g(x) = x/2 gives the desired solution.


Identity function: f(x)=x

Not that confusing.

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #47 Posted: Thu Nov 18, 2010 3:29 am 
Lives with ko
User avatar

Posts: 295
Location: Linz, Austria
Liked others: 21
Was liked: 44
Rank: EGF 4 kyu
GD Posts: 627
DrStraw wrote:
I still have an issue with the statement of the problem. The operation is function addition and x is not the identity for that operation. x is only the identity under function composition.

The problem with that is probably that English is not my native language. That's why I've written the clarifying definition "f(x)+g(x)=x", because I was not sure if "identity function" is the correct word.

DrStraw wrote:
Now for the simplest answer. As the domain and range of the functions are not defined I am going to take them both as the reals modulo 1. Then f(x) = g(x) = x/2 gives the desired solution.

These functions are not periodic. There doesn't exist a d>0 such that f(x) = f(x+d).


This post by flOvermind was liked by: wms
Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #48 Posted: Thu Nov 18, 2010 3:33 am 
Lives with ko
User avatar

Posts: 295
Location: Linz, Austria
Liked others: 21
Was liked: 44
Rank: EGF 4 kyu
GD Posts: 627
Solution to Problem 1:
robinz wrote:
Oh, I think I see (based on the last hint). NB: don't look at the hidden text unless you want to see the solution. (Ignore that last sentence and read it if it subsequently gets shot down though - but I'm pretty sure it works.)

So you basically choose a basis for the reals over the rationals - this bit requires the axiom of choice. Then you pick any two elements of your basis - they may as well be 1 and pi, or your favourite irrational number - and express any x as x=a+b*pi+{a linear combination of the other basis elements}. Then just set, for example, f(x)=b*pi+{blah}, g(x)=a, and you have a solution. (f has period 1, g has period pi.)

Nice - I really ought to have been able to come up with that from the earlier hints :bow:


Correct. :clap: :clap: :clap:

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #49 Posted: Thu Nov 18, 2010 3:53 am 
Lives in gote
User avatar

Posts: 476
Liked others: 193
Was liked: 83
Rank: Dutch 2 dan
GD Posts: 56
KGS: hopjesvla
More about problem #2:

Shaddy, my algorithm shows a paradox that arises by defining these equivalence classes. It's not even directly related to the original problem (though, of course, if the concept of equivalence classes is shown to be bogus, the original solution doesn't work). The fact that each individual lacks knowledge of one hat is not relevant for my algorithm.

Bill Spight wrote:
As for the difference between "for each" and "for all", modern mathematical logic does not recognize it. The key to the difference is what Redundant says: your process does not halt. So, even though the bit is flipped for each element, at no point in the process is it flipped for all of the elements. The process remains in the realm of the potentially infinite. Aristotle would say that, even though each element is eventually changed, we cannot conclude that all of the elements are eventually changed. The number of changed elements is always finite.

Consider how paradoxes arise in probability theory when you try to consider actually infinite sets. Jaynes is right, IMO, that we should construct finite models and take them to the limit. In that he is following Aristotle, although I do not know if he was aware of Aristotle's distinction. :)


I understand what you mean - my algorithm will never reach the point where all elements (or an infinite number, for that matter) are flipped. The point is, again, that there exists no way to find the equivalence classes either - any calculation will not finish in the same manner. So my technical problem is: how do you define this world? I am keeping in mind that this world is completely detached from reality! But you cannot say: "despite the fact that you can obviously never calculate for all elements, our solution algorithm is valid; but your algorithm is not valid because you can never calculate for all elements."

By the way, I couldn't agree more with your paraphrasing of Jaynes. Not beginning with finite models taken to the limit can lead to this kind of insanity :).

_________________
My name is Gijs, from Utrecht, NL.

When in doubt, play the most aggressive move

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #50 Posted: Thu Nov 18, 2010 9:37 am 
Lives in sente
User avatar

Posts: 924
Location: Pittsburgh
Liked others: 45
Was liked: 103
Rank: lazy
KGS: redundant/silchas
Tygem: redundant
Wbaduk: redundant
DGS: redundant
OGS: redundant
gaius wrote:
More about problem #2:

Shaddy, my algorithm shows a paradox that arises by defining these equivalence classes. It's not even directly related to the original problem (though, of course, if the concept of equivalence classes is shown to be bogus, the original solution doesn't work). The fact that each individual lacks knowledge of one hat is not relevant for my algorithm.


I'll give a proof of the well definedness of the equivalence relation. We must check that it is reflexive, symmetric, and transitive.

Let a, b, and c be sequences of zero and one. a has zero differences with a, so the relation is reflexive. If a differs from b on some finite set, then b differs from a on the same finite set by the transitivity of equality. Now, if a differs from b on some set (of places in the sequence) S, and b differs from c on T, then a differs from C on at most cardinal of S union T places. Since both S and T are finite, their union is finite also.

Your notion seems to be one of computability, that we cannot ever actually tell whether or not two sequences are in the same equivalence class in finite time. This is true, but not relevant to the mathematics. It's just another example of how this algorithm is not possible in reality. However, mathematics is in no way meant to be a model for reality.

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #51 Posted: Thu Nov 18, 2010 10:02 am 
Lives in sente
User avatar

Posts: 1206
Liked others: 51
Was liked: 192
Rank: KGS 5d
KGS: Str1fe, Midorisuke
ah, yeah, i misunderstood your algorithm. red and bill have said everything i wanted to say now that i understand, though..

edit: i have thought of something to say. for any n finite, it will not halt. if we accept that it can compute infinitely like the people in the problem, then it will halt- but you've changed an infinite number of terms, so the equivalence still works.


This post by Shaddy was liked by: gaius
Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #52 Posted: Thu Nov 18, 2010 10:44 am 
Lives in gote
User avatar

Posts: 476
Liked others: 193
Was liked: 83
Rank: Dutch 2 dan
GD Posts: 56
KGS: hopjesvla
EDIT: Shaddy came up with a very interesting point! My gut feeling is still protesting, but I'll have to sleep on it before I'll say anything more here :).

@Redundant: OK, you just (I think) proved that the equivalence relation is well-defined when applied to a finite number of sets. Whether or not this automatically implies that the collection of equivalence classes forms a discrete basis set for all the infinite sequences of ones and zeroes is beyond me.

More importantly though, you did not really address my argument, which is pertinently NOT one of computability. I have stated many times that I am willing to accept infinite memory and runtimes. However, I will, yet again, repeat my problem, which you did NOT address:
Myself wrote:
You cannot say: "despite the fact that you can obviously never calculate for all elements, our solution algorithm is valid; but your algorithm is not valid because you can never calculate for all elements."

I have provided an algorithm that, provided infinite runtimes are available, will give an inconsistency in your model. I would love to hear why this does not actually break your logic; unfortunately, it seems that no one here has a deep enough understanding of the math to explain this. That's fine, neither do I, but please either address this issue or admit that you don't know the answer!

_________________
My name is Gijs, from Utrecht, NL.

When in doubt, play the most aggressive move

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #53 Posted: Thu Nov 18, 2010 11:25 am 
Lives in sente
User avatar

Posts: 924
Location: Pittsburgh
Liked others: 45
Was liked: 103
Rank: lazy
KGS: redundant/silchas
Tygem: redundant
Wbaduk: redundant
DGS: redundant
OGS: redundant
gaius wrote:
I have provided an algorithm that, provided infinite runtimes are available, will give an inconsistency in your model. I would love to hear why this does not actually break your logic; unfortunately, it seems that no one here has a deep enough understanding of the math to explain this. That's fine, neither do I, but please either address this issue or admit that you don't know the answer!


Back to this, you say that because after infinite time, your algorithm gives a member of a new equivalence class means that there is some n where we actually change equivalence class. This is false.

Consider the sequence of (1/n) it converges to zero, yet no element of the sequence is nonzero. It's the same here, the "end result" of the process of changing finitely many elements at once an infinite number of times is in a different equivalence class, but at no point in the process do we change equivalence classes.

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #54 Posted: Thu Nov 18, 2010 11:53 am 
Oza
User avatar

Posts: 2659
Liked others: 310
Was liked: 631
Rank: kgs 6k
Shaddy wrote:
problem 2:
Take the equivalence on infinite sequences of 0s and 1s that two sequences are equal iff they differ in finitely many places. Each person knows all of the equivalence classes and they agree on a specific sequence for each equivalence class. By the axiom of choice, they can do this. When the hats are distributed, the people line up and this is one of the equivalence classes - (since each person is only one person, it will not change the finiteness of how the sequence differs from the others in the class) so each person recites whether there is a 0 or 1 in that place in the memorized sequence. This differs in at most finitely many places from the memorized sequence, so only finitely many people can get it wrong.

Shaddy, will you say a little bit more about your solution? It seems to me that a lot is riding on an ambiguity in "This" in the last sentence. You would agree, right, that when the Nth person recites his number, the maximum number of people who could have gotten their number wrong is "N", and that the number of people who have gotten their number right will be a binomial around N/2?

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #55 Posted: Thu Nov 18, 2010 12:03 pm 
Oza

Posts: 2180
Location: ʍoquıɐɹ ǝɥʇ ɹǝʌo 'ǝɹǝɥʍǝɯos
Liked others: 237
Was liked: 662
Rank: AGA 5d
GD Posts: 4312
Online playing schedule: Every tenth February 29th from 20:00-20:01 (if time permits)
flOvermind wrote:
DrStraw wrote:
Now for the simplest answer. As the domain and range of the functions are not defined I am going to take them both as the reals modulo 1. Then f(x) = g(x) = x/2 gives the desired solution.

These functions are not periodic. There doesn't exist a d>0 such that f(x) = f(x+d).


Yes they are: d=1. For example f(0.5) = f(1.5) = f(2.5) = 0.25

_________________
Still officially AGA 5d but I play so irregularly these days that I am probably only 3d or 4d over the board (but hopefully still 5d in terms of knowledge, theory and the ability to contribute).

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #56 Posted: Thu Nov 18, 2010 12:05 pm 
Oza

Posts: 2180
Location: ʍoquıɐɹ ǝɥʇ ɹǝʌo 'ǝɹǝɥʍǝɯos
Liked others: 237
Was liked: 662
Rank: AGA 5d
GD Posts: 4312
Online playing schedule: Every tenth February 29th from 20:00-20:01 (if time permits)
Time wrote:
Identity function: f(x)=x

Not that confusing.


As I said, that is only the identity function under the operation of composition, but the problem is one of function addition. The identity function under addition is f(x) = 0.

_________________
Still officially AGA 5d but I play so irregularly these days that I am probably only 3d or 4d over the board (but hopefully still 5d in terms of knowledge, theory and the ability to contribute).

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #57 Posted: Thu Nov 18, 2010 12:18 pm 
Lives in sente
User avatar

Posts: 924
Location: Pittsburgh
Liked others: 45
Was liked: 103
Rank: lazy
KGS: redundant/silchas
Tygem: redundant
Wbaduk: redundant
DGS: redundant
OGS: redundant
jts wrote:
Shaddy wrote:
problem 2:
Take the equivalence on infinite sequences of 0s and 1s that two sequences are equal iff they differ in finitely many places. Each person knows all of the equivalence classes and they agree on a specific sequence for each equivalence class. By the axiom of choice, they can do this. When the hats are distributed, the people line up and this is one of the equivalence classes - (since each person is only one person, it will not change the finiteness of how the sequence differs from the others in the class) so each person recites whether there is a 0 or 1 in that place in the memorized sequence. This differs in at most finitely many places from the memorized sequence, so only finitely many people can get it wrong.

Shaddy, will you say a little bit more about your solution? It seems to me that a lot is riding on an ambiguity in "This" in the last sentence. You would agree, right, that when the Nth person recites his number, the maximum number of people who could have gotten their number wrong is "N", and that the number of people who have gotten their number right will be a binomial around N/2?


Looking at the other people, each person will know which equivalence class they are in (as they only fail to know the state of their own hat). Thus everyone will guess based on the same representative of that equivalence class, which differs from the true distribution in only finitely many places.

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #58 Posted: Thu Nov 18, 2010 12:20 pm 
Lives in sente
User avatar

Posts: 924
Location: Pittsburgh
Liked others: 45
Was liked: 103
Rank: lazy
KGS: redundant/silchas
Tygem: redundant
Wbaduk: redundant
DGS: redundant
OGS: redundant
DrStraw wrote:
flOvermind wrote:
DrStraw wrote:
Now for the simplest answer. As the domain and range of the functions are not defined I am going to take them both as the reals modulo 1. Then f(x) = g(x) = x/2 gives the desired solution.

These functions are not periodic. There doesn't exist a d>0 such that f(x) = f(x+d).


Yes they are: d=1. For example f(0.5) = f(1.5) = f(2.5) = 0.25


It helps to know that the reals modulo one are isomorphic to the zero ring, that is that everything is zero. DrStraw's solution is correct as far as the problem statement is concerned, but a little underhanded, demonstrating that the problem is not sufficiently well defined.

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #59 Posted: Thu Nov 18, 2010 12:58 pm 
Tengen

Posts: 4382
Location: Caldas da Rainha, Portugal
Liked others: 499
Was liked: 733
Rank: AGA 3k
GD Posts: 65
OGS: Hyperpape 4k
I'm not sure if this will help anyone, but here is where I first heard of the infinite prisoners/hats puzzle--it has a fair bit of exposition. http://cornellmath.wordpress.com/2007/0 ... -is-wrong/

_________________
Occupy Babel!

Top
 Profile  
 
Offline
 Post subject: Re: Math puzzles
Post #60 Posted: Thu Nov 18, 2010 1:32 pm 
Lives with ko
User avatar

Posts: 295
Location: Linz, Austria
Liked others: 21
Was liked: 44
Rank: EGF 4 kyu
GD Posts: 627
DrStraw wrote:
flOvermind wrote:
DrStraw wrote:
Now for the simplest answer. As the domain and range of the functions are not defined I am going to take them both as the reals modulo 1. Then f(x) = g(x) = x/2 gives the desired solution.

These functions are not periodic. There doesn't exist a d>0 such that f(x) = f(x+d).


Yes they are: d=1. For example f(0.5) = f(1.5) = f(2.5) = 0.25


But under the reals modulo 1, 1 = 0, therefore, d is not > 0 ;)
Or, if you define f as a function from the reals to the reals mod 1, f(x) != x. Either the functions are not periodic, or their sum is not the identical mapping (is that the correct English word?).

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 117 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group