Class 12 PCM . Mathematics . Mathematics Part I . Matrices

Chapter 3: Matrices

Ch 3

Mathematics

Class 12 PCM

Lecture 1

Introduction

Reference video · Lecture 1Introduction

Why Matrices Are Useful

  • 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 AA, BB and CC.
  • 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
MatrixArrangementRows and columns
A=[−250536]A=\begin{bmatrix}-2&5\\0&\sqrt{5}\\3&6\end{bmatrix}Numbers3 rows and 2 columns
B=[2+i3−123.5−123557]B=\begin{bmatrix}2+i&3&-\frac{1}{2}\\3.5&-1&2\\\sqrt{3}&5&\frac{5}{7}\end{bmatrix}Numbers, including complex, decimal, fractional and surd entries3 rows and 3 columns
C=[1+xx33cos⁡xsin⁡x+2tan⁡x]C=\begin{bmatrix}1+x&x^3&3\\\cos x&\sin x+2&\tan x\end{bmatrix}Expressions and functions2 rows and 3 columns
Two Ways to Arrange the Same Data
ArrangementMatrixMeaning of rows and columns
Students as rows; items as columns[156102135]\begin{bmatrix}15&6\\10&2\\13&5\end{bmatrix}Rows represent Radha, Fauzia and Simran; columns represent notebooks and pens. There are 3 rows and 2 columns.
Items as rows; students as columns[151013625]\begin{bmatrix}15&10&13\\6&2&5\end{bmatrix}Rows represent notebooks and pens; columns represent Radha, Fauzia and Simran. There are 2 rows and 3 columns.

Reading a Matrix

  1. Identify the information represented by the rows and columns.
  2. Count the horizontal rows and vertical columns.
  3. 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.

  1. Use students as rows and notebooks and pens as the two columns, in that order.
    [156102135]\begin{bmatrix}15&6\\10&2\\13&5\end{bmatrix}
  2. The first row gives Radha's counts; the second and third rows give Fauzia's and Simran's counts.
    [156102135]\begin{bmatrix}15&6\\10&2\\13&5\end{bmatrix}
  3. Count the arrangement: it has three horizontal rows and two vertical columns.
    3 rows,2 columns3\text{ rows},\quad 2\text{ columns}
Answer: The matrix is [156102135]\begin{bmatrix}15&6\\10&2\\13&5\end{bmatrix}; 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 BB, 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: BB has three horizontal rows and three vertical columns; its first entry is 2+i2+i.
Solution: It has 3 rows and 3 columns. One complex entry is 2+i2+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 [151013625]\begin{bmatrix}15&10&13\\6&2&5\end{bmatrix}.

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.
Lecture 2

Order Of A Matrix

Reference video · Lecture 2Order Of A Matrix

Order, Entries, and Notation

Number of Elements
N=mnN=mn

Use this relation to find the number of entries or possible orders.

Constructing a Matrix from Its Entry Rule

  1. Write the required number of rows and columns.
  2. Substitute each allowed pair (i,j)(i,j) into the entry rule.
    1≤i≤m,1≤j≤n1\leq i\leq m,\quad 1\leq j\leq n
  3. Place each calculated aija_{ij} in row ii, column jj.
Worked example

Construct a 3×23\times 2 matrix whose entries are given by aij=12∣i−3j∣a_{ij}=\frac{1}{2}|i-3j|.

  1. Construct a 3×23\times 2 matrix using the rule aij=12∣i−3j∣a_{ij}=\frac{1}{2}|i-3j|.
  2. For row 1, calculate both entries.
    a11=12∣1−3∣=1,a12=12∣1−6∣=52a_{11}=\frac{1}{2}|1-3|=1,\quad a_{12}=\frac{1}{2}|1-6|=\frac{5}{2}
  3. For row 2, calculate both entries.
    a21=12∣2−3∣=12,a22=12∣2−6∣=2a_{21}=\frac{1}{2}|2-3|=\frac{1}{2},\quad a_{22}=\frac{1}{2}|2-6|=2
  4. For row 3, calculate both entries.
    a31=12∣3−3∣=0,a32=12∣3−6∣=32a_{31}=\frac{1}{2}|3-3|=0,\quad a_{32}=\frac{1}{2}|3-6|=\frac{3}{2}
Answer: [152122032]\begin{bmatrix}1&\frac{5}{2}\\[2pt]\frac{1}{2}&2\\[2pt]0&\frac{3}{2}\end{bmatrix}

Applications and Reading Matrix Entries

Representing Data and Geometry

  • 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 [302525312726]\begin{bmatrix}30&25\\25&31\\27&26\end{bmatrix}.
  • Entry meaning: In the workers matrix, the third-row, second-column entry 2626 is the number of women workers in factory III.
  • Plane point: A point (x,y)(x,y) can be represented as a column matrix [xy]\begin{bmatrix}x\\y\end{bmatrix} or a row matrix [xy]\begin{bmatrix}x&y\end{bmatrix}.
  • Example point: The point P(0,1)P(0,1) can be written as [01]\begin{bmatrix}0\\1\end{bmatrix} or [01]\begin{bmatrix}0&1\end{bmatrix}.
  • 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)A(1,0), B(3,2), C(1,3), D(-1,2), one representation is [131−10232]\begin{bmatrix}1&3&1&-1\\0&2&3&2\end{bmatrix}; the transposed arrangement is [103213−12]\begin{bmatrix}1&0\\3&2\\1&3\\-1&2\end{bmatrix}.
Practice

A matrix has 88 elements. Find all possible orders.

Hint: List the ordered pairs of natural numbers whose product is 88.
Key step: mn=8mn=8.
Solution: The factor pairs are (1,8),(2,4),(4,2),(8,1)(1,8),(2,4),(4,2),(8,1). Hence the possible orders are 1×81\times8, 2×42\times4, 4×24\times2, and 8×18\times1.
Practice

Represent worker counts for factories I, II, and III as a 3×23\times2 matrix: men are 30,25,2730,25,27 and women are 25,31,2625,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 [302525312726]\begin{bmatrix}30&25\\25&31\\27&26\end{bmatrix}. The entry 2626 represents women workers in factory III.
Practice

Represent the point P(0,1)P(0,1) as both a row matrix and a column matrix.

Hint: Write the coordinates in their given order.
Key step: Use x,yx,y as the two entries.
Solution: Row matrix: [01]\begin{bmatrix}0&1\end{bmatrix}; column matrix: [01]\begin{bmatrix}0\\1\end{bmatrix}.
⚠ Common mistake

Do not reverse the order: m×nm\times n means mm rows and nn columns, not the other way around. For a fixed element count, list ordered factor pairs because m×nm\times n and n×mn\times m may be different orders.

Quick recap

  • Order: m×nm\times n means mm rows and nn columns.
  • Elements: An m×nm\times n matrix contains mnmn entries.
  • Position: aija_{ij} is in row ii, column jj.
  • 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.
Lecture 3

Types Of Matrices

Reference video · Lecture 3Types Of Matrices

Basic matrix forms

Definition

Row matrix — A matrix with exactly one row; its order is 1×n1 \times n.

Definition

Square matrix — A matrix with the same number of rows and columns; an n×nn \times n matrix is of order nn.

Square-matrix example

  • Example: [1−3124−1356]\begin{bmatrix}1&-3&1\\2&4&-1\\3&5&6\end{bmatrix} is square of order 33; its main diagonal entries are 1,4,61,4,6.

Special square matrices

Definition

Scalar matrix — A diagonal matrix whose diagonal entries are all equal to the same constant kk.

Definition

Identity matrix — A square matrix with 11s on the main diagonal and 00s everywhere else.

Definition

Zero matrix — A matrix of any order in which every entry is zero; it is denoted by OO.

