Matrices: Scalar Multiplication and Linear Combinations

Scalar multiplication of a matrix

  • Key idea: Multiplying a matrix by a scalar means multiplying every entry of the matrix by that real number (scalar).
  • Notation: If a matrix is A and k is a scalar, then the product is written as kAkA or kAk\cdot A, and entrywise this means each entry a{ij} is replaced by k\,a{ij}.
  • Practical takeaway: When multiplying by a scalar, apply the scalar to each entry individually, preserving all signs.

Example 4: -12 times matrix C

  • Given the scalar k = -12 (written in the video as -onetwo).
  • Operation: Multiply -12 to every entry of matrix C.
  • Process described: Distribute the scalar to each entry, preserving signs, i.e., apply -12 to each entry of C.
  • Result (as stated in the video):
    • The entries after multiplication are: 32,3,92,52,72,12-32, \,-3, 92, -52, -72, 12 arranged in the same layout as C.
  • Final matrix (as shown):
    12C=(32amp;3amp;92 52amp;72amp;12).-12\cdot C = \begin{pmatrix} -32 & -3 & 92 \ -52 & -72 & 12 \end{pmatrix}.
  • Interpretive note: Each entry of C has been scaled by -12; no addition or rearrangement, just entrywise scaling.

Example 4A: Step-by-step distribution for -12C (explicit demonstration)

  • Start with the instruction to distribute the scalar to each entry of C.
  • After distribution, perform the actual multiplication entry by entry to obtain the entries listed above.
  • Emphasized idea: Keep track of signs while distributing the scalar to each entry.

Example 4B: Compute -6B + 7A (scalar multiplication plus addition)

  • Given matrices A and B (A and B are 2×2 matrices in the transcript):

    • B = \begin{pmatrix} 1 & -11 \ 3y & 18 \end{pmatrix}
    • A = \begin{pmatrix} -2 & 4x \ y & 8 \end{pmatrix}
  • Important prerequisite: To add two matrices, they must be the same size. Here, both are 2×2, so addition is valid.

  • Step 1: Distribute the scalar -6 to matrix B:
    -6B = \begin{pmatrix} -6 & 66 \ -18y & -108 \end{pmatrix}.

    • Each entry is -6 times the corresponding B entry:
    • -6*1 = -6
    • -6*(-11) = 66
    • -6*(3y) = -18y
    • -6*18 = -108
  • Step 2: Distribute the scalar 7 to matrix A:
    7A = \begin{pmatrix} -14 & 28x \ 7y & 56 \end{pmatrix}.

    • Each entry is 7 times the corresponding A entry:
    • 7*(-2) = -14
    • 7*(4x) = 28x
    • 7*(y) = 7y
    • 7*(8) = 56
  • Step 3: Add the two resulting matrices entrywise (since they are the same size):
    (-6B) + (7A) = \begin{pmatrix} -6-14 & 66+28x \ -18y+7y & -108+56 \end{pmatrix}
    = \begin{pmatrix} -20 & 28x + 66 \ -11y & -52 \end{pmatrix}.

  • Final result for -6B + 7A:
    (6)B+7A=(20amp;28x+66 11yamp;52).(-6)B + 7A = \begin{pmatrix} -20 & 28x + 66 \ -11y & -52 \end{pmatrix}.

  • Optional note: If you prefer, you can place parentheses around sums to emphasize the addition step, e.g., (20amp;66+28x 11yamp;52).\begin{pmatrix} -20 & 66 + 28x \ -11y & -52 \end{pmatrix}.

Connections to foundational concepts

  • Scalar multiplication vs. matrix addition:
    • Scalar multiplication applies the scalar to every entry independently.
    • Matrix addition requires equal dimensions and is performed entrywise.
    • The example demonstrates the distributive property of scalar multiplication over addition at the level of matrices: (6B)+(7A)=(6)B+7A.(-6B) + (7A) = (-6) \cdot B + 7 \cdot A.
  • Sign tracking: Careful handling of negative signs during distribution is essential to avoid errors.
  • Algebraic consistency: All operations preserve the shape (dimensions) of the original matrices; results align entrywise.
  • Real-world relevance: Scalar multiplication is a fundamental operation in linear algebra used in transforming vectors, scaling systems of equations, and in implementing algorithms that repeatedly apply a fixed linear scale to matrix data.

Concept recap and common pitfalls

  • Always verify the dimension compatibility before performing addition or subtraction of matrices.
  • When multiplying a matrix by a scalar, there is no need to distribute across rows/columns differently; multiply every entry identically.
  • When combining scalar multiplication and matrix addition, perform each scalar multiplication first, then add the resulting matrices entrywise.
  • For clarity, keep track of units or variables (x, y) through the calculation to ensure mixed terms are combined correctly.

Quick reference formulas

  • Scalar multiplication by k: for A = [a{ij}], kA = [k a{ij}].
  • Matrix addition (same-size matrices): if A and B are m×n, then A + B = [a{ij} + b{ij}].
  • Example (from Part B):
    • (6)B=(6amp;66 18yamp;108),(-6)B = \begin{pmatrix} -6 & 66 \ -18y & -108 \end{pmatrix},
    • 7A=(14amp;28x 7yamp;56),7A = \begin{pmatrix} -14 & 28x \ 7y & 56 \end{pmatrix},
    • (6)B+7A=(20amp;28x+66 11yamp;52).(-6)B + 7A = \begin{pmatrix} -20 & 28x + 66 \ -11y & -52 \end{pmatrix}.