Unit 1: Matrices and Determinants

Class 9 Mathematics · Punjab Board · Session 2026-27 · PECTAA syllabus

A matrix is a neat way to arrange numbers in rows and columns. Matrices are used in many areas of mathematics and in real life, such as in solving equations and in computer work. This chapter explains what a matrix is, its types, how to add and multiply matrices, and how to find the determinant of a 2 x 2 matrix.

What is a Matrix?

A matrix is a rectangular arrangement of numbers in rows and columns, written inside square brackets. The numbers in a matrix are called elements. The horizontal lines are called rows and the vertical lines are called columns. For example, [[2, 3], [1, 4]] is a matrix with 2 rows and 2 columns. The order of a matrix is written as the number of rows by the number of columns. So this matrix has order 2 x 2. A matrix with 2 rows and 3 columns has order 2 x 3.

Types of Matrices

There are many types of matrices. A row matrix has only one row, for example [[2, 5, 7]]. A column matrix has only one column, for example [[3], [4]]. A square matrix has the same number of rows and columns, for example a 2 x 2 or 3 x 3 matrix. A diagonal matrix is a square matrix with all elements equal to zero except the elements on the main diagonal. A scalar matrix is a diagonal matrix in which all the diagonal elements are equal. An identity matrix is a square matrix with 1s on the main diagonal and 0s in all other positions. A zero matrix, also called a null matrix, has every element equal to zero.

Addition and Subtraction of Matrices

Two matrices can be added only if they have the same order. To add them, add the elements in the same positions. Worked example: Let A = [[2, 3], [1, 4]] and B = [[5, 1], [0, 2]]. Then A + B = [[2+5, 3+1], [1+0, 4+2]] = [[7, 4], [1, 6]]. Check each step: 2 + 5 = 7, 3 + 1 = 4, 1 + 0 = 1, and 4 + 2 = 6. Subtraction is done in the same way, by subtracting the elements in the same positions. For example, A - B = [[2-5, 3-1], [1-0, 4-2]] = [[-3, 2], [1, 2]].

Multiplication of Matrices

Two matrices can be multiplied only if the number of columns of the first matrix is equal to the number of rows of the second matrix. To find an element of the answer, multiply each element of a row of the first matrix by the matching element of a column of the second matrix and add the results. Worked example: Let A = [[2, 1], [3, 4]] and B = [[5, 0], [1, 2]]. Then AB = [[2x5 + 1x1, 2x0 + 1x2], [3x5 + 4x1, 3x0 + 4x2]] = [[10 + 1, 0 + 2], [15 + 4, 0 + 8]] = [[11, 2], [19, 8]]. Check each step: 2x5 + 1x1 = 10 + 1 = 11, 2x0 + 1x2 = 0 + 2 = 2, 3x5 + 4x1 = 15 + 4 = 19, and 3x0 + 4x2 = 0 + 8 = 8. Note that in general AB is not equal to BA.

Determinant of a 2 x 2 Matrix

The determinant is a number found from a square matrix. For a 2 x 2 matrix [[a, b], [c, d]], the determinant is ad - bc. That is, multiply the elements on the main diagonal (a and d) and subtract the product of the other two elements (b and c). Worked example 1: the determinant of [[2, 3], [1, 4]] is 2 x 4 - 3 x 1 = 8 - 3 = 5. Worked example 2: the determinant of [[5, 2], [3, 1]] is 5 x 1 - 2 x 3 = 5 - 6 = -1. A determinant can be positive, negative or zero.

More Ideas: Identity, Transpose and Uses

Matrices are used to solve systems of equations, to store data in tables, and in computer graphics and many other fields. The identity matrix works like the number 1 in multiplication: when a matrix is multiplied by the identity matrix of the same order, the matrix does not change. The transpose of a matrix is formed by changing its rows into columns and its columns into rows. For example, the transpose of [[2, 3], [1, 4]] is [[2, 1], [3, 4]]. A symmetric matrix is a square matrix that is equal to its own transpose.

Key definitions

TermDefinition
MatrixA rectangular arrangement of numbers in rows and columns, written inside square brackets.
RowA horizontal line of numbers in a matrix.
ColumnA vertical line of numbers in a matrix.
Order of a matrixThe size of a matrix, written as the number of rows by the number of columns, for example 2 x 3.
Square matrixA matrix that has the same number of rows and columns, for example a 2 x 2 matrix.
Zero matrixA matrix in which every element is zero.
Identity matrixA square matrix with 1s on the main diagonal and 0s in all other positions; it works like the number 1 in multiplication.
Diagonal matrixA square matrix with all elements equal to zero except the elements on the main diagonal.
DeterminantA number found from a square matrix; for a 2 x 2 matrix [[a, b], [c, d]] it is ad - bc.

Important points

  • A matrix is a rectangular arrangement of numbers in rows and columns.
  • The order of a matrix is written as rows x columns, for example 2 x 3.
  • A square matrix has the same number of rows and columns.
  • In a zero matrix every element is zero.
  • In an identity matrix the main diagonal has 1s and all other elements are 0.
  • Two matrices can be added only if they have the same order.
  • Two matrices can be multiplied only if the number of columns of the first equals the number of rows of the second.
  • For a 2 x 2 matrix [[a, b], [c, d]], the determinant is ad - bc.
  • The determinant of [[2, 3], [1, 4]] is 2 x 4 - 3 x 1 = 8 - 3 = 5.
  • The determinant of [[5, 2], [3, 1]] is 5 x 1 - 2 x 3 = 5 - 6 = -1.

