Using Matrices to Represent, Manipulate Data - Precalculus

  1. Identify whether ABAB is defined if AA is 2×32\times 3 and BB is 2×22\times 2.
    Not defined, since 3≠23\neq 2 for the inner dimensions. Column count of AA doesn't match row count of BB.
  2. Compute 2A2A for A=[−1305]A=\begin{bmatrix}-1&3\\0&5\end{bmatrix}.
    [−26010]\begin{bmatrix}-2&6\\0&10\end{bmatrix}. Multiply each entry by 22: 2(−1)=−22(-1)=-2, 2(3)=62(3)=6, 2(0)=02(0)=0, 2(5)=102(5)=10.
  3. What are the dimensions of ABAB if AA is m×nm \times n and BB is n×pn \times p?
    ABAB is m×pm \times p. Product dimensions: outer dimensions of the factors.
  4. What does the incidence matrix entry mean if column ee is edge u→vu\to v in a directed graph?
    In column ee: −1-1 at row uu, +1+1 at row vv, and 00 elsewhere. Shows edge direction: −1-1 at source, +1+1 at destination.
  5. What is the inverse formula for a 2×22\times 2 matrix A=[abcd]A=\begin{bmatrix}a&b\\c&d\end{bmatrix} when invertible?
    A−1=1ad−bc[d−b−ca]A^{-1}=\frac{1}{ad-bc}\begin{bmatrix}d&-b\\-c&a\end{bmatrix}. Formula uses determinant ad−bcad-bc and swapped/negated entries.
  6. Compute ABAB for A=[1234]A=\begin{bmatrix}1&2\\3&4\end{bmatrix} and B=[2−1]B=\begin{bmatrix}2\\-1\end{bmatrix}.
    [02]\begin{bmatrix}0\\2\end{bmatrix}. 1(2)+2(−1)=01(2)+2(-1)=0 and 3(2)+4(−1)=23(2)+4(-1)=2.
  7. What do the entries aija_{ij} represent in a data matrix AA (rows and columns)?
    aija_{ij} is the value in row ii and column jj of AA. Standard matrix notation: row index first, column index second.
  8. What is the identity matrix InI_n and what key property does it satisfy with An×nA_{n\times n}?
    InI_n has 11 on the diagonal; AIn=InA=AAI_n=I_nA=A. Identity matrix acts as multiplicative identity for square matrices.
  9. Identify the meaning of a payoff matrix entry pijp_{ij} in a two-player game.
    pijp_{ij} is the payoff when Player 11 uses strategy ii and Player 22 uses strategy jj. Row player's payoff for their strategy choice against column player's choice.
  10. Identify the matrix that leaves any compatible matrix AA unchanged under multiplication.
    The identity matrix II: IA=AIA=A and AI=AAI=A. Identity matrix acts as multiplicative identity element.
  11. Compute ABAB for A=[12]A=\begin{bmatrix}1&2\end{bmatrix} and B=[34]B=\begin{bmatrix}3\\4\end{bmatrix}.
    AB=[11]AB=\begin{bmatrix}11\end{bmatrix}. 1×3+2×4=3+8=111 \times 3 + 2 \times 4 = 3 + 8 = 11.
  12. What is the entry relationship between AA and its transpose ATA^T?
    (AT)ij=aji(A^T)_{ij}=a_{ji}. Row jj, column ii of AA becomes row ii, column jj of ATA^T.
  13. What does the row sum of an adjacency matrix represent in a directed network?
    Row sum of row ii equals the out-degree of node ii. Counts edges leaving node ii.
  14. Compute A+BA+B for A=[1234]A=\begin{bmatrix}1&2\\3&4\end{bmatrix} and B=[5678]B=\begin{bmatrix}5&6\\7&8\end{bmatrix}.
    [681012]\begin{bmatrix}6&8\\10&12\end{bmatrix}. Add corresponding entries: 1+5=61+5=6, 2+6=82+6=8, 3+7=103+7=10, 4+8=124+8=12.
  15. What is the transpose of a matrix A=[aij]A=[a_{ij}] in terms of entries?
    AT=[aji]A^T=[a_{ji}]. Transpose swaps row and column indices.
  16. What does the transpose ATA^T do to the dimensions of Am×nA_{m\times n}?
    It swaps dimensions: ATA^T is n×mn\times m. Rows become columns and columns become rows.
  17. What does the column sum of an adjacency matrix represent in a directed network?
    Column sum of column jj equals the in-degree of node jj. Counts edges entering node jj.
  18. What is the condition on dimensions for the product ABAB to be defined?
    If AA is m×nm \times n and BB is n×pn \times p. Inner dimensions must match for matrix multiplication.
  19. What does the entry aija_{ij} represent in a data matrix AA?
    aija_{ij} is the value in row ii, column jj of AA. Standard notation for matrix entries uses row-column indexing.
  20. Find c12c_{12} for A=[2103]A=\begin{bmatrix}2&1\\0&3\end{bmatrix} and B=[142−1]B=\begin{bmatrix}1&4\\2&-1\end{bmatrix} where C=ABC=AB.
    c12=7c_{12}=7. Row 1 of AA dot column 2 of BB: 2(4)+1(−1)=72(4)+1(-1)=7.
  21. Compute the row sums of A=[1023−14]A=\begin{bmatrix}1&0&2\\3&-1&4\end{bmatrix} using A1A\mathbf{1} with 1=[111]\mathbf{1}=\begin{bmatrix}1\\1\\1\end{bmatrix}.
    A1=[36]A\mathbf{1}=\begin{bmatrix}3\\6\end{bmatrix}. Multiplying by ones vector sums each row.
  22. What is the entry formula for matrix addition: (A+B)ij(A+B)_{ij} equals what?
    (A+B)ij=aij+bij(A+B)_{ij}=a_{ij}+b_{ij}. Add corresponding entries from the same position in each matrix.
  23. What is the dot-product formula for an entry of a product matrix C=ABC=AB?
    cij=∑k=1naikbkjc_{ij}=\sum_{k=1}^{n} a_{ik}b_{kj}. Row ii of AA dot column jj of BB gives entry (i,j)(i,j).
  24. What scalar makes a 2×22\times 2 matrix A=[abcd]A=\begin{bmatrix}a&b\\c&d\end{bmatrix} non-invertible?
    Non-invertible when ad−bc=0ad-bc=0. Determinant zero means matrix is singular.
  25. For a payoff matrix PP and mixed strategies rr (rows) and cc (columns), what is the expected payoff formula?
    Expected payoff is rTPcr^TPc. Weighted average of payoffs using probability vectors.
  26. What does multiplying a payoff matrix PP by a strategy vector xx compute in PxPx?
    PxPx gives expected payoffs for each row strategy (given column mix xx). Weighted average of payoffs based on opponent's strategy probabilities.
  27. What is the entry formula for scalar multiplication: (kA)ij(kA)_{ij} equals what?
    (kA)ij=k aij(kA)_{ij}=k\,a_{ij}. Multiply every entry by the scalar kk.
  28. Compute ATA^T for A=[1−20534]A=\begin{bmatrix}1&-2&0\\5&3&4\end{bmatrix}.
    [15−2304]\begin{bmatrix}1&5\\-2&3\\0&4\end{bmatrix}. Swap rows and columns: first row becomes first column, etc.
  29. What is the condition for a square matrix AA to be invertible using A−1A^{-1}?
    There exists A−1A^{-1} with AA−1=IAA^{-1}=I and A−1A=IA^{-1}A=I. Inverse undoes multiplication from either side.
  30. What are the dimensions of a matrix with mm rows and nn columns?
    Dimensions are m×nm \times n. Matrix size is always expressed as rows × columns.
  31. What does the product AxAx represent when AA is a data matrix and xx is a weight vector?
    A weighted combination of columns of AA (a linear combination). Each column is weighted by corresponding entry in xx.
  32. What condition must be true about dimensions to add matrices Am×n+Bm×nA_{m\times n}+B_{m\times n}?
    They must have the same dimensions m×nm\times n. Matrix addition requires element-wise operations, so dimensions must match.
  33. What does the adjacency matrix entry aija_{ij} mean for a directed network?
    aij=1a_{ij}=1 means an edge from node ii to node jj (else 00). Binary indicator: 11 if directed edge exists, 00 otherwise.
  34. In a directed network incidence matrix, what do entries −1-1, +1+1, and 00 mean for a node-edge pair?
    −1-1 leaves node, +1+1 enters node, 00 not incident. Signs indicate edge direction relative to node.
  35. What is the entry formula for a product matrix C=ABC=AB, specifically cijc_{ij}?
    cij=∑k=1naikbkjc_{ij}=\sum_{k=1}^{n} a_{ik}b_{kj}. Dot product of row ii from AA with column jj from BB.
  36. In a payoff matrix, what does the entry pijp_{ij} represent for row player strategy ii and column player strategy jj?
    pijp_{ij} is the payoff to the specified player for outcome (i,j)(i,j). Entry shows reward/cost for strategy combination.
  37. What dimension condition is required to multiply Am×nBn×pA_{m\times n}B_{n\times p}?
    The inner dimensions must match: AA has nn columns and BB has nn rows. Number of columns in first matrix must equal rows in second.
  38. What is the key property of transpose for a product (AB)T(AB)^T?
    (AB)T=BTAT(AB)^T=B^TA^T. Order reverses when transposing a product.

Study these flashcards