RS Aggarwal Class 12 Maths Solutions Exercise 5B — Matrices
RS Aggarwal, Class 12 Mathematics — Matrices, Exercise 5B. All 16 questions solved.
Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.
Exercise 5B is about the arithmetic of matrices of the same order: adding, subtracting and multiplying by a scalar, always entry by entry. Questions 1 and 2 ask you to verify the commutative and associative laws of addition. Questions 3 to 13 evaluate expressions or solve simple matrix equations for an unknown matrix. Question 14 uses equality of matrices to find unknown entries.
Key insight. Two matrices can be added or subtracted only when they have the same order, and then the operation is done position by position. A scalar multiplies every entry. A matrix equation is solved like an ordinary one, by moving terms across and dividing by the scalar, and two matrices are equal only when every pair of corresponding entries is equal.
Question 1
Take $A=\begin{bmatrix}2&-3&5\\-1&0&3\end{bmatrix}$ and $B=\begin{bmatrix}3&2&-2\\4&-3&1\end{bmatrix}$. Verify that $A+B=B+A$.
Solution. Both matrices are $2\times3$, so both sums exist. Add entry by entry.
$$A+B=\begin{bmatrix}2+3&-3+2&5-2\\-1+4&0-3&3+1\end{bmatrix}=\begin{bmatrix}5&-1&3\\3&-3&4\end{bmatrix}.$$
$$B+A=\begin{bmatrix}3+2&2-3&-2+5\\4-1&-3+0&1+3\end{bmatrix}=\begin{bmatrix}5&-1&3\\3&-3&4\end{bmatrix}.$$
The two results are identical, because each entry is a sum of two real numbers and real addition is commutative.
Verified: $A+B=B+A=\begin{bmatrix}5&-1&3\\3&-3&4\end{bmatrix}$.
Question 2
Take $A=\begin{bmatrix}3&5\\-2&0\\6&-1\end{bmatrix}$, $B=\begin{bmatrix}-1&-3\\4&2\\-2&3\end{bmatrix}$ and $C=\begin{bmatrix}0&2\\3&-4\\1&6\end{bmatrix}$. Verify that $(A+B)+C=A+(B+C)$.
Solution. All three are $3\times2$. Compute the left side first.
$$A+B=\begin{bmatrix}2&2\\2&2\\4&2\end{bmatrix},\qquad (A+B)+C=\begin{bmatrix}2&4\\5&-2\\5&8\end{bmatrix}.$$
Now the right side.
$$B+C=\begin{bmatrix}-1&-1\\7&-2\\-1&9\end{bmatrix},\qquad A+(B+C)=\begin{bmatrix}3-1&5-1\\-2+7&0-2\\6-1&-1+9\end{bmatrix}=\begin{bmatrix}2&4\\5&-2\\5&8\end{bmatrix}.$$
Both sides agree entry for entry, as associativity of real addition guarantees.
Verified: both sides equal $\begin{bmatrix}2&4\\5&-2\\5&8\end{bmatrix}$.
Question 3
Given $A=\begin{bmatrix}3&1&2\\1&2&-3\end{bmatrix}$ and $B=\begin{bmatrix}-2&0&4\\5&-3&2\end{bmatrix}$, find $2A-B$.
Solution. Double $A$ first, then subtract $B$ position by position.
$$2A=\begin{bmatrix}6&2&4\\2&4&-6\end{bmatrix},\qquad 2A-B=\begin{bmatrix}6+2&2-0&4-4\\2-5&4+3&-6-2\end{bmatrix}.$$
$$2A-B=\begin{bmatrix}8&2&0\\-3&7&-8\end{bmatrix}$$
Question 4
Let $A=\begin{bmatrix}2&4\\3&2\end{bmatrix}$, $B=\begin{bmatrix}1&3\\-2&5\end{bmatrix}$ and $C=\begin{bmatrix}-2&5\\3&4\end{bmatrix}$. Find:
(i) $A+2B$ (ii) $B-4C$ (iii) $A-2B+3C$
Solution. In each part, form the scalar multiples first and then combine.
(i) $2B=\begin{bmatrix}2&6\\-4&10\end{bmatrix}$, so $$A+2B=\begin{bmatrix}2+2&4+6\\3-4&2+10\end{bmatrix}=\begin{bmatrix}4&10\\-1&12\end{bmatrix}.$$
(ii) $4C=\begin{bmatrix}-8&20\\12&16\end{bmatrix}$, so $$B-4C=\begin{bmatrix}1+8&3-20\\-2-12&5-16\end{bmatrix}=\begin{bmatrix}9&-17\\-14&-11\end{bmatrix}.$$
(iii) $A-2B=\begin{bmatrix}0&-2\\7&-8\end{bmatrix}$ and $3C=\begin{bmatrix}-6&15\\9&12\end{bmatrix}$, so $$A-2B+3C=\begin{bmatrix}-6&13\\16&4\end{bmatrix}.$$
(i) $\begin{bmatrix}4&10\\-1&12\end{bmatrix}$ (ii) $\begin{bmatrix}9&-17\\-14&-11\end{bmatrix}$ (iii) $\begin{bmatrix}-6&13\\16&4\end{bmatrix}$
Question 5
With $A=\begin{bmatrix}0&1&-2\\5&-1&-4\end{bmatrix}$, $B=\begin{bmatrix}1&-3&-1\\0&-2&5\end{bmatrix}$ and $C=\begin{bmatrix}2&-5&1\\-4&0&6\end{bmatrix}$, compute $5A-3B+4C$.
Solution. Scale each matrix:
$$5A=\begin{bmatrix}0&5&-10\\25&-5&-20\end{bmatrix},\quad 3B=\begin{bmatrix}3&-9&-3\\0&-6&15\end{bmatrix},\quad 4C=\begin{bmatrix}8&-20&4\\-16&0&24\end{bmatrix}.$$
Combine entry by entry, for example the top-left is $0-3+8=5$ and the bottom-right is $-20-15+24=-11$:
$$5A-3B+4C=\begin{bmatrix}5&-6&-3\\9&1&-11\end{bmatrix}.$$
$$5A-3B+4C=\begin{bmatrix}5&-6&-3\\9&1&-11\end{bmatrix}$$
Question 6
If $5A=\begin{bmatrix}5&10&-15\\2&3&4\\1&0&-5\end{bmatrix}$, find $A$.
Solution. Multiply both sides by $\tfrac15$, which divides every entry by $5$. The entries $2,3,4,1$ do not divide evenly, so they become fractions.
$$A=\begin{bmatrix}1&2&-3\\\tfrac25&\tfrac35&\tfrac45\\\tfrac15&0&-1\end{bmatrix}$$
Question 7
Find matrices $A$ and $B$ if $A+B=\begin{bmatrix}1&0&2\\5&4&-6\\7&3&8\end{bmatrix}$ and $A-B=\begin{bmatrix}-5&-4&8\\11&2&0\\-1&7&4\end{bmatrix}$.
Solution. Adding the two equations cancels $B$ and gives $2A$; subtracting the second from the first cancels $A$ and gives $2B$.
$$2A=\begin{bmatrix}-4&-4&10\\16&6&-6\\6&10&12\end{bmatrix}\ \Rightarrow\ A=\begin{bmatrix}-2&-2&5\\8&3&-3\\3&5&6\end{bmatrix},$$
$$2B=\begin{bmatrix}6&4&-6\\-6&2&-6\\8&-4&4\end{bmatrix}\ \Rightarrow\ B=\begin{bmatrix}3&2&-3\\-3&1&-3\\4&-2&2\end{bmatrix}.$$
$$A=\begin{bmatrix}-2&-2&5\\8&3&-3\\3&5&6\end{bmatrix},\quad B=\begin{bmatrix}3&2&-3\\-3&1&-3\\4&-2&2\end{bmatrix}$$
Question 8
Find matrices $A$ and $B$ if $2A-B=\begin{bmatrix}6&-6&0\\-4&2&1\end{bmatrix}$ and $A+2B=\begin{bmatrix}3&2&5\\-2&1&-7\end{bmatrix}$.
Solution. Call the two given matrices $P$ and $Q$, so $2A-B=P$ and $A+2B=Q$. To cancel $B$, double the first equation: $4A-2B=2P$. Adding it to the second gives $5A=2P+Q$.
$$2P+Q=\begin{bmatrix}12+3&-12+2&0+5\\-8-2&4+1&2-7\end{bmatrix}=\begin{bmatrix}15&-10&5\\-10&5&-5\end{bmatrix},$$
so $A=\begin{bmatrix}3&-2&1\\-2&1&-1\end{bmatrix}$. Now $B=2A-P$:
$$B=\begin{bmatrix}6&-4&2\\-4&2&-2\end{bmatrix}-\begin{bmatrix}6&-6&0\\-4&2&1\end{bmatrix}=\begin{bmatrix}0&2&2\\0&0&-3\end{bmatrix}.$$
Check with the other equation: $A+2B=\begin{bmatrix}3&-2+4&1+4\\-2&1&-1-6\end{bmatrix}=\begin{bmatrix}3&2&5\\-2&1&-7\end{bmatrix}$, as required.
$$A=\begin{bmatrix}3&-2&1\\-2&1&-1\end{bmatrix},\quad B=\begin{bmatrix}0&2&2\\0&0&-3\end{bmatrix}$$
Question 9
Find the matrix $X$ if $\begin{bmatrix}3&5&-9\\-1&4&-7\end{bmatrix}+X=\begin{bmatrix}6&2&3\\4&8&6\end{bmatrix}$.
Solution. Subtract the known matrix from both sides: $X=\begin{bmatrix}6-3&2-5&3+9\\4+1&8-4&6+7\end{bmatrix}$.
$$X=\begin{bmatrix}3&-3&12\\5&4&13\end{bmatrix}$$
Question 10
If $A=\begin{bmatrix}-2&3\\4&5\\1&-6\end{bmatrix}$ and $B=\begin{bmatrix}5&2\\-7&3\\6&4\end{bmatrix}$, find a matrix $C$ with $A+B-C=O$.
Solution. The equation says $C=A+B$, so add entry by entry: $C=\begin{bmatrix}-2+5&3+2\\4-7&5+3\\1+6&-6+4\end{bmatrix}$.
$$C=\begin{bmatrix}3&5\\-3&8\\7&-2\end{bmatrix}$$
Question 11
Find the matrix $X$ such that $2A-B+X=O$, where $A=\begin{bmatrix}3&1\\0&2\end{bmatrix}$ and $B=\begin{bmatrix}-2&1\\0&3\end{bmatrix}$.
Solution. Rearranging, $X=B-2A$. With $2A=\begin{bmatrix}6&2\\0&4\end{bmatrix}$, $$X=\begin{bmatrix}-2-6&1-2\\0-0&3-4\end{bmatrix}.$$
$$X=\begin{bmatrix}-8&-1\\0&-1\end{bmatrix}$$
Question 12
If $A=\begin{bmatrix}1&-3&2\\2&0&2\end{bmatrix}$ and $B=\begin{bmatrix}2&-1&-1\\1&0&-1\end{bmatrix}$, find a matrix $C$ such that $A+B+C$ is the zero matrix.
Solution. Here $C=-(A+B)$. First $A+B=\begin{bmatrix}3&-4&1\\3&0&1\end{bmatrix}$, and changing every sign gives $C$.
$$C=\begin{bmatrix}-3&4&-1\\-3&0&-1\end{bmatrix}$$
Question 13
Let $A=\operatorname{diag}[2,-5,9]$, $B=\operatorname{diag}[-3,7,14]$ and $C=\operatorname{diag}[4,-6,3]$. Find:
(i) $A+2B$ (ii) $B+C-A$ (iii) $2A+B-5C$
Solution. Diagonal matrices add and scale along the diagonal only, so each part is three separate calculations on the entries.
(i) $2+2(-3)=-4$, $\ -5+2(7)=9$, $\ 9+2(14)=37$.
(ii) $-3+4-2=-1$, $\ 7-6+5=6$, $\ 14+3-9=8$.
(iii) $2(2)-3-5(4)=-19$, $\ 2(-5)+7-5(-6)=27$, $\ 2(9)+14-5(3)=17$.
(i) $\operatorname{diag}[-4,\,9,\,37]$ (ii) $\operatorname{diag}[-1,\,6,\,8]$ (iii) $\operatorname{diag}[-19,\,27,\,17]$
Question 14
Find $x$ and $y$ in each case.
(i) $\begin{bmatrix}x+y\\x-y\end{bmatrix}=\begin{bmatrix}8\\4\end{bmatrix}$
(ii) $\begin{bmatrix}2x+5&7\\0&3y-7\end{bmatrix}=\begin{bmatrix}x-3&7\\0&-5\end{bmatrix}$
(iii) $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}$
Solution. Equal matrices have equal corresponding entries, which turns each matrix equation into ordinary equations.
(i) $x+y=8$ and $x-y=4$. Adding gives $2x=12$, so $x=6$ and $y=2$.
(ii) The entries that differ give $2x+5=x-3$, so $x=-8$, and $3y-7=-5$, so $y=\tfrac23$. The remaining entries ($7$, $0$, $7$, $0$) already agree.
(iii) First simplify the left side: $\begin{bmatrix}2x+3&10-4\\14+1&2(y-3)+2\end{bmatrix}=\begin{bmatrix}2x+3&6\\15&2y-4\end{bmatrix}$. Matching with the right side, $2x+3=7$ gives $x=2$, and $2y-4=14$ gives $y=9$. The entries $6$ and $15$ agree automatically.
(i) $x=6,\ y=2$ (ii) $x=-8,\ y=\tfrac23$ (iii) $x=2,\ y=9$
Question 15
Find the value of $x+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. Multiply the first matrix by $2$ and add, entry by entry: the left side becomes $\begin{bmatrix}2+y&6\\1&2x+2\end{bmatrix}$. Equal matrices have equal entries, so $2+y=5$, giving $y=3$, and $2x+2=8$, giving $x=3$. The entries $6$ and $1$ already agree. Therefore $x+y=6$.
$$x+y=6$$
Question 16
If $\begin{bmatrix}x-y&2y\\2y+z&x+y\end{bmatrix}=\begin{bmatrix}1&4\\9&5\end{bmatrix}$, find $x+y+z$.
Solution. Compare entries. From $2y=4$ we get $y=2$. From $x-y=1$ we get $x=3$, and $x+y=5$ confirms it. From $2y+z=9$ we get $z=9-4=5$. So $x+y+z=3+2+5=10$.
$$x+y+z=10$$
Common mistakes
- Adding matrices of different orders. Questions 1 to 12 only make sense because each pair has the same number of rows and columns. If the orders differ, the sum is not defined.
- Scaling only one entry. In $2B$ or $5A$ every entry is multiplied, including zeros and negatives. In Question 5 a lost sign on $-4\times4$ ruins the bottom row.
- Sign slips when subtracting. In $B-4C$ (Question 4) you subtract $-8$ and $20$, which means adding $8$ and subtracting $20$. Write the scaled matrix out before combining.
- Solving a pair of matrix equations for the wrong scalar (Question 8). Eliminating $B$ from $2A-B$ and $A+2B$ needs $2P+Q$, giving $5A$, not $2A$. Finding $A$ and then forgetting to halve or substitute back to get $B$ is the usual error; test both given equations at the end.
- Mixing up diagonal entries (Question 13). Operate on the first diagonal entries together, then the second, then the third; the middle entries are easy to combine with the wrong sign.
- Not expanding the scalar in Question 14(iii). The factor $2$ multiplies the whole bracket, including $y-3$, before you compare entries.
Practise next
- Continue with Exercise 5C of this chapter, which moves from addition and scalar multiples to the product of two matrices.
Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full
Subscribe