subject
Physics, 21.04.2020 17:49 AutumnGarringer

An inversion in a permutation of the integers 1 to n is a pair of numbers (not necessarily adjacent) such that the larger number is listed first. For example, in the permutation 4, 2, 3, 1, the inverted pairs are (4, 2), (4, 3), (4, 1) (2, 1) and (3, 1). By listing out all 24 permutations and counting the number of inversions in each (if you are lazy you can write a program to do this and attach the code as a separate file), calculate the expected number of inversions in a random permutation of 1, 2, 3 and 4. Then, using this result, posit a guess for the general result, in terms of n for permutations of 1, 2, 3, …, n. Try to prove this guess via a route that uses less calculation, but looks at an arbitrary pair of indexes into the permutation, say i and j with i < j and counts how many permutations for which this pair is "in order" and that this pair is in inverted.

ansver
Answers: 2

Another question on Physics

question
Physics, 22.06.2019 07:30
Tall pacific coast redwood trees can reach heights of about 100 m. if air drag is negligibly small, how fast is a sequola cone moving when it reaches the ground f it dropped from the top of a 100 m tree?
Answers: 1
question
Physics, 22.06.2019 16:20
Specific heat refers to the amount of heat required to change 1 gram of a substance by degree(s) celsius
Answers: 1
question
Physics, 23.06.2019 01:30
Aplane's average speed between two cities is 600 km/h. if the trip takes 2.5 hours, how far does the plane fly?
Answers: 2
question
Physics, 23.06.2019 01:30
Sally turns on her cellular telephone to speak to her friend who is located thousands of miles away. which of the following best describes how such a telephone is able to transmit and receive information? a. the cellular telephone transmits, receives, and encodes information using only sound waves. b. the cellular telephone transmits, receives, and encodes information using only electromagnetic waves. c. the cellular telephone transmits information by electromagnetic waves to a receiver which then encodes them and produces sound. d. the cellular telephone transmits information by sound waves to a receiver which then encodes them and produces electromagnetic waves.
Answers: 2
You know the right answer?
An inversion in a permutation of the integers 1 to n is a pair of numbers (not necessarily adjacent)...
Questions
question
Mathematics, 28.02.2020 05:15
question
Mathematics, 28.02.2020 05:15
question
Chemistry, 28.02.2020 05:16
question
Mathematics, 28.02.2020 05:16
Questions on the website: 13722362