Back to ShikshaPal ExplainerClass 12 / Math
ShikshaPal
Class 12 · Math

Matrices

Matrices are the ultimate organizational tool in mathematics—think of them as tables of numbers arranged in rows and columns that can be manipulated…

Feynman Lens

Start with the simplest version: this lesson is about Matrices. If you can explain the core idea to a friend using everyday language, examples, and one clear reason why it matters, you have moved from memorising to understanding.

Matrices are the ultimate organizational tool in mathematics—think of them as tables of numbers arranged in rows and columns that can be manipulated systematically to solve complex problems. A matrix is a rectangular array of numbers enclosed in brackets, like a spreadsheet of data. Just as a single number transforms another through multiplication, matrices transform entire collections of numbers simultaneously. This chapter explores matrix operations, structure, and how they elegantly solve systems of linear equations that would be tedious to solve by hand.

What is a Matrix?

A matrix A is an m × n array of numbers arranged in m rows and n columns. Each number is called an element or entry. An element in row i and column j is denoted aᵢⱼ.

Example: The 2 × 3 matrix

[ 1  2  3 ]
[ 4  5  6 ]

has a₁₁ = 1, a₁₂ = 2, a₂₃ = 6, and so on.

Real-world context: Imagine a store inventory system where rows represent products (wheat, rice, flour) and columns represent months (Jan, Feb, Mar). The matrix stores all quantities in an organized format. Operations on this matrix let you track inventory changes, calculate totals, or compare months.

Building from Class 11

While Class 11 introduced basic algebraic structures and systems of equations, matrices formalize these systems. Instead of writing:

We write the compact matrix form:

[ a₁  b₁ ] [ x ]   [ c₁ ]
[ a₂  b₂ ] [ y ] = [ c₂ ]

This is cleaner, enables computer algorithms, and extends naturally to hundreds of unknowns.

Types of Matrices

Matrix Operations

Addition and Subtraction

Only possible for matrices of the same dimensions. Add element-wise: (A + B)ᵢⱼ = aᵢⱼ + bᵢⱼ

Scalar Multiplication

Multiply every element by a constant: (kA)ᵢⱼ = k·aᵢⱼ

Matrix Multiplication

For A (m × n) and B (n × p), the product AB is m × p. The element (AB)ᵢⱼ equals the dot product of row i of A with column j of B:

Inverse of a Matrix

For a square matrix A, the inverse A⁻¹ satisfies AA⁻¹ = A⁻¹A = I. Not all matrices have inverses (only non-singular ones, connected to chapter-04-determinants). Finding A⁻¹ is crucial for solving Ax = b by computing x = A⁻¹b.

Solving Systems Using Matrices

The system Ax = b can be solved by:

  1. Compute the determinant (det A ≠ 0 means unique solution exists)
  2. Find A⁻¹ using chapter-04-determinants methods
  3. Multiply both sides by A⁻¹: x = A⁻¹b

This extends to systems with 10, 100, or 1000 unknowns—impossible by hand, but elegant with matrix methods.

Connections to Other Topics

Socratic Questions

  1. Why does matrix multiplication require the number of columns in the first matrix to equal the number of rows in the second? What does this constraint represent geometrically?
  1. You know that in regular algebra, if ab = ac and a ≠ 0, then b = c. Why can't we apply the same reasoning to matrices? That is, why doesn't AB = AC and A ≠ 0 imply B = C?
  1. What is the geometric meaning of multiplying a vector by a matrix A? How does the transpose Aᵀ relate to the original transformation?
  1. For what types of matrices does AB = BA (commutativity)? Can you think of practical scenarios where two operations are commutative versus non-commutative?
  1. A matrix A is invertible if and only if det(A) ≠ 0. Why would having determinant zero make a matrix non-invertible? What does this reveal about the system Ax = b when det(A) = 0?

Term / Concept
Order of a Matrix
tap to flip
An m × n matrix has m rows and n columns. The element at row i, column j is aᵢⱼ.
Term / Concept
Identity Matrix Iₙ
tap to flip
Square matrix with 1s on the main diagonal and 0s elsewhere. AI = IA = A — the matrix analogue of multiplying by 1.
Term / Concept
Transpose Aᵀ
tap to flip
Swap rows and columns: (Aᵀ)ᵢⱼ = aⱼᵢ. Also (Aᵀ)ᵀ = A and (AB)ᵀ = BᵀAᵀ.
Term / Concept
Symmetric Matrix
tap to flip
Square matrix where A = Aᵀ. A skew-symmetric matrix has Aᵀ = −A (so all diagonal elements are 0).
Term / Concept
Matrix Addition
tap to flip
Defined only for matrices of the same order. (A + B)ᵢⱼ = aᵢⱼ + bᵢⱼ — element-wise.
Term / Concept
Matrix Multiplication Rule
tap to flip
For A (m × n) and B (n × p), the product AB has order m × p. Inner dimensions must match.
Term / Concept
Non-Commutativity
tap to flip
In general AB ≠ BA. Even when both products are defined, they can differ in value or in order.
Term / Concept
Inverse Matrix A⁻¹
tap to flip
For a square matrix A, A⁻¹ satisfies AA⁻¹ = A⁻¹A = I. Exists only when A is non-singular (det A ≠ 0).
Term / Concept
Solving Ax = b
tap to flip
If A is invertible, x = A⁻¹b. The matrix form generalises from 2 unknowns to thousands.
Term / Concept
Diagonal Matrix
tap to flip
A square matrix whose non-diagonal entries are all zero. Multiplication and powers are easy: just operate on the diagonal.
If A is a 2 × 3 matrix and B is a 3 × 4 matrix, the order of AB is:
  • A 2 × 3
  • B 2 × 4
  • C 3 × 4
  • D Multiplication is not defined
For A = [[1, 2], [3, 4]], what is Aᵀ?
  • A [[1, 2], [3, 4]]
  • B [[4, 3], [2, 1]]
  • C [[1, 3], [2, 4]]
  • D [[−1, −2], [−3, −4]]
Which of the following is a symmetric matrix?
  • A [[0, 1], [−1, 0]]
  • B [[1, 2], [3, 4]]
  • C [[1, 0, 0], [0, 1, 0]]
  • D [[1, 2, 3], [2, 5, 6], [3, 6, 9]]
If A is a 3 × 3 matrix with A² = A, A is called:
  • A Idempotent
  • B Singular
  • C Symmetric
  • D Orthogonal
If A is invertible and AX = B, what is X?
  • A X = BA⁻¹
  • B X = A⁻¹B
  • C X = AB⁻¹
  • D X = B⁻¹A