Why this chapter matters. This chapter drew 15 real questions in the seven papers from NDA II 2023 to NDA II 2026, about two a paper on average. Most of them ask you to recognise a type of matrix (symmetric, skew-symmetric, orthogonal), to say whether a product is defined, or to work out one small product or power. Five of them are solved in section 8. The other three chapters of this unit all stand on this one.
What you will be able to do
- State the order of a matrix and name its type.
- Add, subtract and multiply matrices, and say when a product is not defined.
- Use the transpose to test whether a matrix is symmetric, skew-symmetric or orthogonal.
- Find small powers of a square matrix quickly.
Before you start you should know: arithmetic with negative numbers and the values of โ\sinโ and โ\cosโ at the standard angles. No earlier chapter of this course is needed.
1. What a matrix is
A matrix is a rectangular arrangement of numbers in rows and columns, written inside brackets. A matrix with โmโ rows and โnโ columns has order โm \times nโ (read "โmโ by โnโ") and has โmnโ elements. Rows are always counted first.
A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix}
This matrix has 2 rows and 3 columns. Its order is 2 ร 3 and it has 6 elements. The element in row โiโ and column โjโ is written โa_{ij}โ. Here โa_{12} = 2โ and โa_{21} = 4โ.
Two matrices are equal only when they have the same order and every pair of matching elements is equal.
2. Types of matrices
| Name | What it means | Example |
|---|---|---|
| Row matrix | Only one row | โ\begin{bmatrix} 1 & 5 & 7 \end{bmatrix}โ |
| Column matrix | Only one column | โ\begin{bmatrix} 2 \\ 9 \end{bmatrix}โ |
| Square matrix | Rows and columns are equal in number. A 3 ร 3 matrix is "square of order 3" | โ\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}โ |
| Diagonal matrix | Square, and every element off the main diagonal is 0 | โ\begin{bmatrix} 2 & 0 \\ 0 & 5 \end{bmatrix}โ |
| Scalar matrix | Diagonal, with all diagonal elements equal | โ\begin{bmatrix} 7 & 0 \\ 0 & 7 \end{bmatrix}โ |
| Identity (unit) matrix โIโ | Diagonal, with every diagonal element 1 | โ\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}โ |
| Zero (null) matrix โOโ | Every element is 0. It can have any order | โ\begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}โ |
| Triangular matrix | Square, with only zeros below the main diagonal (upper triangular) or only zeros above it (lower triangular) | โ\begin{bmatrix} 1 & 4 \\ 0 & 3 \end{bmatrix}โ |
The main diagonal of a square matrix runs from the top left corner to the bottom right corner. The sum of the elements on it is called the trace.
3. Adding, subtracting and multiplying by a number
Two matrices can be added or subtracted only when they have the same order. Work element by element. To multiply a matrix by a number โkโ, multiply every element by โkโ.
For example, with โA = \begin{bmatrix} 2 & -1 \\ 0 & 3 \end{bmatrix}โ and โB = \begin{bmatrix} 1 & 4 \\ 2 & 0 \end{bmatrix}โ:
3A - 2B = \begin{bmatrix} 6 - 2 & -3 - 8 \\ 0 - 4 & 9 - 0 \end{bmatrix} = \begin{bmatrix} 4 & -11 \\ -4 & 9 \end{bmatrix}
4. Multiplying two matrices
The product โABโ is defined only when the number of columns of โAโ equals the number of rows of โBโ. The orders work like this:
(m \times n) \text{ times } (n \times p) \text{ gives } (m \times p)
The element in row โiโ and column โjโ of โABโ is found from row โiโ of โAโ and column โjโ of โBโ: multiply the matching elements and add.
Take โA = \begin{bmatrix} 2 & 3 \\ 1 & 0 \end{bmatrix}โ and โB = \begin{bmatrix} 1 & 0 \\ 2 & 5 \end{bmatrix}โ. Then
AB = \begin{bmatrix} 2 \times 1 + 3 \times 2 & 2 \times 0 + 3 \times 5 \\ 1 \times 1 + 0 \times 2 & 1 \times 0 + 0 \times 5 \end{bmatrix} = \begin{bmatrix} 8 & 15 \\ 1 & 0 \end{bmatrix}
In the other order, โBA = \begin{bmatrix} 2 & 3 \\ 9 & 6 \end{bmatrix}โ. The two answers are different.
Four facts to remember:
- โABโ and โBAโ are usually not equal. The order of multiplication matters.
- Brackets can be moved and opened as usual: โ(AB)C = A(BC)โ and โA(B + C) = AB + ACโ.
- The identity matrix behaves like the number 1: โAI = IA = Aโ.
- โAB = Oโ can happen when neither โAโ nor โBโ is a zero matrix. For example โ\begin{bmatrix} 1 & 0 \\ 0 & 0 \end{bmatrix} \begin{bmatrix} 0 & 0 \\ 0 & 1 \end{bmatrix} = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}โ. So a matrix cannot be "cancelled" from both sides as a number can.
5. The transpose, and three types that use it
The transpose โA^Tโ (also written โA'โ) is made by turning rows into columns. If โAโ has order โm \times nโ, then โA^Tโ has order โn \times mโ.
The rules: โ(A^T)^T = Aโ, โ(A + B)^T = A^T + B^Tโ, โ(kA)^T = kA^Tโ, and
(AB)^T = B^T A^T \quad \text{(the order reverses)}
| Type (square matrices only) | Test | What it looks like |
|---|---|---|
| Symmetric | โA^T = Aโ | โa_{ij} = a_{ji}โ: the matrix is a mirror image across the main diagonal, as in โ\begin{bmatrix} 1 & 7 \\ 7 & 4 \end{bmatrix}โ |
| Skew-symmetric | โA^T = -Aโ | โa_{ij} = -a_{ji}โ, and every diagonal element is 0, as in โ\begin{bmatrix} 0 & 7 \\ -7 & 0 \end{bmatrix}โ |
| Orthogonal | โAA^T = A^TA = Iโ | In each row the squares of the elements add up to 1, and two different rows multiplied element by element add up to 0, as in โ\begin{bmatrix} \cos\theta & \sin\theta \\ -\sin\theta & \cos\theta \end{bmatrix}โ |
Every square matrix can be written as a symmetric matrix plus a skew-symmetric matrix:
A = \tfrac{1}{2}(A + A^T) + \tfrac{1}{2}(A - A^T)
The first part is symmetric and the second part is skew-symmetric.
6. Powers of a square matrix
For a square matrix, โA^2 = AAโ, โA^3 = AAAโ and so on. Three facts save time:
- Every power of โIโ is โIโ.
- To find a power of a diagonal matrix, raise each diagonal element to that power.
- If โA^2 = Iโ, then every even power of โAโ is โIโ and every odd power is โAโ.
7. Worked examples
Example 1. โAโ has order 2 ร 3 and โBโ has order 3 ร 4. Which of โABโ and โBAโ is defined?
For โABโ: โAโ has 3 columns and โBโ has 3 rows, so โABโ is defined. Its order is 2 ร 4. For โBAโ: โBโ has 4 columns but โAโ has 2 rows, so โBAโ is not defined.
Example 2. Find โABโ and โBAโ for โA = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}โ and โB = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}โ.
โAB = \begin{bmatrix} 0 + 2 & 1 + 0 \\ 0 + 4 & 3 + 0 \end{bmatrix} = \begin{bmatrix} 2 & 1 \\ 4 & 3 \end{bmatrix}โ and โBA = \begin{bmatrix} 0 + 3 & 0 + 4 \\ 1 + 0 & 2 + 0 \end{bmatrix} = \begin{bmatrix} 3 & 4 \\ 1 & 2 \end{bmatrix}โ.
So โAB \ne BAโ.
Example 3. Write โA = \begin{bmatrix} 1 & 4 \\ 2 & 3 \end{bmatrix}โ as the sum of a symmetric and a skew-symmetric matrix.
โA^T = \begin{bmatrix} 1 & 2 \\ 4 & 3 \end{bmatrix}โ. Then โ\tfrac{1}{2}(A + A^T) = \begin{bmatrix} 1 & 3 \\ 3 & 3 \end{bmatrix}โ and โ\tfrac{1}{2}(A - A^T) = \begin{bmatrix} 0 & 1 \\ -1 & 0 \end{bmatrix}โ.
These two add up to โAโ.
Example 4. For โA = \begin{bmatrix} 3 & 1 \\ -1 & 2 \end{bmatrix}โ, show that โA^2 - 5A + 7I = Oโ.
โA^2 = \begin{bmatrix} 9 - 1 & 3 + 2 \\ -3 - 2 & -1 + 4 \end{bmatrix} = \begin{bmatrix} 8 & 5 \\ -5 & 3 \end{bmatrix}โ. Then
A^2 - 5A + 7I = \begin{bmatrix} 8 - 15 + 7 & 5 - 5 + 0 \\ -5 + 5 + 0 & 3 - 10 + 7 \end{bmatrix} = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}
Notice that the number 7 must be written as โ7Iโ before it can be added to a matrix.
Example 5. If โA = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}โ, find โA^{100}โ and โA^{101}โ.
โA^2 = \begin{bmatrix} 0 + 1 & 0 + 0 \\ 0 + 0 & 1 + 0 \end{bmatrix} = Iโ. So โA^{100} = (A^2)^{50} = Iโ and โA^{101} = A^{100}A = Aโ. No long multiplication is needed.
8. From the real papers
Try each question for 75 seconds before reading the solution. That is the time the exam allows.
NDA II 2023, Q18. If โA = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}โ, then what is โ23A^3 - 19A^2 - 4Aโ equal to?
(a) Null matrix of order 3โโ(b) Identity matrix of order 3โโ(c) โ\begin{bmatrix} 2 & 0 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 2 \end{bmatrix}โโโ(d) โ\begin{bmatrix} 7 & 0 & 0 \\ 0 & 7 & 0 \\ 0 & 0 & 7 \end{bmatrix}โ
Solution. โAโ is the identity matrix, and every power of โIโ is โIโ. So the expression is โ23I - 19I - 4I = (23 - 19 - 4)I = 0Iโ, the null matrix. Answer (a).
NDA I 2024, Q21. What is the number of different matrices, each having 4 entries that can be formed using 1, 2, 3, 4 (repetition is allowed)?
(a) โ72โโโ(b) โ216โโโ(c) โ254โโโ(d) โ768โ
Solution. A matrix with 4 entries can have order 1 ร 4, 2 ร 2 or 4 ร 1: three possible orders. For each order, every one of the 4 places can hold any of the 4 numbers, which gives โ4^4 = 256โ matrices. Total: โ3 \times 256 = 768โ. Answer (d).
NDA I 2025, Q27. If โA = \begin{bmatrix} 1 & 2 & 2 \\ 2 & 1 & 2 \\ 2 & 2 & 1 \end{bmatrix}โ then what is โA^2 - 4Aโ equal to? where โI_3โ is the identity matrix of order 3.
(a) โ-5I_3โโโ(b) โ-I_3โโโ(c) โI_3โโโ(d) โ5I_3โ
Solution. Each diagonal element of โA^2โ is a row times the matching column: โ1 + 4 + 4 = 9โ. Each element off the diagonal, for example row 1 times column 2, is โ2 + 2 + 4 = 8โ. So โA^2โ has 9 on the diagonal and 8 elsewhere, while โ4Aโ has 4 on the diagonal and 8 elsewhere. Subtracting leaves 5 on the diagonal and 0 elsewhere, which is โ5I_3โ. Answer (d).
NDA II 2026, Q18. Let โA = \begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix}โ. What is the least value of โ\thetaโ for which โA + A^T = Iโ, where โIโ is the identity matrix of order 2?
(a) โ\pi/2โโโ(b) โ\pi/3โโโ(c) โ\pi/4โโโ(d) โ\pi/6โ
Solution. โA^T = \begin{bmatrix} \cos\theta & \sin\theta \\ -\sin\theta & \cos\theta \end{bmatrix}โ. On adding, the โ\sin\thetaโ elements cancel: โA + A^T = \begin{bmatrix} 2\cos\theta & 0 \\ 0 & 2\cos\theta \end{bmatrix}โ. For this to be โIโ we need โ2\cos\theta = 1โ, so โ\cos\theta = \tfrac{1}{2}โ. The least positive angle is โ\theta = \pi/3โ. Answer (b).
NDA II 2026, Q21. Let โAโ and โBโ be symmetric matrices of the same order. Which of the following statements is/are correct? I. โ(AB - BA)โ is also a symmetric matrix. II. โ(BA - AB)โ is a skew-symmetric matrix. Select the answer using the code given below.
(a) I onlyโโ(b) II onlyโโ(c) Both I and IIโโ(d) Neither I nor II
Solution. Here โA^T = Aโ and โB^T = Bโ. Using โ(XY)^T = Y^T X^Tโ, we get โ(AB - BA)^T = B^T A^T - A^T B^T = BA - AB = -(AB - BA)โ. So โAB - BAโ is skew-symmetric, and I is wrong. In the same way โ(BA - AB)^T = AB - BA = -(BA - AB)โ, so II is right. Answer (b).
9. Mistakes that cost marks
- Treating โABโ and โBAโ as equal. Because of this, โ(A + B)^2 = A^2 + 2AB + B^2โ is wrong for matrices. The right version is โ(A + B)^2 = A^2 + AB + BA + B^2โ.
- Writing โ(AB)^T = A^T B^Tโ. The order reverses: โ(AB)^T = B^T A^Tโ.
- Cancelling a matrix. From โAB = Oโ you cannot say that โA = Oโ or โB = Oโ. From โAB = ACโ you cannot say that โB = Cโ, unless you know that โAโ has an inverse (Chapter M2-3).
10. Quick check
Do these without help. Answers are at the end.
- A matrix has 12 elements. How many different orders can it have?
- โAโ has order 3 ร 2 and โBโ has order 2 ร 4. What is the order of โABโ? Is โBAโ defined?
- Find โA^2โ for โA = \begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix}โ.
- โAโ is a skew-symmetric matrix with โa_{12} = 5โ. Write down โa_{21}โ and โa_{11}โ.
- For โA = \begin{bmatrix} 2 & 0 \\ 0 & 3 \end{bmatrix}โ and โB = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}โ, find โAB - BAโ.
11. Read and watch more, free
| What | Where | Language |
|---|---|---|
| Textbook | NCERT Class 12 Mathematics, Chapter 3 Matrices ยท Hindi edition | English, Hindi |
| Self-study notes | NIOS Mathematics, Lesson 20 Matrices ยท Hindi edition ยท 5-page summary | English, Hindi |
| Video, the whole unit for NDA | Defence Wallah: Matrices and Determinants (first video of the playlist, about 5 hours) | Hinglish |
| Video, short lessons | Khan Academy: Matrices | English |
| Video, short lessons | Khan Academy India: เคเคเฅเคทเคพ 12 เคเคจเคธเฅเคเคเคฐเคเฅ เคเคฃเคฟเคค (the lessons on เคเคตเฅเคฏเฅเคน) | Hindi |
The videos were chosen from their titles, length and views; they have not yet been watched by a teacher.
Answers to the quick check
- Six: 1 ร 12, 2 ร 6, 3 ร 4, 4 ร 3, 6 ร 2 and 12 ร 1.
- โABโ has order 3 ร 4. โBAโ is not defined, because โBโ has 4 columns and โAโ has 3 rows.
- โ\begin{bmatrix} 1 & 4 \\ 0 & 1 \end{bmatrix}โ.
- โa_{21} = -5โ and โa_{11} = 0โ.
- โAB = \begin{bmatrix} 2 & 2 \\ 0 & 3 \end{bmatrix}โ and โBA = \begin{bmatrix} 2 & 3 \\ 0 & 3 \end{bmatrix}โ, so โAB - BA = \begin{bmatrix} 0 & -1 \\ 0 & 0 \end{bmatrix}โ.
Next chapter: Determinants: value and properties.