MCQs — test yourself

1. What is a matrix?

  1. A rectangular arrangement of numbers in rows and columns
  2. A single number
  3. A straight line
  4. A triangle
Show answer

Answer: A — A rectangular arrangement of numbers in rows and columns. A matrix is a rectangular arrangement of numbers in rows and columns inside square brackets.

2. How many rows and columns does a 2 x 3 matrix have?

  1. 3 rows and 2 columns
  2. 2 rows and 2 columns
  3. 2 rows and 3 columns
  4. 3 rows and 3 columns
Show answer

Answer: C — 2 rows and 3 columns. A 2 x 3 matrix has 2 rows and 3 columns.

3. Which of the following is a square matrix?

  1. 2 x 3
  2. 3 x 3
  3. 2 x 4
  4. 3 x 2
Show answer

Answer: B — 3 x 3. A square matrix has the same number of rows and columns, so 3 x 3 is a square matrix.

4. Which is the 2 x 2 identity matrix?

  1. [[0, 0], [0, 0]]
  2. [[1, 1], [1, 1]]
  3. [[2, 0], [0, 2]]
  4. [[1, 0], [0, 1]]
Show answer

Answer: D — [[1, 0], [0, 1]]. In an identity matrix the main diagonal has 1s and all other elements are 0, so [[1, 0], [0, 1]] is the 2 x 2 identity matrix.

5. When can two matrices be added?

  1. They have the same order
  2. They have different orders
  3. One is square and one is not
  4. They have the same determinant
Show answer

Answer: A — They have the same order. Matrices can be added only when they have the same order.

6. What is [[1, 2], [3, 4]] + [[5, 1], [0, 2]]?

  1. [[6, 2], [3, 6]]
  2. [[6, 3], [3, 6]]
  3. [[5, 3], [3, 4]]
  4. [[6, 3], [0, 6]]
Show answer

Answer: B — [[6, 3], [3, 6]]. [[1, 2], [3, 4]] + [[5, 1], [0, 2]] = [[6, 3], [3, 6]] because 1+5=6, 2+1=3, 3+0=3 and 4+2=6.

7. When can two matrices be multiplied?

  1. They have the same order
  2. The first has more rows than the second
  3. The number of columns of the first equals the number of rows of the second
  4. Both are square
Show answer

Answer: C — The number of columns of the first equals the number of rows of the second. For multiplication, the number of columns of the first matrix must equal the number of rows of the second matrix.

8. What is the determinant of [[2, 3], [1, 4]]?

  1. 5
  2. 2
  3. 11
  4. -5
Show answer

Answer: A — 5. The determinant is ad - bc = 2 x 4 - 3 x 1 = 8 - 3 = 5.

9. What is the determinant of [[5, 2], [3, 1]]?

  1. 11
  2. 1
  3. 6
  4. -1
Show answer

Answer: D — -1. The determinant is ad - bc = 5 x 1 - 2 x 3 = 5 - 6 = -1.

10. What is a zero matrix?

  1. Every element is 1
  2. The main diagonal has 1s
  3. Every element is 0
  4. Every element is 2
Show answer

Answer: C — Every element is 0. In a zero matrix every element is zero.

Short questions

1. Define a matrix and its order with an example.

A matrix is a rectangular arrangement of numbers in rows and columns inside square brackets. The order of a matrix is the number of rows by the number of columns. For example, a matrix with 2 rows and 3 columns has order 2 x 3.

2. What is a square matrix? What is an identity matrix?

A square matrix has the same number of rows and columns, for example a 2 x 2 matrix. An identity matrix is a square matrix with 1s on the main diagonal and 0s in all other positions, for example [[1, 0], [0, 1]].

3. Add [[2, 3], [1, 4]] and [[5, 1], [0, 2]]. Show the steps.

[[2, 3], [1, 4]] + [[5, 1], [0, 2]] = [[2+5, 3+1], [1+0, 4+2]] = [[7, 4], [1, 6]]. We add the elements in the same positions: 2+5=7, 3+1=4, 1+0=1 and 4+2=6.

4. Multiply [[2, 1], [3, 4]] by [[5, 0], [1, 2]]. Show the steps.

[[2, 1], [3, 4]] x [[5, 0], [1, 2]] = [[2x5+1x1, 2x0+1x2], [3x5+4x1, 3x0+4x2]] = [[11, 2], [19, 8]]. The steps are 10+1=11, 0+2=2, 15+4=19 and 0+8=8.

5. How is the determinant of a 2 x 2 matrix found? Find the determinants of [[2, 3], [1, 4]] and [[5, 2], [3, 1]].

For a 2 x 2 matrix [[a, b], [c, d]], the determinant is ad - bc. For [[2, 3], [1, 4]], it is 2x4 - 3x1 = 8 - 3 = 5. For [[5, 2], [3, 1]], it is 5x1 - 2x3 = 5 - 6 = -1.

Summary

A matrix is a rectangular arrangement of numbers in rows and columns, and its order is written as rows by columns. Important types include row, column, square, diagonal, identity and zero matrices. Matrices of the same order are added by adding matching elements, and matrices are multiplied by multiplying rows by columns when the orders allow it. The determinant of a 2 x 2 matrix [[a, b], [c, d]] is ad - bc, for example the determinant of [[2, 3], [1, 4]] is 5.

← First chapterUnit 2 — Jald aa raha hai →

← Back to Class 9 Mathematics chapter list