<?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="Freivalds&#039; algorithm - Page 5 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Freivalds'_algorithm&amp;p=4">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Freivalds%27_algorithm&amp;p=6">3.Next</a>
</p>
<p>of them give the zero vector in this case ( and ), so the chance of randomly selecting these in two trials (and falsely concluding that AB=C) is 1/2<sup>2</sup> or 1/4. In the general case, the proportion of r yielding the zero vector may be less than 1/2, and a larger number of trials (such as 20) would be used, rendering the probability of error very small.</p>

<p><big>Error analysis</big></p>
<p>Let p equal the <a href="page.php?w=probability">probability</a> of error. We claim that if A&nbsp;&times;&nbsp;B = C, then p = 0, and if A&nbsp;&times;&nbsp;B</p><p>
<a accesskey="1" href="page.php?w=Freivalds'_algorithm&amp;p=4">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Freivalds%27_algorithm&amp;p=6">3.Next</a>
</p>

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

</card>
</wml>
