Wize University Linear Algebra Textbook > Matrices
Basics of Matrices
Popular Courses
MATH 208
Concordia University
MATH 211
University of Calgary
MATH 1229A/B
Western University
Algebra II
US High School
Linear Algebra
University Study Guides
MATH 133
McGill University
MATH 1ZC3
McMaster University
MATH 152
University of British Columbia
MATH 1600A/B
Western University
Linear Algebra
General Course
MATH 204
Concordia University
MAT188H1
University of Toronto
MATH 125
University of Alberta
Linear Algebra
University Study Guides
NMM 1411A/B
Western University
SC/MATH 1506 3.00
York University
SC/MATH 1025 3.00
York University
APSC 174
Queen's University
MTH 141
Toronto Metropolitan University
MATH 151
University of Victoria

0:00 / 0:00
Basics of Matrices
What is a Matrix?
A matrix is a rectangular array of numbers, e.g.
Size and Dimension
- A matrix with rows and columns is of size , where and are its dimensions. E.g. the matrix above is of size , and we may make this explicit by writing .
- A square matrix has the same number of rows and columns (size .
Entries
The numbers inside a matrix are called entries.
The -entry of matrix is the number in row and column , denoted .
Example
Find and .
(row 2, column 2)
(row 1, column 4)
Zero Matrix
The zero matrix is the matrix where every entry is 0.
The zero matrix is .
Diagonal Matrices
The main diagonal of a square matrix are the entries with matching row and column numbers, :
A matrix is said to be diagonal if every entry not on the main diagonal is 0, e.g.
Identity Matrix
The identity matrix is a diagonal matrix with 1s along the main diagonal, e.g.

0:00 / 0:00
Matrix Operations
Matrix Addition
Two matrices can be added/subtracted if they are the same size. The result will also be the same size.
To add two matrices, simply add corresponding entries.
Example
Compute .
Properties
- There exists a zero matrix such that
- There exists a negative matrix such that
Scalar Multiplication
We can multiply any matrix by any scalar by multiplying every entry of by :
Example
Compute .
Properties
If and are matrices and :

0:00 / 0:00
Example: Basics of Matrices
Consider the matrix .
a) Find .
Recall that is the identity matrix (1s along the main diagonal, 0s elsewhere).
b) What are the entries in the main diagonal of the result?
Given the matrix , define and find the following entries.