<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=12.18.100.126</id>
	<title>formulasearchengine - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=12.18.100.126"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/wiki/Special:Contributions/12.18.100.126"/>
	<updated>2026-05-30T18:49:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0-wmf.28</generator>
	<entry>
		<id>https://en.formulasearchengine.com/index.php?title=Service_level&amp;diff=10718</id>
		<title>Service level</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Service_level&amp;diff=10718"/>
		<updated>2014-01-27T19:28:27Z</updated>

		<summary type="html">&lt;p&gt;12.18.100.126: /* Service level */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In [[mathematics]], in particular [[linear algebra]], the &#039;&#039;&#039;Sherman–Morrison formula&#039;&#039;&#039;,&amp;lt;ref name=&amp;quot;SM1949&amp;quot;&amp;gt;{{cite journal &lt;br /&gt;
|first=Jack |last=Sherman &lt;br /&gt;
|first2=Winifred J. |last2=Morrison &lt;br /&gt;
|title=Adjustment of an Inverse Matrix Corresponding to Changes in the Elements of a Given Column or a Given Row of the Original Matrix (abstract) &lt;br /&gt;
|journal=Annals of Mathematical Statistics &lt;br /&gt;
|volume=20 |pages=621 |year=1949 &lt;br /&gt;
|doi=10.1214/aoms/1177729959 }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;SM1950&amp;quot;&amp;gt;{{cite journal &lt;br /&gt;
|first=Jack |last=Sherman &lt;br /&gt;
|first2=Winifred J. |last2=Morrison &lt;br /&gt;
|title=Adjustment of an Inverse Matrix Corresponding to a Change in One Element of a Given Matrix &lt;br /&gt;
|journal=[[Annals of Mathematical Statistics]] &lt;br /&gt;
|volume=21 |issue=1 |pages=124&amp;amp;ndash;127 |year=1950 &lt;br /&gt;
|doi=10.1214/aoms/1177729893 |mr=35118 | zbl=0037.00901 }}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;PFTV1992&amp;quot;&amp;gt;{{Citation &lt;br /&gt;
|last1=Press |first1=William H. &lt;br /&gt;
|last2=Teukolsky |first2=Saul A. &lt;br /&gt;
|last3=Vetterling |first3=William T. &lt;br /&gt;
|last4=Flannery |first4=Brian P. &lt;br /&gt;
|title=Numerical Recipes: The Art of Scientific Computing |edition=3rd |year=2007 |publisher=Cambridge University Press |publication-place=New York &lt;br /&gt;
|isbn=978-0-521-88068-8 &lt;br /&gt;
|chapter=Section 2.7.1 Sherman–Morrison Formula&lt;br /&gt;
|chapter-url=http://apps.nrbook.com/empanel/index.html?pg=76 }}&amp;lt;/ref&amp;gt; named after Jack Sherman and Winifred J. Morrison, computes the inverse of the sum of an [[inverse matrix|invertible]] [[matrix (mathematics)|matrix]] &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;&lt;br /&gt;
and the [[outer product]], &amp;lt;math&amp;gt;u v^T&amp;lt;/math&amp;gt;, of [[vector (mathematics)|vectors]] &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;. The Sherman–Morrison formula is a special case of the [[Woodbury matrix identity|Woodbury formula]].  &lt;br /&gt;
Though named after Sherman and Morrison, it appeared already in earlier publications.&amp;lt;ref name=&amp;quot;hager&amp;quot;&amp;gt;{{cite journal&lt;br /&gt;
|first=William W. |last=Hager &lt;br /&gt;
|title=Updating the inverse of a matrix &lt;br /&gt;
|journal=SIAM Review &lt;br /&gt;
|volume=31 |year=1989 |pages=221&amp;amp;ndash;239 |issue=2 &lt;br /&gt;
|doi=10.1137/1031049 |mr=997457 |jstor=2030425 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Statement ==&lt;br /&gt;
Suppose &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is an [[invertible]] [[square matrix]] and &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; are [[Vector (geometric)|vectors]]. Suppose furthermore that &amp;lt;math&amp;gt;1 + v^T A^{-1}u \neq 0&amp;lt;/math&amp;gt;. Then the Sherman–Morrison formula states that&lt;br /&gt;
:&amp;lt;math&amp;gt;(A+uv^T)^{-1} = A^{-1} - {A^{-1}uv^T A^{-1} \over 1 + v^T A^{-1}u}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, &amp;lt;math&amp;gt;uv^T&amp;lt;/math&amp;gt; is the [[outer product]] of two vectors &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;.  The general form shown here is the one published by Bartlett.&amp;lt;ref name=&amp;quot;B1951&amp;quot;&amp;gt;{{cite journal&lt;br /&gt;
 |first=Maurice S. |last=Bartlett&lt;br /&gt;
 |title=An Inverse Matrix Adjustment Arising in Discriminant Analysis&lt;br /&gt;
 |journal=[[Annals of Mathematical Statistics]]&lt;br /&gt;
 |volume=22 |issue=1 |pages=107&amp;amp;ndash;111 |year=1951&lt;br /&gt;
 |doi=10.1214/aoms/1177729698 |mr=40068 | zbl = 0042.38203&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Application==&lt;br /&gt;
&lt;br /&gt;
If the inverse of &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is already known, the formula provides a&lt;br /&gt;
[[Computational complexity theory|numerically]] [[Computationally expensive|cheap]] way&lt;br /&gt;
to compute the inverse of &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; corrected by the matrix &amp;lt;math&amp;gt;uv^T&amp;lt;/math&amp;gt;&lt;br /&gt;
(depending on the point of view, the correction may be seen as a &lt;br /&gt;
[[perturbation theory|perturbation]] or as a [[rank (linear algebra)|rank]]-1 update).&lt;br /&gt;
The computation is relatively cheap because the inverse of &amp;lt;math&amp;gt;A+uv^T&amp;lt;/math&amp;gt;&lt;br /&gt;
does not have to be computed from scratch (which in general is expensive),&lt;br /&gt;
but can be computed by correcting (or perturbing) &amp;lt;math&amp;gt;A^{-1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[unit column]]s (columns from the [[identity matrix]]) for &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;, individual columns or rows of &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; may be manipulated&lt;br /&gt;
and a correspondingly updated inverse computed relatively cheaply in this way.&amp;lt;ref&amp;gt;Langville, Amy N.; and Meyer, Carl D.; &amp;quot;Google&#039;s PageRank and Beyond: The Science of Search Engine Rankings&amp;quot;, Princeton University Press, 2006, p. 156&amp;lt;/ref&amp;gt; In the general case, where &amp;lt;math&amp;gt;A^{-1}&amp;lt;/math&amp;gt; is a &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; times &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; matrix&lt;br /&gt;
and &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; are arbitrary vectors of dimension &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, the whole matrix is updated&amp;lt;ref name=&amp;quot;B1951&amp;quot; /&amp;gt; and the computation takes &amp;lt;math&amp;gt;3n^2&amp;lt;/math&amp;gt; scalar multiplications.&amp;lt;ref&amp;gt;[http://www.alglib.net/matrixops/general/invupdate.php Update of the inverse matrix by the Sherman–Morrison formula]&amp;lt;/ref&amp;gt; If &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; is a unit column, the computation takes only &amp;lt;math&amp;gt;2n^2&amp;lt;/math&amp;gt; scalar multiplications. The same goes if &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; is a unit column.  If both &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; are unit columns, the computation takes only &amp;lt;math&amp;gt;n^2&amp;lt;/math&amp;gt; scalar multiplications.&lt;br /&gt;
&lt;br /&gt;
==Verification==&lt;br /&gt;
&lt;br /&gt;
We verify the properties of the inverse.&lt;br /&gt;
A matrix &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; (in this case the right-hand side of the Sherman–Morrison formula)&lt;br /&gt;
is the inverse of a matrix &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; (in this case &amp;lt;math&amp;gt;A+uv^T&amp;lt;/math&amp;gt;)&lt;br /&gt;
if and only if &amp;lt;math&amp;gt;XY = YX = I&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
We first verify that the right hand side (&amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;) satisfies &amp;lt;math&amp;gt;XY = I&amp;lt;/math&amp;gt;.&lt;br /&gt;
:&amp;lt;math&amp;gt;XY = (A + uv^T)\left( A^{-1} - {A^{-1} uv^T A^{-1} \over 1 + v^T A^{-1}u}\right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;= AA^{-1} +  uv^T A^{-1} - {AA^{-1}uv^T A^{-1} + uv^T A^{-1}uv^T A^{-1} \over 1 + v^TA^{-1}u}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;= I +  uv^T A^{-1} - {uv^T A^{-1} + uv^T A^{-1}uv^T A^{-1} \over 1 + v^T A^{-1}u}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;= I + uv^T A^{-1} - {u(1 + v^T A^{-1}u) v^T A^{-1} \over 1 + v^T A^{-1}u}&amp;lt;/math&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt;v^T A^{-1}u&amp;lt;/math&amp;gt; is a scalar, so &amp;lt;math&amp;gt;(1+v^T A^{-1}u)&amp;lt;/math&amp;gt; can be factored out, leading to:&lt;br /&gt;
:&amp;lt;math&amp;gt;XY= I + uv^T A^{-1} - uv^T A^{-1} = I.\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the same way, it is verified that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;YX = \left(A^{-1} - {A^{-1}uv^T A^{-1} \over 1 + v^T A^{-1}u}\right)(A + uv^T) = I.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Following is an alternate verification of the Sherman–Morrison formula using the easily verifiable identity&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;( I+wv^T )^{-1}=I-\frac{wv^T}{1+v^Tw}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;u=Aw&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;A+uv^T=A\left( I+wv^T \right)&amp;lt;/math&amp;gt;, then&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;( A+uv^T )^{-1}=( I+wv^T )^{-1}{A^{-1}}=\left( I-\frac{wv^T}{1+v^Tw} \right)A^{-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Substituting &amp;lt;math&amp;gt;w={{A}^{-1}}u&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;( A+uv^T )^{-1}=\left( I-\frac{A^{-1}uv^T}{1+v^TA^{-1}u} \right)A^{-1}= {A^{-1}}-\frac{A^{-1}uv^TA^{-1}}{1+v^TA^{-1}u}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* The [[matrix determinant lemma]] performs a rank-1 update to a [[determinant]].&lt;br /&gt;
* [[Woodbury matrix identity]]&lt;br /&gt;
* [[Quasi-Newton method]]&lt;br /&gt;
* [[Binomial inverse theorem]]&lt;br /&gt;
* [[Bunch–Nielsen–Sorensen formula]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* {{MathWorld|title=Sherman–Morrison formula|urlname=Sherman-MorrisonFormula}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Sherman-Morrison formula}}&lt;br /&gt;
[[Category:Linear algebra]]&lt;br /&gt;
[[Category:Matrix theory]]&lt;/div&gt;</summary>
		<author><name>12.18.100.126</name></author>
	</entry>
</feed>