Matrix Dimensions and Entries
- 25Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
For an m×n matrix, what do m and n represent?
For an m×n matrix, what do m and n represent?
25 questions
- 1
For an m×n matrix, what do m and n represent?
- A
m is the number of entries, and n is the number of rows
- B
m is the number of columns, and n is the number of rows
- C
m is the number of rows, and n is the number of columns
- D
m is the number of diagonal entries, and n is the number of columns
Correct answer
Cm is the number of rows, and n is the number of columns
Explanation
The first dimension gives the number of rows, and the second gives the number of columns.
- A
- 2
In the notation aij for an entry of a matrix, what do the subscripts identify?
- A
The first subscript identifies the column, and the second identifies the row
- B
The first subscript identifies the row, and the second identifies the column
- C
The first subscript identifies the matrix, and the second identifies its dimension
- D
The first subscript identifies the entry's value, and the second identifies its row
Correct answer
BThe first subscript identifies the row, and the second identifies the column
Explanation
The entry aij is located in row i and column j.
- A
- 3
How many entries are in an m×n matrix?
- A
mn
- B
m+n
- C
mn
- D
m−n
Correct answer
Amn
Explanation
There are m rows, each containing n entries, so the total is mn.
- A
- 4
How is a matrix treated for the purposes described in the content?
- A
As a single number with multiple components
- B
As a collection of vectors with no row or column structure
- C
As a two-dimensional array of numbers
- D
As a one-dimensional list of numbers
Correct answer
CAs a two-dimensional array of numbers
Explanation
For these purposes, a matrix is a two-dimensional array of numbers arranged in rows and columns.
- A
- 5
Which description correctly identifies the dimensions of a matrix with 5 rows and 3 columns?
- A
A 15×1 matrix
- B
An 8×1 matrix
- C
A 3×5 matrix
- D
A 5×3 matrix
Correct answer
DA 5×3 matrix
Explanation
Matrix dimensions are written as number of rows by number of columns, so the dimensions are 5×3.
- A
- 6
Which statement best describes the convention for multiplying a matrix by a vector?
- A
The product is defined whenever the matrix and vector contain the same total number of entries
- B
The product is defined when the vector has as many components as the matrix has rows
- C
The product is defined when the vector has as many components as the matrix has columns
- D
The product is defined only when the matrix is square
Correct answer
CThe product is defined when the vector has as many components as the matrix has columns
Explanation
For Ax to be defined, the number of components in x must equal the number of columns of A.
- A
- 7
A matrix has 4 columns. How many components must a vector have for their matrix-vector product to be defined?
- A
The vector must have 1 component
- B
The vector must have 4 components
- C
The vector must have as many components as the matrix has rows
- D
The vector must have 16 components
Correct answer
BThe vector must have 4 components
Explanation
The vector's number of components must match the matrix's number of columns, which is 4.
- A
- 8
How is one entry of the product Ax computed from a row of A?
- A
Multiply each entry in the row by the corresponding component of x and add the results
- B
Multiply the row's first entry by the vector's last component
- C
Add the entries in the row and multiply the sum by the first component of x
- D
Multiply every entry in the row by every component of x and add all products
Correct answer
AMultiply each entry in the row by the corresponding component of x and add the results
Explanation
Each output entry is the sum of products of corresponding entries from one matrix row and the vector.
- A
- 9
If A has m rows and n columns, and x has n components, how many entries does Ax have?
- A
n entries, one for each column of A
- B
m entries, one for each row of A
- C
m+n entries, one for each dimension
- D
mn entries, one for each entry of A
Correct answer
Bm entries, one for each row of A
Explanation
The product has one output entry for each row of the matrix, so it has m entries.
- A
- 10
What is the shape of Ax when A is an m×n matrix and x is an n×1 column vector?
- A
An n×m matrix
- B
An m×1 column vector
- C
An n×1 column vector
- D
An m×n matrix
Correct answer
BAn m×1 column vector
Explanation
The matching inner dimensions n allow multiplication, and the remaining dimensions give an m×1 result.
- A
- 11
Why must the number of columns of A match the number of components of x?
- A
The matrix must have the same number of rows and columns
- B
The output must have the same number of entries as the matrix
- C
Each column of A must pair with one component of the vector in the product
- D
Each row of A must pair with one component of the vector in the product
Correct answer
CEach column of A must pair with one component of the vector in the product
Explanation
The vector components correspond to the columns of the matrix; this matching also makes each row-vector dot product possible.
- A
- 12
What happens under the stated definition if a vector has a different number of components from the matrix's number of columns?
- A
The product is automatically the zero vector
- B
The matrix-vector product is not defined
- C
The product is defined, but its output has no entries
- D
The product is defined after adding zero components to the vector
Correct answer
BThe matrix-vector product is not defined
Explanation
The definition applies only when the vector's length equals the matrix's number of columns.
- A
- 13
For a matrix whose rows are (a11,a12,…,a1n) and a vector with components (x1,x2,…,xn), what is the first entry of their product?
- A
a11x1+a12x2+⋯+a1nxn
- B
a11xn+a12xn−1+⋯+a1nx1
- C
a11+a12+⋯+a1n+x1+⋯+xn
- D
(a11+x1)(a12+x2)⋯(a1n+xn)
Correct answer
Aa11x1+a12x2+⋯+a1nxn
Explanation
The first output entry is the dot product of the first row with the vector, pairing entries in matching positions and summing the products.
- A
- 14
Using A=[−31073−129] and x=2−34−1, what is Ax?
- A
[4−32]
- B
[−432]
- C
[4−34]
- D
[2−32]
Correct answer
A[4−32]
Explanation
The first entry is (−3)(2)+(0)(−3)+(3)(4)+(2)(−1)=4. The second is (1)(2)+(7)(−3)+(−1)(4)+(9)(−1)=−32.
- A
- 15
When multiplying an m×n matrix by an n-component vector, how many row-vector dot products are calculated?
- A
One for each of the mn matrix entries
- B
One for each of the m rows
- C
One for the entire matrix
- D
One for each of the n columns
Correct answer
BOne for each of the m rows
Explanation
Each row produces one dot product with the vector, and the matrix has m rows.
- A
- 16
What does the transpose of a column vector do to its arrangement?
- A
It changes the column vector into a row vector
- B
It changes each component to its negative
- C
It reverses the order of the vector's components
- D
It adds a zero component at the end
Correct answer
AIt changes the column vector into a row vector
Explanation
Transposing exchanges rows and columns, so a column vector becomes a row vector.
- A
- 17
If each row of a matrix is written as the transpose of a column vector, how can the first row be represented?
- A
As xT, where x is the product vector
- B
As AT, where A is the entire matrix
- C
As a1T, where a1 is a column vector
- D
As a1, where a1 is a column vector
Correct answer
CAs a1T, where a1 is a column vector
Explanation
Transposing the column vector a1 gives the corresponding row vector, a1T.
- A
- 18
When the rows of A are represented by transposed column vectors a1T,a2T,…,amT, what is the ith entry of Ax?
- A
The product of all components of ai
- B
The dot product of ai with the ith column of A
- C
The dot product ai⋅x
- D
The sum ai+x
Correct answer
CThe dot product ai⋅x
Explanation
The ith output entry is the dot product of row i with x; if row i is aiT, this is written ai⋅x.
- A
- 19
In the row-based interpretation of matrix-vector multiplication, what does each row of the matrix contribute?
- A
A separate vector whose length equals the number of columns
- B
A scalar that is multiplied by every other row's output
- C
One new column formed by scaling the entire vector
- D
One output entry formed by its dot product with the vector
Correct answer
DOne output entry formed by its dot product with the vector
Explanation
Each matrix row is dotted with the input vector to produce one corresponding entry of the output.
- A
- 20
Suppose the columns of A are v1,v2,…,vn, and x has components x1,x2,…,xn. Which expression gives Ax as a combination of the columns?
- A
v1+v2+⋯+vn
- B
x1x2⋯xn(v1+v2+⋯+vn)
- C
x1v1+x2v2+⋯+xnvn
- D
x1vn+x2vn−1+⋯+xnv1
Correct answer
Cx1v1+x2v2+⋯+xnvn
Explanation
The matrix-vector product can be written as a linear combination of the columns, with each vector component scaling its corresponding column.
- A
- 21
In the column-based interpretation of Ax, what role does xj play?
- A
It is the number of entries in the jth column
- B
It is the scalar weight on the jth column of A
- C
It is the output entry corresponding to the jth row
- D
It determines which row of A is removed from the product
Correct answer
BIt is the scalar weight on the jth column of A
Explanation
Each component xj multiplies the corresponding column vj in the linear combination.
- A
- 22
If a matrix has n columns, how many terms appear in its column-based expression for Ax?
- A
Exactly two terms, regardless of the number of columns
- B
One term for each of the n columns
- C
One term for each entry in the matrix
- D
One term for each row of the matrix
Correct answer
BOne term for each of the n columns
Explanation
Each column contributes one term, scaled by the matching component of x.
- A
- 23
Which statement correctly compares the row-based and column-based interpretations of Ax?
- A
The two views use different definitions and generally produce different results
- B
The row-based view adds weighted columns, while the column-based view computes row dot products
- C
The row-based view computes output entries with dot products, while the column-based view adds weighted columns
- D
The row-based view applies only to square matrices, while the column-based view applies to rectangular matrices
Correct answer
CThe row-based view computes output entries with dot products, while the column-based view adds weighted columns
Explanation
Both are valid descriptions of the same product: rows give dot products with the input vector, while columns give a linear combination weighted by its components.
- A
- 24
In the expression Ax=x1v1+⋯+xnvn, what determines the weights used for the columns?
- A
The number of rows of A
- B
The components of the input vector x
- C
The entries of the first row of A alone
- D
The number of terms in the output vector
Correct answer
BThe components of the input vector x
Explanation
The input vector's components supply the scalar weights for the corresponding columns of A.
- A
- 25
Why does the column-based expression for Ax contain one weighted column for each component of x?
- A
Every column must be repeated once for every row
- B
Each vector component corresponds to a column of A
- C
The output vector must contain all entries of the matrix
- D
Each vector component corresponds to a row of A
Correct answer
BEach vector component corresponds to a column of A
Explanation
The vector has as many components as the matrix has columns, and each component scales its matching column.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.