Spark (mathematics) explained
In mathematics, more specifically in linear algebra, the spark of a
matrix
is the smallest integer
such that there exists a set of
columns in
which are
linearly dependent. If all the columns are linearly independent,
is usually defined to be 1 more than the number of rows. The concept of matrix spark finds applications in
error-correction codes,
compressive sensing, and
matroid theory, and provides a simple criterion for maximal sparsity of solutions to a
system of linear equations.
The spark of a matrix is NP-hard to compute.
Definition
Formally, the spark of a matrix
is defined as follows:where
is a nonzero vector and
denotes its number of nonzero coefficients (
is also referred to as the size of the support of a vector). Equivalently, the spark of a matrix
is the size of its smallest
circuit
(a subset of column indices such that
has a nonzero solution, but every subset of it does not).
If all the columns are linearly independent,
is usually defined to be
(if
has
m rows).
[1] [2] By contrast, the rank of a matrix is the largest number
such that some set of
columns of
is linearly independent.
Example
Consider the following matrix
.
A=
\begin{bmatrix}
1&2&0&1\\
1&2&0&2\\
1&2&0&3\\
1&0&-3&4
\end{bmatrix}
The spark of this matrix equals 3 because:
- There is no set of 1 column of
which are linearly dependent.
- There is no set of 2 columns of
which are linearly dependent.
- But there is a set of 3 columns of
which are linearly dependent. The first three columns are linearly dependent because
\begin{pmatrix}1\\1\\1\\1\end{pmatrix}-
\begin{pmatrix}2\\2\\2\\0\end{pmatrix}+
\begin{pmatrix}0\\0\\0\\-3\end{pmatrix}=\begin{pmatrix}0\\0\\0\\0\end{pmatrix}
.
Properties
If
, the following simple properties hold for the spark of a
matrix
:
(If the spark equals
, then the matrix has full rank.)
if and only if the matrix has a zero column.
.
Criterion for uniqueness of sparse solutions
The spark yields a simple criterion for uniqueness of sparse solutions of linear equation systems.[3] Given a linear equation system
. If this system has a solution
that satisfies
, then this solution is the
sparsest possible solution. Here
denotes the number of nonzero entries of the vector
.
Lower bound in terms of dictionary coherence
If the columns of the matrix
are normalized to unit
norm, we can lower bound its spark in terms of its dictionary coherence:
[4]
.
Here, the dictionary coherence
is defined as the maximum correlation between any two columns:
\mu(A)=maxm|\langleam,an\rangle|=maxm ≠
.
Applications
The minimum distance of a linear code equals the spark of its parity-check matrix.
The concept of the spark is also of use in the theory of compressive sensing, where requirements on the spark of the measurement matrix are used to ensure stability and consistency of various estimation techniques. It is also known in matroid theory as the girth of the vector matroid associated with the columns of the matrix. The spark of a matrix is NP-hard to compute.[5]
Notes and References
- Book: Higham. Nicholas J.. The Princeton Companion to Applied Mathematics. Dennis. Mark R.. Glendinning. Paul. Martin. Paul A.. Santosa. Fadil. Tanner. Jared. 2015-09-15. Princeton University Press. 978-1-4008-7447-7. en.
- Book: Manchanda. Pammy. Industrial Mathematics and Complex Systems: Emerging Mathematical Models, Methods and Algorithms. Lozi. René. Siddiqi. Abul Hasan. 2017-10-18. Springer. 978-981-10-3758-0. en.
- Book: Elad
, Michael
. Sparse and Redundant Representations From Theory to Applications in Signal and Image Processing . limited . 24 . 2010.
- Book: Elad
, Michael
. Sparse and Redundant Representations From Theory to Applications in Signal and Image Processing . limited . 26 . 2010.
- Tillmann. Andreas M.. Pfetsch, Marc E. . The Computational Complexity of the Restricted Isometry Property, the Nullspace Property, and Related Concepts in Compressed Sensing. IEEE Transactions on Information Theory. November 8, 2013. 60. 2. 1248 - 1259. 10.1109/TIT.2013.2290112. 1205.2081. 2788088.