Difficult Math Problem Based on Inversions Hard Fun HELP

  • Thread starter Thread starter katek8k8
  • Start date Start date
  • Tags Tags
    Fun Hard
AI Thread Summary
The problem involves calculating the number of inversions in a sequence of integers after moving the sixth smallest number from the first position to the last. Initially, there are 38 inversions, with 5 inversions attributed to the first number being in the front. Moving this number to the end eliminates those 5 inversions but introduces 14 new inversions due to the reordering of the remaining numbers. This results in a net increase of 9 inversions, leading to a total of 47 inversions in the new arrangement. The solution clarifies the inversion dynamics effectively.
katek8k8
Messages
3
Reaction score
0

Homework Statement


Given integers 4, 8, 7, 5. An inversion occurs when one integer is larger than an integer that follows it; thus, in the above arrangement there are two inversions due to 8 and one due to 7 or three inversions in all. There are twenty distinct possible integers arranged in some order with the sixth smallest in the first position. The number of inversions in this arrangement in 38. If the first integer is now moved to the last position, how many inversions are there in the new arrangement?



The Attempt at a Solution


Well if there are 38 inversions, and the sixth smallest number is first, that means there has to be 15 inversions following it in the pattern that would be eliminated by 5 if it were to move to the end of the list of numbers. That leads us to 33 inversions, but the problem still isn't complete.
Someone help PLEASE?
:)
 
Physics news on Phys.org
If the sixth smallest number is first in the list, then there are 5 inversions due to that number being first in the list. By moving it to the end, we eliminate those 5 inversions. But by moving it to the end, we introduce 14 new inversions, caused by the 7th-20th hands having new inversions. So by moving this number to the right, we have created a net of nine new inversions. Nothing else changes, so our new number of inversions is 47.
 
thank you SO much! that makes a lot of sense. i really appreciate it
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...

Similar threads

Replies
11
Views
2K
Replies
33
Views
4K
Replies
25
Views
4K
2
Replies
69
Views
8K
Replies
8
Views
2K
Replies
21
Views
3K
Back
Top