NCERT Solutions – Solved Examples
Class 12 Mathematics · Chapter 3 · Matrices · 25 solved examples · Session 2026-27
Example 1
Consider the following information regarding the number of men and women workers in three factories I, II and III. Represent the above information in the form of a 3 × 2 matrix. What does the entry in the third row and second column represent?
Solution
Rows denote factories, columns denote (men, women).
- A = $\begin{bmatrix}30 & 25\\ 25 & 31\\ 27 & 26\end{bmatrix}$ (using the textbook data).
- The entry a₃₂ lies in row 3, column 2.
a₃₂ = 26 represents the number of women workers in factory III.
Example 2
If a matrix has 8 elements, what are the possible orders it can have?
Solution
An m × n matrix has mn elements, so we need all factor pairs of 8.
- 8 = 1 × 8, 8 × 1, 2 × 4, 4 × 2.
Possible orders: 1×8, 8×1, 2×4, 4×2.
Example 3
Construct a 3 × 2 matrix whose elements are given by aᵢⱼ = ½|i − 3j|.
Solution
Substitute i = 1,2,3 and j = 1,2.
- a₁₁ = ½|1−3| = 1, a₁₂ = ½|1−6| = 5/2.
- a₂₁ = ½|2−3| = 1/2, a₂₂ = ½|2−6| = 2.
- a₃₁ = ½|3−3| = 0, a₃₂ = ½|3−6| = 3/2.
A = $\begin{bmatrix}1 & \frac{5}{2}\\ \frac{1}{2} & 2\\ 0 & \frac{3}{2}\end{bmatrix}$.
Example 4
If $\begin{bmatrix}x + 3 & z + 4 & 2y - 7\\ -6 & a - 1 & 0\\ b - 3 & -21 & 0\end{bmatrix}$ = $\begin{bmatrix}0 & 6 & 3y - 2\\ -6 & -3 & 2c + 2\\ 2b + 4 & -21 & 0\end{bmatrix}$, find the values of a, b, c, x, y and z.
Solution
Equate corresponding entries.
- x + 3 = 0 ⇒ x = −3. z + 4 = 6 ⇒ z = 2.
- 2y − 7 = 3y − 2 ⇒ y = −5.
- a − 1 = −3 ⇒ a = −2. 2c + 2 = 0 ⇒ c = −1.
- b − 3 = 2b + 4 ⇒ b = −7.
a = −2, b = −7, c = −1, x = −3, y = −5, z = 2.
Example 5
Find the values of a, b, c, and d from the equation $\begin{bmatrix}a - b & 2a + c\\ 2a - b & 3c + d\end{bmatrix}$ = $\begin{bmatrix}-1 & 5\\ 0 & 13\end{bmatrix}$.
Solution
- a − b = −1 … (1); 2a − b = 0 … (2).
- (2) − (1): a = 1. Then from (1), b = 2.
- 2a + c = 5 ⇒ 2 + c = 5 ⇒ c = 3.
- 3c + d = 13 ⇒ 9 + d = 13 ⇒ d = 4.
a = 1, b = 2, c = 3, d = 4.
Example 6
Given A = $\begin{bmatrix}\sqrt{3} & 1 & -1\\ 2 & 3 & 0\end{bmatrix}$ and B = $\begin{bmatrix}2 & \sqrt{5} & 1\\ -2 & 3 & \frac{1}{2}\end{bmatrix}$, find A + B.
Solution
Add corresponding entries.
- Row 1: √3 + 2, 1 + √5, −1 + 1 = 0.
- Row 2: 2 − 2 = 0, 3 + 3 = 6, 0 + ½ = ½.
A + B = $\begin{bmatrix}\sqrt{3} + 2 & 1 + \sqrt{5} & 0\\ 0 & 6 & \frac{1}{2}\end{bmatrix}$.
Example 7
If A = $\begin{bmatrix}1 & 2 & 3\\ 2 & 3 & 1\end{bmatrix}$ and B = $\begin{bmatrix}3 & -1 & 3\\ -1 & 0 & 2\end{bmatrix}$, then find 2A − B.
Solution
- 2A = $\begin{bmatrix}2 & 4 & 6\\ 4 & 6 & 2\end{bmatrix}$.
- Subtract B entrywise: $\begin{bmatrix}2-3 & 4+1 & 6-3\\ 4+1 & 6-0 & 2-2\end{bmatrix}$.
2A − B = $\begin{bmatrix}-1 & 5 & 3\\ 5 & 6 & 0\end{bmatrix}$.
Example 8
If A = $\begin{bmatrix}8 & 0\\ 4 & -2\\ 3 & 6\end{bmatrix}$ and B = $\begin{bmatrix}2 & -2\\ 4 & 2\\ -5 & 1\end{bmatrix}$, then find the matrix X such that 2A + 3X = 5B.
Solution
- 3X = 5B − 2A.
- 5B = $\begin{bmatrix}10 & -10\\ 20 & 10\\ -25 & 5\end{bmatrix}$; 2A = $\begin{bmatrix}16 & 0\\ 8 & -4\\ 6 & 12\end{bmatrix}$.
- 5B − 2A = $\begin{bmatrix}-6 & -10\\ 12 & 14\\ -31 & -7\end{bmatrix}$.
- Divide by 3.
X = $\begin{bmatrix}-2 & -10/3\\ 4 & \frac{14}{3}\\ -31/3 & -7/3\end{bmatrix}$.
Example 9
Find X and Y, if X + Y = $\begin{bmatrix}5 & 2\\ 0 & 9\end{bmatrix}$ and X − Y = $\begin{bmatrix}3 & 6\\ 0 & -1\end{bmatrix}$.
Solution
- Add the two equations: 2X = $\begin{bmatrix}8 & 8\\ 0 & 8\end{bmatrix}$ ⇒ X = $\begin{bmatrix}4 & 4\\ 0 & 4\end{bmatrix}$.
- Subtract: 2Y = $\begin{bmatrix}2 & -4\\ 0 & 10\end{bmatrix}$ ⇒ Y = $\begin{bmatrix}1 & -2\\ 0 & 5\end{bmatrix}$.
X = $\begin{bmatrix}4 & 4\\ 0 & 4\end{bmatrix}$, Y = $\begin{bmatrix}1 & -2\\ 0 & 5\end{bmatrix}$.
Example 10
Find the values of x and y from the equation 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}$.
Solution
- LHS = $\begin{bmatrix}2 + y & 6\\ 1 & 2x + 2\end{bmatrix}$.
- Compare (1,1): 2 + y = 5 ⇒ y = 3.
- Compare (2,2): 2x + 2 = 8 ⇒ x = 3.
x = 3, y = 3.
Example 11
Find AB, if A = $\begin{bmatrix}6 & 9\\ 2 & 3\end{bmatrix}$ and B = $\begin{bmatrix}2 & 6 & 0\\ 7 & 9 & 8\end{bmatrix}$.
Solution
A is 2×2 and B is 2×3, so AB is 2×3.
- Row1: [6·2 + 9·7, 6·6 + 9·9, 6·0 + 9·8] = [75, 117, 72].
- Row2: [2·2 + 3·7, 2·6 + 3·9, 2·0 + 3·8] = [25, 39, 24].
AB = $\begin{bmatrix}75 & 117 & 72\\ 25 & 39 & 24\end{bmatrix}$.
Example 12
If A = $\begin{bmatrix}1 & -2 & 3\\ -4 & 2 & 5\end{bmatrix}$ and B = $\begin{bmatrix}2 & 3\\ 4 & 5\\ 2 & 1\end{bmatrix}$, then find AB, BA. Show that AB ≠ BA.
Solution
- AB (2×2): Row1 = [1·2 + (−2)·4 + 3·2, 1·3 + (−2)·5 + 3·1] = [0, −4].
- Row2 = [−4·2 + 2·4 + 5·2, −4·3 + 2·5 + 5·1] = [10, 3]. So AB = $\begin{bmatrix}0 & -4\\ 10 & 3\end{bmatrix}$.
- BA (3×3) has order 3×3, so it cannot equal the 2×2 matrix AB.
AB = $\begin{bmatrix}0 & -4\\ 10 & 3\end{bmatrix}$ is 2×2 while BA is 3×3, hence AB ≠ BA.
Example 13
If A = $\begin{bmatrix}0 & -1\\ 0 & 2\end{bmatrix}$ and B = $\begin{bmatrix}3 & 5\\ 0 & 0\end{bmatrix}$, find AB and BA. Show AB ≠ BA.
Solution
- AB = $\begin{bmatrix}0\cdot 3 + (-1)\cdot 0 & 0\cdot 5 + (-1)\cdot 0\\ 0\cdot 3 + 2\cdot 0 & 0\cdot 5 + 2\cdot 0\end{bmatrix}$ = $\begin{bmatrix}0 & 0\\ 0 & 0\end{bmatrix}$.
- BA = $\begin{bmatrix}3\cdot 0 + 5\cdot 0 & 3\cdot (-1) + 5\cdot 2\\ 0 & 0\end{bmatrix}$ = $\begin{bmatrix}0 & 7\\ 0 & 0\end{bmatrix}$.
AB = O but BA ≠ O, so AB ≠ BA. (The product of two non-zero matrices can be the zero matrix.)
Example 14
If A = $\begin{bmatrix}1 & 0\\ 0 & 1\end{bmatrix}$, B = $\begin{bmatrix}0 & 1\\ 1 & 0\end{bmatrix}$, find AB.
Solution
- A is the identity matrix I₂.
- IB = B for any conformable B.
AB = $\begin{bmatrix}0 & 1\\ 1 & 0\end{bmatrix}$ = B.
Example 15
A trust fund has ₹30,000 that must be invested in two different types of bonds paying 5% and 7% interest. Using matrix multiplication, determine how to divide ₹30,000 among the two types of bonds so as to obtain an annual total interest of ₹1800.
Solution
- Let ₹x be invested at 5%, so ₹(30000 − x) at 7%.
- Interest as a matrix product: [x, 30000 − x] × $\begin{bmatrix}\frac{5}{100}\\ \frac{7}{100}\end{bmatrix}$ = [1800].
- That is 0.05x + 0.07(30000 − x) = 1800.
- 0.05x + 2100 − 0.07x = 1800 ⇒ −0.02x = −300 ⇒ x = 15000.
Invest ₹15,000 in each bond.
Example 16
If A = $\begin{bmatrix}2 & 3\\ 1 & -4\end{bmatrix}$ and B = $\begin{bmatrix}1 & -2\\ -1 & 3\end{bmatrix}$, then verify (AB)′ = B′A′.
Solution
- AB = $\begin{bmatrix}2\cdot 1 + 3\cdot (-1) & 2\cdot (-2) + 3\cdot 3\\ 1\cdot 1 + (-4)(-1) & 1\cdot (-2) + (-4)\cdot 3\end{bmatrix}$ = $\begin{bmatrix}-1 & 5\\ 5 & -14\end{bmatrix}$.
- (AB)′ = $\begin{bmatrix}-1 & 5\\ 5 & -14\end{bmatrix}$ (it is symmetric here).
- B′ = $\begin{bmatrix}1 & -1\\ -2 & 3\end{bmatrix}$, A′ = $\begin{bmatrix}2 & 1\\ 3 & -4\end{bmatrix}$.
- B′A′ = $\begin{bmatrix}1\cdot 2 + (-1)\cdot 3 & 1\cdot 1 + (-1)(-4)\\ -2\cdot 2 + 3\cdot 3 & -2\cdot 1 + 3\cdot (-4)\end{bmatrix}$ = $\begin{bmatrix}-1 & 5\\ 5 & -14\end{bmatrix}$.
Both sides agree, so (AB)′ = B′A′.
Example 17
If A = $\begin{bmatrix}2 & -1 & 3\end{bmatrix}$ (a row matrix), find A′ and verify (A′)′ = A.
Solution
- A is 1×3, so A′ is the 3×1 column matrix $\begin{bmatrix}2\\ -1\\ 3\end{bmatrix}$.
- Transposing again returns the original 1×3 row matrix.
(A′)′ = A.
Example 18
Express the matrix 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.
Solution
Use B = ½(B + B′) + ½(B − B′).
- B′ = $\begin{bmatrix}2 & -1 & 1\\ -2 & 3 & -2\\ -4 & 4 & -3\end{bmatrix}$.
- P = ½(B + B′) = $\begin{bmatrix}2 & -3/2 & -5/2\\ -3/2 & 3 & 1\\ -5/2 & 1 & -3\end{bmatrix}$ — symmetric.
- Q = ½(B − B′) = $\begin{bmatrix}0 & -1/2 & -3/2\\ \frac{1}{2} & 0 & 3\\ \frac{3}{2} & -3 & 0\end{bmatrix}$ — skew symmetric.
B = P + Q with P symmetric and Q skew symmetric.
Example 19
If A = $\begin{bmatrix}\cos \theta & \sin \theta\\ -\sin \theta & \cos \theta\end{bmatrix}$, verify that A′A = I.
Solution
- A′ = $\begin{bmatrix}\cos \theta & -\sin \theta\\ \sin \theta & \cos \theta\end{bmatrix}$.
- A′A entry (1,1) = cos²θ + sin²θ = 1; (2,2) = sin²θ + cos²θ = 1.
- Off-diagonal = cos θ sin θ − sin θ cos θ = 0.
Hence A′A = I (A is orthogonal).
Example 20
Show that the matrix A = $\begin{bmatrix}1 & -1 & 5\\ -1 & 2 & 1\\ 5 & 1 & 3\end{bmatrix}$ is symmetric.
Solution
- Transposing swaps aᵢⱼ and aⱼᵢ.
- Here a₁₂ = a₂₁ = −1, a₁₃ = a₃₁ = 5, a₂₃ = a₃₂ = 1.
So A′ = A, i.e. A is symmetric.
Example 21
Show that the matrix A = $\begin{bmatrix}0 & 1 & -1\\ -1 & 0 & 1\\ 1 & -1 & 0\end{bmatrix}$ is skew symmetric.
Solution
- A′ = $\begin{bmatrix}0 & -1 & 1\\ 1 & 0 & -1\\ -1 & 1 & 0\end{bmatrix}$.
- Every entry of A′ is the negative of the corresponding entry of A.
- Also all diagonal entries are 0, as required.
Hence A′ = −A, i.e. A is skew symmetric.
Example 22
If A and B are symmetric matrices of the same order, show that AB is symmetric if and only if AB = BA.
Solution
- (AB)′ = B′A′ = BA, since A′ = A and B′ = B.
- AB is symmetric ⇔ (AB)′ = AB ⇔ BA = AB.
So AB is symmetric precisely when A and B commute.
Example 23
If A = $\begin{bmatrix}\cos \theta & \sin \theta\\ -\sin \theta & \cos \theta\end{bmatrix}$, then prove that Aⁿ = $\begin{bmatrix}\cos n\theta & \sin n\theta\\ -\sin n\theta & \cos n\theta\end{bmatrix}$, n ∈ N.
Solution
Use the principle of mathematical induction.
- Base: for n = 1 the statement reads A¹ = A, which is true.
- Hypothesis: assume Aᵏ = $\begin{bmatrix}\cos k\theta & \sin k\theta\\ -\sin k\theta & \cos k\theta\end{bmatrix}$.
- Step: Aᵏ⁺¹ = Aᵏ · A. Its (1,1) entry is cos kθ cos θ − sin kθ sin θ = cos(k+1)θ.
- The (1,2) entry is cos kθ sin θ + sin kθ cos θ = sin(k+1)θ; similarly for row 2.
- So Aᵏ⁺¹ has the required form.
By induction the result holds for all n ∈ N.
Example 24
If A = $\begin{bmatrix}2 & -1\\ 3 & 4\end{bmatrix}$, show that A² − 6A + 11I = O. Hence find A⁻¹.
Solution
- A² = $\begin{bmatrix}2\cdot 2 + (-1)\cdot 3 & 2\cdot (-1) + (-1)\cdot 4\\ 3\cdot 2 + 4\cdot 3 & 3\cdot (-1) + 4\cdot 4\end{bmatrix}$ = $\begin{bmatrix}1 & -6\\ 18 & 13\end{bmatrix}$.
- 6A = $\begin{bmatrix}12 & -6\\ 18 & 24\end{bmatrix}$; 11I = $\begin{bmatrix}11 & 0\\ 0 & 11\end{bmatrix}$.
- A² − 6A + 11I = $\begin{bmatrix}1 - 12 + 11 & -6 + 6\\ 18 - 18 & 13 - 24 + 11\end{bmatrix}$ = $\begin{bmatrix}0 & 0\\ 0 & 0\end{bmatrix}$ = O. ✓
- From A² − 6A + 11I = O, multiply by A⁻¹: A − 6I + 11A⁻¹ = O, so A⁻¹ = (6I − A)/11.
- 6I − A = $\begin{bmatrix}4 & 1\\ -3 & 2\end{bmatrix}$.
A⁻¹ = (1/11)$\begin{bmatrix}4 & 1\\ -3 & 2\end{bmatrix}$.
Example 25
Let A = $\begin{bmatrix}2 & 3\\ 1 & 2\end{bmatrix}$. Find A⁻¹ using elementary row operations, or state that it does not exist.
Solution
Write A = IA and reduce A to I on the left.
- det A = 2·2 − 3·1 = 1 ≠ 0, so A⁻¹ exists.
- For a 2×2 matrix, A⁻¹ = (1/det A)$\begin{bmatrix}d & -b\\ -c & a\end{bmatrix}$.
- Here a = 2, b = 3, c = 1, d = 2 and det A = 1.
A⁻¹ = $\begin{bmatrix}2 & -3\\ -1 & 2\end{bmatrix}$.