PYQ Vault

NDA Maths · Matrices & Determinants

Matrices: Order, Algebra, Powers & Equations

A matrix is a rectangular array of numbers; you add, scalar-multiply, multiply, transpose, raise to powers, and solve matrix equations — all governed by conformability and the fact that AB ≠ BA.

Why this matters

Thirty-three PYQs, mostly EASY–MODERATE — the foundation the whole chapter stands on. Questions test matrix order and multiplication conformability, counting matrices, powers and matrix polynomials (A² − kA − I = O), and the algebra traps that catch students who assume matrices behave like numbers. Master the eight concepts below and you bank the easy marks and stop losing the trap ones.

Test yourself — a quick 14-question Matrices & Determinants recall quiz, instant score.

Concept 1 of 8: What a matrix is — order and types

A matrix is just a grid of numbers arranged in rows and columns. Its order is (rows × columns), read rows-first. The shape decides almost everything — which matrices can be added, which can be multiplied, and which can have a determinant or inverse.

Definition

A matrix of order m×nm \times n has mm rows and nn columns. Key types:

  • Row / column matrix: a single row (1×n1\times n) or single column (m×1m\times 1).
  • Square matrix: m=nm = n — only these have a determinant and (possibly) an inverse.
  • Null (zero) matrix OO: every entry 0.
  • Diagonal / scalar / identity: square matrices with entries only on the main diagonal (identity II has 1s there).

Worked example

A matrix has 12 entries. What orders are possible for it?
Practice this concept4 quick reps

Concept 2 of 8: Equality, addition, and scalar multiplication

Two matrices are equal only if they have the same order AND every corresponding entry matches — which turns a matrix equation into a set of ordinary equations. Addition and scalar multiplication are entry-by-entry, so they need the same order.

Definition

Matrices are equal iff same order and aij=bija_{ij} = b_{ij} for all i,ji, j. Addition is defined only for the same order, done entrywise. Scalar multiplication kAkA multiplies every entry by kk. Equating matrices entrywise is the standard way to solve for unknown entries.

Worked example

If 3A−B=(4591)3A - B = \begin{pmatrix} 4 & 5 \\ 9 & 1 \end{pmatrix}, where A=(x231)A = \begin{pmatrix} x & 2 \\ 3 & 1 \end{pmatrix} and B=(210y)B = \begin{pmatrix} 2 & 1 \\ 0 & y \end{pmatrix}, find xx and yy.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2017 · Q11Moderate

Example 2 · Matrices & Determinants · Matrix Operations, Polynomials, and Equations

If A=(4i−610i14i6+4i)A = \begin{pmatrix}4i-6 & 10i \\ 14i & 6+4i\end{pmatrix} and k=12ik = \dfrac{1}{2i}, where i=−1i = \sqrt{-1}, then kAkA is equal to

Concept 3 of 8: Matrix multiplication and conformability

To multiply AA by BB, the inner dimensions must match: an m×nm\times n times an n×pn\times p gives an m×pm\times p. Each entry of the product is a row of AA dotted with a column of BB. Crucially, matrix multiplication is not commutative — ABAB and BABA can differ, or one may not even exist.

Definition

Am×n Bn×p=(AB)m×pA_{m\times n}\,B_{n\times p} = (AB)_{m\times p}; the product is defined only when AA's column count equals BB's row count. Entry (AB)ij=∑kaikbkj(AB)_{ij} = \sum_k a_{ik}b_{kj}. In general AB≠BAAB \neq BA. The quadratic form [x y z] M [x y z]T[x\ y\ z]\,M\,[x\ y\ z]^T is 1×11\times1 (a scalar).

Order of a product

Am×n Bn×p=(AB)m×pA_{m\times n}\, B_{n\times p} = (AB)_{m\times p}

Worked example

If AA is 4×34\times3 and BB is 3×23\times2, find the orders of ABAB and BABA (or state if undefined).
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2020 · Q41Easy

Example 3 · Matrices & Determinants · Matrix Operations, Polynomials, and Equations

If AA is a matrix of order 3×53\times5 and BB is a matrix of order 5×35\times3, then the order of ABAB and BABA will respectively be

Matrix multiplication is NOT commutative — AB≠BAAB \neq BA

Order matters: ABAB and BABA are generally different matrices (and one may not even exist). Never reorder factors inside a product. If a question gives ABAB, compute ABAB — answering with BABA is the classic trap.

