NIMCET, GATE, CUET & CBSE test series are live — start practicing free
syllabuzAI

Matrices: Types, Multiplication and Transpose | NIMCET

Learn the types of matrices, matrix addition and multiplication, properties of the transpose, symmetric and skew-symmetric matrices, and special matrices like idempotent and nilpotent, for NIMCET.

4 min read

SP

SHIVAM PRADHAN

Updated 25 October 2026

On this page

Quick answer: A matrix of order m×nm \times n is a rectangular array with m rows and n columns. Matrices of the same order are added entry by entry. The product AB exists only when the number of columns of A equals the number of rows of B, and in general AB≠BAAB \ne BA. The transpose ATA^T swaps rows and columns, with (AB)T=BTAT(AB)^T = B^TA^T. A is symmetric if AT=AA^T = A and skew-symmetric if AT=−AA^T = -A.

Types of matrices

TypeDefinition
Row / columnOne row / one column
Squarem=nm = n
Zero (null)All entries 0
DiagonalSquare, all off-diagonal entries 0
ScalarDiagonal with equal diagonal entries
Identity IIDiagonal with all diagonal entries 1
Upper triangularAll entries below the diagonal are 0
Lower triangularAll entries above the diagonal are 0

Trace: the sum of the diagonal entries of a square matrix. tr(A+B)=tr(A)+tr(B)\text{tr}(A + B) = \text{tr}(A) + \text{tr}(B) and tr(AB)=tr(BA)\text{tr}(AB) = \text{tr}(BA).

Matrix operations

OperationRule
AdditionSame order; add corresponding entries
Scalar multipleMultiply every entry by k
Product AB(AB)ij=∑kaikbkj(AB)_{ij} = \sum_k a_{ik}b_{kj}; needs columns of A = rows of B
Order of product(m×n)(n×p)=m×p(m \times n)(n \times p) = m \times p

Properties of multiplication

PropertyHolds?
Associative: (AB)C=A(BC)(AB)C = A(BC)Yes
Distributive: A(B+C)=AB+ACA(B + C) = AB + ACYes
Commutative: AB=BAAB = BANot in general
AB=O⇒A=OAB = O \Rightarrow A = O or B=OB = ONo
AI=IA=AAI = IA = AYes

Because AB≠BAAB \ne BA in general, (A+B)2=A2+AB+BA+B2(A + B)^2 = A^2 + AB + BA + B^2, not A2+2AB+B2A^2 + 2AB + B^2.

Transpose

PropertyResult
(AT)T(A^T)^TAA
(A+B)T(A + B)^TAT+BTA^T + B^T
(kA)T(kA)^TkATkA^T
(AB)T(AB)^TBTATB^TA^T

Symmetric and skew-symmetric matrices

  • Symmetric: AT=AA^T = A, so aij=ajia_{ij} = a_{ji}.
  • Skew-symmetric: AT=−AA^T = -A, so aij=−ajia_{ij} = -a_{ji} and all diagonal entries are 0.

Every square matrix splits uniquely as

A=12(A+AT)+12(A−AT)A = \frac{1}{2}(A + A^T) + \frac{1}{2}(A - A^T)

where the first part is symmetric and the second skew-symmetric.

Special square matrices

NameCondition
IdempotentA2=AA^2 = A
InvolutoryA2=IA^2 = I
Nilpotent of index kAk=OA^k = O, Ak−1≠OA^{k - 1} \ne O
OrthogonalAAT=ATA=IAA^T = A^TA = I

Worked examples

Example 1: multiplication

Let A=[1234]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} and B=[0110]B = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}.

AB=[2143],BA=[3412]AB = \begin{bmatrix} 2 & 1 \\ 4 & 3 \end{bmatrix}, \quad BA = \begin{bmatrix} 3 & 4 \\ 1 & 2 \end{bmatrix}

So AB≠BAAB \ne BA.

Example 2: order of a product

If A is 2×32 \times 3 and B is 3×43 \times 4, then AB is 2×42 \times 4, and BA is not defined.

Example 3: symmetric part

Write A=[1423]A = \begin{bmatrix} 1 & 4 \\ 2 & 3 \end{bmatrix} as symmetric plus skew-symmetric.

12(A+AT)=[1333],12(A−AT)=[01−10]\frac{1}{2}(A + A^T) = \begin{bmatrix} 1 & 3 \\ 3 & 3 \end{bmatrix}, \quad \frac{1}{2}(A - A^T) = \begin{bmatrix} 0 & 1 \\ -1 & 0 \end{bmatrix}

Example 4: powers of a matrix

If A=[1101]A = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}, then An=[1n01]A^n = \begin{bmatrix} 1 & n \\ 0 & 1 \end{bmatrix}. Check n=2n = 2: A2=[1201]A^2 = \begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix} ✓.

Summary table

IdeaKey result
Product definedColumns of A = rows of B
CommutativityAB≠BAAB \ne BA in general
Transpose of productBTATB^TA^T
Skew-symmetric diagonalAll zeros
Any square matrixSymmetric + skew-symmetric

Exam tips

  • Check orders first; many questions are answered by "not defined".
  • Do not expand (A+B)2(A + B)^2 as if matrices commute.
  • For AnA^n, compute A2A^2 and A3A^3 and look for a pattern.

Next, study determinants, cofactors and the inverse, or see the NIMCET Algebra chapter.

Common mistakes

  • Multiplying matrices entry by entry.
  • Writing (AB)T=ATBT(AB)^T = A^TB^T.
  • Assuming AB=OAB = O forces A or B to be zero.
  • Forgetting that a skew-symmetric matrix has zero diagonal.

Frequently Asked Questions

When can two matrices be multiplied?

AB is defined when the number of columns of A equals the number of rows of B.

Is matrix multiplication commutative?

No. In general AB ≠ BA.

What is the transpose of a product of matrices?

(AB)ᵀ = BᵀAᵀ.

What is a skew-symmetric matrix?

A square matrix with Aᵀ = −A. All its diagonal entries are zero.

What is an idempotent matrix?

A square matrix with A² = A.

Concept Check

MEDIUM

Find the value of tan⁡9∘−tan⁡27∘−tan⁡63∘+tan⁡81∘\tan 9^\circ - \tan 27^\circ - \tan 63^\circ + \tan 81^\circ.

Suggested for you