Clear linear algebra, one matrix at a time.Jump to FAQ →
Linear algebra made clear

Understand matrices.
Solve with confidence.

A modern, student-friendly guide to the most important types of matrices, their properties, operations, and practical solving methods.

A 3 × 3 matrix
2−10431052
Rows × columns · order: 3 × 3
Start here

What is a matrix?

A matrix is a rectangular arrangement of numbers, symbols, or expressions organized into rows and columns. We name a matrix by its dimensions: an m × n matrix has m rows and n columns.

A = [ aᵢⱼ ]ₘₓₙ    →    i = row index, j = column index
The essential catalogue

Types of matrices and their properties

Recognizing a matrix type quickly helps you choose the right operation and predict what properties it will have.

01

Row matrix

Has exactly one row. Its order is 1 × n.

[ 3   7   −2 ]
02

Column matrix

Has exactly one column. Its order is m × 1.

[ 4
  1
  9 ]
03

Rectangular matrix

Rows and columns are unequal, so m ≠ n.

2 × 3 matrix
04

Square matrix

Has the same number of rows and columns. Its order is n × n.

det(A) and trace(A) are defined
05

Zero matrix

Every entry is zero. It acts like 0 in matrix addition.

0 + A = A
06

Diagonal matrix

A square matrix whose off-diagonal entries are all zero.

aᵢⱼ = 0 when i ≠ j
07

Scalar matrix

A diagonal matrix with the same value on every diagonal position.

kI = diag(k,k,…,k)
08

Identity matrix

A scalar matrix with diagonal entries equal to 1.

AI = IA = A
09

Triangular matrix

Upper or lower triangular when one side of the diagonal is zero.

det(A) = product of diagonal entries
10

Symmetric matrix

Equal to its transpose, so Aᵀ = A.

aᵢⱼ = aⱼᵢ
11

Skew-symmetric

Equal to the negative of its transpose, so Aᵀ = −A.

aᵢⱼ = −aⱼᵢ; diagonal = 0
12

Singular matrix

A square matrix with determinant zero. It has no inverse.

det(A) = 0 ⇒ A⁻¹ does not exist
Rules worth remembering

Core matrix properties

These rules explain what you may do with matrices and where ordinary arithmetic rules stop applying.

Addition and subtraction

Only matrices with the same order can be added or subtracted. Combine entries in matching positions.

(A + B)ᵢⱼ = aᵢⱼ + bᵢⱼ

Multiplication

AₘₓₙBₚₓᵩ is defined only when n = p. The result has order m × q.

(AB)ᵢⱼ = Σ aᵢₖbₖⱼ

Transpose

Transpose swaps rows and columns. It preserves the dimensions only for a square matrix.

(Aᵀ)ᵢⱼ = aⱼᵢ

Determinant and inverse

Only square matrices have determinants. A matrix is invertible precisely when its determinant is nonzero.

AA⁻¹ = A⁻¹A = I
From basics to exams

Common matrix operations

Scalar multiplication

Multiply every entry by the same number k.

kA = [kaᵢⱼ]

Matrix addition

Add corresponding entries in matrices of equal order.

A + B = [aᵢⱼ + bᵢⱼ]

Matrix product

Multiply each row of the first matrix by each column of the second.

row × column, then add

Determinant of 2 × 2

Subtract the cross-products of the diagonal entries.

|a b; c d| = ad − bc

Inverse of 2 × 2

Swap a and d, negate b and c, then divide by the determinant.

A⁻¹ = 1/(ad−bc) [d −b; −c a]

Rank

Rank is the number of independent rows or columns, found using row reduction.

rank(A) = number of pivots
A repeatable method

How to solve matrix problems

Use this workflow for calculations, systems of equations, determinants, inverses, and rank questions.

Identify the order

Count rows and columns. Check whether the matrix is square and whether an operation is dimensionally valid.

Choose the method

Use direct formulas for small matrices and row reduction for systems, inverses, and rank.

Work carefully

Keep signs visible, align entries, and write each row operation clearly so errors are easy to find.

Check the result

Verify dimensions, substitute solutions back, or multiply A by A⁻¹ to confirm the identity matrix.

Solving AX = B with an inverse

If A is square and invertible, multiply both sides by A⁻¹ on the left.

AX = B → A⁻¹AX = A⁻¹B → X = A⁻¹B

Solving with row reduction

Write the augmented matrix [A | B], apply elementary row operations, and reduce it to echelon or reduced echelon form.

[A | B] → [I | X]
Quick answers

Matrix FAQ

Short explanations for the questions students ask most often.

What is the easiest way to identify a matrix type?

Start with its dimensions. One row means row matrix, one column means column matrix, unequal dimensions mean rectangular, and equal dimensions mean square. Then inspect the entries around the main diagonal.

Can every matrix be inverted?

No. Only square matrices can have a two-sided inverse, and their determinant must be nonzero. A square matrix with determinant zero is singular and has no inverse.

Why is matrix multiplication not commutative?

In general, AB and BA use different row-column pairings and may even have different dimensions. Therefore AB is usually not equal to BA.

When can two matrices be added?

They must have exactly the same order. Add entries in the same row and column positions.

What does the determinant tell us?

For a square matrix, the determinant helps identify invertibility and represents a signed scale factor for the associated linear transformation.

What is the best method for solving simultaneous equations?

Gaussian elimination or Gauss-Jordan elimination works broadly and systematically. For a small invertible matrix, X = A⁻¹B can also be convenient.

Build your matrix intuition one property at a time.

Bookmark this guide for revision before your next linear algebra problem set.

Back to top ↑