Team is working on this chapter. Loading soon.

Team is working on this chapter. Loading soon.

Team is working on this chapter. Loading soon.

Team is working on this chapter. Loading soon.

Team is working on this chapter. Loading soon.

Team is working on this chapter. Loading soon.

Team is working on this chapter. Loading soon.

Team is working on this chapter. Loading soon.

Matrices

Orange OGCDDA Mathematics banner titled Theory Matrices, introducing rows, columns, transpose, inverse and multiplication rules.
  • An ordered rectangular array of numbers (which may be real or complex numbers) or functions arranged in rows and columns is called a matrix. This arrangement is enclosed by small () or big [] brackets. The numbers are called the elements of the matrix or entries in the matrix.
  • The horizontal arrangement of elements or entries is said to form the row of a matrix. The vertical arrangement of elements or entries is said to form the column of a matrix.
  • For example, the matrix \(A=\begin{bmatrix}a_1&a_2\\a_3&a_4\\a_5&a_6\end{bmatrix}\) has 3 rows and 2 columns
  • The order of matrix represents the dimension of the matrix and it talks about the number of rows and columns present in the matrix.
  • The order of matrix is generally represented as \(A_{m\times n}\), where \(m\) is the number of rows and \(n\) is the number of columns in the given matrix.
  • Also, the multiplication answer of the order of matrix \((m\times n)\) gives the number of elements in the matrix.

\[ A=\begin{bmatrix} a_{11}&a_{12}&a_{13}&\cdots&a_{1j}&\cdots&a_{1n}\\ a_{21}&a_{22}&a_{23}&\cdots&a_{2j}&\cdots&a_{2n}\\ \vdots&\vdots&\vdots&&\vdots&&\vdots\\ a_{i1}&a_{i2}&a_{i3}&\cdots&a_{ij}&\cdots&a_{in}\\ \vdots&\vdots&\vdots&&\vdots&&\vdots\\ a_{m1}&a_{m2}&a_{m3}&\cdots&a_{mj}&\cdots&a_{mn} \end{bmatrix} \]

or

\[ A=[a_{ij}]_{m\times n},\quad\text{where}\quad \begin{cases}i=1,2,\ldots,m,\\j=1,2,\ldots,n.\end{cases} \]

Here \(a_{ij}\) denotes the element of \(i^{\text{th}}\) row and \(j^{\text{th}}\) column.

  • For example, the matrix \(\begin{bmatrix}a_1&a_2&a_3\\a_4&a_5&a_6\end{bmatrix}\) has 2 rows and 3 columns, so the order of the matrix is written as \(2\times3\) and the number of elements in the given matrix is \(2\times3=6\).
  • Two matrices \(A\) and \(B\) are said to be equal matrices if they are of same order and their corresponding elements are equal.
  • Suppose \(A\) and \(B\) are the matrices of equal order \(i\times j\) and if \(a_{ij}=b_{ij}\) for all corresponding \(i,j\), then \(A\) and \(B\) are called equal matrices.
  • Row Matrix: A matrix which has only one row is called a row matrix.
    • A row matrix has any number of columns.
    • A row matrix can be represented as \(A=[a_{ij}]_{1\times n}\)
    • For example, \(\begin{bmatrix}a_1&a_2&a_3\end{bmatrix}\) is a row matrix of order \(1\times3\) and \(\begin{bmatrix}a_1\end{bmatrix}\) is a row matrix of order \(1\times1\).
  • Column Matrix: A matrix which has only one column is called a column matrix.
  • A column matrix has any number of rows.
  • A column matrix can be represented as \(A=[a_{ij}]_{m\times1}\).
  • For example, \(\begin{bmatrix}a_1\\a_2\\a_3\end{bmatrix}\) is a column matrix of order \(3\times1\) and \(\begin{bmatrix}a_1\end{bmatrix}\) is a column matrix of order \(1\times1\).
  • Null or Zero Matrix: If all the elements in a matrix are zero, then it is called a zero matrix and it is generally denoted by \(O\).
    • Thus \(A=[a_{ij}]_{m\times n}\) is a zero matrix if \(a_{ij}=0\) for all \(i\) and \(j\).
    • For example, \(\begin{bmatrix}0\end{bmatrix}\), \(\begin{bmatrix}0&0\\0&0\end{bmatrix}\), \(\begin{bmatrix}0&0&0\\0&0&0\end{bmatrix}\), \(\begin{bmatrix}0&0\end{bmatrix}\) are all zero matrices, but of different orders.
  • Square Matrix: If number of rows and number of columns in a matrix are equal, then it is called a square matrix.
    • Thus \(A=[a_{ij}]_{m\times n}\) is a square matrix if \(m=n\). The representation of the square matrix is \(m\times m\).
    • For example, \(\begin{bmatrix}a_{11}&a_{12}&a_{13}\\a_{21}&a_{22}&a_{23}\\a_{31}&a_{32}&a_{33}\end{bmatrix}\) is a square matrix of order \(3\times3\).

