Arrange numbers in a grid. If the grid has the same number of rows as columns — like a chessboard (8×8) or a tic-tac-toe board (3×3) — that's a square matrix. The name comes from the shape: it looks like a square, not a rectangle.
Why care? Square matrices are the only ones that can be multiplied by themselves, have a determinant, or be inverted — the workhorses behind solving systems of equations, computer graphics, and quantum mechanics.
The Precise Definition
A=[aij]m×n is a square matrix if and only if m=n
That is, the number of rows equals the number of columns. If a matrix has m rows and n columns its order is m×n; for a square matrix we write the order as n×n, or say it's "of order n".
Example:B=23−4−151078 is a 3×3 square matrix.
Counterexample:C=123456 is 3×2 — 3 rows, 2 columns. Not square, but rectangular.
Key Properties You'll Meet
Once a matrix is square, several features become possible:
Main diagonal: the entries a11,a22,…,ann (top-left to bottom-right).
Determinant: a single number det(A) (or ∣A∣); rectangular matrices don't have one.
Inverse: a square A may have an inverse A−1 with AA−1=In. Only square matrices can be invertible.
Trace: the sum of the diagonal entries, tr(A)=a11+a22+⋯+ann.
Watch out
Not every square matrix has an inverse. A square matrix with determinant zero is called singular — it has no inverse. A common exam trap.
The matrix A is the 2×2 off-diagonal matrix with zeros on the diagonal and ones elsewhere. Squaring it gives the identity matrix I, so the answer is (A).
Let’s understand what’s happening. The definition says aij=1 when i=j (off-diagonal entries) and aij=0 when i=j (diagonal entries). For a 2×2 matrix, that means:
a11=0 (since i=j)
a12=1 (since i=j)
a21=1 (since i=j)
a22=0 (since i=j)
So the matrix is:
A=(0110)
This is a well-known matrix — it’s the exchange matrix or the flip matrix. When you multiply it by itself, you’re essentially swapping rows/columns twice, which should bring you back to the original. Let’s verify.
Method: Build a matrix from its entry rule, then operate
Use this when a matrix is described by a formula for aij (its general element) rather than written out — you must first construct it, then perform the requested operation.
Steps
Step 1: Translate the entry rule into actual positions.
Go through every position (i,j) and apply the stated condition. For a 2×2 matrix the diagonal positions are (1,1) and (2,2) (where i=j) and the off-diagonal positions are (1,2) and (2,1) (where i=j). Fill in each value from the rule.
Mistake 1: Misreading the i=j / i=j conditions and swapping which entries are 0 and which are 1.
Why it's wrong: it builds the wrong matrix from the start, so every later step is wrong. Correct approach: carefully mark diagonal positions (i=j) versus off-diagonal (i=j) before filling values.
Mistake 2: Assuming a zero diagonal forces A2=O. …