Question #195408

Suppose A, B, C and D are matrices with the following sizes A(5x2), B(4x2), C(4X5), and D(4x5)

Determine each of the following case whether a product is defined. If it is so then give the size of the resulting matrix

a. DC

b. -CA+B

c. CD-D


Expert's answer

We can oly multiply two matrices if their dimensions are compatible, which means the number of columns in the first matrix is the same as the number of rows in the second matrix.

If A=[aij]A=[a_{ij}] is an m×nm\times n matrix and B=[bij]B=[b_{ij}]  is an n×pn\times p matrix, the product ABAB is an m×pm\times p matrix.


The operation of addition of two matrices is only defined when both matrices have the same dimensions. If AA and BB are both m×n,m\times n, then the sum C=A+BC=A+B is also m×n.m\times n.

We can also compute the difference D=ABD=A-B by summing AA and (1)B(-1)B


D=AB=A+(1)BD=A-B=A+(-1)B

a. Since DD is an 4×54\times 5 matrix and CC is an 4×54\times 5 matrix, then the matrix product DCDC is not defined.


b. Since CC is an 4×54\times 5 matrix and AA is an 5×25\times 2 matrix, then the matrix product CA-CA is defined and is 4×24\times 2 matrix.

Since BB is 4×24\times 2 matrix , then the operation of addition of two matrices CA+B-CA+B is defined, and the sum CA+B-CA+B is 4×24\times 2 matrix.


c. Since CC is an 4×54\times 5 matrix and DD is an 4×54\times 5 matrix, then the matrix product CDCD is not defined.



LATEST TUTORIALS
APPROVED BY CLIENTS