Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

It has been many days since I last posted. Feeling to post again

Anyway,

There had been eight men and eight hats. They were so much drunk that they could not recognise their own hats. So they picked them up in a random manner. Now what is the chance that **no man** will choose his own hat?

Of Course the first step is to find the factorial of 8 which is equal to the number of ways they can pick up the hats in. But it is such a large number that it would take years to write all of them down?

Can You give me the answer????

**I know the answer but I dont know how to derive it. So a help would be nice**

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 87,237

Hi;

**In mathematics, you don't understand things. You just get used to them.Of course that result can be rigorously obtained, but who cares?Combinatorics is Algebra and Algebra is Combinatorics.**

Offline

How do you get it?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,544

If I am correct,than this is the derangement problem for 8 elements. I think you can find it on Wikipedia.

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 87,237

Yes, this is a derangement problem. You can first use the approximation of

There are many formulas to generate the number of derangements.

**In mathematics, you don't understand things. You just get used to them.Of course that result can be rigorously obtained, but who cares?Combinatorics is Algebra and Algebra is Combinatorics.**

Offline

Thnks I will read the article but will you explain what is approximation of 1/e?

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 87,237

As n approaches infinity the probability of a derangement approaches 1 / e.

**In mathematics, you don't understand things. You just get used to them.Of course that result can be rigorously obtained, but who cares?Combinatorics is Algebra and Algebra is Combinatorics.**

Offline

http://upload.wikimedia.org/wikipedia/en/math/3/f/6/3f619a61786028a59a524136391f52f0.png

How do you prove the above?

Please explain step by step

Can't Understand

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 87,237

Hi;

I am sorry but I can not see that picture clearly.

Of course that result can be rigorously obtained, but who cares?

Combinatorics is Algebra and Algebra is Combinatorics.

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,544

Hi bobbym

It says !n=(n-1)*(!(n-1)+!(n-2))

*Last edited by anonimnystefy (2012-05-20 00:20:43)*

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

Offline

The formula is:

!n=(n-1) (!(n-1) + !(n-2))

*Last edited by Agnishom (2012-05-20 00:21:58)*

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 87,237

Hi Agnishom;

That is the recurrence relation for the number of derangements. Did you read this:

http://en.wikipedia.org/wiki/Derangement

About half way down the page they will describe the process. It is difficult.

Of course that result can be rigorously obtained, but who cares?

Combinatorics is Algebra and Algebra is Combinatorics.

Offline

They wrote:

Suppose that there are n persons numbered 1, 2, ..., n. Let there be n hats also numbered 1, 2, ..., n. We have to find the number of ways in which no one gets the hat having same number as his/her number. Let us assume that first person takes the hat i. There are n − 1 ways for the first person to choose the number i. Now there are 2 options:

1.Person i does not take the hat 1. This case is equivalent to solving the problem with n − 1 persons n − 1 hats: each of the remaining n − 1 people has precisely 1 forbidden choice from among the remaining n − 1 hats (i's forbidden choice is hat 1).2.Person i takes the hat of 1. Now the problem reduces to n − 2 persons and n − 2 hats.From this, the following relation is derived:

!n = (n - 1) (!(n-1) + !(n-2)).\,

Now would you please explain point 1 and 2

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 87,237

Hi Agnishom;

That is a standard book way of getting a recurrence form. I know it as East-West analysis from a famous book written by the late Herbert S. Wilf. Though I have read it many times I am unable to do it or even explain it. I am sorry about that, wish I could do more here.

Of course that result can be rigorously obtained, but who cares?

Combinatorics is Algebra and Algebra is Combinatorics.

Offline

Dear Bobbym,

Do you own a copy of Amusement in Mathematics by Henry. E. Dudeney?

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 87,237

Hi;

Yes.

Of course that result can be rigorously obtained, but who cares?

Combinatorics is Algebra and Algebra is Combinatorics.

Offline

Actually I don't understand these two lines:

1. Person i does not take the hat 1. This case is equivalent to solving the problem with n − 1 persons n − 1 hats: each of the remaining n − 1 people has precisely 1 forbidden choice from among the remaining n − 1 hats (i's forbidden choice is hat 1).

2. Person i takes the hat of 1. Now the problem reduces to n − 2 persons and n − 2 hats.

and why hat 1? Why dont we extend the list with Hat 2 and Hat 3 and forever???

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,544

You could've said that we start from Person 2 for the casework, but that wouldn't change much except a few indexes. The point of that casework is to see what are the values weget for each case that exists.

Here lies the reader who will never open this book. He is forever dead.

Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment

Offline

Actually I still don't get it

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**biffboy****Member**- Registered: 2012-03-23
- Posts: 1

Agnishom wrote:

It has been many days since I last posted. Feeling to post again

Anyway,

There had been eight men and eight hats. They were so much drunk that they could not recognise their own hats. So they picked them up in a random manner. Now what is the chance thatno manwill choose his own hat?

Of Course the first step is to find the factorial of 8 which is equal to the number of ways they can pick up the hats in. But it is such a large number that it would take years to write all of them down?Can You give me the answer????

I know the answer but I dont know how to derive it. So a help would be nice

I would have thought the answer was simply 7/8*6/7*5/6*4/5*.3/4*2/3*1/2*1/1=3/4

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 87,237

Hi biffboy;

Welcome to the forum! Please check the link in post #12.

Of course that result can be rigorously obtained, but who cares?

Combinatorics is Algebra and Algebra is Combinatorics.

Offline

Hi biffboy

Why do you calculate that way?

Pls Explain

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

Offline

**anonimnystefy****Real Member**- From: The Foundation
- Registered: 2011-05-23
- Posts: 15,544

Hi Agnishom

biffboy's solution isn't correct.

Here lies the reader who will never open this book. He is forever dead.

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 87,237

Hi Agnishom;

The calculating part is a derangement problem. biffboy's solution is not correct.

Of course that result can be rigorously obtained, but who cares?

Combinatorics is Algebra and Algebra is Combinatorics.

Offline

Pages: **1**