Nepedia
Back to Discover
Fluent Reader
🔢

Matrix (mathematics)

math Maturity 7-9 Next article →

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
MatrixLabelled

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
Matrix addition qtl2

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
MatrixMultiplication

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
Rotation by pi over 6

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
Labelled undirected graph

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
Area parallellogram as determinant

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.

509 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ 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

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.