Matrix Definition Formula

A matrix is a rectangular array of numbers arranged in rows (horizontal) and columns (vertical).

The Formula

A=[aij]m×n where 1≤i≤m and 1≤j≤n

Ask yourself: Are the numbers arranged in a fixed rectangle of rows and columns with a stated size?

Quick example

A=[123456] is a 2×3 matrix. Entry a1,2=2 (row 1, column 2).

Notation

Matrices are denoted by capital letters (A, B, C). Entry in row i, column j is written aij. Dimensions are written m×n (rows × columns).

What this formula means

A matrix is a rectangular array of numbers arranged in rows (horizontal) and columns (vertical). An m×n matrix has m rows and n columns. Each number in the matrix is called an entry or element, identified by its row and column position.

A matrix is like a theatre seating chart with no gaps: every seat has a row and a seat number, and you say the row first, so seat a23 is row 2, seat 3. Unlike a real theatre, a matrix cannot have a short back row; every row has exactly n seats.

Formal view

A matrix A∈Rm×n is a function A:{1,…,m}×{1,…,n}→R, written as a rectangular array [aij] where aij=A(i,j). The set Rm×n forms a vector space of dimension mn.

Worked examples

Example 1

easy
Given A=[3−17052], what are the dimensions of A and what is a2,3?
Show solution

Answer

A is 2×3; a2,3=2

First step

1.
Step 1: Count rows: 2. Count columns: 3. Dimensions: 2×3.

Full solution

  1. 2.
    Step 2: a2,3 means row 2, column 3. That entry is 2.
  2. 3.
    Step 3: Verify: row 2 is [0,5,2], third element is 2 ✓
A matrix's dimensions are always given as rows × columns. The notation ai,j refers to the entry in row i and column j.

Example 2

medium
Write a 3×1 column matrix where ai,1=2i−1.

Example 3

challenge
Show how any n×n matrix A decomposes uniquely as a sum S+K where S is symmetric and K is skew-symmetric.

Common mistakes

  • Stating dimensions columns-first — always write m×n as rows × columns.
  • Mixing up the entry subscript order — aij is row i then column j, not the reverse.
  • Calling a non-rectangular set of numbers a matrix — every row must have the same number of entries.

Why this formula matters

Naming a table as one object A, with a size and an address for every entry, is what lets you add tables, multiply them and solve systems with them. Later rules are decided by size alone: two matrices can be added only if their sizes match, and multiplied only if the inner sizes agree. Calling a 2×3 matrix 3×2 makes every one of those checks come out wrong.

Frequently asked questions

What is the Matrix Definition formula?

A matrix is a rectangular array of numbers arranged in rows (horizontal) and columns (vertical). An m×n matrix has m rows and n columns. Each number in the matrix is called an entry or element, identified by its row and column position.

How do you use the Matrix Definition formula?

Use a matrix when numbers fall naturally into a grid with a meaning for each row and each column: sales by store and product, the coefficients of x and y in each equation of a system, points scored by each team in each round. State the size as rows by columns before doing anything else. If you have a single list of components, such as a displacement, treat it as a vector. If you need one number that describes a square matrix, find its determinant.

What do the symbols mean in the Matrix Definition formula?

Matrices are denoted by capital letters (A, B, C). Entry in row i, column j is written aij. Dimensions are written m×n (rows × columns).

Why is the Matrix Definition formula important in Math?

Naming a table as one object A, with a size and an address for every entry, is what lets you add tables, multiply them and solve systems with them. Later rules are decided by size alone: two matrices can be added only if their sizes match, and multiplied only if the inner sizes agree. Calling a 2×3 matrix 3×2 makes every one of those checks come out wrong.

What do students get wrong about Matrix Definition?

The procedure for matrix definition is the easy part; the trap is stating dimensions columns-first. Asking "Are the numbers arranged in a fixed rectangle of rows and columns with a stated size?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Matrix Definition formula?

Before studying the Matrix Definition formula, you should understand: systems of equations, variables.

The full guide

This formula is covered in depth in Solving Systems of Equations: Substitution, Elimination, and Matrices.