Important Point:

  • If \(m\ne n\) then matrix is called a rectangular matrix.
  • The elements of a square matrix \(A\) for which \(i=j\), i.e., \(a_{11},a_{22},a_{33},\ldots,a_{nn}\) are called diagonal elements and the line joining these elements is called the principal diagonal or leading diagonal of matrix \(A\).
  • Diagonal Matrix: If all elements except the principal diagonal in a square matrix are zero, it is called a diagonal matrix.
    • Thus, a square matrix \(A=[a_{ij}]\) is a diagonal matrix if \(a_{ij}=0\) when \(i\ne j\).
    • For example, \(\begin{bmatrix}3&0&0\\0&2&0\\0&0&4\end{bmatrix}\) is a diagonal matrix of order \(3\times3\), which can also be denoted by \(\operatorname{diag}[3,2,4]\).
  • Scalar Matrix: Square matrix is a scalar matrix if all its diagonal elements are equal and all non-diagonal elements are zero.
    • In other words, a scalar matrix is a square matrix whose all non-diagonal elements are zero and diagonal elements are equal.
    • Thus, if \(A=[a_{ij}]\) is a square matrix and \(a_{ij}=\begin{cases}\alpha,&\text{if }i=j,\\0,&\text{if }i\ne j,\end{cases}\) then \(A\) is a scalar matrix.
  • Identity Matrix: A scalar matrix is an identity matrix if all its diagonal elements are equal to ‘1’.
    • In other words, an identity matrix is a square matrix in which all the diagonal elements are equal to ‘ 1 ‘ and all non-diagonal elements are zero.
    • The square matrix \(A=[a_{ij}]\) is an identity matrix, if \(a_{ij}=\begin{cases}1,&\text{if }i=j,\\0,&\text{if }i\ne j.\end{cases}\)
    • Identity matrix of order \(n\) is denoted by \(I_n\).
    • For example, \(\begin{bmatrix}1\end{bmatrix}\), \(\begin{bmatrix}1&0\\0&1\end{bmatrix}\), \(\begin{bmatrix}1&0&0\\0&1&0\\0&0&1\end{bmatrix}\) are identity matrices of order 1, 2 and 3 respectively.
  • Triangular Matrix: A square matrix \([a_{ij}]\) is said to be triangular matrix if each element above or below the principal diagonal is zero.

It is of two types:

  • Upper triangular matrix: A square matrix \([a_{ij}]\) is called the upper triangular matrix, if \(a_{ij}=0\) when \(i>j\).
    For example, \(\begin{bmatrix}3&1&2\\0&4&3\\0&0&6\end{bmatrix}\) is an upper triangular matrix of order \(3\times3\).
  • Lower triangular matrix: A square matrix \([a_{ij}]\) is called the lower triangular matrix, if \(a_{ij}=0\) when \(i\lt j\).
    For example, \(\begin{bmatrix}1&0&0\\2&3&0\\4&5&2\end{bmatrix}\) is a lower triangular matrix of order \(3\times3\).

