Introduction to Matrices — Definition, Formula & Examples
A matrix is a rectangular array of numbers arranged in rows and columns, enclosed in brackets. Matrices organize data so you can perform calculations on entire systems of numbers at once.
A matrix of order is an ordered rectangular array of elements , where denotes the row and denotes the column. When , the matrix is called a square matrix.
Key Formula
Where:
- = The matrix name
- = Number of rows
- = Number of columns
- = The entry in row i and column j
How It Works
Each entry in a matrix is identified by its row number and column number. For example, the entry sits in the second row and third column. The size (or order) of a matrix is always stated as rows columns — a matrix with 3 rows and 2 columns is a matrix. You can add two matrices only if they have the same dimensions, and you multiply them only when the number of columns in the first matches the number of rows in the second. Matrices let you represent and solve systems of linear equations, apply geometric transformations, and store data in fields from computer graphics to economics.
Worked Example
Problem: Given the matrix below, state its dimensions and identify the entry in row 2, column 3.
Step 1: Write the matrix.
Step 2: Count the rows and columns. There are 2 rows and 3 columns, so the dimensions are .
Step 3: Locate the entry in row 2, column 3. Go to the second row and move to the third position.
Answer: Matrix is a matrix, and the entry is .
Another Example
Problem: Add the two matrices: and .
Step 1: Confirm the dimensions match. Both and are , so addition is defined.
Step 2: Add corresponding entries position by position.
Step 3: Simplify each entry.
Answer:
Why It Matters
Matrices are foundational in high school Algebra 2 and Precalculus, where you use them to solve systems of linear equations efficiently. In college, linear algebra courses build almost entirely on matrix operations. Professionals in computer graphics, data science, engineering, and machine learning rely on matrices daily to represent transformations, datasets, and neural network weights.
Common Mistakes
Mistake: Writing dimensions as columns × rows instead of rows × columns.
Correction: Always state dimensions as rows first, then columns. A matrix with 3 rows and 4 columns is , not .
Mistake: Trying to add or subtract matrices of different dimensions.
Correction: Matrix addition requires both matrices to have exactly the same number of rows and the same number of columns. A matrix cannot be added to a matrix.
