Matrix Dimensions and Entries
- 20Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
For the purposes described, what is a matrix?
20 questions
- 1
For the purposes described, what is a matrix?
Model answer
A matrix is a two-dimensional array of numbers.
Explanation
The content treats matrices as arrays arranged in rows and columns.
- 2
What do the dimensions of an m-by-n matrix tell you?
Model answer
m is the number of rows, and n is the number of columns.
Explanation
The first dimension counts rows; the second counts columns.
- 3
In a matrix whose entries are written as aij, what do the indices i and j identify?
Model answer
i identifies the row, and j identifies the column.
Explanation
For example, a12 is in row 1, column 2.
- 4
How many entries are in an m-by-n matrix, and why?
Model answer
It has mn entries because each of the m rows contains n entries.
Explanation
Multiplying the number of rows by the number of columns gives the total number of positions.
- 5
What shape does a vector have in the matrix-vector product Ax when A is an m-by-n matrix?
Model answer
The vector x must have n components, so it can be written as an n-by-1 column vector.
Explanation
The number of vector components must match the number of columns of A.
- 6
When is the product of a matrix A and a vector x defined?
Model answer
The product Ax is defined when the number of components in x equals the number of columns in A.
Explanation
If A has n columns, then x must have n components.
- 7
Why must the vector's number of components match the matrix's number of columns in Ax?
Model answer
Each row of the matrix is paired with all the vector's components to form a sum of products, so the two must have matching lengths.
Explanation
Each entry in a row corresponds to one component of the vector.
- 8
How is an entry of Ax calculated from a row of A and the vector x?
Model answer
Multiply corresponding entries in the row and vector, then add the products.
Explanation
For a row (ai1,�ai2,�…,�ain) and vector x, the result is ai1x1+ai2x2+⋯+ainxn.
- 9
Write the general formula for the ith component of b=Ax, where A has n columns.
Model answer
bi=∑j=1naijxj.
Explanation
The formula adds the products of the entries in row i with their corresponding vector components.
- 10
If A is an m-by-n matrix and x has n components, how many components does Ax have?
Model answer
Ax has m components, one for each row of A.
Explanation
The product produces one dot product for every row.
- 11
What is the resulting dimension when an m-by-n matrix multiplies an n-by-1 vector?
Model answer
The result is an m-by-1 vector.
Explanation
The matching inner dimensions allow multiplication, and the outer dimensions give the result's shape.
- 12
How can each component of Ax be interpreted using a dot product?
Model answer
Each component is the dot product of one row of A with the vector x.
Explanation
The dot product multiplies corresponding entries and sums those products.
- 13
What does the transpose operation do to a vector's orientation?
Model answer
It turns a column vector into a row vector, or a row vector into a column vector.
Explanation
Transposition exchanges rows and columns.
- 14
How can the rows of a matrix be represented using column vectors and transposes?
Model answer
Represent each row as the transpose of a column vector; the matrix can then be written with those transposed vectors as its rows.
Explanation
If the column vectors are a1,a2,…,am, the rows can be written as a1T,a2T,…,amT.
- 15
Using the row-vector representation of a matrix, how can Ax be expressed?
Model answer
Its components are a1Tx,a2Tx,…,amTx, where each is a dot product.
Explanation
Each transposed row vector is dotted with x to produce the corresponding output component.
- 16
How can a matrix be represented in terms of its column vectors?
Model answer
Write the matrix as the collection of its columns, such as A=[v1 v2 ⋯ vn].
Explanation
Each vj is one column of the matrix.
- 17
Express Ax as a combination of the columns of A when A=[v1 v2 ⋯ vn].
Model answer
Ax=x1v1+x2v2+⋯+xnvn.
Explanation
Each column is multiplied by the matching component of x, and the resulting vectors are added.
- 18
In the column-vector interpretation of Ax, what role do the components of x play?
Model answer
They are the weights, or coefficients, in the linear combination of the columns of A.
Explanation
The value of each xj determines how much the corresponding column vj contributes.
- 19
Compute the product of the matrix with rows (−3,0,3,2) and (1,7,−1,9) and the vector (2,−3,4,−1)T.
Model answer
The product is (4,−32)T.
Explanation
The row dot products are −6+0+12−2=4 and 2−21−4−9=−32.
- 20
Is the definition of matrix-vector multiplication presented as a natural law, or as a mathematical convention? Why is it useful?
Model answer
It is a mathematical convention chosen because it is useful; it connects matrix-vector multiplication to row dot products and linear combinations of columns.
Explanation
Both interpretations help explain what the product computes and how it relates to vectors.

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