141k views
1 vote
If matrix A has dimensions m x n and matrix B has dimensions n x p where m, n, and p are distinct positive integers, which of the following is true?

I.the product of BA doesn't exist
II. the product of AB exists and has dimensions m x p
III. the product of AB exists and has dimensions n x n

a) I only
b) II only
c) III only
d) I and II only
e) I and III

User Fawyd
by
5.1k points

2 Answers

4 votes

You probably already have an idea of what a matrix is; it's a rectangular array of numbers. What they represent is a bit complicated to explain. There's a whole subject about it (see "linear algebra" for more info). Whatever they represent isn't important though, you don't need to know everything about matrices to compute their product (or whether it's even possible).

A quick definition: A matrix of dimension
r-by-
c is a matrix with
r rows and
c columns.

Matrix multiplication all comes down to an operation called the "dot product". It's defined by the sum of component-wise products of elements between two lists. What this means is, if
x=\{1,2,0\} and
y=\{-1,0,3\}, then the dot product of
x and
y is


x\cdot y=(1)(-1)+(2)(0)+(0)(3)=-1+0+0=-1

What we did was take the first elements of each list and multiplied them, and the same for the other two elements, then added them all together. Notice that the product can't be computed if
x and
y don't thave the same number of elements.

We write this product in matrix form as


\begin{bmatrix}1&2&0\end{bmatrix}\begin{bmatrix}-1\\0\\3\end{bmatrix}

Notice the pattern here: on the left, a matrix with 1 row and 3 columns; on the right, a matrix with 3 rows and 1 column. The number of columns of the first matrix have to match the number of rows of the second.

The orientation makes a big difference. The product above returns a 1-by-1 matrix (or simply a scalar number):


\begin{bmatrix}1&2&0\end{bmatrix}\begin{bmatrix}-1\\0\\3\end{bmatrix}=\begin{bmatrix}(1)(-1)+(2)(0)+(0)(3)\end{bmatrix}=\begin{bmatrix}-1\end{bmatrix}=-1

On the other hand, the alternate orientation would result in a 3-by-3 matrix.


\begin{bmatrix}1\\2\\0\end{bmatrix}\begin{bmatrix}-1&0&3\end{bmatrix}=\begin{bmatrix}(1)(-1)&(1)(0)&(1)(3)\\(2)(-1)&(2)(0)&(2)(3)\\(0)(-1)&(0)(0)&(0)(3)\end{bmatrix}=\begin{bmatrix}-1&0&3\\\-2&0&3\\0&0&0\end{bmatrix}

So the number of rows of the first matrix and number of columns of the second matrix determine the number of rows and columns, respectively, of the matrix product.

I think we have enough information about matrix multiplication to answer this question. If
A has dimensions
m* n and
B has dimensions
n* p, then the matrix product
AB exists (
n columns in
A,
n rows in
B), but the matrix product
BA does not (
p columns in
B,
m rows in
A, but
m\\eq p). So I is not true.

We know
AB exists, and with
m rows in
A and
p columns in
B, we expect
AB to have
m rows and
p columns, so
AB has dimensions
m* p. So II is true.

With dimensions
r* c, a matrix would contain
rc elements.
m,n,p are distinct, so
mp\\eq n^2. So III is not true.

User Rob Kielty
by
5.5k points
4 votes

Answer: The correct option is

(d) I and II only.

Step-by-step explanation: Given that matrix A has dimensions m x n and matrix B has dimensions n x p where m, n, and p are distinct positive integers.

We are to select the one that is true from the following :

I. the product of BA doesn't exist

II. the product of AB exists and has dimensions m x p

III. the product of AB exists and has dimensions n x n

We know that two matrices X and Y can be multiplied if the number of columns in X is equal to the number of rows in Y.

Also, if X has dimensions a x b and Y has dimensions b x c, then the product XY is possible and it has dimensions a x c. Also, the product YX doesn't exist.

So, for the given matrices A and B, the following points are true :

(I) the product of BA doesn't exist.

(II) the product of AB exists and has dimensions m x p.

Thus, only I and II are TRUE.

Option (d) is CORRECT.

User Kartben
by
5.1k points