Processing math: 100%
Math Home

Definition of a Matrix

A matrix is a list of numbers arranged into rows and columns. They are usually represented with capital letters and they are drawn as arrays of numbers in square brackets. For example, A=[137200311]

The rows go across and the columns go down. The second row of A is the vector <2,0,0> and the third column of A is [701]

Specific entries are denoted with subscripts. The element in the first row and second column is A1,2=3 Keep in mind that the row always comes first and the column second.

The dimensions of a matrix are given as rows × columns. So the dimensions of A are 2×2.

Matrix Addition

If A and B are two matrices of the same dimension, then they can be added coordinate-wise.

Example 1: [213042]+[720115]=[2+71+(2)3+00+14+12+5]=[913157] Example 2: [050311]+[2803] This sum does not exist the because the first matrix has dimensions 2×3 but the second matrix has dimensions 2×2.

Calculator

Enter 2 matrices to see their sum.

Properties of the Matrix Addition

Practice

Compute the sum:

Current score: 100
Old scores:

Scalar Multiplication

Scalar multiplication works in a similar way for matrices as it does for vectors. When multiplying a matrix by a number, every entry gets multiplied by the number.

Example: Let A=[230124] Then 3A=3[230124]=[323330313234]=[6903612]

Matrix Subtraction

Subtracting matrices is a combination of scalar multiplication and matrix addition. If A and B are matrices of the same dimensions, AB=A+(1)B.

Example: [2310][1203]=[2310]+[1203]=[1513]