In linear algebra, if A0,A1,…,Al{\displaystyle A_{0},A_{1},\dots ,A_{l}} are n×n{\displaystyle n\times n} complex matrices for some nonnegative integer l{\displaystyle l}, and Al≠0{\displaystyle A_{l}\neq 0} (the zero matrix), then the matrix pencil of degree l{\displaystyle l} is the matrix-valued function defined on the complex numbers L(λ)=∑i=0lλiAi.{\displaystyle L(\lambda )=\sum _{i=0}^{l}\lambda ^{i}A_{i}.}