5.1 Addition and Subtraction of Matrices

  • Two matrices may be added or subtracted only if they have the same order i.e., they must have the same number of rows and columns.
  • Addition or subtraction is accomplished by adding or subtracting corresponding elements.
  • If \(A=[a_{ij}]_{m\times n}\) and \(B=[b_{ij}]_{m\times n}\) are two matrices of the same order then the sum of the two matrices \(A\) and \(B\) is the sum of corresponding elements i.e., \(A+B=[a_{ij}+b_{ij}]_{m\times n}\), and the difference of the two matrices is \(A-B=[a_{ij}-b_{ij}]_{m\times n}\).
  • For example, if \(A=\begin{bmatrix}1&1\\0&2\end{bmatrix}\) and \(B=\begin{bmatrix}-1&3\\2&1\end{bmatrix}\), then

\[ \begin{aligned} A+B&=\begin{bmatrix}1&1\\0&2\end{bmatrix}+\begin{bmatrix}-1&3\\2&1\end{bmatrix} =\begin{bmatrix}1+(-1)&1+3\\0+2&2+1\end{bmatrix} =\begin{bmatrix}0&4\\2&3\end{bmatrix}\\ \text{Similarly, }A-B&=\begin{bmatrix}1&1\\0&2\end{bmatrix}-\begin{bmatrix}-1&3\\2&1\end{bmatrix} =\begin{bmatrix}1-(-1)&1-3\\0-2&2-1\end{bmatrix} =\begin{bmatrix}2&-2\\-2&1\end{bmatrix} \end{aligned} \]

5.2 Properties of Matrix Addition

  • If \(A,B\) and \(C\) are the matrices of same order, then Matrix Addition follows commutative law i.e.,

\[A+B=B+A\]

(ii) Matrix Addition follows associative law i.e.,

\[(A+B)+C=A+(B+C)\]

(iii) Zero matrix is additive identity of any matrix i.e.,

\[A+0=0+A=A\]

(iv) \((-A)\) is additive inverse of matrix \(A\) i.e.,

\[A+(-A)=0=(-A)+A.\]

(v) Matrix Addition follows cancellation law i.e.,

\[ \left.\begin{aligned}A+B&=A+C\\B+A&=C+A\end{aligned}\right\}\Rightarrow B=C \]

5.3 Scalar Multiplication of Matrices

  • Let \(A=[a_{ij}]_{m\times n}\) be a Matrix and \(k\) be any scalar, then the matrix which is obtained by multiplying every element of \(A\) by \(k\) is called scalar multiplication of \(A\) by \(k\) and it is denoted by \(kA\). Thus, if \(A=[a_{ij}]_{m\times n}\) then \(kA=Ak=[ka_{ij}]_{m\times n}\).

5.4 Properties of Scalar Multiplication

  • If \(A,B\) are matrices of the same order and \(\lambda,\mu\) are any two scalars then(i) \(\lambda(A+B)=\lambda A+\lambda B\)(ii) \((\lambda+\mu)A=\lambda A+\mu A\)(iii) \((\lambda\mu A)=\lambda(\mu A)=\mu(\lambda A)\)(iv) \((-\lambda A)=-(\lambda A)=\lambda(-A)\)

5.5 Multiplication of Two Matrices

  • While performing the multiplication of two matrices, we have to ensure that the number of columns in the 1st matrix is equal to the number of rows in the 2nd matrix. Therefore, the resulting matrix product will have a number of rows of the 1st matrix and a number of columns of the 2nd matrix.
  • Let \(A=[a_{ij}]_{m\times n}\) and \(B=[b_{ij}]_{n\times p}\) are two matrices of order \(m\times n\) and \(n\times p\) respectively, then their product AB is of order \(m\times p\) and is defined as

\[ \begin{aligned} (AB)_{ij}&=\sum_{r=1}^{n}a_{ir}b_{rj} =\begin{bmatrix}a_{i1}&a_{i2}&\cdots&a_{in}\end{bmatrix} \begin{bmatrix}b_{1j}\\b_{2j}\\\vdots\\b_{nj}\end{bmatrix}\\ &=(i^{\text{th}}\text{ row of }A)\times(j^{\text{th}}\text{ column of }B) \end{aligned} \]

where \(i=1,2,\ldots,m\) and \(j=1,2,\ldots,p\).

