Professional Documents
Culture Documents
College Algebra: Fifth Edition
College Algebra: Fifth Edition
Fifth Edition
James Stewart Lothar Redlin Saleem Watson
7
Matrices
and Determinants
Chapter Overview
We begin by defining
the various elements that
make up a matrix.
Matrix—Definition
Matrix Dimension
1 3 0 2x3 2 rows
2 4 1
by 3 columns
6 5 0 1 1x4 1 row
by 4 columns
The Augmented Matrix
of a Linear System
Augmented Matrix
Here is an example.
6 x 2 y z 4
x 3z 1
7y z 5
E.g. 1—Finding Augmented Matrix of Linear System
6 x 2y z 4
x 3z 0
7y z 5
E.g. 1—Finding Augmented Matrix of Linear System
6 2 1 4
1 0 3 1
0 7 1 5
Elementary Row Operations
Elementary Row Operations
x y 3z 4
x 2y 2z 10
3 x y 5z 14
x y 3z 4 1 1 3 4
R2 R1R2
3 y 5z 6
R3 3R1R3 0 3 5 6
2y 4z 2 0 2 4 2
E.g. 2—Elementary Row Operations and Linear System
x y 3z 4 1 1 3 4
1R
0 3 5
3 y 5z 6
2 3
6
y 2z 1 0 1 2 1
x y 3z 4 1 1 3 4
z3 0 0 1
R2 3R3 R2
3
y 2z 1 0 1 2 1
x y 3z 4 1 1 3 4
R2 R3 0
y 2z 1
1 2 1
z3 0 0 1 3
E.g. 2—Elementary Row Operations and Linear System
0 1 21 0 7
1 0 3 4 5
0 0 0 1 0.4
0 1 1 0 0
Leading 1's do not
shift to the right
in successive rows.
Row-Echelon & Reduced Row-Echelon Forms
1 1
0 0 1
0 0 0
Putting in Row-Echelon Form—Step 4
1 1 1
0 0 1 0 1
0 0 0 0 0 1
Gaussian Elimination
1. Augmented matrix
2. Row-echelon form
3. Back-substitution
Solving a System Using Gaussian Elimination
1. Augmented matrix
2. Row-echelon form
3. Back-substitution
4 8 4 4
3 8 5 11
2 1 12 17
1 2 1 1
1R
4 1
3 8 5 11
2 1 12 17
E.g. 3—Solving a System Using Row-Echelon Form
1 2 1 1
R2 3R1 R2
0 2
8 14
R3 2R1 R3
0 5 10 15
1 2 1 1
1R
2 2 0 1 4 7
0 5 10 15
E.g. 3—Solving a System Using Row-Echelon Form
1 2 1 1
R3 5R2 R3
0 1 4 7
0 0 10 20
1 2 1 1
10
1R
3 0 1 4 7
0 0 1 2
E.g. 3—Solving a System Using Row-Echelon Form
y + 4(–2) = –7
y=1
x + 2(1) – (–2) = 1
x = –3
1
0 1
0 0 1
Putting in Reduced Row-Echelon Form—Step 2
1 1 0
0 1 0 1 0
0 0 1 0 0 1
Putting in Reduced Row-Echelon Form—Step 2
1 1 0 1 0 0
0 1 0 1 0 0 1 0
0 0 1 0 0 1 0 0 1
Gauss-Jordan Elimination
1 2 0 1
R2 4R3 R2
0 1 0 1
R1 R3 R1
0 0 1 2
1 0 0 3
R1 2R2 R1
0 1 0 1
0 0 1 2
E.g. 4—Solving Using Reduced Row-Echelon Form
• This is because
every matrix has
a unique reduced
row-echelon form.
Inconsistent and
Dependent Systems
Solutions of a Linear System
No solution:
• If the row-echelon form contains
a row that represents
the equation 0 = c where c 12 5 7
is not zero, the system has 01 3 4
no solution.
0 0 0 1
• A system with no solution
is called inconsistent.
Last equation
says 0 1.
Solutions of Linear System in Row-Echelon Form
One solution:
• If each variable in the row-echelon form is
a leading variable, the system
has exactly one solution. 1 6 1 3
0 1 2 2
• We find this by using
back-substitution or 0 0 1 8
Gauss-Jordan elimination.
Each variable is a
leading variable.
Solutions of Linear System in Row-Echelon Form
x 3 y 2z 12
2 x 5 y 5z 14
x 2y 3z 20
• We transform the system into row-echelon
form.
E.g. 5—System with No Solution
1 3 2 12 1 3 2 12
2 5 5 14 R2 2R1 R2
0 1 1 10
R3 R1 R3
1 2 3 20 0 1 1 8
1 3 2 12 1 3 2 12
R3 R2 R3
0 1 1 10
1R
18 3
0 1 1 10
0 0 0 18 0 0 0 1
1 3 2 12
0 1 1 10
0 0 0 1
• Now, if we translate this last row back into
equation form, we get 0x + 0y + 0z = 1, or 0 = 1,
which is false.
• No matter what values we pick for x, y, and z,
the last equation will never be a true statement.
• This means the system has no solution.
System with No Solution
3 5 36 10 1 1 10 4
1 0 7 5
R1 R3
1 0 7 5
1 1 10 4 3 5 36 10
1 1 10 4 1 1 10 4
R2 R1 R2
0 1 3 1
R3 2R2 R3
0 1 3 1
R3 3R1 R3
0 2 6 2 0 0 0 0
1 1 7 5
R1 R2 R1
0 1 3 1
0 0 0 0
E.g. 6—System with Infinitely Many Solutions
1 1 7 5
0 1 3 1
0 0 0 0
• The third row corresponds to the equation 0 = 0.
• This equation is always true, no matter what
values are used for x, y, and z.
• Since the equation adds no new information about
the variables, we can drop it from the system.
E.g. 6—System with Infinitely Many Solutions
• For example, if t = 1,
then
x = 7(1) – 5 = 2
y = 3(1) + 1 = 4
z=1
System with Infinitely Many Solutions
1 2 3 4 10 1 2 3 4 10
1 0 1
3 3 4 15
R2 R1 R2
R3 2R1 R3
0 0 5
2 3 6 8 10 0 2 0 0 10
1 2 3 4 10 1 0 3 4 0
R3 2R2 R3
0 1 0 0 5
R1 2R2 R1
0 1 0 0 5
0 0 0 0 0 0 0 0 0 0
A nutritionist is performing an
experiment on student volunteers.
• 500 mg of potassium
• 75 g of protein
x = 5, y = 2, z = 10
E.g. 8—Nutritional Analysis
• 5 oz of MiniCal
• 2 oz of LiquiFast
• 10 oz of SlimQuick
Nutritional Analysis Using System of Linear Equations