Linear algebra·Intermediate·Object

Matrix

A matrix is a rectangular array of entries arranged in rows and columns.

It is a number grid used to organize data or represent a linear transformation.

Linear AlgebraMatrices and operations

What does matrix mean?

An m×n matrix has m rows and n columns. Matrices can represent systems of linear equations, transformations, data tables, and graph relationships. Addition requires equal dimensions; matrix multiplication requires the number of columns in the first factor to match the number of rows in the second.

Notation

A=[aᵢⱼ]ₘₓₙ

Matrix examples

Example 1

State the dimensions of [[1,2,3],[4,5,6]].

Answer: 2×3

The array has two rows and three columns.

Properties and types

  • Matrix multiplication is generally not commutative.
  • A square matrix has the same number of rows and columns.
  • Only square matrices have determinants in the usual sense.

Where is matrix used?

This concept appears in a range of mathematical and practical settings:

  • Solving linear systems
  • Computer graphics
  • Data and scientific models

Common misunderstandings

  • Reversing row and column counts.
  • Multiplying matrices whose inner dimensions do not match.

Related tools and learning resources