1.3) Matrices
1.3) Matrices
1.3) Matrices
1 / 17
In this section:
▶ Matrices.
▶ Augmented matrix.
▶ Matrix operations.
▶ Vector form of a solution set.
2 / 17
1.3 Matrices
Definition (Matrix)
An m × n matrix is a rectangular array of numbers with m rows
and n columns. Each number in the matrix is called an entry.
Example
This is a 2 × 3 matrix (read: “two by three matrix”)
1 11/5 5
A=
3 4 −7
3 / 17
Matrices
Example
A column matrix with 3 A 2 × 2 zero matrix
components
0 0
−2 0 0
0
1/2
4 / 17
Matrices
5 / 17
Matrix notation for linear systems
Example
We can abbreviate the linear system
x +2y =4 1 2 0 4
y −z =0 with the matrix 0 1 −1 0
x +2z =4 1 0 2 4
6 / 17
Matrix notation for linear systems
Example
1 2 0 4
0 1 −1 0
1 0 2 4
7 / 17
Matrix notation for linear systems
Example
1 2 0 4 1 2 0 4
R −R1
0 1 −1 0 −−3−−→ 0 1 −1 0
1 0 2 4 0 −2 2 0
1 2 0 4 x +2y =4
R +2R2
−−3−−−→ 0 1 −1 0 or y −z =0
0 0 0 0 0 =0
8 / 17
Matrix operations
9 / 17
Matrix operations
Example
1 4 4×1 4×4 4 16
4 2 1 = 4 × 2 4×1 =8 4
3 −6 4 × 3 4 × (−6) 12 −24
10 / 17
Matrix (or Vector) form of the solution
Definition
The linear equation a1 x1 + a2 x2 + · · · + an xn = d with unknowns
x1 , . . . , xn is satisfied by the column matrix (or column vector)
s1
s2
..
.
sn
if a1 s1 + a2 s2 + · · · + an sn = d.
11 / 17
Matrix (or Vector) form of the solution
Recall from the previous example that
1 2 0 4
0 1 −1 0
0 0 0 0
12 / 17
Matrix (or Vector) form of the solution
Example
−6
Letting z = 5 in the previous example, we see that 5 is one
5
of infinitely many solutions to the system
x +2y =4
y −z =0
x +2z =4
13 / 17
Example
2x +y −w =4
y +w +u =4
x −z +2w =0
14 / 17
Example
2x +y −w =4 2 1 0 −1 0 4
y +w +u =4 −→ 0 1 0 1 1 4
x −z +2w =0 1 0 −1 2 0 0
2 1 0 −1 0 4
R3 −(1/2)R1
−−−−−−−→ 0 1 0 1 1 4
0 −1/2 −1 5/2 0 −2
2 1 0 −1 0 4
R3 +(1/2)R2
−−−−−−−→ 0 1 0 1 1 4
0 0 −1 3 1/2 0
Solution set (check):
{(w + (1/2)u, 4 − w − u, 3w + (1/2)u, w , u); w , u ∈ R}.
In
vector
form:
x 0 1 1/2
y 4 −1 −1
z = 0 + w 3 + u 1/2 ; w , u ∈ R
w 0 1 0
u 0 0 1
15 / 17
x 0 1 1/2
Example
y 4 −1 −1
z = 0 + w 3 + u 1/2 ; w , u ∈ R
w 0 1 0
u 0 0 1
17 / 17