Find $A$, if $\left[\begin{array}{l}4 \\ 1 \\ 3\end{array}\right] A=\left[\begin{array}{lll}-4 & 8 & 4 \\ -1 & 2 & 1 \\ -3 & 6 & 3\end{array}\right]$.
We have, $\left[\begin{array}{l}4 \\ 1 \\ 3\end{array}\right]_{3 \times 1} \quad A=\left[\begin{array}{ccc}-4 & 8 & 4 \\ -1 & 2 & 1 \\ -3 & 6 & 3\end{array}\right]_{3 \times 3}$
$$\begin{gathered} \text{Let}\quad A=[x y z] \\ \therefore\quad {\left[\begin{array}{l} 4 \\ 1 \\ 3 \end{array}\right]_{3 \times 1}[x y y z]_{1 \times 3}=\left[\begin{array}{ccc} -4 & 8 & 4 \\ -1 & 2 & 1 \\ -3 & 6 & 3 \end{array}\right]_{3 \times 3}} \\ \Rightarrow\quad {\left[\begin{array}{ccc} 4 x & 4 y & 4 z \\ x & y & z \\ 3 x & 3 y & 3 z \end{array}\right]=\left[\begin{array}{ccc} -4 & 8 & 4 \\ -1 & 2 & 1 \\ -3 & 6 & 3 \end{array}\right]} \end{gathered}$$
$$\begin{array}{ll} \Rightarrow & 4 x=-4 \Rightarrow x=-1,4 y=8 \\ \Rightarrow & y=2 \text { and } 4 z=4 \\ \Rightarrow & z=1 \\ \therefore & A=\left[\begin{array}{lll} -1 & 2 & 1 \end{array}\right] \end{array}$$
If $A\left[\begin{array}{cc}3 & -4 \\ 1 & 1 \\ 2 & 0\end{array}\right]$ and $B=\left[\begin{array}{lll}2 & 1 & 2 \\ 1 & 2 & 4\end{array}\right]$, then verify $(B A)^2 \neq B^2 A^2$.
We have, $$ A=\left[\begin{array}{cc} 3 & -4 \\ 1 & 1 \\ 2 & 0 \end{array}\right]_{3 \times 2} \text { and } B=\left[\begin{array}{lll} 2 & 1 & 2 \\ 1 & 2 & 4 \end{array}\right]_{2 \times 3}$$
$\therefore\quad B A=\left[\begin{array}{lll}2 & 1 & 2 \\ 1 & 2 & 4\end{array}\right]_{2 \times 3}\left[\begin{array}{cc}3 & -4 \\ 1 & 1 \\ 2 & 0\end{array}\right]_{3 \times 2}$
$=\left[\begin{array}{ll}6+1+4 & -8+1+0 \\ 3+2+8 & -4+2+0\end{array}\right]=\left[\begin{array}{ll}11 & -7 \\ 13 & -2\end{array}\right]$
$$\begin{aligned} \text{and}\quad (B A) \cdot(B A) & =\left[\begin{array}{ll} 11 & -7 \\ 13 & -2 \end{array}\right]\left[\begin{array}{cc} 11 & -7 \\ 13 & -2 \end{array}\right] \\ \Rightarrow\quad (B A)^2 & =\left[\begin{array}{cc} 121-91 & -77+14 \\ 143-26 & -91+4 \end{array}\right]=\left[\begin{array}{cc} 30 & -63 \\ 117 & -87 \end{array}\right] \quad\text{... (i)}\\ \text{Also,}\quad B^2 & =B \cdot B=\left[\begin{array}{lll} 2 & 1 & 2 \\ 1 & 2 & 4 \end{array}\right]_{2 \times 3}\left[\begin{array}{lll} 2 & 1 & 2 \\ 1 & 2 & 4 \end{array}\right]_{2 \times 3} \end{aligned}$$
So, $B^2$ is not possible, since the $B$ is not a square matrix.
Hence, $(B A)^2 \neq B^2 A^2$.
If possible, find the value of $B A$ and $A B$, where $$ A=\left[\begin{array}{lll} 2 & 1 & 2 \\ 1 & 2 & 4 \end{array}\right] \text { and } B=\left[\begin{array}{ll} 4 & 1 \\ 2 & 3 \\ 1 & 2 \end{array}\right] \text {. }$$
We have, $A=\left[\begin{array}{lll}2 & 1 & 2 \\ 1 & 2 & 4\end{array}\right]_{2 \times 3}$ and $B=\left[\begin{array}{ll}4 & 1 \\ 2 & 3 \\ 1 & 2\end{array}\right]_{3 \times 2}$
So, $A B$ and $B A$ both are possible.
[since, in both $A \cdot B$ and $B \cdot A$, the number of columns of first is equal to the number of rows of second.]
$$\begin{aligned} \therefore\quad A B & =\left[\begin{array}{lll} 2 & 1 & 2 \\ 1 & 2 & 4 \end{array}\right]_{2 \times 3} \cdot\left[\begin{array}{ll} 4 & 1 \\ 2 & 3 \\ 1 & 2 \end{array}\right]_{3 \times 2} \\ & =\left[\begin{array}{ll} 8+2+2 & 2+3+4 \\ 4+4+4 & 1+6+8 \end{array}\right]=\left[\begin{array}{cc} 12 & 9 \\ 12 & 15 \end{array}\right] \end{aligned}$$
$$\begin{aligned} \text{and}\quad B A & =\left[\begin{array}{ll} 4 & 1 \\ 2 & 3 \\ 1 & 2 \end{array}\right]_{3 \times 2}\left[\begin{array}{lll} 2 & 1 & 2 \\ 1 & 2 & 4 \end{array}\right]_{2 \times 3} \\ & =\left[\begin{array}{ccc} 4 \times 2+1 & 4+2 & 8+4 \\ 4+3 & 2+6 & 4+12 \\ 2+2 & 1+4 & 2+8 \end{array}\right]=\left[\begin{array}{lll} 9 & 6 & 12 \\ 7 & 8 & 16 \\ 4 & 5 & 10 \end{array}\right] \end{aligned}$$
Show by an example that for $A \neq 0, B \neq 0$ and $A B=0$.
$$\begin{aligned} \text{Let}\quad A & =\left[\begin{array}{cc} 0 & -4 \\ 0 & 2 \end{array}\right] \neq 0 \text { and } B=\left[\begin{array}{ll} 3 & 5 \\ 0 & 0 \end{array}\right] \neq 0 \\ \therefore\quad A B & =\left[\begin{array}{ll} 0 & 0 \\ 0 & 0 \end{array}\right]=0 \end{aligned}$$
Hence proved.
Given, $A=\left[\begin{array}{lll}2 & 4 & 0 \\ 3 & 9 & 6\end{array}\right]$ and $B=\left[\begin{array}{ll}1 & 4 \\ 2 & 8 \\ 1 & 3\end{array}\right]$. is $(A B)^{\prime}=B^{\prime} A^{\prime}$ ?
We have, $A=\left[\begin{array}{lll}2 & 4 & 0 \\ 3 & 9 & 6\end{array}\right]_{2 \times 3}$ and $B=\left[\begin{array}{ll}1 & 4 \\ 2 & 8 \\ 1 & 3\end{array}\right]_{3 \times 2}$
$\therefore\quad A B=\left[\begin{array}{cc}2+8+0 & 8+32+0 \\ 3+18+6 & 12+72+18\end{array}\right]=\left[\begin{array}{cc}10 & 40 \\ 27 & 102\end{array}\right]$
$\text{and}\quad (A B)^{\prime}=\left[\begin{array}{cc}10 & 27 \\ 40 & 102\end{array}\right]\quad\text{..... (i)}$
$\text{Also,}\quad B^{\prime}=\left[\begin{array}{lll}1 & 2 & 1 \\ 4 & 8 & 3\end{array}\right]_{2 \times 3}$ and $A^{\prime}=\left[\begin{array}{ll}2 & 3 \\ 4 & 9 \\ 0 & 6\end{array}\right]_{3 \times 2}$
$\therefore\quad B^{\prime} A^{\prime}=\left[\begin{array}{cc}2+8+0 & 3+18+6 \\ 8+32+0 & 12+72+18\end{array}\right]=\left[\begin{array}{cc}10 & 27 \\ 40 & 102\end{array}\right]\quad\text{.... (ii)}$
Thus, we see that, $(A B)^{\prime}=B^{\prime} A^{\prime}$ [using Eqs. (i) and (ii)]