5.6 Properties of Matrix Multiplication

  • If \(A,B\) and \(C\) are three matrices such that their product is defined, then
    (i) Generally, Matrix multiplication is not commutative i.e., \(AB\ne BA\) in general, when both products are defined.
    (ii) Matrix multiplication is associative i.e., \((AB)C=A(BC)\)
    (iii) If \(A\) is a \(m\times n\) matrix and \(I_n\), is an identity matrix of order \(n\times n\) and \(I_m\) is an identity matrix of order \(m\times m\), then \(I_mA=A=AI_n\).
    (iv) Matrix multiplication is distributive over matrix addition i.e., \(A(B+C)=AB+AC\).
    (v) Cancellation law is not applicable for matrix multiplication i.e., \(AB=AC\not\Rightarrow B=C\).
    (vi) If \(AB=0\), it does not mean that \(A=0\) or \(B=0\). In other words, product of two non zero matrix may be a zero matrix.
  • The matrix obtained from a given matrix by changing its rows into columns or columns into rows is called transpose of matrix and is denoted by \(A^T\) or \(A’\) :
  • Let the order of \(A\) is \(m\times n\), then order of \(A^T\) is \(n\times m\).
  • For example: The transpose of matrix \(\begin{bmatrix}a_1&a_2&a_3\\b_1&b_2&b_3\end{bmatrix}_{2\times3}\) is \(\begin{bmatrix}a_1&b_1\\a_2&b_2\\a_3&b_3\end{bmatrix}_{3\times2}\).

6.1 Properties of Transpose

  • Let \(A\) and \(B\) be two matrices then,(i) \((A^T)^T=A\)(ii) \(I^T=I\)(iii) \((kA)^T=kA^T\), \(k\) be any scalar (real or complex)(iv) \((A+B)^T=A^T+B^T\), \(A\) and \(B\) being of the same order(v) \((AB)^T=B^TA^T\), \(A\) and \(B\) being conformable for the product \(AB\)(vi) In general, \((A_1A_2A_3\cdots A_{n-1}A_n)^T=A_n^TA_{n-1}^T\cdots A_3^TA_2^TA_1^T\).

6.2 Symmetric Matrix

  • A symmetric matrix is a square matrix that remains unchanged when its transpose is calculated. That means, a matrix whose transpose is equal to the matrix itself, is called a symmetric matrix.
  • A square matrix \(A=[a_{ij}]\) is called symmetric matrix if \(a_{ij}=a_{ji}\) for all \(i,j\) or
  • \(A^T=A\)
  • For example, \(\begin{bmatrix}a&h&g\\h&b&f\\g&f&c\end{bmatrix}\) is a symmetric matrix.

6.3 Skew-Symmetric Matrix

  • A skew-symmetric matrix is a square matrix that is equal to the negative of its transpose matrix. In other words, a square matrix \(A=[a_{ij}]\) is called skew-symmetric matrix if \(a_{ij}=-a_{ji}\) for all \(i,j\) or
  • \(A^T=-A\)
  • For example, \(\begin{bmatrix}0&h&g\\-h&0&f\\-g&-f&0\end{bmatrix}\) is a skew-symmetric matrix.
  • All principal diagonal elements of a skew-symmetric matrix are always zero
  • \(\because a_{ii}=-a_{ii}\Rightarrow a_{ii}=0\)

6.4 Properties of Symmetric and Skew-Symmetric matrices

(i) Let \(A\) be a square matrix, then \(A+A^T,AA^T,A^TA\) are symmetric matrices, whereas \(A-A^T\) is skew-symmetric matrix.

(ii) Any square matrix can be expressed as the sum of a skew-symmetric matrix and a symmetric matrix. The sum of a symmetric and skew-symmetric matrix can be determined by using the formula: \(A=\frac12(A+A^T)+\frac12(A-A^T)\), where \(A^T\) is the transpose of the square matrix A .

Important Point

  • If \((A+A^T)\) is a symmetric matrix, then \(\frac12(A+A^T)\) is also a symmetric matrix.
  • If \((A-A^T)\) is a skew-symmetric matrix, then \(\frac12(A-A^T)\) is also a skew-symmetric matrix.