Concept 4 of 8: Counting matrices

If each of the NN entries of a matrix can independently take one of kk values, there are kNk^N matrices. If instead you're asked how many ORDERS a matrix with NN entries can have, count the factor pairs of NN.

Definition

By entries: an m×nm\times n matrix has mnmn entries; if each is chosen from a set of kk values, there are kmnk^{mn} such matrices. By order: the number of possible orders for a matrix with exactly NN entries equals the number of (ordered) factor pairs of NN, i.e. the number of divisors of NN.

Worked example

How many distinct 2×22\times2 matrices have every entry from {1,2}\{1, 2\}?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2021 · Q47Easy

Example 4 · Matrices & Determinants · Matrix Operations, Polynomials, and Equations

How many distinct 2×22\times2 matrices exist with all four entries taken from {1,2}\{1,2\}?

Concept 5 of 8: Transpose and its rules

The transpose ATA^T (or A′A') flips rows into columns. The one rule that trips people up is the reversal law: the transpose of a product reverses the order — (AB)T=BTAT(AB)^T = B^T A^T.

Definition

(AT)ij=aji(A^T)_{ij} = a_{ji} — an m×nm\times n matrix transposes to n×mn\times m. Rules:

  • Self-inverse: (AT)T=A(A^T)^T = A
  • Sum: (A+B)T=AT+BT(A+B)^T = A^T + B^T
  • Scalar: (kA)T=kAT(kA)^T = kA^T
  • Reversal: (AB)T=BTAT(AB)^T = B^T A^T (order reverses)

Transpose rules

(AB)T=BTAT(AB)^T = B^T A^T

Worked example

Which of these are correct for matrices A,B,CA, B, C of the same order: (1) (A+B+C)T=AT+BT+CT(A+B+C)^T = A^T+B^T+C^T; (2) (AB)T=ATBT(AB)^T = A^T B^T?
Practice this concept4 quick reps

The same idea in a real exam question:

NDA · Sep 2018 · Q28Moderate

Example 5 · Matrices & Determinants · Matrix Operations, Polynomials, and Equations

Consider the following in respect of matrices A, B and C of same order: 1. (A+B+C)′=A′+B′+C′(A+B+C)' = A' + B' + C' 2. (AB)′=A′B′(AB)' = A'B' 3. (ABC)′=C′B′A′(ABC)' = C'B'A' where A' is the transpose of the matrix A. Which of the above are correct?

(AB)T=BTAT(AB)^T = B^T A^T — the order REVERSES

The transpose of a product flips the factors: (AB)T=BTAT(AB)^T = B^T A^T, not ATBTA^T B^T. Sum and scalar transposes keep their order ((A+B)T=AT+BT(A+B)^T = A^T+B^T); only the PRODUCT reverses. Writing ATBTA^T B^T is the trap.

Concept 6 of 8: Powers of a matrix

AnA^n means AA multiplied by itself nn times (only square matrices). The exam trick is to compute A2A^2, spot a pattern (it repeats, or equals a multiple of AA or II), and ride that pattern instead of grinding all nn products.

Definition

For square AA: A2=A⋅AA^2 = A\cdot A, An=An−1AA^n = A^{n-1}A. Look for cycles: e.g. a swap matrix (0110)\begin{pmatrix}0&1\\1&0\end{pmatrix} squares to II, so even powers are II. A rotation by θ\theta to the nnth power is rotation by nθn\theta.

Powers of a matrix

A2=A⋅AAn=An−1AA^2 = A\cdot A \qquad A^n = A^{n-1}A

Worked example

If A=(1101)A = \begin{pmatrix}1&1\\0&1\end{pmatrix}, find A3A^3.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2017 · Q38Easy

Example 6 · Matrices & Determinants · Matrix Operations, Polynomials, and Equations

If A=(0110)A = \begin{pmatrix}0&1\\1&0\end{pmatrix}, then the value of A4A^4 is

Concept 7 of 8: Matrix polynomials and equations

A matrix can satisfy a polynomial equation like A2−kA−I=OA^2 - kA - I = O. Compute A2A^2, write the equation entrywise (or use the Cayley–Hamilton shortcut for 2×22\times2: every matrix satisfies A2−(trace)A+(det⁡)I=OA^2 - (\text{trace})A + (\det)I = O), and read off the unknown.

Definition

Expressions like A2−4AA^2 - 4A, 23A3−19A2−4A23A^3 - 19A^2 - 4A are evaluated by substituting powers of AA. For a 2×22\times2 matrix, Cayley–Hamilton gives A2−(a+d)A+(ad−bc)I=OA^2 - (a+d)A + (ad-bc)I = O where a+da+d is the trace (the sum of the diagonal entries) and ad−bcad-bc the determinant — the fastest route to the constant kk in A2−kA+cI=OA^2 - kA + cI = O problems. The same equation also yields the inverse: A2−kA−I=O⇒A−1=A−kIA^2 - kA - I = O \Rightarrow A^{-1} = A - kI (developed in Cofactors, Adjoint & Inverse).

Cayley–Hamilton (2×2)

A2−(a+d) A+(ad−bc) I=OA^2 - (a+d)\,A + (ad - bc)\,I = O

Worked example

If A=(3124)A = \begin{pmatrix}3&1\\2&4\end{pmatrix} and A2−kA+10I2=OA^2 - kA + 10I_2 = O, find kk.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2018 · Q26Moderate

Example 7 · Matrices & Determinants · Matrix Operations, Polynomials, and Equations

If A=(1223)A = \begin{pmatrix}1 & 2 \\ 2 & 3\end{pmatrix} and A2−kA−I2=OA^2 - kA - I_2 = O, then what is k?

Concept 8 of 8: Matrix algebra — where numbers' rules break

Matrices look like numbers but don't always obey number-algebra. Three classics: AB=OAB = O does NOT force AA or BB to be zero; (A+B)(A−B)≠A2−B2(A+B)(A-B) \neq A^2 - B^2 unless A,BA, B commute; and (A+B)2≠A2+2AB+B2(A+B)^2 \neq A^2 + 2AB + B^2 for the same reason.

Definition

Because AB≠BAAB \neq BA in general:

  • (A+B)(A−B)=A2−AB+BA−B2(A+B)(A-B) = A^2 - AB + BA - B^2, which equals A2−B2A^2 - B^2 only if AB=BAAB = BA.
  • (A+B)2=A2+AB+BA+B2(A+B)^2 = A^2 + AB + BA + B^2.
  • AB=OAB = O is possible with both A≠OA \neq O and B≠OB \neq O (zero divisors exist).

Transpose/adjoint/inverse of a product all reverse order.

Non-commutative expansions

(A+B)2=A2+AB+BA+B2(A+B)(A−B)=A2−AB+BA−B2(A+B)^2 = A^2 + AB + BA + B^2 \qquad (A+B)(A-B) = A^2 - AB + BA - B^2

Worked example

For matrices A,BA, B of the same order, is (A+B)(A−B)=A2−B2(A+B)(A-B) = A^2 - B^2 always true?
Practice this concept4 quick reps

The same idea in a real exam question:

NDA · Sep 2018 · Q35Moderate

Example 8 · Matrices & Determinants · Matrix Operations, Polynomials, and Equations

Consider the following in respect of matrices A and B of same order: 1. A2−B2=(A+B)(A−B)A^2-B^2=(A+B)(A-B) 2. (A−I)(I+A)=O⇔A2=I(A-I)(I+A)=O \Leftrightarrow A^2=I where I is the identity matrix and O is the null matrix. Which of the above is/are correct?

Don't import a2−b2=(a+b)(a−b)a^2 - b^2 = (a+b)(a-b) into matrices

Every number identity that secretly uses commutativity can break for matrices. (A+B)(A−B)(A+B)(A-B), (A+B)2(A+B)^2, (AB)2=A2B2(AB)^2 = A^2B^2 all FAIL unless AB=BAAB = BA. When an option assumes one of these, it's almost always the trap answer.

AB=OAB = O does NOT force A=OA = O or B=OB = O

Unlike numbers, matrices have zero divisors: two non-zero matrices can multiply to the zero matrix (e.g. (1000)(0001)=O\begin{pmatrix}1&0\\0&0\end{pmatrix}\begin{pmatrix}0&0\\0&1\end{pmatrix} = O). So you may NOT 'cancel' a matrix; concluding A=OA=O or B=OB=O from AB=OAB=O is the trap.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (5)

Watch out for (4)

Test yourself on Matrices & Determinants

20 past NDA questions from this chapter, timed at 25 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.