Log in Sign up
Back to Discover
🔢

Matrix (mathematics)

math Maturity 7-9

Numbers can live in a grid.

MatrixLabelled.svg
MatrixLabelled.svg
They go in lines called rows. They also go in lines called columns. This helps us see many numbers at once. It helps us solve big puzzles. Can you find a grid near you?

41 words

Numbers can live in a grid.

MatrixLabelled.svg
MatrixLabelled.svg
These grids are called matrices. They have lines called rows. They also have lines called columns.
Matrix addition qtl2.svg
Matrix addition qtl2.svg
You can add two grids together. You can also multiply them. Some grids are square. This means they have the same number of rows and columns. Matrices help us change shapes. They can even turn a square into a tilted shape.
Area parallellogram as determinant.svg
Area parallellogram as determinant.svg
They are very useful tools in math.

78 words

Imagine a grid of numbers.

MatrixLabelled.svg
MatrixLabelled.svg
This grid is called a matrix. A matrix is a rectangular array. It holds numbers in rows and columns. Rows go side to side. Columns go up and down. The numbers inside are called entries.
Matrix addition qtl2.svg
Matrix addition qtl2.svg
You can do math with these grids. You can add two matrices together. You can also multiply them. If a matrix has the same number of rows and columns, it is a square matrix.
Area parallellogram as determinant.svg
Area parallellogram as determinant.svg
Matrices are very helpful in geometry. They can act as linear maps. This means they can change shapes. For example, a matrix can rotate a square. It can also stretch a shape. Scientists use matrices to solve big problems. They use them in many areas of math. They even help in computer science. Matrix theory is the study of these grids. It grew from a branch called linear algebra. Now it helps with many different math topics.

159 words

A matrix is a special way to organize information. It is a rectangular grid of numbers or other objects. We call these objects entries or elements. The entries sit in straight lines. Horizontal lines are called rows. Vertical lines are called columns.

MatrixLabelled.svg
MatrixLabelled.svg
The size of the matrix depends on these lines. We describe the size by counting the rows and columns. A matrix with two rows and three columns is a two-by-three matrix. If the number of rows and columns is the same, we call it a square matrix.
Matrix addition qtl2.svg
Matrix addition qtl2.svg
Some matrices have only one row or one column. These are called row or column vectors. You can even have an empty matrix with no rows or columns at all.

There are many ways to work with these grids. You can add two matrices together if they are the same size. To do this, you simply add the entries in the same spots. You can also multiply a single number by a whole matrix. This is called scalar multiplication. You do this by multiplying every entry by that number.

MatrixMultiplication.png
MatrixMultiplication.png
You can also flip a matrix by turning its rows into columns. This is called a transpose. Matrix multiplication is a bit more complex. It works by matching rows from one grid with columns from another. This special kind of math is very important for solving many problems.

Mathematics uses matrices to handle many things at once. In geometry, matrices can act as linear maps. This means they can change how a shape looks.

Rotation by pi over 6.svg
Rotation by pi over 6.svg
A matrix can rotate a shape around a point. It can also stretch a shape or flip it. These changes are called geometric transformations. You can use a matrix to change coordinates too. In science, researchers use matrices to solve huge computational problems. They often work with matrices that have very large dimensions. This helps them find answers that would be too hard to find otherwise.

Matrix theory is its own branch of math. It used to be just a small part of linear algebra. Now, it has grown to include many other subjects. It connects to things like graph theory and statistics.

Labelled undirected graph.svg
Labelled undirected graph.svg
Scientists use matrices in almost every field of math. They are also vital in numerical analysis. A square matrix has a special number called a determinant. This number is very important for studying the matrix. If the determinant is not zero, the matrix can be inverted. This means you can find a way to undo what the matrix did.

Matrices help us write down many equations at once. Instead of writing many separate lines, we use one matrix equation. This makes the math look much cleaner and easier to read.

Area parallellogram as determinant.svg
Area parallellogram as determinant.svg
You might see matrices in computer programs too. Some programs use arrays to hold these grids of numbers. Most mathematicians start counting their rows and columns at one. However, some computer languages start counting at zero. This is just a different way to keep track of the entries. Whether in a book or a computer, matrices help us see patterns in data.

524 words

A matrix is a rectangular array of numbers or other mathematical objects. These objects are called entries or elements. They are arranged in horizontal lines called rows and vertical lines called columns.

