The concept of matrix overlaps in the fields of mathematics and computer science. The basic definition is a set of numbers laid out in rows and columns to form a rectangular array.

Each number is the element, or entry, of the matrix. The entries represent data or mathematical equations, and they are used as a way of providing quick approximations of more complicated calculations.

Dark background with binary numbers and matrices
The concept of matrix and matrices is useful in both mathematics and computer science. Image: Valery Brozhinsky/Shutterstock

Not only matrices can be applied to engineering, physics and economics, but they also play an important role in computer graphics and science, since they represent rotations and transformations of images.

What are matrices used for?

Matrices are useful to users as they can offer accurate and quick calculations used to better control an operation, which could regard a mechanical device or a computer.

These mathematical operations were originally devised as a way of describing systems of linear equations.

In general, today, matrix multiplications come into play in graphs of data, render graphical images, control robots, facilitate the process of electronic communication or encrypt messages.

Read more: 20 ways to explain cloud computing to a five-year-old