1. Big Picture: What Is a Matrix?
In simple words, a matrix is just a neat way of arranging numbers in the form of a rectangle made of rows and columns. Instead of writing many numbers scattered all over the page, we put them in a box-like arrangement so that everything looks organised.
You can think of a matrix as a small table of numbers. Each number sits at a fixed position, like seats in a classroom arranged in rows and columns.
1.1. Everyday Examples of Matrices
You may not notice it, but matrices appear naturally in many everyday situations. For example:
- A marks table showing marks of students in different subjects.
- A seating plan of a classroom (rows of benches and columns of students).
- A table showing monthly sales for different products.
All these are actually matrices: numbers arranged in rows and columns.
1.2. Visualising a Matrix as a Grid
Here is a simple example of a matrix with 2 rows and 3 columns:
\( A = \begin{bmatrix} 2 & 5 & 7 \\ 4 & 1 & 3 \end{bmatrix} \)
We can also imagine it as a small table:
| 2 | 5 | 7 |
| 4 | 1 | 3 |
This is the basic picture you should keep in mind whenever you hear the word matrix.
2. Formal Definition and Notation of a Matrix
Definition: A matrix is a rectangular arrangement of numbers (or other quantities) in horizontal rows and vertical columns.
The numbers inside a matrix are called its elements or entries. We usually denote a matrix by capital letters like \( A, B, C \) and its entries by small letters with two indices like \( a_{ij} \).
2.1. General \( m \times n \) Matrix and Notation
A general matrix with m rows and n columns is written like this:
\( A = [a_{ij}]_{m \times n} = \begin{bmatrix} a_{11} & a_{12} & \cdots & a_{1n} \\ a_{21} & a_{22} & \cdots & a_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} & a_{m2} & \cdots & a_{mn} \end{bmatrix} \)
Here:
- \( m \) = number of rows
- \( n \) = number of columns
- \( a_{ij} \) = entry in the i-th row and j-th column
2.2. Meaning of \( a_{ij} \): Position of an Element
The symbol \( a_{ij} \) is read as a i j and it tells you exactly where the element is placed inside the matrix:
- The first index \( i \) tells you the row number.
- The second index \( j \) tells you the column number.
For example, if
\( A = \begin{bmatrix} 3 & -1 & 4 \\ 0 & 2 & 5 \end{bmatrix} \)
then:
- \( a_{11} = 3 \) (row 1, column 1)
- \( a_{12} = -1 \) (row 1, column 2)
- \( a_{23} = 5 \) (row 2, column 3)
3. Order (Size) of a Matrix
The order (or size) of a matrix tells you how many rows and how many columns it has. If a matrix has \( m \) rows and \( n \) columns, we say its order is \( m \times n \) and read it as “m by n”.
This is one of the first things you should check whenever you look at a matrix.
3.1. How to Find the Order of a Matrix
To find the order of a matrix:
- Count the number of horizontal rows.
- Count the number of vertical columns.
- Write it as \( \text{(number of rows)} \times \text{(number of columns)} \).
For example,
\( B = \begin{bmatrix} 1 & 0 & 5 \\ -2 & 3 & 7 \end{bmatrix} \)
Here, there are 2 rows and 3 columns, so the order of \( B \) is \( 2 \times 3 \).
3.2. More Examples of Orders
Look at these matrices and their orders:
- \( \begin{bmatrix} 4 & 9 \end{bmatrix} \) has order \( 1 \times 2 \) (1 row, 2 columns).
- \( \begin{bmatrix} 2 \\ -3 \\ 5 \end{bmatrix} \) has order \( 3 \times 1 \) (3 rows, 1 column).
- \( \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix} \) has order \( 3 \times 3 \).
Two matrices can be easily compared using their orders. Later, you will see that many operations on matrices are possible only when their orders match certain rules.
4. Rows, Columns and Position of an Element
A matrix is built from rows and columns:
- A row is a horizontal line of entries.
- A column is a vertical line of entries.
Understanding rows and columns clearly will help you in all future operations like addition, multiplication and finding transpose.
4.1. Identifying Rows and Columns
Consider the matrix
\( C = \begin{bmatrix} 2 & -1 & 4 \\ 0 & 3 & 5 \\ 7 & 1 & -2 \end{bmatrix} \)
Here:
- Row 1: \( [2, -1, 4] \)
- Row 2: \( [0, 3, 5] \)
- Row 3: \( [7, 1, -2] \)
and
- Column 1: \( [2, 0, 7] \)
- Column 2: \( [-1, 3, 1] \)
- Column 3: \( [4, 5, -2] \)
4.2. Reading the Position of an Element
To describe the position of an element, we always use the pattern:
\( a_{ij} = \) element in the i-th row and j-th column.
In the matrix \( C \) above:
- \( c_{11} = 2 \)
- \( c_{13} = 4 \)
- \( c_{21} = 0 \)
- \( c_{32} = 1 \)
Whenever you see a symbol like \( a_{23} \), immediately think: “row 2, column 3”. This habit will make matrix problems much easier.
5. Matrices as Compact Forms of Information
One major reason we use matrices in mathematics is that they allow us to pack a lot of information into a small, clean structure. This is very useful in higher mathematics, physics, computer science and economics.
5.1. Example: Marks of Students in a Class
Suppose three students A, B and C have marks in Maths and Science as follows:
| Student | Maths | Science |
|---|---|---|
| A | 78 | 84 |
| B | 65 | 73 |
| C | 90 | 88 |
We can write this information as a matrix:
\( M = \begin{bmatrix} 78 & 84 \\ 65 & 73 \\ 90 & 88 \end{bmatrix} \)
Now all the data is captured in one matrix \( M \). Later, we will learn how to use such matrices to perform operations like finding totals, averages and more.
5.2. Example: System of Linear Equations
Consider the system of equations:
\( 2x + 3y = 7 \)
\( 4x - y = 1 \)
We can write this system using matrices as:
\( A = \begin{bmatrix} 2 & 3 \\ 4 & -1 \end{bmatrix}, \quad X = \begin{bmatrix} x \\ y \end{bmatrix}, \quad B = \begin{bmatrix} 7 \\ 1 \end{bmatrix} \)
\( AX = B \)
This matrix form makes it easier to apply powerful methods to solve the system. You will study these methods in later topics.
6. Key Points to Keep in Mind for Matrices
- A matrix is a rectangular arrangement of numbers in rows and columns.
- The order of a matrix is written as \( m \times n \), where \( m \) is the number of rows and \( n \) is the number of columns.
- \( a_{ij} \) represents the element in the i-th row and j-th column.
- We use matrices to store and handle data and to write systems of linear equations compactly.
With these basic ideas clear, you are ready to move on to the different types of matrices and various operations on them.