(iii) If \(A\) is a symmetric matrix, then \(-A,kA,A^T,A^n,A^{-1}\) (when \(A\) is invertible), \(B^TAB\) are also symmetric matrices, where \(n\in N\), \(k\in R\) and \(A\) and \(B\) are square matrices of same order.

(iv) If \(A\) is a skew-symmetric matrix, then \(A^{2n}\) is a symmetric matrix, whereas \(A^{2n+1}\) is a skew-symmetric matrix \(\forall n\in N\). \(kA\) is also skew-symmetric matrix, where \(k\in R\). \(B^TAB\) is also skew-symmetric matrix where \(A\) and \(B\) are square matrix of same order.

(v) If \(A,B\) are two symmetric matrices, then

(a) \(A\pm B,AB+BA\) are also symmetric matrices,

(b) \(AB-BA\) is a skew-symmetric matrix,

(c) AB is a symmetric matrix, when \(AB=BA\).

(vi) If \(A,B\) are two skew-symmetric matrices, then

(a) \(A\pm B,AB-BA\) are skew-symmetric matrices,

(b) \(AB+BA\) is a symmetric matrix.

(vii) If A is a skew-symmetric matrix and C is a column matrix, then \(C^TAC\) is a zero matrix.

A conjugate matrix of a matrix is obtained by replacing each term with its complex conjugate.

The matrix obtained from any given matrix \(A\) containing complex number as its elements, on replacing its elements by the corresponding conjugate complex numbers is called conjugate of \(A\) and is denoted by \(\overline A\).

  • For example, \(A=\begin{bmatrix}3+i&1-i&3+4i\\-5i&3&6-7i\\8+2i&7+8i&9-6i\end{bmatrix}\), then

\[ \overline A=\begin{bmatrix}3-i&1+i&3-4i\\5i&3&6+7i\\8-2i&7-8i&9+6i\end{bmatrix} \]

7. 1 Properties of Conjugates

(i) \(\overline{\overline A}=A\)

(ii) \(\overline{A+B}=\overline A+\overline B\)

(iii) \(\overline{\alpha A}=\overline\alpha\,\overline A\), \(\alpha\) being any number

(iv) \(\overline{AB}=\overline A\,\overline B\), \(A\) and \(B\) being conformable for multiplication

  • A Hermitian matrix is a matrix that is equal to its conjugate transpose. Mathematically, a square matrix \(A=[a_{ij}]\) is said to be Hermitian matrix if \(a_{ij}=\overline{a_{ji}}\); \(\forall i,j\) i.e., \(A=(\overline A)^T\).
  • For example, \(\begin{bmatrix}a&b+ic\\b-ic&d\end{bmatrix}\) (where \(a,b,c,d\) are real), \(\begin{bmatrix}3&3-4i&5+2i\\3+4i&5&-2+i\\5-2i&-2-i&2\end{bmatrix}\) are some Hermitian matrices.
  • If \(A\) is a Hermitian matrix, then \(a_{ii}=\overline{a_{ii}}\Rightarrow a_{ii}\) is real \(\forall i\), thus every diagonal element of a Hermitian matrix must be real.
  • A skew-Hermitian matrix is a matrix equal to the negative of its conjugate transpose. Mathematically, a square matrix, \(A=[a_{ij}]\) is said to be a Skew-Hermitian if \(a_{ij}=-\overline{a_{ji}}\ \forall i,j\) i.e., \(A=-(\overline A)^T\).
  • If A is a skew-Hermitian matrix, then \(a_{ii}=-\overline{a_{ii}}\Rightarrow a_{ii}+\overline{a_{ii}}=0\) i.e. \(a_{ii}\) must be purely imaginary or zero. For example, \(\begin{bmatrix}0&-2+i\\2+i&0\end{bmatrix}\), \(\begin{bmatrix}3i&-3+2i&-1-i\\3+2i&-2i&-2-4i\\1-i&2-4i&0\end{bmatrix}\) are some skew-Hermitian matrices.

