Array

An array is an arrangement of objects, such as numbers, typically in rows and/or columns. A table is a common example of an array.

  Column 1 Column 2 Column 3
Row 1 1,1 1,2 1,3
Row 2 2,1 2,2 2,3
Row 3 3,1 3,2 3,3
Row 4 4,1 4,2 4,3
Row 5 5,1 5,2 5,3

The table above shows a basic array with 5 rows and 3 columns. The pair of numbers in each cell indicates what row and what column that cell represents, with the first number indicating the row and the second number indicating the column. For example, the "1,2" indicates "row 1, column 2," which we can see is true based on the column and row labels on the table.

Tables can, and typically do contain more than just numbers. They can contain virtually anything you want to put in them, but regardless what is in the cells, a given cell would be referred to in the same way as shown in the table.

Arrays in mathematics

Arrays are used in many different areas, not just mathematics, but this page focuses on arrays in mathematics. Below are a few examples.

Multiplication charts

One example of an array in math is a multiplication chart.

×123456789
1123456789
224681012141618
3369121518212427
44812162024283236
551015202530354045
661218243036424854
771421283542495663
881624324048566472
991827364554637281

In the multiplication chart, the values in the first row and column represent which two values to multiply dependent on which cell of the chart we are looking at. For example, cell 7,5 represents the multiplication problem 7 × 5, and the value in cell 7,5 is the result of that multiplication: 35.

Matrices

Matrices are not a primary math topic, but if you look at an example of a matrix, you will see that it is also an array. There are many different ways to represent a matrix. One common way is to have an array of values within brackets.


There are a number of ways to refer to a matrix and its elements, or the objects in the matrix (in this case numbers). Generally, elements can be referred to in the same manner as the cells in a table - based on the row and column that the element occupies.