๐Ÿ“ Mathematics โ€” Class XII ยท Algebra

Matrices

The rectangular powerhouse of linear algebra โ€” organizing data, solving systems, and transforming space

๐Ÿ“– Chapter 3 โฑ ~60 min read ๐Ÿท Algebra

In this chapter

  1. What is a Matrix?
  2. Types of Matrices
  3. Matrix Operations
  4. Matrix Multiplication
  5. Transpose of a Matrix
  6. Symmetric & Skew-Symmetric Matrices
  7. Elementary Operations
  8. Invertible Matrices
  9. Summary

3.1 What is a Matrix?

"The essence of Mathematics lies in its freedom." โ€” Georg Cantor

A matrix is an ordered rectangular array of numbers or functions, arranged in rows and columns and enclosed within square brackets [ ]. It is one of the most powerful tools in mathematics โ€” used to solve systems of linear equations, represent transformations, manage data in spreadsheets, and much more.

๐Ÿ“ Definition

A matrix having m rows and n columns is called a matrix of order m ร— n. It is denoted as A = [aแตขโฑผ]โ‚˜โ‚“โ‚™, where aแตขโฑผ is the element in the ith row and jth column.

Structure of a matrix showing rows, columns, and indexed elements
Figure 3.1 โ€” Structure of a matrix with rows, columns, and indexed elements aแตขโฑผ
๐Ÿ’ก Notation

A = [aแตขโฑผ]โ‚˜โ‚“โ‚™ means A is an m ร— n matrix
aแตขโฑผ is the (i, j)th element โ€” ith row, jth column
m ร— n is the "order" or "size" of the matrix
Total elements = m ร— n

Matrices can represent data systematically. For example, the number of notebooks and pens possessed by three people can be displayed as a 3 ร— 2 matrix where each row represents a person and each column represents an item type.

โš ๏ธ Important Notes

โ€ข We consider only matrices whose elements are real numbers or functions taking real values
โ€ข A point (x, y) in a plane can be represented as a column matrix [x; y] or row matrix [x, y]
โ€ข The vertices of a closed rectilinear figure can be expressed as a matrix

3.2 Types of Matrices

Matrices are classified based on their structure and element values. Understanding these types is essential for working with matrix operations.

Types of matrices: column, row, square, diagonal, scalar, identity, zero
Figure 3.2 โ€” Seven types of matrices and their hierarchical relationships
TypeDefinitionExample
Column MatrixOnly one column (order m ร— 1)[3; โˆ’1; 5]
Row MatrixOnly one row (order 1 ร— n)[2, โˆ’3, 7]
Square MatrixNumber of rows = number of columns (m = n)2ร—2, 3ร—3, nร—n
Diagonal MatrixSquare matrix with aแตขโฑผ = 0 when i โ‰  j[2, 0; 0, โˆ’1]
Scalar MatrixDiagonal matrix with all diagonal elements equal[3, 0; 0, 3]
Identity Matrix (I)Scalar matrix with all diagonal elements = 1[1, 0; 0, 1]
Zero Matrix (O)All elements are zero[0, 0; 0, 0]
๐Ÿ’ก Hierarchy

Every identity matrix is a scalar matrix (with k = 1), but not every scalar matrix is an identity matrix.

Every scalar matrix is a diagonal matrix, but not every diagonal matrix is a scalar matrix.

Every diagonal matrix is a square matrix, but not every square matrix is diagonal.

Equality of Matrices

๐Ÿ“ Two conditions for equality

Two matrices A = [aแตขโฑผ] and B = [bแตขโฑผ] are equal if and only if:

(i) They are of the same order
(ii) Each element of A equals the corresponding element of B, i.e., aแตขโฑผ = bแตขโฑผ for all i, j

3.3 Matrix Operations

Addition of Matrices

Two matrices can be added only if they have the same order. The sum is obtained by adding corresponding elements.

Matrix addition: element-wise addition of corresponding entries
Figure 3.3 โ€” Matrix addition: add corresponding elements position by position
Matrix Addition Formula If A = [aแตขโฑผ] and B = [bแตขโฑผ] are both m ร— n matrices, then
A + B = [aแตขโฑผ + bแตขโฑผ] = C, where cแตขโฑผ = aแตขโฑผ + bแตขโฑผ

Scalar Multiplication

Multiplying a matrix by a scalar k means multiplying every element of the matrix by k.

๐Ÿ“ Scalar Multiplication

If A = [aแตขโฑผ]โ‚˜โ‚“โ‚™ and k is a scalar, then:

kA = [k ยท aแตขโฑผ]โ‚˜โ‚“โ‚™

Example: If A = [3, 1; โˆ’5, 7], then 2A = [6, 2; โˆ’10, 14]

The negative of a matrix is defined as โˆ’A = (โˆ’1)A, and the difference is A โˆ’ B = A + (โˆ’1)B.

Properties of Matrix Addition

๐Ÿ”„

Commutative Law

A + B = B + A

๐Ÿ”—

Associative Law

(A + B) + C = A + (B + C)

0๏ธโƒฃ

Additive Identity

A + O = A (zero matrix)

โ†ฉ๏ธ

Additive Inverse

A + (โˆ’A) = O

Properties of Scalar Multiplication

๐Ÿ“ Distributive Laws

For matrices A, B of same order and scalars k, l:

(i) k(A + B) = kA + kB
(ii) (k + l)A = kA + lA

3.4 Matrix Multiplication

Matrix multiplication is fundamentally different from addition. It is not element-wise โ€” instead, it uses a row-by-column dot product.

โš ๏ธ Critical Rule

The product AB is defined only when the number of columns in A equals the number of rows in B.

If A is m ร— n and B is n ร— p, then AB is m ร— p.

Matrix multiplication is NOT commutative: AB โ‰  BA in general!

Matrix multiplication: row-by-column dot product with full computation
Figure 3.4 โ€” Matrix multiplication: row-by-column dot product with full computation
Multiplication Formula If A = [aแตขโฑผ]โ‚˜โ‚“โ‚™ and B = [bโฑผโ‚–]โ‚™โ‚“โ‚š, then AB = C = [cแตขโ‚–]โ‚˜โ‚“โ‚š
where cแตขโ‚– = aแตขโ‚bโ‚โ‚– + aแตขโ‚‚bโ‚‚โ‚– + ... + aแตขโ‚™bโ‚™โ‚– = ฮฃโฑผโ‚Œโ‚โฟ aแตขโฑผbโฑผโ‚–

Why AB โ‰  BA

โš ๏ธ Non-Commutativity

Even when both AB and BA are defined, they are generally not equal. Moreover, AB and BA may have different orders!

Example: If A is 2ร—3 and B is 3ร—2, then AB is 2ร—2 while BA is 3ร—3.

Exception: Diagonal matrices of the same order commute: AB = BA.

Properties of Matrix Multiplication

๐Ÿ”—

Associative Law

(AB)C = A(BC)

โž•

Distributive Laws

A(B+C) = AB + AC
(A+B)C = AC + BC

1๏ธโƒฃ

Multiplicative Identity

IA = AI = A

0๏ธโƒฃ

Zero Product

AB = O does NOT imply A = O or B = O

๐Ÿ’ก Key Insight

For real numbers, if ab = 0 then either a = 0 or b = 0. This is NOT true for matrices! Two non-zero matrices can multiply to give a zero matrix.

3.5 Transpose of a Matrix

The transpose of a matrix is obtained by interchanging its rows and columns. If A is an m ร— n matrix, its transpose A' (or Aแต€) is an n ร— m matrix.

Transpose of a matrix: interchanging rows and columns
Figure 3.5 โ€” Transpose swaps rows and columns, changing matrix dimensions
Transpose Definition If A = [aแตขโฑผ]โ‚˜โ‚“โ‚™, then A' = [aโฑผแตข]โ‚™โ‚“โ‚˜
The (i, j)th element of A' = the (j, i)th element of A

Properties of Transpose

