Beginner Topic 8 of 51 Math for Computing
Matrices
Rectangular arrays representing linear maps.
How it works
A matrix is a rectangular array of numbers arranged in rows and columns that represents a linear transformation, a system of equations or tabular data. Basic operations include addition, scalar multiplication, transpose and multiplication, and special types include identity, diagonal, symmetric, orthogonal and invertible matrices. An m by n matrix maps n-dimensional vectors to m-dimensional ones. Rank, determinant, inverse and eigen decompositions describe their properties.
Where it is used
Computer graphics transformations, solving linear systems, neural network weights, image data, PageRank over graphs, adjacency representation and statistics use matrices.
Common pitfall
Matrix multiplication is not commutative and dimensions must be compatible, a common error. Inverting matrices explicitly is numerically unstable and costly; solve systems directly instead. Singular or ill-conditioned matrices give unreliable results. Row-major versus column-major storage affects performance and interoperability. Use optimized libraries such as BLAS and NumPy.
Where it fits in the course
Matrices is topic 8 of 51 in Math for Computing, rated Beginner. It follows Dot Product. The next topic is Matrix Multiplication.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Math for Computing quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Math for Computing quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Matrices?
Where do people use Matrices?
What is the most common mistake with Matrices?
What should I learn before this topic?
How can I practice it?
Is Matrices hard to learn?
How long does it take to learn Matrices?
Which topics are related to Matrices?
What should I study after Matrices?
Related topics
- Dot Product (Math for Computing)
- Matrix Multiplication (Math for Computing)
- Vectors (Math for Computing)
- Determinants (Math for Computing)
- Matrices in Graphics (Graphics, Vision & Media)