Inequality proof: how many ways are there a1 =< =< ak =< n?

  • Thread starter Thread starter ptolema
  • Start date Start date
  • Tags Tags
    Inequality Proof
Click For Summary

Homework Help Overview

The problem involves finding the number of ways to select integers \( a_1, a_2, \ldots, a_k \) such that \( a_1 \leq a_2 \leq \ldots \leq a_k \leq n \), where \( k \) and \( n \) are positive integers. The context is combinatorial, focusing on ordered selections and partitions of integers.

Discussion Character

  • Exploratory, Conceptual clarification, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the initial approach of using permutations and the challenges that arise. There is a suggestion to consider the problem in terms of partitioning integers into groups while preserving order. Questions arise about the nature of the sets and whether elements can be distinct.

Discussion Status

The discussion is ongoing, with participants offering guidance on reasoning and suggesting simpler examples to clarify the problem. There is an acknowledgment of potential missing information regarding the constraints on the integers involved.

Contextual Notes

Participants note the ambiguity regarding the minimum value of \( a_1 \) and whether it can be zero or must be at least one, which could affect the number of solutions. The discussion also touches on the representation of integers and the arrangement of markers to visualize the selections.

ptolema
Messages
82
Reaction score
0

Homework Statement



Let k and n be positive integers. In how many ways are there integers a1≤ a2≤ ... ≤ ak≤ n.

Homework Equations





The Attempt at a Solution


I don't really know where to begin. Simply using permutations doesn't seem to work. I know that for a1, there are n integers to choose from. For the next number, there are 1 + (n-a1) integers to choose from. I'm reasonable sure that I can generalise this to say that for ak, there are 1+(n-ak-1) integers to choose from. From that point, I'm afraid I'm lost as to where to go with this.
 
Physics news on Phys.org
well deciding on a set with a1≤ a2≤ ... ≤ ak≤ n effectively partitions n integers into k+1 groups, preserving order, so maybe you could see if you can figure how many ways there is to form k+1 partitions from n objects
 
lanedance said:
well deciding on a set with a1≤ a2≤ ... ≤ ak≤ n effectively partitions n integers into k+1 groups, preserving order, so maybe you could see if you can figure how many ways there is to form k+1 partitions from n objects

So you're saying that n integers have been partitioned into (k+1) element groups, just to be clear? Would it be nCk+1, then? Or rather, since the sets are ordered, nPk+1? Is it assumed that the set {a1, a2, ..., ak, n} may not have all distinct elements?
 
Try to put some reasoning behind your arguments, rather than just throwing expressions. I haven't done the work so can't just tick a box, just trying to guide your thinking..

Another good way to start that may help is always to try a simple example, pick say n=5 and k=2. Now consider the ways to arrange 2 x's and 3 o's, how many different arrangements are there? Can you relate that to the problem at hand and are there any combinations that don't line up with the question?
 
There seems to be a piece of information missing. can't just be integers since that allows negatives, and there'd be an infinity of solutions. So should we assume a1 >= 0 or a1 >= 1?
lanedance's suggestion is good, but there's a trick to solving that. Imagine the integers 1 to n in a line. Insert markers into the line to show where the ai are: the first marker lies to the right of a1 and left of a1+1; second marker lies to the right of a2 (and to the right of the first marker if a1=a2), and to the left of a2+1, etc.
Does each choice of a1...ak lead to a different arrangement of markers? And vice versa?
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 1 ·
Replies
1
Views
8K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K