<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://linear.subwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Density_of_a_matrix</id>
	<title>Density of a matrix - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://linear.subwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Density_of_a_matrix"/>
	<link rel="alternate" type="text/html" href="https://linear.subwiki.org/w/index.php?title=Density_of_a_matrix&amp;action=history"/>
	<updated>2026-04-09T15:18:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.2</generator>
	<entry>
		<id>https://linear.subwiki.org/w/index.php?title=Density_of_a_matrix&amp;diff=59&amp;oldid=prev</id>
		<title>Vipul at 16:22, 1 May 2014</title>
		<link rel="alternate" type="text/html" href="https://linear.subwiki.org/w/index.php?title=Density_of_a_matrix&amp;diff=59&amp;oldid=prev"/>
		<updated>2014-05-01T16:22:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:22, 1 May 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l8&quot;&gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The density of a matrix can be any rational number in &amp;lt;math&amp;gt;[0,1]&amp;lt;/math&amp;gt;. For a &amp;lt;math&amp;gt;m \times n&amp;lt;/math&amp;gt; matrix, the rational number must be expressible as an integer divided by &amp;lt;math&amp;gt;mn&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The density of a matrix can be any rational number in &amp;lt;math&amp;gt;[0,1]&amp;lt;/math&amp;gt;. For a &amp;lt;math&amp;gt;m \times n&amp;lt;/math&amp;gt; matrix, the rational number must be expressible as an integer divided by &amp;lt;math&amp;gt;mn&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Relation with other matrix measures==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{| class=&quot;sortable&quot; border=&quot;1&quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;! Measure !! Numerical relationship with density for a &amp;lt;math&amp;gt;m \times n&amp;lt;/math&amp;gt; matrix (&amp;lt;math&amp;gt;n \times n&amp;lt;/math&amp;gt; if it is required to be square)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| [[sparsity of a matrix]] || The density and sparsity add up to 1.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| [[rank of a matrix]] || The density is at least equal to rank&amp;lt;math&amp;gt;/(mn)&amp;lt;/math&amp;gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|-&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| [[bandwidth of a matrix]] (for a square matrix) || The bandwidth is at least equal to &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; times the density (this can be improved somewhat by a constant order of magnitude of about 2).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Matrix operations==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Matrix operations==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
	<entry>
		<id>https://linear.subwiki.org/w/index.php?title=Density_of_a_matrix&amp;diff=58&amp;oldid=prev</id>
		<title>Vipul: Created page with &quot;==Definition==  Suppose &lt;math&gt;m,n&lt;/math&gt; are positive integers and &lt;math&gt;A&lt;/math&gt; is a &lt;math&gt;m \times n&lt;/math&gt; matrix. The &#039;&#039;&#039;density&#039;&#039;&#039; of &lt;math&gt;A&lt;/math&gt; is defined as the fr...&quot;</title>
		<link rel="alternate" type="text/html" href="https://linear.subwiki.org/w/index.php?title=Density_of_a_matrix&amp;diff=58&amp;oldid=prev"/>
		<updated>2014-05-01T16:17:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Definition==  Suppose &amp;lt;math&amp;gt;m,n&amp;lt;/math&amp;gt; are positive integers and &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is a &amp;lt;math&amp;gt;m \times n&amp;lt;/math&amp;gt; matrix. The &amp;#039;&amp;#039;&amp;#039;density&amp;#039;&amp;#039;&amp;#039; of &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is defined as the fr...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Definition==&lt;br /&gt;
&lt;br /&gt;
Suppose &amp;lt;math&amp;gt;m,n&amp;lt;/math&amp;gt; are positive integers and &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is a &amp;lt;math&amp;gt;m \times n&amp;lt;/math&amp;gt; matrix. The &amp;#039;&amp;#039;&amp;#039;density&amp;#039;&amp;#039;&amp;#039; of &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is defined as the fraction of entries of &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; that have nonzero value. Explicitly, it is the ratio:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{|\{ (i,j) \in \{ 1,2,\dots,m\} \times \{1,2,\dots,n \} : a_{ij} \ne 0 \}|}{mn}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The density of the matrix can also be defined as 1 minus its [[sparsity of a matrix|sparsity]].&lt;br /&gt;
&lt;br /&gt;
The density of a matrix can be any rational number in &amp;lt;math&amp;gt;[0,1]&amp;lt;/math&amp;gt;. For a &amp;lt;math&amp;gt;m \times n&amp;lt;/math&amp;gt; matrix, the rational number must be expressible as an integer divided by &amp;lt;math&amp;gt;mn&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Matrix operations==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Matrix operation !! Lower bound on density of result !! Case where this occurs !! Upper bound on density of result !! Case where this occurs&lt;br /&gt;
|-&lt;br /&gt;
| Addition of two &amp;lt;math&amp;gt;m \times n&amp;lt;/math&amp;gt; matrices &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; with densities &amp;lt;math&amp;gt;d_A&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d_B&amp;lt;/math&amp;gt; respectively || &amp;lt;math&amp;gt;|d_A - d_B|&amp;lt;/math&amp;gt; || For all positions where both entries are nonzero, they are negatives of one another. || &amp;lt;math&amp;gt;d_A + d_B&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;Can be refined to &amp;lt;math&amp;gt;\min \{ d_A + d_B, 1 \}&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;d_A + d_B&amp;lt;/math&amp;gt; occurs when the set of positions with nonzero entries for &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is disjoint from the corresponding set for &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| Multiplication of a &amp;lt;math&amp;gt;m \times n&amp;lt;/math&amp;gt; matrix &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; and a &amp;lt;math&amp;gt;n \times p&amp;lt;/math&amp;gt; matrix &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;d_Ad_B&amp;lt;/math. if &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;0 if &amp;lt;math&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt; || The &amp;lt;math&amp;gt;n = 1&amp;lt;/math&amp;gt; case boils down to a [[Hadamard product]] computation. For &amp;lt;math&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;, we can arrange for a zero product regardless of density by choosing the rows of &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; and the columns of &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; to be orthogonal. || &amp;lt;math&amp;gt;n^2d_Ad_B&amp;lt;/math&amp;gt;&amp;lt;br&amp;gt;Can be refined to &amp;lt;math&amp;gt;\min \{ n^2d_Ad_B, 1 \}&amp;lt;/math&amp;gt; || This occurs if there is exactly one column with nonzero entries in &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, and exactly one row with nonzero entries in &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt;, and the index number of the column and row coincide. The product &amp;lt;math&amp;gt;AB&amp;lt;/math&amp;gt; in this case coincides with the [[Hadamard product]] of the nonzero column and the nonzero row.&lt;br /&gt;
|-&lt;br /&gt;
| [[Matrix transpose]] of a &amp;lt;math&amp;gt;m \times n&amp;lt;/math&amp;gt; matrix &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, giving a &amp;lt;math&amp;gt;n \times m&amp;lt;/math&amp;gt; matrix &amp;lt;math&amp;gt;A^T&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;d_A&amp;lt;/math&amp;gt; || bound always attained precisely || &amp;lt;math&amp;gt;d_A&amp;lt;/math&amp;gt; ||bound always attained precisely&lt;br /&gt;
|-&lt;br /&gt;
| [[Inverse matrix]] of a &amp;lt;math&amp;gt;n \times n&amp;lt;/math&amp;gt; matrix &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; || ? (at least &amp;lt;math&amp;gt;1/n&amp;lt;/math&amp;gt;) || ? || ? || ?&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Vipul</name></author>
	</entry>
</feed>