Comprehensive Study Notes on Matrices and Matrix Algebra

Introduction to the Concept of Matrices

The study of matrices is a fundamental necessity in various branches of mathematics and serves as one of the most powerful tools in the field. Matrices simplify complex mathematical work significantly when compared to straightforward manual methods. As the mathematician Cantor stated, "The essence of Mathematics lies in its freedom." Historically, the concept of matrices evolved from attempts to find compact and simple methods for solving systems of linear equations. Identifying matrices solely as representations of coefficients in linear systems, however, underestimates their utility, which far exceeds that application.

In modern contexts, matrix notation and operations are essential components of electronic spreadsheet programs on personal computers. These programs are utilized across diverse fields such as business and science for tasks including budgeting, sales projections, cost estimation, and the analysis of experimental results. In physics, matrices are used to mathematically represent operations such as magnification, rotation, and reflection through a plane. Furthermore, matrices are integral to cryptography, genetics, economics, sociology, modern psychology, and industrial management.

Defining the Matrix and its Components

A matrix is formally defined as an ordered rectangular array of numbers or functions. These constituent numbers or functions are referred to as the elements or entries of the matrix. We typically denote matrices using capital letters. To illustrate, consider a situation where information about possessions needs to be expressed: if Radha has 1515 notebooks, this can be expressed as [15][15]. If she has 1515 notebooks and 66 pens, it is expressed as [156][15 \, 6], where the first number corresponds to notebooks and the second to pens. This system can expand to include multiple people and items, such as Radha, Fauzia, and Simran.

When arranged in a tabular form with notebooks in one column and pens in another, we create a matrix. For example, if Radha has 1515 notebooks and 66 pens, Fauzia has 1010 notebooks and 22 pens, and Simran has 1313 notebooks and 55 pens, this data can be written as:

[156102135]\begin{bmatrix} 15 & 6 \\ 10 & 2 \\ 13 & 5 \end{bmatrix}

In this arrangement, horizontal lines are called rows, and vertical lines are called columns. The first row represents Radha's items, the second represents Fauzia's, and the third represents Simran's. Conversely, the first column represents the count of notebooks for all three individuals, and the second column represents the count of pens.

Order and Notation of a Matrix

The order of a matrix is defined by the number of its rows and columns. A matrix with mm rows and nn columns is called a matrix of order m×nm \times n (read as an "m by n" matrix). For instance, a matrix with 33 rows and 22 columns is of order 3×23 \times 2. The total number of elements in an m×nm \times n matrix is equal to the product mnmn.

In general notation, an m×nm \times n matrix is represented as:

A=[aij]m×nA = [a_{ij}]_{m \times n}, where 1im1 \le i \le m and 1jn1 \le j \le n, with i,jNi, j \in \mathbb{N}.

The symbol aija_{ij} represents the element lying in the ii-th row and jj-th column, also known as the (i,j)(i, j)-th element. For example, in a matrix AA, the element a12a_{12} is in the first row and second column. It is a standard convention in this study to follow the notation A=[aij]A = [a_{ij}] for an m×nm \times n matrix and to consider only those matrices whose elements are real numbers or functions taking real values.

Matrices can also represent geometric coordinates. A point (x,y)(x, y) can be represented as a column matrix [xy]\begin{bmatrix} x \\ y \end{bmatrix} or a row matrix [xy][x \, y]. Vertices of rectilinear figures, like a quadrilateral ABCDABCD with vertices A(1,0)A(1, 0), B(3,2)B(3, 2), C(1,3)C(1, 3), and D(1,2)D(-1, 2), can be organized into a single matrix where each row or column represents a vertex.

Types of Matrices

Matrices are classified into several types based on their structure and elements:

(i) Column Matrix: A matrix that has only one column is a column matrix. Its general form is A=[aij]m×1A = [a_{ij}]_{m \times 1}.

(ii) Row Matrix: A matrix that has only one row is a row matrix. Its general form is B=[bij]1×nB = [b_{ij}]_{1 \times n}.

(iii) Square Matrix: A matrix in which the number of rows equals the number of columns (m=nm = n) is a square matrix of order nn. In a square matrix A=[aij]n×nA = [a_{ij}]_{n \times n}, the elements a11,a22,,anna_{11}, a_{22}, \dots, a_{nn} constitute the diagonal of the matrix.

(iv) Diagonal Matrix: A square matrix is a diagonal matrix if all its non-diagonal elements are zero. That is, B=[bij]m×mB = [b_{ij}]_{m \times m} is a diagonal matrix if bij=0b_{ij} = 0 whenever iji \ne j.

