Topics in this sectionMatrices4 topics
- Introduction to Matrices
- Matrix Operations
- Determinants and Inverse Matrices
- Solving Simultaneous Equations Using Matrices
A matrix is a rectangular arrangement of numbers or items in rows and columns. We use matrices to organize and store information so that it is easy to read and work with. In this lesson, you will learn what a matrix looks like, how to describe its size, and how to identify each number inside it.
A matrix is a way of arranging data in a grid. Think of a timetable for buses leaving Juba. You might list the departure times across the top (as columns) and the destination towns along the side (as rows). The information is arranged neatly so you can find any particular time quickly.
Here is a simple example of a matrix:
[317529]This matrix contains six numbers arranged in two rows and three columns.
The rows of a matrix run horizontally — from left to right. The columns run vertically — from top to bottom. In everyday life, you already use this idea. When you write a shopping list, each item is in a row. When you write the price next to each item in the same line, that price is in the same row but in a different column.
In a matrix, we always state the number of rows first, then the number of columns. This is why we say a matrix has size or dimension written as "rows × columns" (read as "rows by columns").
For the matrix above:
- It has 2 rows
- It has 3 columns
- Its size is 2×3 (2 by 3)
Try This — Counting Rows and Columns
Look at the matrix below and count:
427683How many rows does it have? How many columns? What is its size? (The answer appears at the end of this note.)
Each number inside a matrix is called an element or entry. To refer to a specific element, we use its position. We write the position as aij, where i tells you which row the element is in and j tells you which column it is in.
For example, in this matrix:
A=[5238]- a11=5 (first row, first column)
- a12=3 (first row, second column)
- a21=2 (second row, first column)
- a22=8 (second row, second column)
Notice how we always read the row number first, then the column number. This is the same rule we follow when giving the size of a matrix — rows come before columns.
Matrices help us organize information that would otherwise be difficult to manage. Consider a small shop in Wau that sells three types of sorghum flour. The manager records how many bags of each type were sold over three days:
- Day 1: 12 bags of white sorghum, 8 bags of red sorghum, 5 bags of mixed
- Day 2: 15 bags of white sorghum, 6 bags of red sorghum, 9 bags of mixed
- Day 3: 10 bags of white sorghum, 11 bags of red sorghum, 7 bags of mixed
We can arrange this data in a 3×3 matrix:
1215108611597Now the shopkeeper can quickly see sales for any day or any type of sorghum. This is why we state rows first and columns second — it matches how we naturally organize information.
A scalar is a single number on its own. In matrix work, we sometimes need to multiply every element in a matrix by a scalar. For example, if the shop owner wants to double all the sales figures above to plan for next week, the scalar would be 2.
Think about your class timetable. Create a 2×4 matrix that shows your subjects for two days of the week. Let the rows represent the days (Monday, Tuesday) and the columns represent the periods (Period 1 to Period 4). Fill in the subject names or abbreviations in each position.
After you create it, check with a classmate: do you both write the rows and columns in the same order? Discuss why it is important to agree on the order.
Answer to the practice question: The matrix has 3 rows and 2 columns, so its size is 3×2.
Matrices are used in many places across South Sudan. In a market in Malakal, a trader who sells bags of dura, groundnuts, and simsim can use a matrix to record how much of each crop was sold each month. By organizing the data in rows and columns, the trader can easily compare sales from one month to the next and decide which crops to stock more of during the next season.
Question
How many rows does the matrix below have?
427683
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet