Matrix addition and subtraction

    Matrix Addition

    Matrix addition is a fundamental operation in linear algebra that combines two matrices into a single matrix. For two matrices to be added, they must have the exact same dimensions (also known as order). This means they must have the same number of rows and the same number of columns. If the dimensions are not identical, addition is undefined.

    Process of Addition

    To add two matrices, say matrix A and matrix B, you simply add their corresponding entries. If A = [aij] and B = [bij], then their sum C = A + B will have entries cij = aij + bij. This operation is performed element-wise.

    • Example:
    • Let A = [[1, 2], [3, 4]] and B = [[5, 6], [7, 8]]
    • Then A + B = [[1+5, 2+6], [3+7, 4+8]] = [[6, 8], [10, 12]]

    Properties of Matrix Addition

    Matrix addition shares several properties with scalar addition:

    • Commutative Property: A + B = B + A
    • Associative Property: (A + B) + C = A + (B + C)
    • Additive Identity: There exists a zero matrix (or null matrix), denoted by 0, of the same dimensions as A, such that A + 0 = A. All entries of a zero matrix are zero.
    • Additive Inverse: For every matrix A, there exists an additive inverse, denoted by -A, such that A + (-A) = 0. The entries of -A are the negations of the corresponding entries in A.

    Matrix Subtraction

    Matrix subtraction is closely related to matrix addition. Similar to addition, two matrices can only be subtracted if they have the exact same dimensions. If the dimensions differ, subtraction is undefined.

    Process of Subtraction

    To subtract matrix B from matrix A (A - B), you subtract the corresponding entries of B from A. Alternatively, it can be viewed as adding matrix A to the additive inverse of matrix B (A + (-B)). If A = [aij] and B = [bij], then their difference D = A - B will have entries dij = aij - bij.

    • Example:
    • Let A = [[10, 15], [20, 25]] and B = [[1, 2], [3, 4]]
    • Then A - B = [[10-1, 15-2], [20-3, 25-4]] = [[9, 13], [17, 21]]

    Important Considerations

    Unlike scalar subtraction, matrix subtraction is not commutative (A - B ≠ B - A, unless A = B or A and B are zero matrices) and not associative ( (A - B) - C ≠ A - (B - C) ). When performing these operations, ensure that the matrices involved meet the dimension requirements to avoid undefined results. These operations are crucial for solving systems of linear equations and transformations in various applications.

    Practice questions

    1

    Given matrix A = [[3, -1], [0, 5]] and matrix B = [[2, 4], [-3, 1]], calculate A + B.

    2

    What is the primary condition that must be met for two matrices to be added or subtracted?

    3

    Given matrix C = [[7, 2], [1, 9]] and matrix D = [[-2, 5], [4, 3]], calculate C - D.

    4

    Is matrix addition commutative? Explain why or why not.

    Practice more free →

    Free AP4U account — unlimited practice, AI grader, and progress tracking.

    Canonical: https://apforu.com/ap/precalculus/unit-4-functions-involving-parameters-vectors-and-matrices/matrix-addition-and-subtraction