(v) Scalar Matrix: A diagonal matrix is called a scalar matrix if all its diagonal elements are equal to a constant kk. Formally, B=[bij]n×nB = [b_{ij}]_{n \times n} is scalar if bij=0b_{ij} = 0 for iji \ne j and bij=kb_{ij} = k for i=ji = j.

(vi) Identity Matrix: A square matrix where the diagonal elements are all 11 and the rest are zero is an identity matrix, denoted by II. Formally, A=[aij]n×nA = [a_{ij}]_{n \times n} is an identity matrix if aij=1a_{ij} = 1 if i=ji = j and aij=0a_{ij} = 0 if iji \ne j. Every identity matrix is a scalar matrix where k=1k = 1.

(vii) Zero Matrix: A matrix is a zero or null matrix if all its elements are zero. It is denoted by the symbol OO.

Equality of Matrices

Two matrices A=[aij]A = [a_{ij}] and B=[bij]B = [b_{ij}] are said to be equal if they fulfill two conditions: (i) they are of the same order, and (ii) each element of AA is equal to the corresponding element of BB. This is written as aij=bija_{ij} = b_{ij} for all ii and jj. Symbolically, we write A=BA = B. This principle allows for solving unknown variables by equating corresponding entries in two equal matrices.

Matrix Operations: Addition and Scalar Multiplication

Matrix Addition is defined only when two matrices have the same order. If A=[aij]A = [a_{ij}] and B=[bij]B = [b_{ij}] are both m×nm \times n matrices, their sum C=A+BC = A + B is an m×nm \times n matrix where cij=aij+bijc_{ij} = a_{ij} + b_{ij} for all i,ji, j. If matrices are of different orders, their sum is not defined.

Multiplication by a Scalar occurs when a matrix AA is multiplied by a scalar kk. The resulting matrix kAkA is obtained by multiplying every element of AA by kk. Formally, kA=[k(aij)]m×nkA = [k(a_{ij})]_{m \times n}. The negative of a matrix, denoted by A-A, is defined as (1)A(-1)A. The difference of two matrices ABA - B is defined as A+(B)A + (-B), provided they are of the same order.

Properties of Matrix Addition and Scalar Multiplication

Matrix addition follows several algebraic laws:

  1. Commutative Law: A+B=B+AA + B = B + A.
  2. Associative Law: (A+B)+C=A+(B+C)(A + B) + C = A + (B + C).
  3. Existence of Additive Identity: The zero matrix OO acts as the identity such that A+O=O+A=AA + O = O + A = A.
  4. Existence of Additive Inverse: For every matrix AA, there exists A-A such that A+(A)=(A)+A=OA + (-A) = (-A) + A = O.

For scalar multiplication, if kk and ll are scalars and AA and BB are matrices of the same order, the following properties hold:

  1. k(A+B)=kA+kBk(A + B) = kA + kB
  2. (k+l)A=kA+lA(k + l)A = kA + lA

Multiplication of Matrices

The product of two matrices AA and BB is defined if and only if the number of columns in matrix AA is equal to the number of rows in matrix BB. If AA is an m×nm \times n matrix and BB is an n×pn \times p matrix, their product C=ABC = AB is an m×pm \times p matrix.

The entry cikc_{ik} in the resulting matrix is found by taking the ii-th row of AA and the kk-th column of BB, multiplying corresponding elements, and summing the products:

cik=ai1b1k+ai2b2k++ainbnk=j=1naijbjkc_{ik} = a_{i1}b_{1k} + a_{i2}b_{2k} + \dots + a_{in}b_{nk} = \sum_{j=1}^{n} a_{ij}b_{jk}

Key characteristics of matrix multiplication include:

  1. Non-commutativity: In general, ABBAAB \ne BA. Even if both products are defined, they may have different orders or different corresponding elements.
  2. Zero Product: It is possible for the product of two non-zero matrices to be a zero matrix (AB=OAB = O even if AOA \ne O and BOB \ne O).
  3. Multiplication of diagonal matrices of the same order is commutative.

Properties of matrix multiplication include the Associative Law ((AB)C=A(BC)(AB)C = A(BC)), Distributive Laws (A(B+C)=AB+ACA(B + C) = AB + AC and (A+B)C=AC+BC(A + B)C = AC + BC), and the existence of a Multiplicative Identity (IA=AI=AIA = AI = A for an identity matrix II and square matrix AA).

Transpose of a Matrix

The transpose of a matrix AA, denoted by AA' or ATA^T, is the matrix obtained by interchanging its rows and columns. If A=[aij]m×nA = [a_{ij}]_{m \times n}, then A=[aji]n×mA' = [a_{ji}]_{n \times m}.

