1. Home
  2. Explore
  3. Mathematics
  4. Matrix Dimensions and Entries

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Matrix Dimensions and Entries

  • 25Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Matrix Structure

For an m×nm \times nm×n matrix, what do mmm and nnn represent?

25 questions

  1. 1

    For an m×nm \times nm×n matrix, what do mmm and nnn represent?

    1. A

      mmm is the number of entries, and nnn is the number of rows

    2. B

      mmm is the number of columns, and nnn is the number of rows

    3. C

      mmm is the number of rows, and nnn is the number of columns

    4. D

      mmm is the number of diagonal entries, and nnn is the number of columns

    Correct answer
    C

    mmm is the number of rows, and nnn is the number of columns

    Explanation

    The first dimension gives the number of rows, and the second gives the number of columns.

  2. 2

    In the notation aija_{ij}aij​ for an entry of a matrix, what do the subscripts identify?

    1. A

      The first subscript identifies the column, and the second identifies the row

    2. B

      The first subscript identifies the row, and the second identifies the column

    3. C

      The first subscript identifies the matrix, and the second identifies its dimension

    4. D

      The first subscript identifies the entry's value, and the second identifies its row

    Correct answer
    B

    The first subscript identifies the row, and the second identifies the column

    Explanation

    The entry aija_{ij}aij​ is located in row iii and column jjj.

  3. 3

    How many entries are in an m×nm \times nm×n matrix?

    1. A

      mnmnmn

    2. B

      m+nm+nm+n

    3. C

      mnm^nmn

    4. D

      m−nm-nm−n

    Correct answer
    A

    mnmnmn

    Explanation

    There are mmm rows, each containing nnn entries, so the total is mnmnmn.

  4. 4

    How is a matrix treated for the purposes described in the content?

    1. A

      As a single number with multiple components

    2. B

      As a collection of vectors with no row or column structure

    3. C

      As a two-dimensional array of numbers

    4. D

      As a one-dimensional list of numbers

    Correct answer
    C

    As a two-dimensional array of numbers

    Explanation

    For these purposes, a matrix is a two-dimensional array of numbers arranged in rows and columns.

  5. 5

    Which description correctly identifies the dimensions of a matrix with 555 rows and 333 columns?

    1. A

      A 15×115 \times 115×1 matrix

    2. B

      An 8×18 \times 18×1 matrix

    3. C

      A 3×53 \times 53×5 matrix

    4. D

      A 5×35 \times 35×3 matrix

    Correct answer
    D

    A 5×35 \times 35×3 matrix

    Explanation

    Matrix dimensions are written as number of rows by number of columns, so the dimensions are 5×35 \times 35×3.

  6. 6

    Which statement best describes the convention for multiplying a matrix by a vector?

    1. A

      The product is defined whenever the matrix and vector contain the same total number of entries

    2. B

      The product is defined when the vector has as many components as the matrix has rows

    3. C

      The product is defined when the vector has as many components as the matrix has columns

    4. D

      The product is defined only when the matrix is square

    Correct answer
    C

    The product is defined when the vector has as many components as the matrix has columns

    Explanation

    For AxA\mathbf{x}Ax to be defined, the number of components in x\mathbf{x}x must equal the number of columns of AAA.

  7. 7

    A matrix has 444 columns. How many components must a vector have for their matrix-vector product to be defined?

    1. A

      The vector must have 111 component

    2. B

      The vector must have 444 components

    3. C

      The vector must have as many components as the matrix has rows

    4. D

      The vector must have 161616 components

    Correct answer
    B

    The vector must have 444 components

    Explanation

    The vector's number of components must match the matrix's number of columns, which is 444.

  8. 8

    How is one entry of the product AxA\mathbf{x}Ax computed from a row of AAA?

    1. A

      Multiply each entry in the row by the corresponding component of x\mathbf{x}x and add the results

    2. B

      Multiply the row's first entry by the vector's last component

    3. C

      Add the entries in the row and multiply the sum by the first component of x\mathbf{x}x

    4. D

      Multiply every entry in the row by every component of x\mathbf{x}x and add all products

    Correct answer
    A

    Multiply each entry in the row by the corresponding component of x\mathbf{x}x and add the results

    Explanation

    Each output entry is the sum of products of corresponding entries from one matrix row and the vector.

  9. 9

    If AAA has mmm rows and nnn columns, and x\mathbf{x}x has nnn components, how many entries does AxA\mathbf{x}Ax have?

    1. A

      nnn entries, one for each column of AAA

    2. B

      mmm entries, one for each row of AAA

    3. C

      m+nm+nm+n entries, one for each dimension

    4. D

      mnmnmn entries, one for each entry of AAA

    Correct answer
    B

    mmm entries, one for each row of AAA

    Explanation

    The product has one output entry for each row of the matrix, so it has mmm entries.

  10. 10

    What is the shape of AxA\mathbf{x}Ax when AAA is an m×nm \times nm×n matrix and x\mathbf{x}x is an n×1n \times 1n×1 column vector?

    1. A

      An n×mn \times mn×m matrix

    2. B

      An m×1m \times 1m×1 column vector

    3. C

      An n×1n \times 1n×1 column vector

    4. D

      An m×nm \times nm×n matrix

    Correct answer
    B

    An m×1m \times 1m×1 column vector

    Explanation

    The matching inner dimensions nnn allow multiplication, and the remaining dimensions give an m×1m \times 1m×1 result.

  11. 11

    Why must the number of columns of AAA match the number of components of x\mathbf{x}x?

    1. A

      The matrix must have the same number of rows and columns

    2. B

      The output must have the same number of entries as the matrix

    3. C

      Each column of AAA must pair with one component of the vector in the product

    4. D

      Each row of AAA must pair with one component of the vector in the product

    Correct answer
    C

    Each column of AAA 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.

  12. 12

    What happens under the stated definition if a vector has a different number of components from the matrix's number of columns?

    1. A

      The product is automatically the zero vector

    2. B

      The matrix-vector product is not defined

    3. C

      The product is defined, but its output has no entries

    4. D

      The product is defined after adding zero components to the vector

    Correct answer
    B

    The matrix-vector product is not defined

    Explanation

    The definition applies only when the vector's length equals the matrix's number of columns.

  13. 13

    For a matrix whose rows are (a11,a12,…,a1n)(a_{11},a_{12},\ldots,a_{1n})(a11​,a12​,…,a1n​) and a vector with components (x1,x2,…,xn)(x_1,x_2,\ldots,x_n)(x1​,x2​,…,xn​), what is the first entry of their product?

    1. A

      a11x1+a12x2+⋯+a1nxna_{11}x_1+a_{12}x_2+\cdots+a_{1n}x_na11​x1​+a12​x2​+⋯+a1n​xn​

    2. B

      a11xn+a12xn−1+⋯+a1nx1a_{11}x_n+a_{12}x_{n-1}+\cdots+a_{1n}x_1a11​xn​+a12​xn−1​+⋯+a1n​x1​

    3. C

      a11+a12+⋯+a1n+x1+⋯+xna_{11}+a_{12}+\cdots+a_{1n}+x_1+\cdots+x_na11​+a12​+⋯+a1n​+x1​+⋯+xn​

    4. D

      (a11+x1)(a12+x2)⋯(a1n+xn)(a_{11}+x_1)(a_{12}+x_2)\cdots(a_{1n}+x_n)(a11​+x1​)(a12​+x2​)⋯(a1n​+xn​)

    Correct answer
    A

    a11x1+a12x2+⋯+a1nxna_{11}x_1+a_{12}x_2+\cdots+a_{1n}x_na11​x1​+a12​x2​+⋯+a1n​xn​

    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.

  14. 14

    Using A=[−303217−19]A=\begin{bmatrix}-3&0&3&2\\1&7&-1&9\end{bmatrix}A=[−31​07​3−1​29​] and x=[2−34−1]\mathbf{x}=\begin{bmatrix}2\\-3\\4\\-1\end{bmatrix}x=​2−34−1​​, what is AxA\mathbf{x}Ax?

    1. A

      [4−32]\begin{bmatrix}4\\-32\end{bmatrix}[4−32​]

    2. B

      [−432]\begin{bmatrix}-4\\32\end{bmatrix}[−432​]

    3. C

      [4−34]\begin{bmatrix}4\\-34\end{bmatrix}[4−34​]

    4. D

      [2−32]\begin{bmatrix}2\\-32\end{bmatrix}[2−32​]

    Correct answer
    A

    [4−32]\begin{bmatrix}4\\-32\end{bmatrix}[4−32​]

    Explanation

    The first entry is (−3)(2)+(0)(−3)+(3)(4)+(2)(−1)=4(-3)(2)+(0)(-3)+(3)(4)+(2)(-1)=4(−3)(2)+(0)(−3)+(3)(4)+(2)(−1)=4. The second is (1)(2)+(7)(−3)+(−1)(4)+(9)(−1)=−32(1)(2)+(7)(-3)+(-1)(4)+(9)(-1)=-32(1)(2)+(7)(−3)+(−1)(4)+(9)(−1)=−32.

  15. 15

    When multiplying an m×nm \times nm×n matrix by an nnn-component vector, how many row-vector dot products are calculated?

    1. A

      One for each of the mnmnmn matrix entries

    2. B

      One for each of the mmm rows

    3. C

      One for the entire matrix

    4. D

      One for each of the nnn columns

    Correct answer
    B

    One for each of the mmm rows

    Explanation

    Each row produces one dot product with the vector, and the matrix has mmm rows.

  16. 16

    What does the transpose of a column vector do to its arrangement?

    1. A

      It changes the column vector into a row vector

    2. B

      It changes each component to its negative

    3. C

      It reverses the order of the vector's components

    4. D

      It adds a zero component at the end

    Correct answer
    A

    It changes the column vector into a row vector

    Explanation

    Transposing exchanges rows and columns, so a column vector becomes a row vector.

  17. 17

    If each row of a matrix is written as the transpose of a column vector, how can the first row be represented?

    1. A

      As xT\mathbf{x}^TxT, where x\mathbf{x}x is the product vector

    2. B

      As ATA^TAT, where AAA is the entire matrix

    3. C

      As a1T\mathbf{a}_1^Ta1T​, where a1\mathbf{a}_1a1​ is a column vector

    4. D

      As a1\mathbf{a}_1a1​, where a1\mathbf{a}_1a1​ is a column vector

    Correct answer
    C

    As a1T\mathbf{a}_1^Ta1T​, where a1\mathbf{a}_1a1​ is a column vector

    Explanation

    Transposing the column vector a1\mathbf{a}_1a1​ gives the corresponding row vector, a1T\mathbf{a}_1^Ta1T​.

  18. 18

    When the rows of AAA are represented by transposed column vectors a1T,a2T,…,amT\mathbf{a}_1^T,\mathbf{a}_2^T,\ldots,\mathbf{a}_m^Ta1T​,a2T​,…,amT​, what is the iiith entry of AxA\mathbf{x}Ax?

    1. A

      The product of all components of ai\mathbf{a}_iai​

    2. B

      The dot product of ai\mathbf{a}_iai​ with the iiith column of AAA

    3. C

      The dot product ai⋅x\mathbf{a}_i\cdot\mathbf{x}ai​⋅x

    4. D

      The sum ai+x\mathbf{a}_i+\mathbf{x}ai​+x

    Correct answer
    C

    The dot product ai⋅x\mathbf{a}_i\cdot\mathbf{x}ai​⋅x

    Explanation

    The iiith output entry is the dot product of row iii with x\mathbf{x}x; if row iii is aiT\mathbf{a}_i^TaiT​, this is written ai⋅x\mathbf{a}_i\cdot\mathbf{x}ai​⋅x.

  19. 19

    In the row-based interpretation of matrix-vector multiplication, what does each row of the matrix contribute?

    1. A

      A separate vector whose length equals the number of columns

    2. B

      A scalar that is multiplied by every other row's output

    3. C

      One new column formed by scaling the entire vector

    4. D

      One output entry formed by its dot product with the vector

    Correct answer
    D

    One 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.

  20. 20

    Suppose the columns of AAA are v1,v2,…,vn\mathbf{v}_1,\mathbf{v}_2,\ldots,\mathbf{v}_nv1​,v2​,…,vn​, and x\mathbf{x}x has components x1,x2,…,xnx_1,x_2,\ldots,x_nx1​,x2​,…,xn​. Which expression gives AxA\mathbf{x}Ax as a combination of the columns?

    1. A

      v1+v2+⋯+vn\mathbf{v}_1+\mathbf{v}_2+\cdots+\mathbf{v}_nv1​+v2​+⋯+vn​

    2. B

      x1x2⋯xn(v1+v2+⋯+vn)x_1x_2\cdots x_n(\mathbf{v}_1+\mathbf{v}_2+\cdots+\mathbf{v}_n)x1​x2​⋯xn​(v1​+v2​+⋯+vn​)

    3. C

      x1v1+x2v2+⋯+xnvnx_1\mathbf{v}_1+x_2\mathbf{v}_2+\cdots+x_n\mathbf{v}_nx1​v1​+x2​v2​+⋯+xn​vn​

    4. D

      x1vn+x2vn−1+⋯+xnv1x_1\mathbf{v}_n+x_2\mathbf{v}_{n-1}+\cdots+x_n\mathbf{v}_1x1​vn​+x2​vn−1​+⋯+xn​v1​

    Correct answer
    C

    x1v1+x2v2+⋯+xnvnx_1\mathbf{v}_1+x_2\mathbf{v}_2+\cdots+x_n\mathbf{v}_nx1​v1​+x2​v2​+⋯+xn​vn​

    Explanation

    The matrix-vector product can be written as a linear combination of the columns, with each vector component scaling its corresponding column.

  21. 21

    In the column-based interpretation of AxA\mathbf{x}Ax, what role does xjx_jxj​ play?

    1. A

      It is the number of entries in the jjjth column

    2. B

      It is the scalar weight on the jjjth column of AAA

    3. C

      It is the output entry corresponding to the jjjth row

    4. D

      It determines which row of AAA is removed from the product

    Correct answer
    B

    It is the scalar weight on the jjjth column of AAA

    Explanation

    Each component xjx_jxj​ multiplies the corresponding column vj\mathbf{v}_jvj​ in the linear combination.

  22. 22

    If a matrix has nnn columns, how many terms appear in its column-based expression for AxA\mathbf{x}Ax?

    1. A

      Exactly two terms, regardless of the number of columns

    2. B

      One term for each of the nnn columns

    3. C

      One term for each entry in the matrix

    4. D

      One term for each row of the matrix

    Correct answer
    B

    One term for each of the nnn columns

    Explanation

    Each column contributes one term, scaled by the matching component of x\mathbf{x}x.

  23. 23

    Which statement correctly compares the row-based and column-based interpretations of AxA\mathbf{x}Ax?

    1. A

      The two views use different definitions and generally produce different results

    2. B

      The row-based view adds weighted columns, while the column-based view computes row dot products

    3. C

      The row-based view computes output entries with dot products, while the column-based view adds weighted columns

    4. D

      The row-based view applies only to square matrices, while the column-based view applies to rectangular matrices

    Correct answer
    C

    The 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.

  24. 24

    In the expression Ax=x1v1+⋯+xnvnA\mathbf{x}=x_1\mathbf{v}_1+\cdots+x_n\mathbf{v}_nAx=x1​v1​+⋯+xn​vn​, what determines the weights used for the columns?

    1. A

      The number of rows of AAA

    2. B

      The components of the input vector x\mathbf{x}x

    3. C

      The entries of the first row of AAA alone

    4. D

      The number of terms in the output vector

    Correct answer
    B

    The components of the input vector x\mathbf{x}x

    Explanation

    The input vector's components supply the scalar weights for the corresponding columns of AAA.

  25. 25

    Why does the column-based expression for AxA\mathbf{x}Ax contain one weighted column for each component of x\mathbf{x}x?

    1. A

      Every column must be repeated once for every row

    2. B

      Each vector component corresponds to a column of AAA

    3. C

      The output vector must contain all entries of the matrix

    4. D

      Each vector component corresponds to a row of AAA

    Correct answer
    B

    Each vector component corresponds to a column of AAA

    Explanation

    The vector has as many components as the matrix has columns, and each component scales its matching column.

Question 1 of 25
Question 1 of 25

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent