Counting Problem: How to Get the Right Answer?

Click For Summary
SUMMARY

The discussion centers on calculating the number of k-element subsets B that share k-1 elements with a given k-element subset A from the set {1, 2, ..., n}. The correct formula for determining the number of valid subsets B is k(n-k), which accounts for k choices from A and (n-k) choices from the complement of A. The participant initially miscalculated by using (n-k+1)k - \frac{k(k-1)}{2}, leading to overcounting. The clarification emphasizes that if "k-1 elements in common" includes "at least k-1 elements," then the subset A itself must also be counted.

PREREQUISITES
  • Understanding of combinatorial mathematics
  • Familiarity with set theory and subsets
  • Basic knowledge of counting principles
  • Ability to manipulate algebraic expressions
NEXT STEPS
  • Study combinatorial counting techniques in detail
  • Learn about set operations and their implications in combinatorics
  • Explore advanced topics in combinatorial proofs
  • Practice problems involving subsets and their intersections
USEFUL FOR

Mathematicians, students studying combinatorics, educators teaching set theory, and anyone interested in solving counting problems in discrete mathematics.

morphism
Science Advisor
Homework Helper
Messages
2,014
Reaction score
4
Suppose you pick a k-element subset of {1, 2, ..., n}, call it A. How many of the other k-element subsets have k-1 elements in common with A?

I've been at this for quite some time, but I always overcount. Can anyone help me out? My last attempt gave me (n-k+1)k - \frac{k(k-1)}{2}, which isn't always correct. I feel I'm missing something simple.
 
Last edited:
Physics news on Phys.org
How many choices for B are there such that B is a k-element subset with k-1 elements in common with A? There are k-choices for the element of A that B doesn't have, and n-k choices for the element of AC that B does have, giving a total of k(n-k) choices for B. And if by "k-1 elements in common" you mean "at least k-1 elements in common," add 1 to include A.
 
Thanks! My problem was that I always took n-k+1 for the element of A^c that B doesn't have, which forced me to overcomplicate things thinking my reasoning was wrong, when in fact it was only a simple overcount.
 

Similar threads

Replies
17
Views
2K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K