# Talk:Inversion (discrete mathematics)

WikiProject Computer science (Rated Stub-class)
This article is within the scope of WikiProject Computer science, a collaborative effort to improve the coverage of Computer science related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Stub  This article has been rated as Stub-Class on the project's quality scale.
 This article has been automatically rated by a bot or other tool because one or more other projects use this class. Please ensure the assessment is correct before removing the |auto= parameter.
WikiProject Mathematics (Rated Stub-class, Low-importance)
This article is within the scope of WikiProject Mathematics, a collaborative effort to improve the coverage of Mathematics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Mathematics rating:
 Stub Class
 Low Importance
Field: Discrete mathematics

## Bring over some content?

The discussion at Permutation#Inversions has a fair amount of content that would be worth bringing over to this article. I may do some of it myself (and perhaps do further editing of what's already here), but I'd love some help :) --Joel B. Lewis (talk) 22:07, 29 July 2011 (UTC)

## Images

Copied from talk page:
Hi Lipedia,
First, I wanted to say that it's nice to see that someone is doing some serious work adding illustrations to articles in discrete math and combinatorics. (Maybe also you do this in other areas, but those are the areas in which I watch pages.) Unfortunately, I think some of your pictures go overboard in how much information they contain. As a particular example, the four figures in Inversion (discrete mathematics) seem to take up as much space as the entire text of the article (though partly because this article is woefully under cared for); two of the four contain so much information that it requires several minutes of study to decipher them, and in both of these there seems to be notations/highlighting/colors that aren't explained at all. If you're interested, I'd be happy to discuss this with you in more detail -- let me know! (Perhaps we can also work on expanding and improving the text of the article so the images aren't quite so overwhelming.) --JBL (talk) 19:23, 8 July 2012 (UTC)

Since I included File:Inversion set and vector of a permutation.svg at the beginning, the example section at the end may be too much. I should move it to v:Inversion (discrete mathematics). I am going to create a link to this new page anyway. Lipedia (talk) 14:57, 9 July 2012 (UTC)

${\displaystyle b_{j}=\#\left\{i\in \{1,\ldots ,n\}\mid i>j~{\text{and}}~\sigma ^{-1}(i)<\sigma ^{-1}(j)\right\}}$
${\displaystyle l_{i}=\#\left\{j\in \{1,\ldots ,n\}\mid i\sigma (j)\right\}}$