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=[13−72003−11]
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.
If A and B are two matrices of the same dimension, then they can be added coordinate-wise.
Example 1: [213042]+[7−20115]=[2+71+(−2)3+00+14+12+5]=[9−13157] Example 2: [050−311]+[280−3] This sum does not exist the because the first matrix has dimensions 2×3 but the second matrix has dimensions 2×2.
Enter 2 matrices to see their sum.
Compute the sum:
Current score: 100
Old scores:
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=[2301−24] Then 3A=3[2301−24]=[3∗23∗33∗03∗13∗−23∗4]=[6903−612]
Subtracting matrices is a combination of scalar multiplication and matrix addition. If A and B are matrices of the same dimensions, A−B=A+(−1)B.
Example: [23−10]−[1−203]=[23−10]+[−120−3]=[15−1−3]