<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Inversion (discrete mathematics) - Page 1 - Wikipedia">
<p>
<a accesskey="3" href="page.php?w=inversion_%28discrete_mathematics%29&amp;p=2">3.Next</a>
</p>
<p>In <a href="page.php?w=computer_science">computer science</a> and <a href="page.php?w=discrete_mathematics">discrete mathematics</a>, an <b>inversion</b> in a sequence is a pair of elements that are out of their natural <a href="page.php?w=total_order">order</a>.</p>

<p><big> Definitions </big></p>
<p><big>Inversion</big></p>
<p>Let  be a <a href="page.php?w=permutation">permutation</a>.  There is an <b>inversion</b> of  between  and  if  and .  The inversion is indicated by an <a href="page.php?w=ordered_pair">ordered pair</a> containing either the places  or</p><p>
<a accesskey="3" href="page.php?w=inversion_%28discrete_mathematics%29&amp;p=2">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
