Merkle–Hellman knapsack cryptosystem: Difference between revisions
en>EmausBot m r2.7.2+) (Robot: Modifying ru:Ранцевая криптосистема Меркля — Хеллмана |
en>Jill-Jênn |
||
Line 1: | Line 1: | ||
In [[linear algebra]], the '''identity matrix''' or '''unit matrix''' of size ''n'' is the ''n'' × ''n'' [[square matrix]] with ones on the [[main diagonal]] and zeros elsewhere. It is denoted by ''I''<sub>''n''</sub>, or simply by ''I'' if the size is immaterial or can be trivially determined by the context. (In some fields, such as [[quantum mechanics]], the identity matrix is denoted by a boldface one, '''1'''; otherwise it is identical to ''I''.) Some mathematics books use ''U'' and ''E'' to represent the Identity Matrix (meaning "Unit Matrix" and the German word "Einheitsmatrix",<ref>[http://mathworld.wolfram.com/IdentityMatrix.html "Identity Matrix"] on [[MathWorld]];</ref> respectively), although ''I'' is considered more universal.{{fact|date=November 2013}} | |||
:<math> | |||
I_1 = \begin{bmatrix} | |||
1 \end{bmatrix} | |||
,\ | |||
I_2 = \begin{bmatrix} | |||
1 & 0 \\ | |||
0 & 1 \end{bmatrix} | |||
,\ | |||
I_3 = \begin{bmatrix} | |||
1 & 0 & 0 \\ | |||
0 & 1 & 0 \\ | |||
0 & 0 & 1 \end{bmatrix} | |||
,\ \cdots ,\ | |||
I_n = \begin{bmatrix} | |||
1 & 0 & \cdots & 0 \\ | |||
0 & 1 & \cdots & 0 \\ | |||
\vdots & \vdots & \ddots & \vdots \\ | |||
0 & 0 & \cdots & 1 \end{bmatrix} | |||
</math> | |||
When ''A'' is ''m''×''n'', it is a property of [[matrix multiplication]] that | |||
:<math>I_mA = AI_n = A. \,</math> | |||
In particular, the identity matrix serves as the unit of the [[ring (mathematics)|ring]] of all ''n''×''n'' matrices, and as the [[identity element]] of the [[general linear group]] GL(''n'') consisting of all [[invertible matrix|invertible]] ''n''×''n'' matrices. (The identity matrix itself is invertible, being [[Involutory matrix|its own inverse]].) | |||
Where ''n''×''n'' matrices are used to represent [[linear transformation]]s from an ''n''-dimensional vector space to itself, ''I<sub>n</sub>'' represents the [[identity function]], regardless of the [[Basis (linear algebra)|basis]]. | |||
The ''i''th column of an identity matrix is the [[unit vector]] ''e<sub>i</sub>''. It follows that the [[determinant]] of the identity matrix is 1 and the [[trace (linear algebra)|trace]] is ''n''. | |||
Using the notation that is sometimes used to concisely describe [[diagonal matrix|diagonal matrices]], we can write: | |||
:<math> I_n = \mathrm{diag}(1,1,...,1). \,</math> | |||
It can also be written using the [[Kronecker delta]] notation: | |||
:<math>(I_n)_{ij} = \delta_{ij}. \,</math> | |||
The identity matrix also has the property that, when it is the product of two square matrices, the matrices can be said to be the inverse of one another. | |||
The identity matrix of a given size is the only [[idempotent matrix]] of that size having [[full rank]]. That is, it is the only matrix such that (a) when multiplied by itself the result is itself, and (b) all of its rows, and all of its columns, are [[linear independence|linearly independent]]. | |||
The [[Square root of a matrix|principal square root]] of an identity matrix is itself, and this is its only [[Positive-definite matrix|positive definite]] square root. However, every identity matrix with at least two rows and columns has an infinitude of symmetric square roots.<ref>Mitchell, Douglas W. "Using Pythagorean triples to generate square roots of ''I''<sub>2</sub>". [[The Mathematical Gazette]] 87, November 2003, 499-500.</ref> | |||
==See also== | |||
*[[Logical matrix|Binary matrix]] | |||
*[[Zero matrix]] | |||
*[[Unitary matrix]] | |||
==Notes== | |||
<references /> | |||
==External links== | |||
*{{planetmath reference|title=Identity matrix|id=1223}} | |||
[[Category:Abstract algebra]] | |||
[[Category:Linear algebra]] | |||
[[Category:Matrices]] | |||
[[Category:One]] | |||
[[Category:Sparse matrices]] |
Revision as of 23:41, 24 December 2013
In linear algebra, the identity matrix or unit matrix of size n is the n × n square matrix with ones on the main diagonal and zeros elsewhere. It is denoted by In, or simply by I if the size is immaterial or can be trivially determined by the context. (In some fields, such as quantum mechanics, the identity matrix is denoted by a boldface one, 1; otherwise it is identical to I.) Some mathematics books use U and E to represent the Identity Matrix (meaning "Unit Matrix" and the German word "Einheitsmatrix",[1] respectively), although I is considered more universal.Template:Fact
When A is m×n, it is a property of matrix multiplication that
In particular, the identity matrix serves as the unit of the ring of all n×n matrices, and as the identity element of the general linear group GL(n) consisting of all invertible n×n matrices. (The identity matrix itself is invertible, being its own inverse.)
Where n×n matrices are used to represent linear transformations from an n-dimensional vector space to itself, In represents the identity function, regardless of the basis.
The ith column of an identity matrix is the unit vector ei. It follows that the determinant of the identity matrix is 1 and the trace is n.
Using the notation that is sometimes used to concisely describe diagonal matrices, we can write:
It can also be written using the Kronecker delta notation:
The identity matrix also has the property that, when it is the product of two square matrices, the matrices can be said to be the inverse of one another.
The identity matrix of a given size is the only idempotent matrix of that size having full rank. That is, it is the only matrix such that (a) when multiplied by itself the result is itself, and (b) all of its rows, and all of its columns, are linearly independent.
The principal square root of an identity matrix is itself, and this is its only positive definite square root. However, every identity matrix with at least two rows and columns has an infinitude of symmetric square roots.[2]
See also
Notes
- ↑ "Identity Matrix" on MathWorld;
- ↑ Mitchell, Douglas W. "Using Pythagorean triples to generate square roots of I2". The Mathematical Gazette 87, November 2003, 499-500.