Difference between revisions of "Matrix"
(→Matrix Product) |
|||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | A matrix is a rectangular array of scalars from | + | A '''matrix''' over a field <math>F</math> is a [[function]] from <math>A\times B</math> to <math>F</math>, where <math>A</math> and <math>B</math> are the sets <math>A=\{1,2,\ldots,m\}</math> and <math>B=\{1,2,\ldots,n\}</math>. |
+ | A matrix is usually represented as a rectangular array of scalars from the [[field]], such that each column belongs to the [[vector space]] <math>F^m</math>, where <math>m</math> is the number of rows. If a matrix <math>A</math> has <math>m</math> rows and <math>n</math> columns, its order is said to be <math>m \times n</math>, and it is written as <math>A_{m \times n}</math>. | ||
+ | |||
+ | The element in the <math>i^{th}</math> row and <math>j^{th}</math> column of <math>A</math> is written as <math>(A)_{ij}</math>. It is more often written as <math>a_{ij}</math>, in which case <math>A</math> can be written as <math>[a_{ij}]</math>. | ||
+ | |||
+ | ==Determinant== | ||
+ | If <math>A_{m\times n}</math> is a matrix over <math>F</math> with <math>m=n</math>, a '''Determinant''' assigns <math>A_{m\times n}</math> to a member of <math>F</math> and is denoted by <math>|A|</math> or <math>\begin{vmatrix} a_{11} & a_{12} & \ldots & a_{1n} \\ a_{21} & a_{22} & \ldots & a_{2n} \\ \vdots & \vdots | ||
+ | & \ddots & \vdots \\ a_{n1} & a_{n2} & \ldots & a_{nn}\end{vmatrix}</math> | ||
+ | |||
+ | It is defined recursively. | ||
+ | |||
+ | <center><math>\begin{vmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{vmatrix}\dot{=}a_{11} a_{22} - a_{21} a_{12}</math> | ||
+ | |||
+ | <math>\begin{vmatrix} a_{11} & a_{12} & \ldots & a_{1n} \\ a_{21} & a_{22} & \ldots & a_{2n} \\ \vdots & \vdots | ||
+ | & \ddots & \vdots \\ a_{n1} & a_{n2} & \ldots & a_{nn}\end{vmatrix}\dot{=}\sum_{k=1}^n (-1)^{k+1} a_{1k} |A'_{1k}|</math></center> where <math>A'_{cd}</math> is the matrix <math>A</math> with the <math>c^{th}</math> row and <math>d^{th}</math> column removed. | ||
+ | == Transposes == | ||
+ | |||
+ | Let <math>A</math> be <math>[a_{ij}]</math>. Then <math>[a_{ji}]</math> is said to be the transpose of <math>A</math>, written as <math>A^T</math> or simply <math>A'</math>. If A is over the complex field, replacing each element of <math>A^T</math> by its complex conjugate gives us the conjugate transpose <math>A^*</math> of <math>A</math>. In other words, <math>A^*=[\bar {a_{ji}}]</math> | ||
+ | |||
+ | <math>A</math> is said to be symmetric if and only if <math>A=A^T</math>. <math>A</math> is said to be hermitian if and only if <math>A=A^*</math>. <math>A</math> is said to be skew symmetric if and only if <math>A=-A^T</math>. <math>A</math> is said to be skew hermitian if and only if <math>A=-A^*</math>. | ||
+ | |||
+ | == Matrix Product == | ||
+ | |||
+ | Let <math>A</math> be a matrix of order <math>m_1 \times m_2</math> and <math>B</math> a matrix of order <math>n_1 \times n_2</math>. Then the product <math>AB</math> exists if and only if <math>m_2=n_1</math> and in that case we define the product <math>C=AB</math> as the matrix of order <math>m_1 \times n_2</math> for which | ||
+ | <cmath>(C)_{ij}=\sum ^{n_1} _{k=1} (A)_{ik} (B)_{kj}</cmath> | ||
+ | for all <math>i</math> and <math>j</math> such that <math>1\le i\le m_1</math> and <math>1\le j\le n_2</math>. | ||
+ | |||
+ | == Vector spaces associated with a matrix == | ||
+ | |||
+ | As already stated before, the columns of <math>A</math> form a subset of <math>F^m</math>. The subspace of <math>F^m</math> generated by these columns is said to be the column space of <math>A</math>, written as <math>C(A)</math>. Similarly, the transposes of the rows form a subset of the vector space <math>F^n</math>. The subspace of <math>F^n</math> generated by these is known as the row space of <math>A</math>, written as <math>R(A)</math>. | ||
+ | |||
+ | <math>y \in C(A) </math>implies <math>\exists x </math> such that <math> y_{m \times 1} = A_{m \times n} x_{n \times 1}</math> | ||
+ | |||
+ | Similarly, <math>y \in C(A) </math>implies <math>\exists x </math> such that <math> y_{n \times 1} = A^T_{n \times m} x_{m \times 1}</math> | ||
+ | |||
+ | The set <math>\{x:A_{m \times n}x_{n \times 1} = \phi\}</math> forms a subspace of <math>F^n</math>, known as the null space <math>N(A)</math> of <math>A</math>. | ||
+ | |||
+ | == Rank and nullity == | ||
+ | |||
+ | The dimension of <math>C(A)</math> is known as the column rank of <math>A</math>. The dimension of <math>R(A)</math> is known as the row rank of <math>A</math>. These two ranks are found to be equal, and the common value is known as the rank <math>r(A)</math> of <math>A</math>. | ||
+ | |||
+ | The dimension of <math>N(A)</math> is known as the nullity <math>\eta (A)</math> of A. | ||
+ | |||
+ | If <math>A</math> is a square matrix of order <math>n \times n</math>, then <math>r(A) + \eta (A) = n</math>. | ||
+ | |||
+ | [[Category:Linear algebra]] |
Latest revision as of 14:29, 30 March 2013
A matrix over a field is a function from to , where and are the sets and . A matrix is usually represented as a rectangular array of scalars from the field, such that each column belongs to the vector space , where is the number of rows. If a matrix has rows and columns, its order is said to be , and it is written as .
The element in the row and column of is written as . It is more often written as , in which case can be written as .
Contents
Determinant
If is a matrix over with , a Determinant assigns to a member of and is denoted by or
It is defined recursively.
where is the matrix with the row and column removed.
Transposes
Let be . Then is said to be the transpose of , written as or simply . If A is over the complex field, replacing each element of by its complex conjugate gives us the conjugate transpose of . In other words,
is said to be symmetric if and only if . is said to be hermitian if and only if . is said to be skew symmetric if and only if . is said to be skew hermitian if and only if .
Matrix Product
Let be a matrix of order and a matrix of order . Then the product exists if and only if and in that case we define the product as the matrix of order for which for all and such that and .
Vector spaces associated with a matrix
As already stated before, the columns of form a subset of . The subspace of generated by these columns is said to be the column space of , written as . Similarly, the transposes of the rows form a subset of the vector space . The subspace of generated by these is known as the row space of , written as .
implies such that
Similarly, implies such that
The set forms a subspace of , known as the null space of .
Rank and nullity
The dimension of is known as the column rank of . The dimension of is known as the row rank of . These two ranks are found to be equal, and the common value is known as the rank of .
The dimension of is known as the nullity of A.
If is a square matrix of order , then .