If A=⎡⎢⎣012123234⎤⎥⎦ and B=⎡⎢⎣−1−2−102−1⎤⎥⎦, then third element in the second column of matrix AB is
We know that two matrices can be multiplied only when number of columns of A = number of rows of B.
Elements of AB are obtained by adding the products of corresponding elements of ith row of A and jth column of B.
So, ⎡⎢⎣012123234⎤⎥⎦⎡⎢⎣−1−2−102−1⎤⎥⎦
=⎡⎢⎣(0×−1)+(1×−1)+2×2(0×−2)+(1×0)+(2×−1)(1×−1)+(2×−1)+3×2(1×−2)+(2×0)+(3×−1)(2×−1)+(3×−1)+4×2(2×−2)+(3×0)+(4×−1)⎤⎥⎦
=⎡⎢⎣3−23−53−8⎤⎥⎦
So, third element of second column of this matrix is −8