MatrixLabelled.svg
MatrixLabelled.svg
Matrices are essential tools in many fields of science and math. They allow us to organize large amounts of data into a single structure. This structure makes it easier to perform complex calculations. In linear algebra, matrices represent linear maps. In geometry, they describe how shapes change through transformations. They are also used in numerical analysis to solve massive computational problems. Many of these problems involve matrices with huge dimensions.

The size of a matrix is defined by its rows and columns. We describe this as the dimension of the matrix. For example, a matrix with two rows and three columns is a two-by-three matrix. There is no limit to how many rows or columns a matrix can have. If a matrix has the same number of rows and columns, it is a square matrix.

Matrix addition qtl2.svg
Matrix addition qtl2.svg
A matrix with only one row is called a row matrix or a row vector. A matrix with only one column is called a column matrix or a column vector. We also use the term infinite matrix for grids with infinite rows or columns. In computer science, an empty matrix may have no rows or columns at all.

We can perform several basic operations on matrices. Matrix addition and subtraction require the matrices to have the same size. You calculate the result by performing the operation on each corresponding entry.

Matrix addition qtl2.svg
Matrix addition qtl2.svg
Scalar multiplication involves multiplying a single number, called a scalar, by every entry in the matrix. Another operation is the transpose. To find the transpose, you turn all the rows into columns and all the columns into rows. Matrix multiplication is more complex. It is only possible if the number of columns in the first matrix matches the number of rows in the second. This operation corresponds to the composition of linear transformations.
MatrixMultiplication.png
MatrixMultiplication.png
Unlike regular numbers, matrix multiplication is not commutative. This means the order of the matrices matters, and $AB$ does not always equal $BA$.

Matrices are powerful tools for describing geometric transformations. A matrix can act as a linear map to change a shape's position or appearance. For example, a matrix can represent a rotation.

Rotation by pi over 6.svg
Rotation by pi over 6.svg
It can also represent a scaling, which stretches or shrinks an object.
Scaling by 1.5.svg
Scaling by 1.5.svg
Other transformations include shearing or flipping a shape.
Flip map.svg
Flip map.svg
These changes are called geometric transformations. A matrix can even change the coordinate system used to describe a space. These transformations are fundamental to understanding how objects move and change in geometry.

Square matrices have unique properties that are central to matrix theory. One important value is the determinant. The determinant is a single number associated with a square matrix. It is fundamental for studying the matrix's properties. For instance, a square matrix is invertible only if its determinant is not zero. An invertible matrix allows you to undo a transformation. Another important concept is the eigenvalue. The eigenvalues of a square matrix are the roots of its characteristic polynomial. These values help describe how the matrix affects certain vectors.

Matrices are also used to manage systems of linear equations. Instead of writing out every equation separately, we can write them compactly as a single matrix equation. This makes solving complex systems much more efficient. We can use row operations to solve these equations. These include adding one row to another, multiplying a row by a non-zero constant, or switching two rows. These techniques are used in methods like Gauss-Jordan elimination. By using matrices, mathematicians can handle many variables at the same time. This is much faster than traditional algebraic methods.

Matrix theory has grown into a massive branch of mathematics. It began as a sub-branch of linear algebra. Over time, it expanded to include graph theory, algebra, combinatorics, and statistics.

Labelled undirected graph.svg
Labelled undirected graph.svg
It is used in almost every scientific field. In computer programming, matrices are often represented as arrays of arrays. While mathematicians usually start counting rows and columns at one, some computer languages start at zero. This difference is just a matter of convention. Regardless of the notation, matrices remain a core way to study patterns and solve problems in the modern world.

728 words
🖼️ Images & Media (15)
File:MatrixLabelled.svg
MatrixLabelled.svg
File:Matrix addition qtl2.svg
Matrix addition qtl2.svg
File:MatrixMultiplication.png
MatrixMultiplication.png
File:Area parallellogram as determinant.svg
Area parallellogram as determinant.svg
File:VerticalShear m=1.25.svg
VerticalShear m=1.25.svg
File:Flip map.svg
Flip map.svg
File:Squeeze r=1.5.svg
Squeeze r=1.5.svg
File:Scaling by 1.5.svg
Scaling by 1.5.svg
File:Rotation by pi over 6.svg
Rotation by pi over 6.svg
File:Ellipse in coordinate system with semi-axes labelled.svg
Ellipse in coordinate system with...
File:Hyperbola2 SVG.svg
Hyperbola2 SVG.svg
File:Determinant example.svg
Determinant example.svg

+ 3 more

Up Next
🔢
Matrix multiplication
Math
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.