Solving the Forming Pairs Problem: A Combinatorics Approach | Homework Help

  • Thread starter Thread starter dsfranca
  • Start date Start date
Click For Summary

Homework Help Overview

The problem involves determining the probability that a certain number of cards, k, are in the same position in two shuffled decks of n distinct cards each. The original poster has made some observations about the behavior of this probability as n increases and is seeking assistance with the combinatorial aspects of the problem.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants suggest starting with simpler cases, such as k=1 or even considering a single deck, to build understanding before generalizing.
  • There is a discussion about the interpretation of k cards, specifically whether it refers to "only k cards" or "at least k cards."
  • The original poster provides examples with specific card arrangements to illustrate their thought process and calculations regarding matching cards.

Discussion Status

Participants are actively engaging with the problem, offering suggestions for simplifying the approach and clarifying definitions. The original poster is still grappling with the combinatorial reasoning but has shared their attempts and is looking for further guidance.

Contextual Notes

The original poster has indicated a preference for focusing on the case of exactly k matching cards, which may influence the direction of the discussion. There is also a mention of specific calculations and examples that may not fully align with the original problem statement.

dsfranca
Messages
23
Reaction score
0

Homework Statement



Suppose we have two decks with n distinct cards each. After we shuffle the decks, what is the probability that k cards are in the same position in the two decks?

Homework Equations





The Attempt at a Solution


I have worked out that when n tends to infinity, the probability that 0 cards are in the same position is 1/e but I am having a lot of difficulties with the combinatorics aspect of the problem. Hope you guys could help me with that!
Thanks!
 
Physics news on Phys.org
i would start with k=1 first & see how you go
 
and maybe even one deck - always helps me to start simple, then generalise from there
 
you'll also have to decide if k cards means "only k cards" or "at least k cards"
 
Thanks for the answer lanedance. First of all, the answer I am looking for is only k, and I don't see how this problem would make sense with only one deck, as the most important aspect of it are two cards in the same position... I am still stuck...
 
Let's say there are 4 cards, we are looking for 3 cards.

positions:
1 2 3 4
1st deck.
1 2 3 4
1 2 4 3
1 3 2 4
1 3 4 2
1 4 2 3
1 4 3 2
2 1 3 4
2 1 4 3
2 3 1 4
2 3 4 1
2 4 1 3
2 4 3 1
3 1 2 4
3 1 4 2
3 2 1 4
3 2 4 1
4 1 2 3
4 1 3 2
4 2 1 3
4 2 3 1

So if you shuffle the deck so that the cards are in this order:

2 1 3 4

Then for 2 cards to be same you need:

2 1 3 4
2 1 4 3
2 4 3 1
2 3 1 4
4 1 3 2
3 1 2 4
1 2 3 4

total of 7. so the probability is 7/16

To get the things much clear. Let's say there are 5 cards. You need two cards two match:

2 1 3 4 5

2 1 . . . 3*2*1
2 . 3 . . 2*2+2*2
2 . . 4 . 2*2+1
2 . . . 5 1+1

. 1 3 . . 2*2+2*2
. 1 . 4 . 2*2+1
. 1 . . 5 1+1

. . 3 4 . 2*2+1
. . 3 . 4 1+1

. . . 4 5 1+1
-------------
total: 1*(2*2+2*2+2*2) +2*(2*2+2*2)+3*(2*2+1)+4*(1+1)=45

So the probability is 45/5!

I hope you can follow this pattern and find a formula.

Regards.
 
Last edited:

Similar threads

Replies
31
Views
7K
Replies
23
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 16 ·
Replies
16
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K