Properties of the transpose are:

  1. (A)=A(A')' = A
  2. (kA)=kA(kA)' = kA' (where kk is a constant)
  3. (A+B)=A+B(A + B)' = A' + B'
  4. (AB)=BA(AB)' = B'A'

Symmetric and Skew Symmetric Matrices

A square matrix AA is symmetric if A=AA' = A, meaning aij=ajia_{ij} = a_{ji} for all i,ji, j. A square matrix AA is skew-symmetric if A=AA' = -A, meaning aij=ajia_{ij} = -a_{ji} for all i,ji, j. For a skew-symmetric matrix, when i=ji = j, we have aii=aiia_{ii} = -a_{ii}, which implies 2aii=02a_{ii} = 0 or aii=0a_{ii} = 0. Therefore, all diagonal elements of a skew-symmetric matrix must be zero.

Theorem 1 states that for any square matrix AA with real entries, A+AA + A' is a symmetric matrix and AAA - A' is a skew-symmetric matrix. Theorem 2 states that any square matrix can be uniquely expressed as the sum of a symmetric and a skew-symmetric matrix:

A=12(A+A)+12(AA)A = \frac{1}{2}(A + A') + \frac{1}{2}(A - A')

Invertible Matrices

If AA is a square matrix of order mm, and there exists another square matrix BB of the same order mm such that AB=BA=IAB = BA = I, then BB is called the inverse of AA (denoted as A1A^{-1}). In this case, AA is said to be invertible. A rectangular matrix cannot have an inverse because ABAB and BABA must be defined and equal, requiring both to be square. If BB is the inverse of AA, then AA is also the inverse of BB.

Theorem 3 (Uniqueness of Inverse) ensures that if the inverse of a square matrix exists, it is unique. This is proven by assuming two inverses BB and CC and showing that B=BI=B(AC)=(BA)C=IC=CB = BI = B(AC) = (BA)C = IC = C. Theorem 4 states that if AA and BB are invertible matrices of the same order, then (AB)1=B1A1(AB)^{-1} = B^{-1}A^{-1}.

Questions & Discussion

Example 1: Consider information regarding men and women workers in three factories: Factory I (3030 men, 2525 women), Factory II (2525 men, 3131 women), and Factory III (2727 men, 2626 women). This is represented as a 3×23 \times 2 matrix:

A=[302525312726]A = \begin{bmatrix} 30 & 25 \\ 25 & 31 \\ 27 & 26 \end{bmatrix}

The element in the third row and second column (2626) represents the number of women workers in factory III.

Example 2: If a matrix has 88 elements, what are the possible orders? The factors of 88 are (1,8),(8,1),(4,2),(1, 8), (8, 1), (4, 2), and (2,4)(2, 4). Thus, orders can be 1×8,8×1,4×2,1 \times 8, 8 \times 1, 4 \times 2, or 2×42 \times 4.

Example 3: Construct a 3×23 \times 2 matrix where aij=12i3ja_{ij} = \frac{1}{2}|i - 3j|. The calculations for elements are: a11=1213=1a_{11} = \frac{1}{2}|1 - 3| = 1, a12=1216=52a_{12} = \frac{1}{2}|1 - 6| = \frac{5}{2}, a21=1223=12a_{21} = \frac{1}{2}|2 - 3| = \frac{1}{2}, a22=1226=2a_{22} = \frac{1}{2}|2 - 6| = 2, a31=1233=0a_{31} = \frac{1}{2}|3 - 3| = 0, and a32=1236=32a_{32} = \frac{1}{2}|3 - 6| = \frac{3}{2}. The matrix is:

A=[152122032]A = \begin{bmatrix} 1 & \frac{5}{2} \\ \frac{1}{2} & 2 \\ 0 & \frac{3}{2} \end{bmatrix}

Example 11: Two farmers, Ramkishan and Gurcharan Singh, sell three varieties of rice: Basmati, Permal, and Naura. Their September sales (AA) and October sales (BB) are matrices. To find combined sales, compute A+BA + B. To find decrease in sales, compute ABA - B. If they get a 2%2\% profit on October sales, find 0.02×B0.02 \times B. For October, Ramkishan's profit on Basmati, Permal, and Naura is 100100, 200200, and 120120 respectively; Gurcharan Singh's is 400400, 200200, and 200200 respectively.

Example 19: A political group promotes a candidate via telephone, house calls, and letters. Cost in paise: Telephone (4040), Housecall (100100), Letter (5050). Contacts in City X: (1000,500,50001000, 500, 5000); City Y: (3000,1000,100003000, 1000, 10000). Total spent is calculating the product of the contact matrix and cost matrix. Total for City X is 340,000340,000 paise (34003400 rupees) and for City Y is 720,000720,000 paise (72007200 rupees).