Purpose: Matrices arrange information compactly and can simplify work, including the representation of systems of linear equations.
Applications: Spreadsheet operations use matrices for budgeting, sales projections, cost estimation and analysing experimental results.
Uses beyond these: Matrices represent magnification, rotation and reflection, and are used in cryptography, science, genetics, economics, sociology, psychology and industrial management.
Meaning and Structure of a Matrix
Definition
Matrix ā An ordered rectangular arrangement of numbers or functions; each number or function in it is an element or entry.
Rows, Columns and Entries
Rows are horizontal lines of entries; columns are vertical lines.
Naming: Matrices are commonly denoted by capital letters such as A, B and C.
Entries: A matrix may contain numbers such as integers, fractions, decimals, surds and complex numbers, or functions such as trigonometric expressions.
Arrangement: The rows and columns can represent different categories; choose the arrangement that makes the information clear.
Examples of Matrix Entries
Matrix
Arrangement
Rows and columns
A=āā203ā55ā6āā
Numbers
3 rows and 2 columns
B=ā2+i3.53āā3ā15āā21ā275āāā
Numbers, including complex, decimal, fractional and surd entries
3 rows and 3 columns
C=[1+xcosxāx3sinx+2ā3tanxā]
Expressions and functions
2 rows and 3 columns
Two Ways to Arrange the Same Data
Arrangement
Matrix
Meaning of rows and columns
Students as rows; items as columns
ā151013ā625āā
Rows represent Radha, Fauzia and Simran; columns represent notebooks and pens. There are 3 rows and 2 columns.
Items as rows; students as columns
[156ā102ā135ā]
Rows represent notebooks and pens; columns represent Radha, Fauzia and Simran. There are 2 rows and 3 columns.
Reading a Matrix
Identify the information represented by the rows and columns.
Count the horizontal rows and vertical columns.
Read each entry according to its row and column position.
Worked example
Represent the notebook and pen counts for Radha, Fauzia and Simran, respectively, as a matrix with one row per student.
Use students as rows and notebooks and pens as the two columns, in that order.
ā151013ā625āā
The first row gives Radha's counts; the second and third rows give Fauzia's and Simran's counts.
ā151013ā625āā
Count the arrangement: it has three horizontal rows and two vertical columns.
3Ā rows,2Ā columns
Answer: The matrix is ā151013ā625āā; its rows represent the students and its columns represent notebooks and pens.
ā Common mistake
Do not confuse rows with columns: rows run horizontally, columns run vertically. The same data can be arranged either way, but its labels and entry positions must match.
Practice
For matrix B, state how many rows and columns it has and give one example of a complex entry.
Hint: Count the horizontal and vertical lines of entries.
Key step:B has three horizontal rows and three vertical columns; its first entry is 2+i.
Solution: It has 3 rows and 3 columns. One complex entry is 2+i.
Practice
Write the notebook and pen counts as a matrix with items as rows and students as columns.
Hint: Use one row for notebook counts and another for pen counts.
Key step: Place the three notebook counts in the first row and the three pen counts in the second.
Solution: The matrix is [156ā102ā135ā].
Quick recap
Matrix: An ordered rectangular array of numbers or functions; its entries are its elements.
Rows: Horizontal lines; columns: vertical lines.
Notation: Matrices are commonly named with capital letters.
Arrangement: Rows and columns can represent different categories; label and interpret them consistently.
Applications: Matrices organise data and support work in mathematics, science, business and other fields.
Data: Arrange information in rows and columns, then use the row and column position to interpret each entry.
Workers example: For factories I, II, and III, with men and women listed in that order, the matrix is ā302527ā253126āā.
Entry meaning: In the workers matrix, the third-row, second-column entry 26 is the number of women workers in factory III.
Plane point: A point (x,y) can be represented as a column matrix [xyā] or a row matrix [xāyā].
Example point: The point P(0,1) can be written as [01ā] or [0ā1ā].
Figure vertices: Coordinates of vertices can be arranged as columns or rows. For A(1,0),B(3,2),C(1,3),D(ā1,2), one representation is [10ā32ā13āā12ā]; the transposed arrangement is ā131ā1ā0232āā.
Practice
A matrix has 8 elements. Find all possible orders.
Hint: List the ordered pairs of natural numbers whose product is 8.
Key step:mn=8.
Solution: The factor pairs are (1,8),(2,4),(4,2),(8,1). Hence the possible orders are 1Ć8, 2Ć4, 4Ć2, and 8Ć1.
Practice
Represent worker counts for factories I, II, and III as a 3Ć2 matrix: men are 30,25,27 and women are 25,31,26. What does the entry in row 3, column 2 mean?
Hint: Use one row per factory and columns for men, then women.
Key step: Place each factory's men and women counts in the same row.
Solution: The matrix is ā302527ā253126āā. The entry 26 represents women workers in factory III.
Practice
Represent the point P(0,1) as both a row matrix and a column matrix.
Do not reverse the order: mĆn means m rows and n columns, not the other way around. For a fixed element count, list ordered factor pairs because mĆn and nĆm may be different orders.
Quick recap
Order:mĆn means m rows and n columns.
Elements: An mĆn matrix contains mn entries.
Position:aijā is in row i, column j.
Possible orders: List ordered natural-number factor pairs of the total number of entries.
Applications: Matrices organize data and represent points or vertices using coordinate entries.
Entry rules: Substitute valid row and column indices to construct each matrix entry.
Use these conditions to identify diagonal, scalar, and identity matrices.
Relationships between special matrices
Every identity matrix is a scalar matrix, and every scalar matrix is diagonal. A scalar matrix is an identity matrix when its common diagonal entry is 1.
Classifying a matrix
Count the rows and columns: one column gives a column matrix; one row gives a row matrix.
If the row and column counts match, the matrix is square.
For a square matrix, check whether off-diagonal entries are zero; then check whether diagonal entries are equal or all 1.
If every entry is zero, it is a zero matrix.
Worked example
Classify A=[50ā05ā].
Classify the matrix by order and by its entries.
A=[50ā05ā]
It has two rows and two columns, so it is square of order 2.
2Ć2
Its off-diagonal entries are zero, so it is diagonal; its diagonal entries are equal, so it is scalar.
a12ā=a21ā=0,a11ā=a22ā=5
The diagonal entries are not 1, so it is not an identity matrix; it is not a zero matrix.
5ī =1,Aī =O
Answer:A is a square matrix of order 2, and is both diagonal and scalar.
ā Common mistake
Do not call every diagonal matrix scalar: its diagonal entries must also be equal. An identity matrix requires those equal entries to be 1.
Practice
Classify ā200ā0ā10ā004āā.
Hint: Check its order, then compare its off-diagonal and diagonal entries.
Key step: It is square, all off-diagonal entries are zero, and its diagonal entries are unequal.
Solution: It is a square diagonal matrix of order 3, but not a scalar matrix.
Practice
Classify [10ā01ā].
Hint: Check whether it is diagonal and whether its diagonal entries are 1.
Key step: Its off-diagonal entries are zero and both diagonal entries are 1.
Solution: It is the identity matrix I2ā; it is also scalar and diagonal.
Practice
Classify [0ā0ā0ā].
Hint: Count rows and columns and check whether all entries are zero.
Key step: It has one row and three columns, and every entry is zero.
Solution: It is a row matrix of order 1Ć3 and also a zero matrix.
Quick recap
A column matrix has one column; a row matrix has one row.
A square matrix has equal numbers of rows and columns; its order is that common number.
A diagonal matrix has zero entries off its main diagonal.
A scalar matrix is diagonal with equal diagonal entries.
An identity matrix has diagonal entries 1 and all other entries 0.
A zero matrix has every entry equal to 0 and is denoted by O.
Entrywise equality rule ā If two matrices are equal, equating their corresponding entries gives equations that can be solved for unknowns.
Practice
Find a,b,c,d if [2a+b5cādāaā2b4c+3dā]=[411āā324ā].
Hint: Equate the four corresponding entries, then solve the two pairs of equations.
Key step: Solve 2a+b=4, aā2b=ā3 and 5cād=11, 4c+3d=24.
Solution: The first pair gives a=1, b=2; the second gives c=3, d=4.
Addition of Matrices
Matrix addition rule
For matrices A=[aijā] and B=[bijā] of the same order mĆn, their sum is C=[cijā] of order mĆn, where cijā=aijā+bijā for every valid i and j.
Practice
Can a 2Ć2 matrix be added to a 2Ć3 matrix?
Hint: Compare the orders before attempting to add entries.
Key step: Addition requires both matrices to have identical orders.
Solution: No. Their orders differ, so the sum is not defined.
ā Common mistake
Do not compare or add entries in different positions: equality and addition both use corresponding positions, and addition additionally requires equal orders.
Quick recap
Equal matrices have the same order and equal entries in every corresponding position.
Unknowns in equal matrices are found by equating matching entries and solving the resulting equations.
Matrix addition is defined only for matrices of the same order.
Add matrices entry by entry using cijā=aijā+bijā.
The sum of two mĆn matrices is also an mĆn matrix.
Addition is a binary operation on matrices of a fixed order.
For matrices of the same order, addition is commutative and associative; the zero matrix is the additive identity, and āA is the additive inverse of A.
Addition properties
A+B=B+A,(A+B)+C=A+(B+C),A+O=O+A=A,A+(āA)=O
All matrices in each equality must have the same order.
Check matrix addition properties
Confirm that all matrices have the same order.
Add entries position by position.
Compare the resulting matrices to verify the stated law.
Worked example
Verify the commutative law for A=[13ā24ā] and B=[57ā68ā].
Add corresponding entries in the order A+B.
[13ā24ā]+[57ā68ā]=[610ā812ā]
Reverse the order and add corresponding entries.
[57ā68ā]+[13ā24ā]=[610ā812ā]
The sums match, verifying commutativity for these matrices.
A+B=B+A
Answer:A+B=B+A=[610ā812ā].
ā Common mistake
Do not subtract matrices of different orders; subtraction is defined only when their orders match.
For matrices A and B of the same order and scalars k and l, scalar multiplication distributes over matrix addition, and scalar addition distributes over a matrix.
k(A+B)=kA+kB,(k+l)A=kA+lA
Scalar multiplication properties
k(A+B)=kA+kB,(k+l)A=kA+lA
Use these rules to expand or simplify scalar multiples of matrices.
Solving a matrix equation for an unknown matrix
Use matrix addition and subtraction to isolate the term containing the unknown matrix.
Divide by its scalar coefficient by multiplying by the reciprocal.
X=c1ā(knownĀ matrix)
Calculate the resulting matrix entry by entry.
Worked example
Find X if 2A+3X=5B, where A=ā843ā0ā26āā and B=ā24ā5āā221āā.
Given 2A+3X=5B, isolate X by subtracting 2A and dividing by 3.
X=31ā(5Bā2A)
For A=ā843ā0ā26āā and B=ā24ā5āā221āā, calculate the scalar multiples.
Find x and y if 2[x7ā5yā3ā]+[31āā42ā]=[715ā614ā].
Hint: Expand the scalar multiple, then equate corresponding entries.
Key step: The variable entries give 2x+3=7 and 2yā4=14.
Solution: Comparing entries gives 2x+3=7 and 2yā4=14, so x=2 and y=9.
Practice
September sales are A=[1000050000ā2000030000ā3000010000ā] and October sales are B=[500020000ā1000010000ā600010000ā]. Find combined sales, the decrease from September to October, and 2% of October sales.
Hint: Use A+B for combined sales, AāB for the decrease, and 0.02B for profit.
Key step: Apply each operation entry by entry to the two sales matrices.
Solution: Combined sales: A+B=[1500070000ā3000040000ā3600020000ā]. Decrease: AāB=[500030000ā1000020000ā240000ā]. October profit: 0.02B=[100400ā200200ā120200ā] (in Rs.).
ā Common mistake
Do not confuse the change in sales, AāB, with the profit calculation, 0.02B. The latter is 2% of October sales only.
Quick recap
A scalar multiple kA is formed by multiplying every entry of A by k; the matrix order stays unchanged.
For same-order matrices, k(A+B)=kA+kB and (k+l)A=kA+lA.
To solve for an unknown matrix, isolate it and divide by its scalar coefficient.
Solve simultaneous matrix equations by adding or subtracting them, then divide by 2 when finding X or Y.
Equate corresponding entries to solve scalar variables in a matrix equation.
For sales matrices, add to combine sales, subtract to find a decrease, and multiply by the rate to calculate profit.
Example: For A=[62ā93ā] and B=[27ā69ā08ā], AB=[7525ā11739ā7224ā].
Rectangular matrices: If A is 2Ć3 and B is 3Ć2, then AB is 2Ć2 while BA is 3Ć3.
Order of factors and non-commutativity
When both product orders exist
For A of order mĆn and B of order kĆl, both AB and BA are defined exactly when n=k and l=m. This condition holds for square matrices of the same order.
Matrix multiplication is not commutative
Even when both products exist, in general ABī =BA. The products may differ in order or in their entries; however, some pairs do commute.
Examples and special case
Different product orders: A 2Ć3 matrix times a 3Ć2 matrix gives a 2Ć2 matrix; reversing the factors gives a 3Ć3 matrix.
Same order, unequal products:[10ā0ā1ā][01ā10ā]=[0ā1ā10ā], but reversing the factors gives [01āā10ā].
Commuting exception: Diagonal matrices of the same order commute; for example, [10ā02ā] and [30ā04ā] have product [30ā08ā] in either order.
ā Common mistake
Do not assume AB=BA or multiply entries in matching positions. Check dimensions first, then use row-by-column products.
Zero product of non-zero matrices
Zero-product property for real numbers
For real numbers a and b, if ab=0, then a=0 or b=0.
Zero-product property does not hold for matrices
Unlike real numbers, two non-zero matrices can have a zero matrix as their product.
[00āā12ā][30ā50ā]=[00ā00ā]
Practice
For A=[13ā24ā] and B=[21ā0ā1ā], find AB and BA.
Hint: Calculate each product separately using row-by-column multiplication.
Key step: The (i,j) entry is row i of the first matrix dotted with column j of the second.
Solution:AB=[410āā2ā4ā] and BA=[2ā2ā4ā2ā], so ABī =BA.
Practice
If A is 2Ć3 and B is 3Ć4, determine the order of AB and whether BA is defined.
Hint: Compare the inner dimensions for each multiplication order.
Key step:AB matches inner dimensions 3 and 3; BA would require 4=2.
Solution:AB is defined and has order 2Ć4. BA is not defined.
Practice
Give two non-zero matrices whose product is the zero matrix.
Hint: Choose matrices so every row-by-column product sum is zero.
Key step: Verify each entry of the product using the row-by-column rule.
Solution: Take A=[10ā00ā] and B=[01ā00ā]. Both are non-zero, but AB=[00ā00ā].
Quick recap
The product AB exists when the columns of A equal the rows of B; its order uses the outer dimensions.
Each product entry is found by multiplying a row by a column and summing.
Matrix multiplication is generally not commutative, although some pairs, such as same-order diagonal matrices, commute.
For real numbers, ab=0 implies a=0 or b=0.
Two non-zero matrices can have a zero matrix as their product.
Multiply the city-count matrix by the cost column; entries xiā and yiā are the counts for cities X and Y, while ciā is the cost for contact type i.
Calculate spending with matrices
Write one row of contact counts per city, with columns in the same order as the costs.
Multiply the count matrix by the cost column.
Convert the result from paise to rupees if required.
Worked example
Find the total amount spent in cities X and Y.
Use the count rows for cities X and Y, and the cost column in the same contact order.
The parts satisfy Pā²=P and Qā²=āQ, and their sum recovers B.
P+Q=ā2ā11āā23ā2āā44ā3āā=B
Answer:B=P+Q, where P=ā2ā23āā23āāā23ā31āā23ā1ā3āā is symmetric and Q=ā021ā25āāā21ā0ā3āā25ā30āā is skew-symmetric.
Practice
If A=[10ā2ā1ā] and C=[23ā10ā], verify (AC)ā²=Cā²Aā².
Hint: First find AC, then transpose it and compare with Cā²Aā².
Key step:AC=[8ā3ā10ā], so (AC)ā²=[81āā30ā].
Inverse matrix ā For a square matrix A, a matrix B of the same order is its inverse if AB=BA=I; then A is invertible and B=Aā1.
Square matrices only: Under this two-sided definition, a rectangular matrix has no inverse; both products must be defined and equal the identity matrix.
Two-way relation: If B=Aā1, then A=Bā1.
Definition of the inverse
AB=BA=Iā¹B=Aā1
Use this condition to verify that two square matrices are inverses.
Worked example
Show that B is the inverse of A.
Verify that the given matrices are inverses by checking both products.
A=[21ā32ā],B=[2ā1āā32ā]
Multiply in the order AB.
AB=[21ā32ā][2ā1āā32ā]=[10ā01ā]
Multiply in the reverse order; it also gives the identity.
BA=[2ā1āā32ā][21ā32ā]=[10ā01ā]
Answer:AB=BA=I, so B=Aā1 and A=Bā1.
Uniqueness of the Inverse
Uniqueness of inverse
If a square matrix has an inverse, that inverse is unique. If B and C are both inverses of A, then AB=BA=I and AC=CA=I, so B=BI=B(AC)=(BA)C=IC=C.
Worked example
Prove that the inverse of a square matrix, if it exists, is unique.
Suppose B and C are inverses of A; write their inverse relations.
AB=BA=I,AC=CA=I
Insert I=AC after B, then use BA=I.
B=BI=B(AC)=(BA)C=IC=C
Answer: Any two inverses B and C of A satisfy B=C; hence the inverse is unique.
Inverse of a Product
Inverse of a product
For invertible matrices A and B of the same order, the inverse of their product is the product of their inverses in reverse order.
(AB)ā1=Bā1Aā1
Worked example
Verify the product-inverse rule for invertible matrices A and B.
Check the proposed inverse by multiplying it by AB.
(AB)(Bā1Aā1)=A(BBā1)Aā1=AIAā1=I
Check the reverse product as well.
(Bā1Aā1)(AB)=Bā1(Aā1A)B=Bā1IB=I
Answer: Both products equal I, so (AB)ā1=Bā1Aā1.
ā Common mistake
Common mistake: Writing (AB)ā1=Aā1Bā1. The order must reverse: (AB)ā1=Bā1Aā1.
Powers of a Trigonometric Matrix
Power identity
For the matrix A below and every natural number n, its nth power has the same form, with the angle multiplied by n.