- 1. What is a matrix?
- 2. How big is it? The order of a matrix
- 3. Types of matrices: row, column, square, diagonal, scalar, identity, zero
- 4. When are two matrices equal?
- 5. Adding matrices and multiplying by a number
- 6. Multiplying matrices: row into column
- 7. Why AB is not BA, and other surprises of matrix multiplication
- 8. Turning rows into columns: the transpose
- 9. Symmetric and skew symmetric matrices
- 10. Undoing a matrix: invertible matrices
- 11. Finding an inverse with row operations (JEE extra)
- Review
1 of 11·NCERT §3.1 · §3.2·4 min
What is a matrix?
The big ideaA matrix is a table of numbers in rows and columns, where the position of each number tells you what it means.
In simple words
A shopkeeper writes down how many bags of rice, dal and sugar are in each of her two shops. She does not write long sentences. She draws a small grid: one line for each thing, one column for each shop, a number in every box. Anyone who knows which line is which can read the whole stock at a glance. A grid of numbers like that, with a fixed place for every number, is what this chapter is about.
A kirana shop's stock book
A kirana shop has two branches, one on Main Road and one near the station. The owner counts the packets of rice, dal and sugar in each:
| Main Road | Station | |
|---|---|---|
| Rice | 40 | 25 |
| Dal | 30 | 18 |
| Sugar | 22 | 35 |
Once everyone agrees that the lines are rice, dal, sugar (in that order) and the columns are Main Road, Station, the labels can go. What is left is just the numbers, kept in their places and closed in square brackets:
\[ S = \begin{bmatrix} 40 & 25 \\ 30 & 18 \\ 22 & 35 \end{bmatrix} \]
The 18 in the second line and second column means "dal at the Station branch". Move it anywhere else and it means something different. The place carries the meaning.
Try it: find each fact by its place alone, then hide the labels and find it again.
What exactly is a matrix?
A matrix (plural matrices) is an ordered rectangular array of numbers or functions: a rectangle of entries, each in a fixed place. The entries are called the elements (or entries) of the matrix. "Ordered" is the key word: the same numbers in a different arrangement make a different matrix.
- The horizontal lines are the rows. In S, the first row [40 25] is the rice in both branches.
- The vertical lines are the columns. In S, the second column holds 25, 18, 35: everything at the Station branch.
Matrices are named with capital letters: A, B, S, X. In this book every entry is a real number or a function that gives real values, for example \( \begin{bmatrix} \sin x & x^2 \\ 1 & \cos x \end{bmatrix} \).
Same facts, two ways to arrange them
The stock could just as well be written with the shops as rows and the items as columns:
\[ \begin{bmatrix} 40 & 30 & 22 \\ 25 & 18 & 35 \end{bmatrix} \]
Now the first row is the whole Main Road branch. Both arrangements hold the same facts, but they are different matrices: one has 3 rows and 2 columns, the other 2 rows and 3 columns. You can choose either layout, as long as you say which you chose and stick to it. (Turning one into the other has a name, the transpose, which comes later in the chapter.)
Points and shapes as matrices
A point (x, y) can be written as a one-column matrix \( \begin{bmatrix} x \\ y \end{bmatrix} \) or a one-row matrix [x y]. A whole shape can then be stored by putting its corners side by side. The triangle with corners P(2, 1), Q(5, 1) and R(3, 4) becomes
\[ \begin{bmatrix} 2 & 5 & 3 \\ 1 & 1 & 4 \end{bmatrix} \]
with the x-coordinates in the top row and the y-coordinates below, one column per corner. Computer graphics stores pictures this way, so that a single matrix calculation can stretch, turn or flip every corner at once.
Try it: drag a corner of the triangle and watch its column change, then swap the two rows.
Why bother?
Matrices began as a short way of writing the numbers in a set of linear equations, so that they could be solved quickly. Today they run spreadsheets (a sheet is a big matrix), the budgets and sales forecasts of businesses, the rotations and reflections in games and animation, secret codes in cryptography, and models in genetics and economics. In this chapter you learn the rules: how to name the size of a matrix, the special kinds, and how to add, scale, multiply and flip them.
Remember
- A matrix is an ordered rectangular array of numbers (or functions) in square brackets.
- Horizontal lines are rows; vertical lines are columns.
- The place of an entry is part of its meaning, so rearranging the entries gives a different matrix.
Try it. A class of three students, Anu, Bilal and Charu, scored (Maths, Physics) = (78, 85), (92, 74) and (65, 90). Write this as a matrix with one row per student. What does the entry in the third row and first column mean?
Answer
- Matrix
- An ordered rectangle of numbers or functions, written in square brackets.
- Element (entry)
- One number inside a matrix.
- Row
- A horizontal line of entries, read left to right.
- Column
- A vertical line of entries, read top to bottom.
- Cryptography
- Writing and breaking secret codes; matrices can scramble and unscramble messages.
Words to know
In the stock matrix S above (rows rice, dal, sugar; columns Main Road, Station), what does the second column tell you?
- How much dal each branch has
- Everything in stock at the Station branch
- The total stock of both branches
Two matrices contain exactly the same six numbers, but arranged differently. Are they the same matrix?
- Yes, if the numbers are the same
- Yes, if they have the same number of rows
- Not unless every number is in the same place
Picture and video credits