PropertyStatementMeaning
Double Transpose(A')' = ATransposing twice returns original
Scalar Multiple(kA)' = kA'Scalar factors come out
Addition(A + B)' = A' + B'Transpose distributes over addition
Multiplication(AB)' = B'A'Order reverses!
โš ๏ธ Common Mistake

(AB)' = B'A', not A'B'! The order of multiplication reverses when taking the transpose of a product.

3.6 Symmetric & Skew-Symmetric Matrices

These special types of square matrices have a beautiful relationship with the transpose operation.

Symmetric and skew-symmetric matrices
Figure 3.6 โ€” Symmetric (mirror) vs Skew-symmetric (anti-mirror) matrices
โ†”๏ธ

Symmetric Matrix

A' = A, meaning aแตขโฑผ = aโฑผแตข for all i, j. The matrix mirrors about its main diagonal.

โ†—๏ธ

Skew-Symmetric Matrix

A' = โˆ’A, meaning aแตขโฑผ = โˆ’aโฑผแตข. All diagonal elements must be 0.

Theorems

๐Ÿ“ Theorem 1

For any square matrix A with real entries:

A + A' is always a symmetric matrix
A โˆ’ A' is always a skew-symmetric matrix

๐Ÿ“ Theorem 2

Any square matrix can be expressed as the sum of a symmetric and a skew-symmetric matrix:

A = ยฝ(A + A') + ยฝ(A โˆ’ A')

where ยฝ(A + A') is symmetric and ยฝ(A โˆ’ A') is skew-symmetric.

3.7 Elementary Operations

There are six elementary operations (transformations) on a matrix โ€” three for rows and three for columns. These are fundamental for finding inverses and solving systems.

OperationRow VersionColumn VersionDescription
Type 1 Rแตข โ†” Rโฑผ Cแตข โ†” Cโฑผ Interchange two rows (or columns)
Type 2 Rแตข โ†’ kRแตข (k โ‰  0) Cแตข โ†’ kCแตข (k โ‰  0) Multiply a row (or column) by a non-zero scalar
Type 3 Rแตข โ†’ Rแตข + kRโฑผ Cแตข โ†’ Cแตข + kCโฑผ Add a multiple of one row (or column) to another
๐Ÿ’ก Example: Applying Rโ‚‚ โ†’ Rโ‚‚ โˆ’ 2Rโ‚

Starting with A = [1, 2; 2, 1]:

Row 2 becomes: [2, 1] โˆ’ 2ร—[1, 2] = [2โˆ’2, 1โˆ’4] = [0, โˆ’3]

Result: [1, 2; 0, โˆ’3] โ€” This is the first step in converting to row echelon form!

3.8 Invertible Matrices

A square matrix A is invertible if there exists another square matrix B of the same order such that AB = BA = I (the identity matrix). We write B = Aโปยน.

๐Ÿ“ Definition

A square matrix A of order m is invertible if there exists B such that:

AB = BA = Iโ‚˜

Then B is the inverse of A, denoted Aโปยน, and A is the inverse of B.

Key Theorems

1๏ธโƒฃ

Uniqueness

Inverse of a square matrix, if it exists, is unique.

๐Ÿ”„

Reversal Law

(AB)โปยน = BโปยนAโปยน โ€” order reverses!

Finding Inverse Using Elementary Operations

๐Ÿ“ Method

To find Aโปยน using row operations:

Step 1: Write A = IA
Step 2: Apply row operations on both sides until LHS becomes I
Step 3: When LHS = I, RHS = Aโปยน

If any row becomes all zeros during the process, Aโปยน does not exist.

โš ๏ธ Important Notes

โ€ข A rectangular matrix does not have an inverse
โ€ข If B is the inverse of A, then A is also the inverse of B
โ€ข Inverse is unique โ€” there cannot be two different inverses for the same matrix

3.9 Summary

โœ… Key Takeaways

โ€ข A matrix is an ordered rectangular array of numbers of order m ร— n

โ€ข Seven types: column, row, square, diagonal, scalar, identity, zero

โ€ข Addition: same order, element-wise โ€” commutative and associative

โ€ข Scalar multiplication: multiply every element by the scalar

โ€ข Multiplication: row ร— column dot product โ€” NOT commutative (AB โ‰  BA)

โ€ข Transpose: interchange rows and columns โ€” (AB)' = B'A'

โ€ข Symmetric: A' = A ยท Skew-symmetric: A' = โˆ’A (diagonal = 0)

โ€ข Any square matrix = symmetric + skew-symmetric

โ€ข 6 elementary operations: interchange, scale, add multiple

โ€ข Inverse: AB = BA = I โ†’ B = Aโปยน (unique if exists)

Ch 2 โ€” Inverse Trigonometric Functions Ch 4 โ€” Determinants