Entry conditions
bij=0(i≠j),bii=k(i=j),(In)ij={1,i=j0,i≠jb_{ij}=0\quad(i\ne j),\qquad b_{ii}=k\quad(i=j),\qquad (I_n)_{ij}=\begin{cases}1,&i=j\\0,&i\ne j\end{cases}

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 11.

Classifying a matrix

  1. Count the rows and columns: one column gives a column matrix; one row gives a row matrix.
  2. If the row and column counts match, the matrix is square.
  3. For a square matrix, check whether off-diagonal entries are zero; then check whether diagonal entries are equal or all 11.
  4. If every entry is zero, it is a zero matrix.
Worked example

Classify A=[5005]A=\begin{bmatrix}5&0\\0&5\end{bmatrix}.

  1. Classify the matrix by order and by its entries.
    A=[5005]A=\begin{bmatrix}5&0\\0&5\end{bmatrix}
  2. It has two rows and two columns, so it is square of order 22.
    2×22\times 2
  3. Its off-diagonal entries are zero, so it is diagonal; its diagonal entries are equal, so it is scalar.
    a12=a21=0,a11=a22=5a_{12}=a_{21}=0,\qquad a_{11}=a_{22}=5
  4. The diagonal entries are not 11, so it is not an identity matrix; it is not a zero matrix.
    5≠1,A≠O5\ne 1,\qquad A\ne O
Answer: AA is a square matrix of order 22, 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 11.

Practice

Classify [2000−10004]\begin{bmatrix}2&0&0\\0&-1&0\\0&0&4\end{bmatrix}.

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 33, but not a scalar matrix.
Practice

Classify [1001]\begin{bmatrix}1&0\\0&1\end{bmatrix}.

Hint: Check whether it is diagonal and whether its diagonal entries are 11.
Key step: Its off-diagonal entries are zero and both diagonal entries are 11.
Solution: It is the identity matrix I2I_2; it is also scalar and diagonal.
Practice

Classify [000]\begin{bmatrix}0&0&0\end{bmatrix}.

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×31\times 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 11 and all other entries 00.
  • A zero matrix has every entry equal to 00 and is denoted by OO.
Lecture 4

Equality Of Matrices

Reference video · Lecture 4Equality Of Matrices

Equality of Matrices

Definition

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,da,b,c,d if [2a+ba−2b5c−d4c+3d]=[4−31124]\begin{bmatrix}2a+b&a-2b\\5c-d&4c+3d\end{bmatrix}=\begin{bmatrix}4&-3\\11&24\end{bmatrix}.

Hint: Equate the four corresponding entries, then solve the two pairs of equations.
Key step: Solve 2a+b=42a+b=4, a−2b=−3a-2b=-3 and 5c−d=115c-d=11, 4c+3d=244c+3d=24.
Solution: The first pair gives a=1a=1, b=2b=2; the second gives c=3c=3, d=4d=4.

Addition of Matrices

Matrix addition rule

For matrices A=[aij]A=[a_{ij}] and B=[bij]B=[b_{ij}] of the same order m×nm\times n, their sum is C=[cij]C=[c_{ij}] of order m×nm\times n, where cij=aij+bijc_{ij}=a_{ij}+b_{ij} for every valid ii and jj.

Practice

Can a 2×22\times2 matrix be added to a 2×32\times3 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+bijc_{ij}=a_{ij}+b_{ij}.
  • The sum of two m×nm\times n matrices is also an m×nm\times n matrix.
  • Addition is a binary operation on matrices of a fixed order.
Lecture 5

Multiplication of a matrix by a scalar

Reference video · Lecture 5Multiplication of a matrix by a scalar

Scalar Multiplication

Scalar multiplication rule

If A=[aij]m×nA=[a_{ij}]_{m\times n} and kk is a scalar, then the (i,j)(i,j)-th entry of kAkA is kaijka_{ij}.

Scalar multiple
kA=k[aij]m×n=[kaij]m×nkA=k[a_{ij}]_{m\times n}=[ka_{ij}]_{m\times n}

Use this rule to find any scalar multiple of a matrix.

Multiply a matrix by a scalar

  1. Keep the matrix's rows and columns unchanged.
  2. Multiply each entry by the scalar.
  3. Write the products in their original positions.
Worked example

Find twice the matrix of factory production quantities.

  1. Double every production quantity by multiplying the matrix by 22.
    2[806075659085]2\begin{bmatrix}80&60\\75&65\\90&85\end{bmatrix}
  2. Multiply each entry by 22.
    [2(80)2(60)2(75)2(65)2(90)2(85)]=[160120150130180170]\begin{bmatrix}2(80)&2(60)\\2(75)&2(65)\\2(90)&2(85)\end{bmatrix}=\begin{bmatrix}160&120\\150&130\\180&170\end{bmatrix}
Answer: The doubled production matrix is [160120150130180170]\begin{bmatrix}160&120\\150&130\\180&170\end{bmatrix}.

Negative of a Matrix

Negative matrix
−A=(−1)A=[−aij]m×n-A=(-1)A=[-a_{ij}]_{m\times n}

The negative matrix is the additive inverse of the original matrix.

Find the negative of a matrix

  1. Change the sign of every entry.
  2. Keep all entries in their original positions.
Worked example

Find the negative of [31−5x]\begin{bmatrix}3&1\\-5&x\end{bmatrix}.

  1. Multiply each entry by −1-1.
    −[31−5x]=(−1)[31−5x]-\begin{bmatrix}3&1\\-5&x\end{bmatrix}=(-1)\begin{bmatrix}3&1\\-5&x\end{bmatrix}
  2. Reverse the sign of each entry.
    [−3−15−x]\begin{bmatrix}-3&-1\\5&-x\end{bmatrix}
Answer: −A=[−3−15−x]-A=\begin{bmatrix}-3&-1\\5&-x\end{bmatrix}.

Difference of Matrices

Matrix difference
A−B=[aij−bij]m×n=A+(−1)BA-B=[a_{ij}-b_{ij}]_{m\times n}=A+(-1)B

Subtract entries in matching positions.

Evaluate a matrix difference

  1. Check that the matrices have the same order.
  2. If a scalar multiple appears, calculate it first.
  3. Subtract corresponding entries, or add the negative matrix.
Worked example

If A=[123231]A=\begin{bmatrix}1&2&3\\2&3&1\end{bmatrix} and B=[3−13−102]B=\begin{bmatrix}3&-1&3\\-1&0&2\end{bmatrix}, find 2A−B2A-B.

  1. Double AA.
    2A=[246462]2A=\begin{bmatrix}2&4&6\\4&6&2\end{bmatrix}
  2. Subtract BB entry by entry.
    2A−B=[2−34−(−1)6−34−(−1)6−02−2]2A-B=\begin{bmatrix}2-3&4-(-1)&6-3\\4-(-1)&6-0&2-2\end{bmatrix}
  3. Simplify each entry.
    2A−B=[−153560]2A-B=\begin{bmatrix}-1&5&3\\5&6&0\end{bmatrix}
Answer: 2A−B=[−153560]2A-B=\begin{bmatrix}-1&5&3\\5&6&0\end{bmatrix}.

Properties of Matrix Addition

Laws of matrix addition

For matrices of the same order, addition is commutative and associative; the zero matrix is the additive identity, and −A-A is the additive inverse of AA.

Addition properties
A+B=B+A,(A+B)+C=A+(B+C),A+O=O+A=A,A+(−A)=OA+B=B+A,\quad (A+B)+C=A+(B+C),\quad A+O=O+A=A,\quad A+(-A)=O

All matrices in each equality must have the same order.

Check matrix addition properties

  1. Confirm that all matrices have the same order.
  2. Add entries position by position.
  3. Compare the resulting matrices to verify the stated law.
Worked example

Verify the commutative law for A=[1234]A=\begin{bmatrix}1&2\\3&4\end{bmatrix} and B=[5678]B=\begin{bmatrix}5&6\\7&8\end{bmatrix}.

  1. Add corresponding entries in the order A+BA+B.
    [1234]+[5678]=[681012]\begin{bmatrix}1&2\\3&4\end{bmatrix}+\begin{bmatrix}5&6\\7&8\end{bmatrix}=\begin{bmatrix}6&8\\10&12\end{bmatrix}
  2. Reverse the order and add corresponding entries.
    [5678]+[1234]=[681012]\begin{bmatrix}5&6\\7&8\end{bmatrix}+\begin{bmatrix}1&2\\3&4\end{bmatrix}=\begin{bmatrix}6&8\\10&12\end{bmatrix}
  3. The sums match, verifying commutativity for these matrices.
    A+B=B+AA+B=B+A
Answer: A+B=B+A=[681012]A+B=B+A=\begin{bmatrix}6&8\\10&12\end{bmatrix}.
⚠ Common mistake

Do not subtract matrices of different orders; subtraction is defined only when their orders match.

Practice

Find −3A-3A if A=[2−104]A=\begin{bmatrix}2&-1\\0&4\end{bmatrix}.

Hint: Multiply every entry by −3-3.
Key step: −3A=[−3(2)−3(−1)−3(0)−3(4)]-3A=\begin{bmatrix}-3(2)&-3(-1)\\-3(0)&-3(4)\end{bmatrix}.
Solution: −3A=[−630−12]-3A=\begin{bmatrix}-6&3\\0&-12\end{bmatrix}.
Practice

Find A−BA-B for A=[41−23]A=\begin{bmatrix}4&1\\-2&3\end{bmatrix} and B=[15−20]B=\begin{bmatrix}1&5\\-2&0\end{bmatrix}.

Hint: Subtract entries in matching positions.
Key step: A−B=[4−11−5−2−(−2)3−0]A-B=\begin{bmatrix}4-1&1-5\\-2-(-2)&3-0\end{bmatrix}.
Solution: A−B=[3−403]A-B=\begin{bmatrix}3&-4\\0&3\end{bmatrix}.
Practice

Find A+(−A)A+(-A) for A=[2−310]A=\begin{bmatrix}2&-3\\1&0\end{bmatrix}.

Hint: First change the sign of every entry in AA.
Key step: −A=[−23−10]-A=\begin{bmatrix}-2&3\\-1&0\end{bmatrix}.
Solution: A+(−A)=[0000]A+(-A)=\begin{bmatrix}0&0\\0&0\end{bmatrix}.

Quick recap

  • A scalar multiple is formed by multiplying every matrix entry by the scalar; the matrix order stays the same.
  • The negative of a matrix is −A=(−1)A-A=(-1)A, so every entry changes sign.
  • Matrix subtraction requires equal orders and is performed entry by entry: A−B=A+(−B)A-B=A+(-B).
  • Matrix addition is commutative and associative for matrices of the same order.
  • The zero matrix is the additive identity, and −A-A is the additive inverse of AA.
Lecture 6

Properties of scalar multiplication of a matrix

Reference video · Lecture 6Properties of scalar multiplication of a matrix

Scalar Multiplication Rules

Distributive properties of scalar multiplication

For matrices AA and BB of the same order and scalars kk and ll, scalar multiplication distributes over matrix addition, and scalar addition distributes over a matrix.

k(A+B)=kA+kB,(k+l)A=kA+lAk(A+B)=kA+kB,\qquad (k+l)A=kA+lA
Scalar multiplication properties
k(A+B)=kA+kB,(k+l)A=kA+lAk(A+B)=kA+kB,\qquad (k+l)A=kA+lA

Use these rules to expand or simplify scalar multiples of matrices.

Solving a matrix equation for an unknown matrix

  1. Use matrix addition and subtraction to isolate the term containing the unknown matrix.
  2. Divide by its scalar coefficient by multiplying by the reciprocal.
    X=1c(known matrix)X=\frac{1}{c}(\text{known matrix})
  3. Calculate the resulting matrix entry by entry.
Worked example

Find XX if 2A+3X=5B2A+3X=5B, where A=[804−236]A=\begin{bmatrix}8&0\\4&-2\\3&6\end{bmatrix} and B=[2−242−51]B=\begin{bmatrix}2&-2\\4&2\\-5&1\end{bmatrix}.

  1. Given 2A+3X=5B2A+3X=5B, isolate XX by subtracting 2A2A and dividing by 33.
    X=13(5B−2A)X=\frac{1}{3}(5B-2A)
  2. For A=[804−236]A=\begin{bmatrix}8&0\\4&-2\\3&6\end{bmatrix} and B=[2−242−51]B=\begin{bmatrix}2&-2\\4&2\\-5&1\end{bmatrix}, calculate the scalar multiples.
    5B=[10−102010−255],2A=[1608−4612]5B=\begin{bmatrix}10&-10\\20&10\\-25&5\end{bmatrix},\qquad 2A=\begin{bmatrix}16&0\\8&-4\\6&12\end{bmatrix}
  3. Subtract corresponding entries, then multiply by 13\frac{1}{3}.
    5B−2A=[−6−101214−31−7]5B-2A=\begin{bmatrix}-6&-10\\12&14\\-31&-7\end{bmatrix}
Answer: X=[−2−1034143−313−73]X=\begin{bmatrix}-2&-\frac{10}{3}\\4&\frac{14}{3}\\-\frac{31}{3}&-\frac{7}{3}\end{bmatrix}
Practice

Find XX and YY if X+Y=[095288]X+Y=\begin{bmatrix}0&9\\5&2\\8&8\end{bmatrix} and X−Y=[0−13688]X-Y=\begin{bmatrix}0&-1\\3&6\\8&8\end{bmatrix}.

Hint: Add the equations to find 2X2X; subtract the second from the first to find 2Y2Y.
Key step: 2X=(X+Y)+(X−Y)2X=(X+Y)+(X-Y) and 2Y=(X+Y)−(X−Y)2Y=(X+Y)-(X-Y).
Solution: X=12[08881616]=[044488]X=\frac12\begin{bmatrix}0&8\\8&8\\16&16\end{bmatrix}=\begin{bmatrix}0&4\\4&4\\8&8\end{bmatrix}; Y=12[0102−400]=[051−200]Y=\frac12\begin{bmatrix}0&10\\2&-4\\0&0\end{bmatrix}=\begin{bmatrix}0&5\\1&-2\\0&0\end{bmatrix}.
Practice

Find xx and yy if 2[x57y−3]+[3−412]=[761514]2\begin{bmatrix}x&5\\7&y-3\end{bmatrix}+\begin{bmatrix}3&-4\\1&2\end{bmatrix}=\begin{bmatrix}7&6\\15&14\end{bmatrix}.

Hint: Expand the scalar multiple, then equate corresponding entries.
Key step: The variable entries give 2x+3=72x+3=7 and 2y−4=142y-4=14.
Solution: Comparing entries gives 2x+3=72x+3=7 and 2y−4=142y-4=14, so x=2x=2 and y=9y=9.
Practice

September sales are A=[100002000030000500003000010000]A=\begin{bmatrix}10000&20000&30000\\50000&30000&10000\end{bmatrix} and October sales are B=[5000100006000200001000010000]B=\begin{bmatrix}5000&10000&6000\\20000&10000&10000\end{bmatrix}. Find combined sales, the decrease from September to October, and 2%2\% of October sales.

Hint: Use A+BA+B for combined sales, A−BA-B for the decrease, and 0.02B0.02B for profit.
Key step: Apply each operation entry by entry to the two sales matrices.
Solution: Combined sales: A+B=[150003000036000700004000020000]A+B=\begin{bmatrix}15000&30000&36000\\70000&40000&20000\end{bmatrix}. Decrease: A−B=[5000100002400030000200000]A-B=\begin{bmatrix}5000&10000&24000\\30000&20000&0\end{bmatrix}. October profit: 0.02B=[100200120400200200]0.02B=\begin{bmatrix}100&200&120\\400&200&200\end{bmatrix} (in Rs.).
⚠ Common mistake

Do not confuse the change in sales, A−BA-B, with the profit calculation, 0.02B0.02B. The latter is 2%2\% of October sales only.

Quick recap

  • A scalar multiple kAkA is formed by multiplying every entry of AA by kk; the matrix order stays unchanged.
  • For same-order matrices, k(A+B)=kA+kBk(A+B)=kA+kB and (k+l)A=kA+lA(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 22 when finding XX or YY.
  • 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.
Lecture 7

Multiplication Of Matrices

Reference video · Lecture 7Multiplication Of Matrices

Definition and rule for multiplication

Order and entries of a product

If AA is of order m×nm\times n and BB is of order n×pn\times p, then ABAB is of order m×pm\times p. Each entry is the dot product of a row of AA and a column of BB.

cik=∑j=1naijbjkc_{ik}=\sum_{j=1}^{n}a_{ij}b_{jk}

Key points

  • Dimension check: For (m×n)(n×p)(m\times n)(n\times p), the inner dimensions match, so the product exists.
  • Product order: The result has the outer dimensions, m×pm\times p.
  • Entry rule: Multiply corresponding entries of one row and one column, then add the products.
Entry of a matrix product
cik=ai1b1k+ai2b2k+⋯+ainbnk=∑j=1naijbjkc_{ik}=a_{i1}b_{1k}+a_{i2}b_{2k}+\cdots+a_{in}b_{nk}=\sum_{j=1}^{n}a_{ij}b_{jk}

Use the row of the first matrix and the column of the second matrix to calculate each entry.

Example in context

  • Requirements: Meera and Nadeem need [25810]\begin{bmatrix}2&5\\8&10\end{bmatrix} items, with columns representing pens and storybooks.
  • Prices: The two shops' prices are [545040]\begin{bmatrix}5&4\\50&40\end{bmatrix} rupees per item.
  • Total costs: Multiplication gives [260208540432]\begin{bmatrix}260&208\\540&432\end{bmatrix} rupees; rows represent customers and columns represent shops.

Multiply two matrices

  1. Check that the number of columns in the first matrix equals the number of rows in the second.
  2. Write the product order using the rows of the first matrix and columns of the second.
  3. For each result entry, multiply a row by a column and add the products.
    cik=ai1b1k+ai2b2k+⋯+ainbnkc_{ik}=a_{i1}b_{1k}+a_{i2}b_{2k}+\cdots+a_{in}b_{nk}
Worked example

Find CDCD for C=[1−12034]C=\begin{bmatrix}1&-1&2\\0&3&4\end{bmatrix} and D=[27−115−4]D=\begin{bmatrix}2&7\\-1&1\\5&-4\end{bmatrix}.

  1. The product is defined and has order 2×22\times2.
    [1−12034][27−115−4]\begin{bmatrix}1&-1&2\\0&3&4\end{bmatrix}\begin{bmatrix}2&7\\-1&1\\5&-4\end{bmatrix}
  2. Calculate the entries in the first row using the two columns.
    [1(2)+(−1)(−1)+2(5)1(7)+(−1)(1)+2(−4)]=[13−2]\begin{bmatrix}1(2)+(-1)(-1)+2(5)&1(7)+(-1)(1)+2(-4)\end{bmatrix}=\begin{bmatrix}13&-2\end{bmatrix}
  3. Calculate the entries in the second row in the same way.
    [0(2)+3(−1)+4(5)0(7)+3(1)+4(−4)]=[17−13]\begin{bmatrix}0(2)+3(-1)+4(5)&0(7)+3(1)+4(-4)\end{bmatrix}=\begin{bmatrix}17&-13\end{bmatrix}
Answer: CD=[13−217−13]CD=\begin{bmatrix}13&-2\\17&-13\end{bmatrix}.

Further product results

  • Example: For A=[6923]A=\begin{bmatrix}6&9\\2&3\end{bmatrix} and B=[260798]B=\begin{bmatrix}2&6&0\\7&9&8\end{bmatrix}, AB=[7511772253924]AB=\begin{bmatrix}75&117&72\\25&39&24\end{bmatrix}.
  • Rectangular matrices: If AA is 2×32\times3 and BB is 3×23\times2, then ABAB is 2×22\times2 while BABA is 3×33\times3.

Order of factors and non-commutativity

When both product orders exist

For AA of order m×nm\times n and BB of order k×lk\times l, both ABAB and BABA are defined exactly when n=kn=k and l=ml=m. This condition holds for square matrices of the same order.

Matrix multiplication is not commutative

Even when both products exist, in general AB≠BAAB\ne 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×32\times3 matrix times a 3×23\times2 matrix gives a 2×22\times2 matrix; reversing the factors gives a 3×33\times3 matrix.
  • Same order, unequal products: [100−1][0110]=[01−10]\begin{bmatrix}1&0\\0&-1\end{bmatrix}\begin{bmatrix}0&1\\1&0\end{bmatrix}=\begin{bmatrix}0&1\\-1&0\end{bmatrix}, but reversing the factors gives [0−110]\begin{bmatrix}0&-1\\1&0\end{bmatrix}.
  • Commuting exception: Diagonal matrices of the same order commute; for example, [1002]\begin{bmatrix}1&0\\0&2\end{bmatrix} and [3004]\begin{bmatrix}3&0\\0&4\end{bmatrix} have product [3008]\begin{bmatrix}3&0\\0&8\end{bmatrix} in either order.
⚠ Common mistake

Do not assume AB=BAAB=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 aa and bb, if ab=0ab=0, then a=0a=0 or b=0b=0.

Zero-product property does not hold for matrices

Unlike real numbers, two non-zero matrices can have a zero matrix as their product.

[0−102][3500]=[0000]\begin{bmatrix}0&-1\\0&2\end{bmatrix}\begin{bmatrix}3&5\\0&0\end{bmatrix}=\begin{bmatrix}0&0\\0&0\end{bmatrix}
Practice

For A=[1234]A=\begin{bmatrix}1&2\\3&4\end{bmatrix} and B=[201−1]B=\begin{bmatrix}2&0\\1&-1\end{bmatrix}, find ABAB and BABA.

Hint: Calculate each product separately using row-by-column multiplication.
Key step: The (i,j)(i,j) entry is row ii of the first matrix dotted with column jj of the second.
Solution: AB=[4−210−4]AB=\begin{bmatrix}4&-2\\10&-4\end{bmatrix} and BA=[24−2−2]BA=\begin{bmatrix}2&4\\-2&-2\end{bmatrix}, so AB≠BAAB\ne BA.
Practice

If AA is 2×32\times3 and BB is 3×43\times4, determine the order of ABAB and whether BABA is defined.

Hint: Compare the inner dimensions for each multiplication order.
Key step: ABAB matches inner dimensions 33 and 33; BABA would require 4=24=2.
Solution: ABAB is defined and has order 2×42\times4. BABA 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=[1000]A=\begin{bmatrix}1&0\\0&0\end{bmatrix} and B=[0010]B=\begin{bmatrix}0&0\\1&0\end{bmatrix}. Both are non-zero, but AB=[0000]AB=\begin{bmatrix}0&0\\0&0\end{bmatrix}.

Quick recap

  • The product ABAB exists when the columns of AA equal the rows of BB; 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=0ab=0 implies a=0a=0 or b=0b=0.
  • Two non-zero matrices can have a zero matrix as their product.
Lecture 8

Properties Of Multiplication Of Matrices

Reference video · Lecture 8Properties Of Multiplication Of Matrices

Associative Law of Matrix Multiplication

Definition

Associative law — Matrix multiplication is associative when both groupings of the product are defined.

Associative law

For compatible matrices, changing the grouping does not change the product; the order of the matrices stays the same.

(AB)C=A(BC)(AB)C=A(BC)

Key points

  • Dimensions: If AA is m×nm\times n, BB is n×pn\times p, and CC is p×qp\times q, both groupings are defined.
  • Caution: Associativity does not imply commutativity; generally, AB≠BAAB\ne BA.
Associative law
(AB)C=A(BC)(AB)C=A(BC)

Use this law to regroup a product of three matrices without changing their order.

Verify associativity

  1. Check that dimensions allow both groupings.
  2. Calculate ABAB, then calculate (AB)C(AB)C.
  3. Calculate BCBC, then calculate A(BC)A(BC); compare the results.
Worked example

Verify the associative law for the given matrices.

  1. Let A=[11−12033−12]A=\begin{bmatrix}1&1&-1\\2&0&3\\3&-1&2\end{bmatrix}, B=[1302−14]B=\begin{bmatrix}1&3\\0&2\\-1&4\end{bmatrix}, and C=[123−420−21]C=\begin{bmatrix}1&2&3&-4\\2&0&-2&1\end{bmatrix}. First find ABAB.
    AB=[21−118115]AB=\begin{bmatrix}2&1\\-1&18\\1&15\end{bmatrix}
  2. Multiply ABAB by CC.
    (AB)C=[444−735−2−3922312−2711](AB)C=\begin{bmatrix}4&4&4&-7\\35&-2&-39&22\\31&2&-27&11\end{bmatrix}
  3. Find BCBC, then multiply by AA.
    BC=[72−3−140−427−2−118]BC=\begin{bmatrix}7&2&-3&-1\\4&0&-4&2\\7&-2&-11&8\end{bmatrix}
  4. The second grouping gives the same result.
    A(BC)=[444−735−2−3922312−2711]A(BC)=\begin{bmatrix}4&4&4&-7\\35&-2&-39&22\\31&2&-27&11\end{bmatrix}
Answer: (AB)C=A(BC)=[444−735−2−3922312−2711](AB)C=A(BC)=\begin{bmatrix}4&4&4&-7\\35&-2&-39&22\\31&2&-27&11\end{bmatrix}.

Distributive Laws

Definition

Distributive laws — Matrix multiplication distributes over matrix addition on either side, whenever the indicated sums and products are defined.

Distributive laws

Multiplication distributes over addition on the left and on the right.

A(B+C)=AB+AC,(A+B)C=AC+BCA(B+C)=AB+AC,\qquad (A+B)C=AC+BC

Key points

  • Left distribution: Multiply each matrix in the sum on the right by the matrix on the left.
  • Right distribution: Multiply each matrix in the sum on the left by the matrix on the right.
Distributive laws
A(B+C)=AB+AC,(A+B)C=AC+BCA(B+C)=AB+AC,\qquad (A+B)C=AC+BC

Verify the right distributive law

  1. Check that A+BA+B, (A+B)C(A+B)C, ACAC, and BCBC are defined.
  2. Calculate (A+B)C(A+B)C.
  3. Calculate ACAC and BCBC, add them, and compare the results.
Worked example

Verify that (A+B)C=AC+BC(A+B)C=AC+BC for the given matrices.

  1. Let A=[067−6087−80]A=\begin{bmatrix}0&6&7\\-6&0&8\\7&-8&0\end{bmatrix}, B=[011102120]B=\begin{bmatrix}0&1&1\\1&0&2\\1&2&0\end{bmatrix}, and C=[2−23]C=\begin{bmatrix}2\\-2\\3\end{bmatrix}. Find the sum matrix.
    A+B=[078−50108−60]A+B=\begin{bmatrix}0&7&8\\-5&0&10\\8&-6&0\end{bmatrix}
  2. Multiply the sum by CC.
    (A+B)C=[102028](A+B)C=\begin{bmatrix}10\\20\\28\end{bmatrix}
  3. Calculate the separate products and add them.
    AC=[91230],BC=[18−2],AC+BC=[102028]AC=\begin{bmatrix}9\\12\\30\end{bmatrix},\qquad BC=\begin{bmatrix}1\\8\\-2\end{bmatrix},\qquad AC+BC=\begin{bmatrix}10\\20\\28\end{bmatrix}
Answer: Both sides equal [102028]\begin{bmatrix}10\\20\\28\end{bmatrix}.

Multiplicative Identity

Definition

Identity matrix — An identity matrix has ones on its main diagonal and zeros elsewhere, and leaves a compatible matrix unchanged when multiplied.

Multiplicative identity

For every square matrix AA of order nn, the identity matrix InI_n satisfies the two-sided identity property.

InA=AIn=AI_nA=AI_n=A

Key points

  • Same order: For a square matrix AA of order nn, use the identity matrix InI_n.
  • Two-sided identity: Multiplication by InI_n on either side leaves AA unchanged.
Multiplicative identity
InA=AIn=AI_nA=AI_n=A

Use the identity matrix

  1. For an n×nn\times n matrix, write InI_n with ones on the main diagonal and zeros elsewhere.
  2. Multiply AA by InI_n on the left or right; the entries of AA remain unchanged.
Worked example

Show that I2A=AI2=AI_2A=AI_2=A.

  1. Take A=[2−134]A=\begin{bmatrix}2&-1\\3&4\end{bmatrix} and I2=[1001]I_2=\begin{bmatrix}1&0\\0&1\end{bmatrix}. Multiply on the left.
    I2A=[2−134]I_2A=\begin{bmatrix}2&-1\\3&4\end{bmatrix}
  2. Multiply on the right.
    AI2=[2−134]AI_2=\begin{bmatrix}2&-1\\3&4\end{bmatrix}
Answer: I2A=AI2=A=[2−134]I_2A=AI_2=A=\begin{bmatrix}2&-1\\3&4\end{bmatrix}.

Powers and Polynomial Identities of Matrices

Definition

Matrix powers — For a square matrix AA, powers such as A2A^2 and A3A^3 are repeated matrix products: A2=AAA^2=AA and A3=AAAA^3=AAA.

Polynomial matrix identity

To check a polynomial expression in a square matrix, calculate its powers and combine them with scalar multiples of the identity matrix where needed.

Key points

  • Requirement: Positive integer powers are defined for square matrices.
  • Constant term: Use the identity matrix of the same order when evaluating a constant term in a matrix polynomial.
  • Zero matrix: A verified polynomial identity may simplify to the zero matrix OO.
Matrix powers
A2=AA,A3=AA2A^2=AA,\qquad A^3=AA^2

Use the identity matrix of matching order for constant terms in matrix polynomials.

Check a polynomial matrix identity

  1. Calculate the required powers of the square matrix.
  2. Form each scalar multiple, using the matching identity matrix for a constant term.
  3. Add or subtract the matrices entry by entry and check whether the result is the zero matrix.
Worked example

Show that A3−23A−40I3=OA^3-23A-40I_3=O for the given matrix AA.

  1. For A=[1233−21421]A=\begin{bmatrix}1&2&3\\3&-2&1\\4&2&1\end{bmatrix}, calculate the square.
    A2=[1948112814615]A^2=\begin{bmatrix}19&4&8\\1&12&8\\14&6&15\end{bmatrix}
  2. Multiply by AA to obtain the cube.
    A3=[63466969−623924663]A^3=\begin{bmatrix}63&46&69\\69&-6&23\\92&46&63\end{bmatrix}
  3. Subtract 23A23A and 40I340I_3 entry by entry.
    A3−23A−40I3=[000000000]A^3-23A-40I_3=\begin{bmatrix}0&0&0\\0&0&0\\0&0&0\end{bmatrix}
Answer: A3−23A−40I3=OA^3-23A-40I_3=O.

Matrix Multiplication for Total Cost

Definition

Cost matrix product — Multiplying each city's row of contact counts by the matching cost column gives that city's total spending.

Cost per contact
Contact typeCost per contact
Telephone4040 paise
House call100100 paise
Letter5050 paise

Key points

  • Arrangement: Put each city's contact counts in a row and the corresponding costs in a column.
  • Units: If costs are in paise, the product is in paise.
  • Conversion: Divide paise by 100100 to convert to rupees.
Total cost
BA=[x1x2x3y1y2y3][c1c2c3]BA=\begin{bmatrix}x_1&x_2&x_3\\y_1&y_2&y_3\end{bmatrix}\begin{bmatrix}c_1\\c_2\\c_3\end{bmatrix}

Multiply the city-count matrix by the cost column; entries xix_i and yiy_i are the counts for cities XX and YY, while cic_i is the cost for contact type ii.

Calculate spending with matrices

  1. Write one row of contact counts per city, with columns in the same order as the costs.
  2. Multiply the count matrix by the cost column.
  3. Convert the result from paise to rupees if required.
Worked example

Find the total amount spent in cities XX and YY.

  1. Use the count rows for cities XX and YY, and the cost column in the same contact order.
    B=[100050050003000100010000],A=[4010050]B=\begin{bmatrix}1000&500&5000\\3000&1000&10000\end{bmatrix},\qquad A=\begin{bmatrix}40\\100\\50\end{bmatrix}
  2. Multiply counts by costs to find spending in paise.
    BA=[340000720000]BA=\begin{bmatrix}340000\\720000\end{bmatrix}
  3. Divide each amount by 100100 to convert paise to rupees.
    340000÷100=3400,720000÷100=7200340000\div100=3400,\qquad 720000\div100=7200
Answer: City XX: Rs. 34003400; city YY: Rs. 72007200.
⚠ Common mistake

Do not change the order of factors when regrouping: (AB)C=A(BC)(AB)C=A(BC), but generally AB≠BAAB\ne BA. Always check dimensions before applying a multiplication law.

Practice

Let A=[1201]A=\begin{bmatrix}1&2\\0&1\end{bmatrix}, B=[23]B=\begin{bmatrix}2\\3\end{bmatrix}, and C=[10−1]C=\begin{bmatrix}1&0&-1\end{bmatrix}. Verify (AB)C=A(BC)(AB)C=A(BC).

Hint: Calculate ABAB and BCBC separately, then multiply by the remaining matrix.
Key step: (AB)C=A(BC)=[80−830−3](AB)C=A(BC)=\begin{bmatrix}8&0&-8\\3&0&-3\end{bmatrix}.
Solution: AB=[83]AB=\begin{bmatrix}8\\3\end{bmatrix} and BC=[20−230−3]BC=\begin{bmatrix}2&0&-2\\3&0&-3\end{bmatrix}. Thus both groupings equal [80−830−3]\begin{bmatrix}8&0&-8\\3&0&-3\end{bmatrix}.
Practice

Let A=[1230]A=\begin{bmatrix}1&2\\3&0\end{bmatrix}, B=[2−114]B=\begin{bmatrix}2&-1\\1&4\end{bmatrix}, and C=[12]C=\begin{bmatrix}1\\2\end{bmatrix}. Verify (A+B)C=AC+BC(A+B)C=AC+BC.

Hint: Calculate ACAC and BCBC, add them, and compare with (A+B)C(A+B)C.
Key step: (A+B)C=AC+BC=[512](A+B)C=AC+BC=\begin{bmatrix}5\\12\end{bmatrix}.
Solution: AC=[53]AC=\begin{bmatrix}5\\3\end{bmatrix} and BC=[09]BC=\begin{bmatrix}0\\9\end{bmatrix}, so AC+BC=(A+B)C=[512]AC+BC=(A+B)C=\begin{bmatrix}5\\12\end{bmatrix}.

Quick recap

  • Associative law: (AB)C=A(BC)(AB)C=A(BC) when both sides are defined.
  • Distributive laws: A(B+C)=AB+ACA(B+C)=AB+AC and (A+B)C=AC+BC(A+B)C=AC+BC.
  • Identity matrix: InA=AIn=AI_nA=AI_n=A for a square matrix AA of order nn.
  • Matrix multiplication is generally not commutative: AB≠BAAB\ne BA.
  • Matrix powers and polynomial identities require square matrices; use InI_n for constant terms.
  • For cost problems, multiply city contact-count rows by the matching cost column; divide paise by 100100 to convert to rupees.
Lecture 9

Transpose Of A Matrix

Reference video · Lecture 9Transpose Of A Matrix

Transpose of a Matrix and Its Properties.

Definition

Transpose — The transpose of a matrix is formed by interchanging its rows and columns; it is denoted by A′A' or ATA^T.

Key properties

  • Order: If AA has order m×nm\times n, then A′A' has order n×mn\times m.
  • Entries: The entry in row ii, column jj of AA becomes the entry in row jj, column ii of A′A'.
  • Addition and scalar multiplication: These operations commute with taking the transpose.
  • Product: The order of the factors reverses when a product is transposed.
Transpose identities
(A′)′=A,(kA)′=kA′,(A+B)′=A′+B′,(AB)′=B′A′(A')'=A,\qquad (kA)'=kA',\qquad (A+B)'=A'+B',\qquad (AB)'=B'A'

Use the product identity only when the matrix orders make the products defined.

Finding a transpose

  1. Write each row of the original matrix as a column in the new matrix.
  2. Check that the order changes from m×nm\times n to n×mn\times m.
Worked example

Find A′A' if A=[12−1304]A=\begin{bmatrix}1&2&-1\\3&0&4\end{bmatrix}.

  1. Find the transpose of the given matrix.
    A=[12−1304]A=\begin{bmatrix}1&2&-1\\3&0&4\end{bmatrix}
  2. Interchange its rows and columns; the order changes from 2×32\times3 to 3×23\times2.
    A′=[1320−14]A'=\begin{bmatrix}1&3\\2&0\\-1&4\end{bmatrix}
Answer: A′=[1320−14]A'=\begin{bmatrix}1&3\\2&0\\-1&4\end{bmatrix}.
⚠ Common mistake

Do not transpose a product without reversing its factors: (AB)′=B′A′(AB)'=B'A', not A′B′A'B'.

Symmetric and Skew-Symmetric Matrices

Definition

Symmetric matrix — A square matrix AA is symmetric if its transpose equals itself: A′=AA'=A.

Entry condition for symmetry

A square matrix is symmetric exactly when corresponding entries across its main diagonal are equal: aij=ajia_{ij}=a_{ji} for all i,ji,j.

Definition

Skew-symmetric matrix — A square matrix AA is skew-symmetric if its transpose is the negative of itself: A′=−AA'=-A.

Entry condition for skew-symmetry

A square matrix is skew-symmetric exactly when aji=−aija_{ji}=-a_{ij}. In particular, every diagonal entry is zero because aii=−aiia_{ii}=-a_{ii}.

General form of a 3×33\times3 skew-symmetric matrix
[0ef−e0g−f−g0]\begin{bmatrix}0&e&f\\-e&0&g\\-f&-g&0\end{bmatrix}

The diagonal entries are zero, and entries reflected across the main diagonal have opposite signs.

Worked example

Classify the matrices SS and KK as symmetric or skew-symmetric.

  1. Check that the first matrix equals its transpose.
    S=[2−13−104345],S′=[2−13−104345]=SS=\begin{bmatrix}2&-1&3\\-1&0&4\\3&4&5\end{bmatrix},\qquad S'=\begin{bmatrix}2&-1&3\\-1&0&4\\3&4&5\end{bmatrix}=S
  2. Check that the second matrix has zero diagonal and opposite off-diagonal entries.
    K=[02−1−2031−30],K′=−KK=\begin{bmatrix}0&2&-1\\-2&0&3\\1&-3&0\end{bmatrix},\qquad K'=-K
Answer: SS is symmetric and KK is skew-symmetric.

Decomposition into Symmetric and Skew-Symmetric Parts

Symmetric and skew-symmetric parts

For any square matrix AA with real entries, A+A′A+A' is symmetric and A−A′A-A' is skew-symmetric.

Decomposition theorem

Every square matrix can be written uniquely as the sum of a symmetric matrix and a skew-symmetric matrix.

A=12(A+A′)+12(A−A′)A=\frac{1}{2}(A+A')+\frac{1}{2}(A-A')

Decomposing a square matrix

  1. Find the transpose A′A'.
  2. Compute the symmetric part P=12(A+A′)P=\frac{1}{2}(A+A').
  3. Compute the skew-symmetric part Q=12(A−A′)Q=\frac{1}{2}(A-A').
  4. Verify P′=PP'=P, Q′=−QQ'=-Q, and P+Q=AP+Q=A.
Worked example

Express B=[2−2−4−1341−2−3]B=\begin{bmatrix}2&-2&-4\\-1&3&4\\1&-2&-3\end{bmatrix} as the sum of a symmetric and a skew-symmetric matrix.

  1. Find the transpose of BB.
    B=[2−2−4−1341−2−3],B′=[2−11−23−2−44−3]B=\begin{bmatrix}2&-2&-4\\-1&3&4\\1&-2&-3\end{bmatrix},\qquad B'=\begin{bmatrix}2&-1&1\\-2&3&-2\\-4&4&-3\end{bmatrix}
  2. Calculate the symmetric part.
    P=12(B+B′)=[2−32−32−3231−321−3]P=\frac{1}{2}(B+B')=\begin{bmatrix}2&-\frac{3}{2}&-\frac{3}{2}\\-\frac{3}{2}&3&1\\-\frac{3}{2}&1&-3\end{bmatrix}
  3. Calculate the skew-symmetric part.
    Q=12(B−B′)=[0−12−52120352−30]Q=\frac{1}{2}(B-B')=\begin{bmatrix}0&-\frac{1}{2}&-\frac{5}{2}\\\frac{1}{2}&0&3\\\frac{5}{2}&-3&0\end{bmatrix}
  4. The parts satisfy P′=PP'=P and Q′=−QQ'=-Q, and their sum recovers BB.
    P+Q=[2−2−4−1341−2−3]=BP+Q=\begin{bmatrix}2&-2&-4\\-1&3&4\\1&-2&-3\end{bmatrix}=B
Answer: B=P+QB=P+Q, where P=[2−32−32−3231−321−3]P=\begin{bmatrix}2&-\frac{3}{2}&-\frac{3}{2}\\-\frac{3}{2}&3&1\\-\frac{3}{2}&1&-3\end{bmatrix} is symmetric and Q=[0−12−52120352−30]Q=\begin{bmatrix}0&-\frac{1}{2}&-\frac{5}{2}\\\frac{1}{2}&0&3\\\frac{5}{2}&-3&0\end{bmatrix} is skew-symmetric.
Practice

If A=[120−1]A=\begin{bmatrix}1&2\\0&-1\end{bmatrix} and C=[2130]C=\begin{bmatrix}2&1\\3&0\end{bmatrix}, verify (AC)′=C′A′(AC)'=C'A'.

Hint: First find ACAC, then transpose it and compare with C′A′C'A'.
Key step: AC=[81−30]AC=\begin{bmatrix}8&1\\-3&0\end{bmatrix}, so (AC)′=[8−310](AC)'=\begin{bmatrix}8&-3\\1&0\end{bmatrix}.
Solution: C′A′=[2310][102−1]=[8−310]=(AC)′C'A'=\begin{bmatrix}2&3\\1&0\end{bmatrix}\begin{bmatrix}1&0\\2&-1\end{bmatrix}=\begin{bmatrix}8&-3\\1&0\end{bmatrix}=(AC)'.
Practice

Decompose A=[1423]A=\begin{bmatrix}1&4\\2&3\end{bmatrix} into symmetric and skew-symmetric parts.

Hint: Use P=12(A+A′)P=\frac{1}{2}(A+A') and Q=12(A−A′)Q=\frac{1}{2}(A-A').
Key step: A′=[1243]A'=\begin{bmatrix}1&2\\4&3\end{bmatrix}.
Solution: P=[1333]P=\begin{bmatrix}1&3\\3&3\end{bmatrix} and Q=[01−10]Q=\begin{bmatrix}0&1\\-1&0\end{bmatrix}; hence A=P+QA=P+Q.
★ Remember
  • A symmetric matrix equals its transpose: A′=AA'=A.
  • A skew-symmetric matrix equals the negative of its transpose: A′=−AA'=-A; its diagonal is all zeros.
  • Every square matrix is the sum of its symmetric part and skew-symmetric part.

Quick recap

  • Transpose swaps rows and columns and changes an m×nm\times n matrix into an n×mn\times m matrix.
  • Transposing twice returns the original matrix; transposing a product reverses factor order.
  • A symmetric matrix satisfies A′=AA'=A; a skew-symmetric matrix satisfies A′=−AA'=-A.
  • Every diagonal entry of a skew-symmetric matrix is zero.
  • Every square matrix decomposes as A=12(A+A′)+12(A−A′)A=\frac{1}{2}(A+A')+\frac{1}{2}(A-A').
Lecture 10

Invertible Matrices

Reference video · Lecture 10Invertible Matrices

Inverse and Invertibility1.

Definition

Inverse matrix — For a square matrix AA, a matrix BB of the same order is its inverse if AB=BA=IAB=BA=I; then AA is invertible and B=A−1B=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−1B=A^{-1}, then A=B−1A=B^{-1}.
Definition of the inverse
AB=BA=I  ⟹  B=A−1AB=BA=I\implies B=A^{-1}

Use this condition to verify that two square matrices are inverses.

Worked example

Show that BB is the inverse of AA.

  1. Verify that the given matrices are inverses by checking both products.
    A=[2312],B=[2−3−12]A=\begin{bmatrix}2&3\\1&2\end{bmatrix},\quad B=\begin{bmatrix}2&-3\\-1&2\end{bmatrix}
  2. Multiply in the order ABAB.
    AB=[2312][2−3−12]=[1001]AB=\begin{bmatrix}2&3\\1&2\end{bmatrix}\begin{bmatrix}2&-3\\-1&2\end{bmatrix}=\begin{bmatrix}1&0\\0&1\end{bmatrix}
  3. Multiply in the reverse order; it also gives the identity.
    BA=[2−3−12][2312]=[1001]BA=\begin{bmatrix}2&-3\\-1&2\end{bmatrix}\begin{bmatrix}2&3\\1&2\end{bmatrix}=\begin{bmatrix}1&0\\0&1\end{bmatrix}
Answer: AB=BA=IAB=BA=I, so B=A−1B=A^{-1} and A=B−1A=B^{-1}.

Uniqueness of the Inverse

Uniqueness of inverse

If a square matrix has an inverse, that inverse is unique. If BB and CC are both inverses of AA, then AB=BA=IAB=BA=I and AC=CA=IAC=CA=I, so B=BI=B(AC)=(BA)C=IC=CB=BI=B(AC)=(BA)C=IC=C.

Worked example

Prove that the inverse of a square matrix, if it exists, is unique.

  1. Suppose BB and CC are inverses of AA; write their inverse relations.
    AB=BA=I,AC=CA=IAB=BA=I,\qquad AC=CA=I
  2. Insert I=ACI=AC after BB, then use BA=IBA=I.
    B=BI=B(AC)=(BA)C=IC=CB=BI=B(AC)=(BA)C=IC=C
Answer: Any two inverses BB and CC of AA satisfy B=CB=C; hence the inverse is unique.

Inverse of a Product

Inverse of a product

For invertible matrices AA and BB of the same order, the inverse of their product is the product of their inverses in reverse order.

(AB)−1=B−1A−1(AB)^{-1}=B^{-1}A^{-1}
Worked example

Verify the product-inverse rule for invertible matrices AA and BB.

  1. Check the proposed inverse by multiplying it by ABAB.
    (AB)(B−1A−1)=A(BB−1)A−1=AIA−1=I(AB)(B^{-1}A^{-1})=A(BB^{-1})A^{-1}=AIA^{-1}=I
  2. Check the reverse product as well.
    (B−1A−1)(AB)=B−1(A−1A)B=B−1IB=I(B^{-1}A^{-1})(AB)=B^{-1}(A^{-1}A)B=B^{-1}IB=I
Answer: Both products equal II, so (AB)−1=B−1A−1(AB)^{-1}=B^{-1}A^{-1}.
⚠ Common mistake

Common mistake: Writing (AB)−1=A−1B−1(AB)^{-1}=A^{-1}B^{-1}. The order must reverse: (AB)−1=B−1A−1(AB)^{-1}=B^{-1}A^{-1}.

Powers of a Trigonometric Matrix

Power identity

For the matrix AA below and every natural number nn, its nnth power has the same form, with the angle multiplied by nn.

A=[cos⁡θsin⁡θ−sin⁡θcos⁡θ],An=[cos⁡nθsin⁡nθ−sin⁡nθcos⁡nθ]A=\begin{bmatrix}\cos\theta&\sin\theta\\-\sin\theta&\cos\theta\end{bmatrix},\qquad A^n=\begin{bmatrix}\cos n\theta&\sin n\theta\\-\sin n\theta&\cos n\theta\end{bmatrix}

Proof by induction

  1. Check the base case n=1n=1.
    A1=[cos⁡θsin⁡θ−sin⁡θcos⁡θ]A^1=\begin{bmatrix}\cos\theta&\sin\theta\\-\sin\theta&\cos\theta\end{bmatrix}
  2. Assume the claimed form holds for n=kn=k.
    Ak=[cos⁡kθsin⁡kθ−sin⁡kθcos⁡kθ]A^k=\begin{bmatrix}\cos k\theta&\sin k\theta\\-\sin k\theta&\cos k\theta\end{bmatrix}
  3. Multiply by AA and use the angle-addition identities to establish the case k+1k+1.
    Ak+1=AAk=[cos⁡((k+1)θ)sin⁡((k+1)θ)−sin⁡((k+1)θ)cos⁡((k+1)θ)]A^{k+1}=AA^k=\begin{bmatrix}\cos((k+1)\theta)&\sin((k+1)\theta)\\-\sin((k+1)\theta)&\cos((k+1)\theta)\end{bmatrix}
  4. Therefore, the formula holds for every natural number nn.
    ∀n∈N\forall n\in\mathbb{N}
Worked example

Find A2A^2 for A=[cos⁡θsin⁡θ−sin⁡θcos⁡θ]A=\begin{bmatrix}\cos\theta&\sin\theta\\-\sin\theta&\cos\theta\end{bmatrix}.

  1. For n=2n=2, multiply the matrix by itself.
    A2=[cos⁡θsin⁡θ−sin⁡θcos⁡θ]2A^2=\begin{bmatrix}\cos\theta&\sin\theta\\-\sin\theta&\cos\theta\end{bmatrix}^2
  2. Apply the double-angle identities to simplify each entry.
    A2=[cos⁡2θsin⁡2θ−sin⁡2θcos⁡2θ]A^2=\begin{bmatrix}\cos 2\theta&\sin 2\theta\\-\sin 2\theta&\cos 2\theta\end{bmatrix}
Answer: A2=[cos⁡2θsin⁡2θ−sin⁡2θcos⁡2θ]A^2=\begin{bmatrix}\cos 2\theta&\sin 2\theta\\-\sin 2\theta&\cos 2\theta\end{bmatrix}.

Product of Symmetric Matrices

Symmetric product criterion

If AA and BB are symmetric matrices of the same order, then ABAB is symmetric if and only if AA and BB commute. This follows from (AB)′=B′A′=BA(AB)'=B'A'=BA.

(AB)′=AB  ⟺  AB=BA(AB)'=AB\iff AB=BA
Worked example

Show that for symmetric matrices AA and BB, ABAB is symmetric exactly when AB=BAAB=BA.

  1. Since AA and BB are symmetric, transpose the product by reversing the factor order.
    (AB)′=B′A′=BA(AB)'=B'A'=BA
  2. If ABAB is symmetric, then (AB)′=AB(AB)'=AB, forcing commutativity; conversely, commutativity makes ABAB symmetric.
    (AB)′=AB  ⟺  BA=AB(AB)'=AB\iff BA=AB
Answer: (AB)′=BA(AB)'=BA, hence (AB)′=AB(AB)'=AB exactly when BA=ABBA=AB.

Solving a Matrix Equation

Find an unknown matrix

  1. Determine the order of the unknown matrix from the dimensions of the products.
  2. Represent the unknown matrix using variables for its entries.
    D=[abcd]D=\begin{bmatrix}a&b\\c&d\end{bmatrix}
  3. Carry out the matrix multiplications and set the required matrix expressions equal.
  4. Equate corresponding entries and solve the resulting simultaneous equations.
Worked example

Find DD such that CD−AB=OCD-AB=O for the given AA, BB and CC.

  1. From CD=ABCD=AB, take DD to be a 2×22\times2 matrix of unknown entries.
    A=[2−134],B=[5274],C=[2538],D=[abcd]A=\begin{bmatrix}2&-1\\3&4\end{bmatrix},\quad B=\begin{bmatrix}5&2\\7&4\end{bmatrix},\quad C=\begin{bmatrix}2&5\\3&8\end{bmatrix},\quad D=\begin{bmatrix}a&b\\c&d\end{bmatrix}
  2. Calculate the product ABAB.
    AB=[304322]AB=\begin{bmatrix}3&0\\43&22\end{bmatrix}
  3. Equate corresponding entries in CD=ABCD=AB.
    2a+5c=3,3a+8c=43,2b+5d=0,3b+8d=222a+5c=3,\quad 3a+8c=43,\quad 2b+5d=0,\quad 3b+8d=22
  4. Solve the two systems for the entries of DD.
    a=−191,c=77,b=−110,d=44a=-191,\quad c=77,\quad b=-110,\quad d=44
Answer: D=[−191−1107744]D=\begin{bmatrix}-191&-110\\77&44\end{bmatrix}.
Practice

For A=[1201]A=\begin{bmatrix}1&2\\0&1\end{bmatrix} and B=[1−201]B=\begin{bmatrix}1&-2\\0&1\end{bmatrix}, verify that B=A−1B=A^{-1}.

Hint: Check both ABAB and BABA.
Key step: Both products must equal the identity matrix.
Solution: AB=BA=[1001]AB=BA=\begin{bmatrix}1&0\\0&1\end{bmatrix}, so B=A−1B=A^{-1}.
Practice

If A−1=[1−101]A^{-1}=\begin{bmatrix}1&-1\\0&1\end{bmatrix} and B−1=[10−21]B^{-1}=\begin{bmatrix}1&0\\-2&1\end{bmatrix}, find (AB)−1(AB)^{-1}.

Hint: Reverse the order of the inverses.
Key step: Use (AB)−1=B−1A−1(AB)^{-1}=B^{-1}A^{-1}.
Solution: (AB)−1=[10−21][1−101]=[1−1−23](AB)^{-1}=\begin{bmatrix}1&0\\-2&1\end{bmatrix}\begin{bmatrix}1&-1\\0&1\end{bmatrix}=\begin{bmatrix}1&-1\\-2&3\end{bmatrix}.
Practice

Let A=[1111]A=\begin{bmatrix}1&1\\1&1\end{bmatrix} and B=[2003]B=\begin{bmatrix}2&0\\0&3\end{bmatrix}. Is ABAB symmetric?

Hint: For symmetric AA and BB, test whether they commute.
Key step: Compare ABAB and BABA.
Solution: No. AB=[2323]AB=\begin{bmatrix}2&3\\2&3\end{bmatrix} and BA=[2233]BA=\begin{bmatrix}2&2\\3&3\end{bmatrix}, so AB≠BAAB\ne BA and ABAB is not symmetric.

Quick recap

  • An inverse A−1A^{-1} satisfies both AA−1=IAA^{-1}=I and A−1A=IA^{-1}A=I.
  • A two-sided inverse exists only for square matrices and, if it exists, is unique.
  • The inverse of a product reverses the order: (AB)−1=B−1A−1(AB)^{-1}=B^{-1}A^{-1}.
  • Powers of the trigonometric matrix replace θ\theta by nθn\theta.
  • For symmetric AA and BB, the product ABAB is symmetric exactly when AB=BAAB=BA.
  • To solve a matrix equation, multiply, equate corresponding entries and solve.

Formula sheet

Number of Elements
N=mnN=mn
Entry conditions
bij=0(i≠j),bii=k(i=j),(In)ij={1,i=j0,i≠jb_{ij}=0\quad(i\ne j),\qquad b_{ii}=k\quad(i=j),\qquad (I_n)_{ij}=\begin{cases}1,&i=j\\0,&i\ne j\end{cases}
Scalar multiple
kA=k[aij]m×n=[kaij]m×nkA=k[a_{ij}]_{m\times n}=[ka_{ij}]_{m\times n}
Negative matrix
−A=(−1)A=[−aij]m×n-A=(-1)A=[-a_{ij}]_{m\times n}
Matrix difference
A−B=[aij−bij]m×n=A+(−1)BA-B=[a_{ij}-b_{ij}]_{m\times n}=A+(-1)B
Addition properties
A+B=B+A,(A+B)+C=A+(B+C),A+O=O+A=A,A+(−A)=OA+B=B+A,\quad (A+B)+C=A+(B+C),\quad A+O=O+A=A,\quad A+(-A)=O
Scalar multiplication properties
k(A+B)=kA+kB,(k+l)A=kA+lAk(A+B)=kA+kB,\qquad (k+l)A=kA+lA
Entry of a matrix product
cik=ai1b1k+ai2b2k+⋯+ainbnk=∑j=1naijbjkc_{ik}=a_{i1}b_{1k}+a_{i2}b_{2k}+\cdots+a_{in}b_{nk}=\sum_{j=1}^{n}a_{ij}b_{jk}
Associative law
(AB)C=A(BC)(AB)C=A(BC)
Distributive laws
A(B+C)=AB+AC,(A+B)C=AC+BCA(B+C)=AB+AC,\qquad (A+B)C=AC+BC
Multiplicative identity
InA=AIn=AI_nA=AI_n=A
Matrix powers
A2=AA,A3=AA2A^2=AA,\qquad A^3=AA^2
Total cost
BA=[x1x2x3y1y2y3][c1c2c3]BA=\begin{bmatrix}x_1&x_2&x_3\\y_1&y_2&y_3\end{bmatrix}\begin{bmatrix}c_1\\c_2\\c_3\end{bmatrix}
Transpose identities
(A′)′=A,(kA)′=kA′,(A+B)′=A′+B′,(AB)′=B′A′(A')'=A,\qquad (kA)'=kA',\qquad (A+B)'=A'+B',\qquad (AB)'=B'A'
General form of a 3×33\times3 skew-symmetric matrix
[0ef−e0g−f−g0]\begin{bmatrix}0&e&f\\-e&0&g\\-f&-g&0\end{bmatrix}
Definition of the inverse
AB=BA=I  ⟹  B=A−1AB=BA=I\implies B=A^{-1}

Mathematics — ALL CHAPTERS

1

Relations And Functions

View

2

Inverse Trigonometric Functions

View

3

Matrices

View

4

DETERMINANTS 

View

5

Continuity And Differentiability

View

6

Application Of Derivatives

View

7

Integrals

View

8

APPLICATION OF INTEGRALS

View

9

DIFFERENTIAL EQUATIONS

View

10

VECTOR ALGEBRA

View

11

Three Dimensional Geometry

View

12

Linear Programming

View

13

Probability

View

14

Proofs In Mathematics

View

15

Mathematical Modelling

View