There are jobs with distinct difficulty levels, and computers with distinct processing speeds. Each job is assigned to a computer such that:
- The fastest computer gets the toughest job and the slowest computer gets the easiest job.
- Every computer gets at least one job.
The number of ways in which this can be done is ___________.
View worked solution
Answer: 65 : 65
Let the jobs ordered by increasing difficulty be , where is the easiest and is the toughest.
Let the computers ordered by increasing speed be .
According to the given conditions:
- The fastest computer () must get the toughest job ().
- The slowest computer () must get the easiest job ().
This pre-assigns to and to . Now, both and already have at least one job assigned to them.
We have remaining jobs () to be distributed among the computers such that the remaining condition is satisfied: Every computer gets at least one job.
Since and already have jobs, this condition is satisfied as long as the medium computer () gets at least one of the remaining jobs.
We can calculate this using the subtraction principle:
- Total ways to assign the remaining jobs to the computers without restriction:
- Invalid ways where gets jobs (i.e., the jobs are distributed only between and ):
Therefore, the number of valid ways is:
Free practice · Your answers on this page are not saved.