Some important properties of a Hermitian matrix are :

  • If \(A\) is a Hermitian matrix, and \(k\) is any real scalar, then \(kA\) is also a Hermitian matrix.
  • If \(A\) and \(B\) are two Hermitian matrices, then \(A+B\) is also Hermitian.
  • The determinant of a Hermitian matrix is real.
  • The inverse of an invertible Hermitian matrix is Hermitian as well.
  • Conjugate of a Hermitian matrix is also Hermitian.

Some important properties of a skew-Hermitian matrix are:

  • Conjugate of a skew-Hermitian matrix is also skew-Hermitian.
  • Transpose of a skew-Hermitian matrix is also skew-Hermitian.
  • The trace of a skew-Hermitian matrix is either imaginary or zero.
  • Determinant of a skew-Hermitian matrix of odd order is purely imaginary (possibly zero).
  • A square matrix with real numbers or elements is said to be an orthogonal matrix if its transpose is equal to its inverse matrix.
  • Mathematically, a square matrix \(A\) is called orthogonal if \(AA^T=I=A^TA\) i.e., if \(A^{-1}=A^T\).
  • For example, \(A=\begin{bmatrix}\cos\alpha&-\sin\alpha\\\sin\alpha&\cos\alpha\end{bmatrix}\) is orthogonal matrix because \(A^{-1}=\begin{bmatrix}\cos\alpha&\sin\alpha\\-\sin\alpha&\cos\alpha\end{bmatrix}=A^T\).

Some Properties of Orthogonal Matrix are:

  • Orthogonal matrix should be a square matrix.
  • The orthogonal matrix has all real elements in it.
  • All identity matrices are orthogonal matrices.
  • The product of two orthogonal matrices is also an orthogonal matrix.
  • The determinant of the orthogonal matrix has a value of \(\pm1\).
  • An orthogonal matrix is not necessarily symmetric.
  • The transpose of the orthogonal matrix is also orthogonal. Thus, if matrix \(A\) is orthogonal, then \(A^T\) is also an orthogonal matrix.
  • Transpose and inverse of an orthogonal matrix are equal.
  • The eigen values of the orthogonal matrix have modulus 1 (and may be non-real), and eigenvectors corresponding to distinct eigenvalues are orthogonal over the complex numbers but need not be real.
  • A square matrix \(A\) is said to be idempotent, if \(A^2=A\)

For example: \(A=\begin{bmatrix}2&-2&-4\\-1&3&4\\1&-2&-3\end{bmatrix}\)

\[ \because A^2=AA=\begin{bmatrix}2&-2&-4\\-1&3&4\\1&-2&-3\end{bmatrix}\times\begin{bmatrix}2&-2&-4\\-1&3&4\\1&-2&-3\end{bmatrix} \]

  • \(A^2=\begin{bmatrix}2&-2&-4\\-1&3&4\\1&-2&-3\end{bmatrix}=A\quad\therefore A\text{ is an idempotent matrix.}\)
  • A square matrix \(A\) is said to be nilpotent if \(A^k=0\) for some positive integer \(k\).

For example, \(A=\begin{bmatrix}0&1&1\\0&0&0\\0&0&0\end{bmatrix}\)

\[ \because A^2=AA=\begin{bmatrix}0&1&1\\0&0&0\\0&0&0\end{bmatrix}\times\begin{bmatrix}0&1&1\\0&0&0\\0&0&0\end{bmatrix} \]

  • \(\Rightarrow A^2=\begin{bmatrix}0&0&0\\0&0&0\\0&0&0\end{bmatrix}=0\quad A\text{ is a nilpotent matrix.}\)
  • A square matrix \(A\) is said to be involutory, if \(A^2=I\)

For example: \(A=\begin{bmatrix}4&-1\\15&-4\end{bmatrix}\)

  • \(\because A^2=A\cdot A=\begin{bmatrix}4&-1\\15&-4\end{bmatrix}\begin{bmatrix}4&-1\\15&-4\end{bmatrix}=\begin{bmatrix}1&0\\0&1\end{bmatrix}=I_2\quad\therefore A\text{ is an involutory matrix.}\)