✦ScienexySCIENCE KNOWLEDGE LIBRARY
concept · INFO-MAT-MATRIX-164

Matrix Addition and Subtraction

Matrix addition and subtraction are operations performed by combining corresponding elements of two matrices. These operations are defined only when the matrices have the same dimensions, and the resulting matrix retains their common order.

A ± B = [aᵢⱼ ± bᵢⱼ]

Explanation

HeadingContent

Definition of Matrix Addition

Matrix addition involves adding corresponding elements of two matrices. The first element of one matrix is added to the first element of the other, the second to the second, and so on. The operation produces a new matrix with the same dimensions as the original matrices.

Condition for Addition

Two matrices can be added only if they have exactly the same number of rows and columns. For example, a 2 × 3 matrix can be added to another 2 × 3 matrix, but it cannot be added to a 3 × 2 matrix. This requirement ensures that every element has a corresponding element in the other matrix.

Definition of Matrix Subtraction

Matrix subtraction follows the same positional rule as addition, except that each element of the second matrix is subtracted from the corresponding element of the first matrix. The order of subtraction matters because matrix subtraction is not commutative.

Element-by-Element Calculation

If A and B are matrices of order m × n, then each element of their sum or difference is calculated independently. The element in row i and column j of the resulting matrix is obtained by adding or subtracting the corresponding elements in that same position.

Algebraic Properties

Matrix addition is commutative and associative. The zero matrix acts as the additive identity, while the negative of a matrix acts as its additive inverse. Subtraction can be expressed as adding the negative of the second matrix.

Variables

SymbolMeaningUnit

A

First matrix

Not applicable

B

Second matrix

Not applicable

aᵢⱼ

Element of A in row i and column j

Depends on the application

bᵢⱼ

Element of B in row i and column j

Depends on the application

m

Number of rows

Count

n

Number of columns

Count

Example or application

Problem

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

Solution

For addition, add corresponding entries: A + B = [[2 + 1, 5 + 4], [7 + 2, 3 + 6]] = [[3, 9], [9, 9]]. For subtraction, subtract corresponding entries: A - B = [[2 - 1, 5 - 4], [7 - 2, 3 - 6]] = [[1, 1], [5, -3]].

Answer

A + B = [[3, 9], [9, 9]] and A - B = [[1, 1], [5, -3]].

Key Properties

  • Addition and subtraction require matrices of the same order.

  • Corresponding elements are combined position by position.

  • The resulting matrix has the same dimensions as the original matrices.

  • Matrix addition is commutative: A + B = B + A.

  • Matrix addition is associative: (A + B) + C = A + (B + C).

  • The zero matrix is the additive identity: A + O = A.

  • Every matrix has an additive inverse: A + (-A) = O.

  • Matrix subtraction is generally not commutative: A - B ≠ B - A.

Sources and verification

Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.

  • SCIENEXY Mathematics Reference

Suggest a correction or source · More in Algebra