Free Mathematics Class 12 CBSE notes · practise this chapter with an AI quiz

← All study notes

How a Shopkeeper's Stock Register Is Already a Matrix

Define a matrix and its order, test when two matrices are equal, recognise row, column, square, diagonal, scalar, identity and zero matrices, add, subtract and scale matrices using their properties, and solve matrix equations for unknown entries.

Why are matrices so useful for organising numbers?

A shopkeeper's register showing how many bags of rice, dal and sugar are stored in two godowns is a rectangular arrangement of numbers — a matrix.

This part covers what a matrix is and when two are equal, types of matrices, addition and scalar multiplication, and solving matrix equations.

What is a matrix, how is its order written, and when are two matrices equal?

A matrix is a rectangular array of numbers in rows and columns, its order m×nm \times n gives the number of rows and columns, and two matrices are equal only when they have the same order and every pair of corresponding entries is equal.

Notation.
A matrix is written A=[aij]m×nA = [a_{ij}]_{m \times n}, where aija_{ij} is the entry in the iith row and jjth column. An m×nm \times n matrix has mnmn entries.

Worked example 1 — reading entries.

A=[25−1037]A = \begin{bmatrix} 2 & 5 & -1 \\ 0 & 3 & 7 \end{bmatrix}

The order is 2×32 \times 3, so there are 66 entries; a12=5a_{12} = 5 and a23=7a_{23} = 7.

Possible orders. A matrix with 1212 entries can have order 1×121 \times 12, 2×62 \times 6, 3×43 \times 4, 4×34 \times 3, 6×26 \times 2 or 12×112 \times 1 — six orders in all.

An everyday example. A school timetable with 6 days as rows and 8 periods as columns is a 6×86 \times 8 matrix of subjects.

The substance. Matrices of different orders are never equal, even if they contain the same numbers.

How do you identify row, column, square, diagonal, scalar, identity and zero matrices?

A row matrix has one row, a column matrix has one column, a square matrix has as many rows as columns, a diagonal matrix is square with zeros off the main diagonal, a scalar matrix is diagonal with equal diagonal entries, an identity matrix is scalar with diagonal entries 1, and a zero matrix has every entry 0.

Types with examples:

- Row matrix — order 1×n1 \times n: [3−14]\begin{bmatrix} 3 & -1 & 4 \end{bmatrix}
- Column matrix — order m×1m \times 1: [25]\begin{bmatrix} 2 \\ 5 \end{bmatrix}
- Square matrix — m=nm = n; its main diagonal is a11,a22,…,anna_{11}, a_{22}, \ldots, a_{nn}
- Diagonal matrix — square, with aij=0a_{ij} = 0 whenever i≠ji \ne j: [400−3]\begin{bmatrix} 4 & 0 \\ 0 & -3 \end{bmatrix}
- Scalar matrix — diagonal, with every diagonal entry equal to some kk: [5005]\begin{bmatrix} 5 & 0 \\ 0 & 5 \end{bmatrix}
- Identity matrix — scalar with k=1k = 1: I2=[1001]I_2 = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}
- Zero matrix OO — every entry 00, of any order

An everyday example. One column listing every student's marks in a single test is a column matrix; one student's marks across five subjects is a row matrix.

The substance. A diagonal matrix may have zeros on its diagonal too — the only condition is that off-diagonal entries are zero.

How do you add, subtract and scalar-multiply matrices, and which properties do these operations follow?

Matrices of the same order are added or subtracted entry by entry, a matrix is multiplied by a scalar by multiplying every entry, and matrix addition is commutative and associative, with the zero matrix as additive identity and −A-A as additive inverse.

Operations:

-
Addition
— A+B=[aij+bij]A + B = [a_{ij} + b_{ij}], only when AA and BB have the same order
- Scalar multiplication — kA=[k aij]kA = [k\,a_{ij}]
- Negative and subtraction — −A=(−1)A-A = (-1)A and A−B=A+(−1)BA - B = A + (-1)B

Worked example. Let A=[13−24]A = \begin{bmatrix} 1 & 3 \\ -2 & 4 \end{bmatrix} and B=[5−102]B = \begin{bmatrix} 5 & -1 \\ 0 & 2 \end{bmatrix}.

A+B=[62−26]2A−B=[−37−46]A + B = \begin{bmatrix} 6 & 2 \\ -2 & 6 \end{bmatrix} \qquad 2A - B = \begin{bmatrix} -3 & 7 \\ -4 & 6 \end{bmatrix}

Properties of addition for matrices of the same order:

- Commutative — A+B=B+AA + B = B + A
- Associative — (A+B)+C=A+(B+C)(A + B) + C = A + (B + C)
- Additive identity — A+O=AA + O = A
- Additive inverse — A+(−A)=OA + (-A) = O

An everyday example. Two stationery shops' monthly sales matrices of pens and notebooks add entry by entry to give combined sales, and multiplying by 22 shows the sales for two such months.

The substance. Adding a 2×32 \times 3 matrix to a 3×23 \times 2 matrix is undefined, even though both have six entries.

How do you solve matrix equations to find unknown entries?

To solve a matrix equation, simplify each side into a single matrix using addition and scalar multiplication, then equate corresponding entries and solve the resulting ordinary equations.

Worked example 1. Find xx and yy if

2[130x]+[y012]=[5618]2\begin{bmatrix} 1 & 3 \\ 0 & x \end{bmatrix} + \begin{bmatrix} y & 0 \\ 1 & 2 \end{bmatrix} = \begin{bmatrix} 5 & 6 \\ 1 & 8 \end{bmatrix}

The left side is [2+y612x+2]\begin{bmatrix} 2 + y & 6 \\ 1 & 2x + 2 \end{bmatrix}. Equating entries:

2+y=5⇒y=32x+2=8⇒x=32 + y = 5 \Rightarrow y = 3 \qquad 2x + 2 = 8 \Rightarrow x = 3

Worked example 2 — two unknown matrices. Solve

X+Y=[7025]X−Y=[3003]X + Y = \begin{bmatrix} 7 & 0 \\ 2 & 5 \end{bmatrix} \qquad X - Y = \begin{bmatrix} 3 & 0 \\ 0 & 3 \end{bmatrix}

Adding the equations gives 2X=[10028]2X = \begin{bmatrix} 10 & 0 \\ 2 & 8 \end{bmatrix}, so X=[5014]X = \begin{bmatrix} 5 & 0 \\ 1 & 4 \end{bmatrix}. Subtracting gives 2Y=[4022]2Y = \begin{bmatrix} 4 & 0 \\ 2 & 2 \end{bmatrix}, so Y=[2011]Y = \begin{bmatrix} 2 & 0 \\ 1 & 1 \end{bmatrix}.

An everyday example. Knowing a shop's closing stock matrix and its sales matrix for a month gives the opening stock matrix by the same entry-by-entry reasoning.

The substance. Substitute your answers back to check, since one wrong entry makes the matrices unequal.
Exam tip

What earns full marks on matrices?

Write the order of every matrix before adding, subtracting or equating, so an undefined operation is caught at once.

- Equality: same order and equal corresponding entries
- Addition and subtraction: entry by entry, same order only
- Properties: commutative, associative, identity OO, inverse −A-A
- Equations: simplify each side, then equate entries

The trap. Multiplying only the diagonal by a scalar. In kAkA, every entry of AA is multiplied by kk.
Did you know

How do phones brighten photos using matrices?

A black-and-white digital photo is stored as a matrix of numbers, one entry per pixel, where a larger number means a brighter dot.

Brightening the whole photo means adding the same number to every entry, and boosting contrast involves scaling entries by a constant.

So every time a phone brightens a picture, it is doing exactly the matrix addition and scalar multiplication from this lesson — on matrices with millions of entries.
Exam relevance

How are matrices tested in JEE Main?

Matrices belongs to the JEE Main unit Matrices and Determinants, and these basics are the foundation for everything that follows in it.

What gets asked. Orders and numbers of entries, constructing matrices from aija_{ij} rules, recognising special matrices, and solving matrix equations. These lead directly to matrix multiplication, transpose, symmetric and skew-symmetric matrices, determinants and inverses, all recurring JEE Main topics.

Question types. Multiple-choice and numerical-value questions, often on the number of possible orders or matrices that meet a condition.

The trap that costs marks. Treating every scalar matrix as an identity matrix
— only a scalar matrix with diagonal entries 11 is an identity.
Key takeaways

What must you be able to do from this part?

- Matrix: A=[aij]m×nA = [a_{ij}]_{m \times n} with mnmn entries; equal matrices share their order and every entry
- Types: row, column, square, diagonal, scalar, identity and zero; identity is scalar, scalar is diagonal, diagonal is square
- Operations: add and subtract entry by entry for equal orders; kAkA scales every entry; addition is commutative and associative with identity OO and inverse −A-A
- Equations: reduce each side to one matrix and equate entries

How many different orders can a matrix with 1818 entries have? List them, and decide whether any of them is a square matrix.

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on Matrices — Part 1Create a free account
← Back to all articles