Aljabar Linier Elementer: Howard Anton Chris Rorres
Aljabar Linier Elementer: Howard Anton Chris Rorres
Solution(a)
we can assign an arbitrary value to x and solve for y ,
or choose an arbitrary value for y and solve for x .If we
follow the first approach and assign x an arbitrary
value ,we obtain x t , y 2t 1 or
1 1
x t , yt
1 1 2 2
2 2 4
arbitrary numbers t1, t 2 are called parameter.
for example 11 11
t1 3 yields the solution x 3, y as t 2
2 2
Example 2
Finding a Solution Set (2/2)
Find the solution of (b) x1 4 x2 7 x3 5.
Solution(b)
we can assign arbitrary values to any two
variables and solve for the third variable.
for example
x1 5 4 s 7t , x2 s , x3 t
where s, t are arbitrary values
Linear Systems (1/2)
A finite set of linear equations in
the variables x1 , x2 ,..., xn a11 x1 a12 x2 ... a1n xn b1
is called a system of linear
equations or a linear system . a21 x1 a22 x2 ... a2 n xn b2
A sequence of numbers
s1 , s2 ,..., sn am1 x1 am 2 x2 ... amn xn bm
is called a solution of
the system. An arbitrary system of m
linear equations in n unknowns
A system has no solution is said to
be inconsistent ; if there is at
least one solution of the system,
it is called consistent.
Linear Systems (2/2)
Every system of linear equations has either
no solutions, exactly one solution, or
infinitely many solutions.
Add - 11
2
times
the third row
1 0 112 35
2 to the first and 72 1 0 0 1
0 1 0 2
0 1 7
2 17
2
times the third row
0 0 1 3
to the second
0 0 1 3
1 0 0 5
(a) 0 1 0 2
0 0 1 4
Solution (a)
the corresponding system x 5
of equations is : y -2
z 4
Example 3
Solutions of Four Linear Systems (b1)
1 0 0 4 1
(b) 0 1 0 2 6
0 0 1 3 2
Solution (b)
free variables
x1 4 x4 - 1
1. The corresponding
system of equations is : x2 2 x4 6
x3 3x4 2
leading
variables
Example 3
Solutions of Four Linear Systems (b2)
Solution (c)
1. The 4th row of zeros leads to
the equation places no x1 6 x2 4 x5 - 2
restrictions on the solutions x3 3 x5 1
(why?). Thus, we can omit
x4 5 x5 2
this equation.
Example 3
Solutions of Four Linear Systems (c2)
Solution (c)
x1 - 2 - 6 x2 - 4 x5
2. Solving for the leading x3 1 - 3 x5
variables in terms of the free
variables: x4 2 - 5 x5
Solution (d):
the last equation in the corresponding system of
equation is
0 x1 0 x2 0 x3 1
0 0 2 0 7 12
2 4 10 6 12 28
2 4 5 6 5 1
Elimination Methods (2/7)
Step1. Locate the leftmost column that does not consist
entirely of zeros.
0 0 2 0 7 12
2 4 10 6 12 28
2 4 5 6 5 1
Leftmost nonzero column
1 2 5 3 6 14
0 0 1 0 7 6 The 1st row in the submatrix
2 was multiplied by -1/2 to
0 0 5 0 17 29 introduce a leading 1.
Elimination Methods (5/7)
Step5 (cont.)
-5 times the 1st row of the
1 2 5 3 6 14 submatrix was added to the 2nd
0 0 1 0 72 6 row of the submatrix to introduce
a zero below the leading 1.
0 0 0 0 12 1
1 2 0 3 0 7
0 0 1 0 0 1 5 times the 2nd row was added
0 0 0 0 1 to the 1st row.
2
The last matrix is in reduced row-echelon form.
Elimination Methods (7/7)
Step1~Step5: the above procedure produces a
row-echelon form and is called Gaussian
elimination.
Step1~Step6: the above procedure produces a
reduced row-echelon form and is called Gaussian-
Jordan elimination.
Every matrix has a unique reduced row-
echelon form but a row-echelon form of a given
matrix is not unique.
Example 4
Gauss-Jordan Elimination(1/4)
Solve by Gauss-Jordan Elimination
x1 3 x2 2 x3 2x 5 0
2 x1 6 x2 5 x3 2 x4 4 x5 3 x6 1
5 x3 10 x4 15 x6 5
2 x1 6 x2 8 x4 4 x5 18 x6 6
Solution:
The augmented matrix for the system is
1 3 -2 0 2 0 0
2 6 -5 -2 4 -3 - 1
0 0 5 10 0 15 5
2 6 0 8 4 18 6
Example 4
Gauss-Jordan Elimination(2/4)
Adding -2 times the 1st
row to the 2nd and 4th rows gives
1 3 -2 0 20 0
0 0 -1 - 2 - 3 - 1
0
0 0 5 10 15 5
0
0 0 4 8 0
18 6
Multiplying the 2nd row by -1 and then adding -5 times the
new 2nd row to the 3rd row and -4 times the new 2nd row
to the 4th row gives
1 3 - 2 0 2 0 0
0 0 1 2 0 - 3 1
0 0 0 0 0 0 0
0 0 0 0 0 6 2
Example 4
Gauss-Jordan Elimination(3/4)
Interchanging the 3rd and 4th rows and then multiplying the 3rd
row of the resulting matrix by 1/6 gives the row-echelon form.
1 3 - 2 0 2 0 0
0 0 - 1 - 2 0 - 3 - 1
0 0 0 0 0 1 1
3
0 0 0 0 0 0 0
Adding -3 times the 3rd row to the 2nd row and then adding 2
times the 2nd row of the resulting matrix to the 1st row yields the
reduced row-echelon form.
1 3 0 4 2 0 0
0 0 1 2 0 0 0
0 0 0 0 0 1 13
0 0 0 0 0 0 0
Example 4
Gauss-Jordan Elimination(4/4)
The corresponding system of equations is
x1 3 x2 4 x4 2 x 5 0
x3 2 x4 0
x6 13
Solution
The augmented matrix for the system is
x1 3 x2 4 x4 2 x 5
x3 2 x4
x6 1
3
72
0 0 1 3
The system corresponding to this matrix is
x y 2 z 9, y 72 z 172 , z 3
Example 6
Gaussian elimination(2/2)
Solution
Solving for the leading variables x 9 y 2 z,
y 172 72 z ,
z 3
Substituting the bottom equation into those above
x 3 y,
y 2,
z 3
Substituting the 2nd equation into the top
x 1, y 2, z 3
Homogeneous Linear
Systems(1/2)
A system of linear equations is said a11 x1 a12 x2 ... a1n xn 0
to be homogeneous if the constant a21 x1 a22 x2 ... a2 n xn 0
terms are all zero; that is , the
system has the form :
am1 x1 am 2 x2 ... amn xn 0
Every homogeneous system of linear equation is
consistent, since all such system have x1 0, x2 0,..., xn 0
as a solution. This solution is called the trivial solution;
if there are another solutions, they are called nontrivial
solutions.
There are only two possibilities for its solutions:
The system has only the trivial solution.
The system has infinitely many solutions in addition to
the trivial solution.
Homogeneous Linear
Systems(2/2)
In a special case of a
homogeneous linear
system of two linear
equations in two
unknowns: (fig1.2.1)
Solution 2 2 1 01 0
The augmented matrix 1 1 2 3 1 0
1 1 2 0 1 0
0 0 0 1 0 0
1 2 2
3 0, 2 1 0 1
- 3, 0 12 1 , 3, 4
1 4 0 0 0
row matrix or row vector column matrix or
Size column vector
3 x 2, 1 x 4, 3 x 3, 2 x 1, 1x1
# columns
# rows
Matrices Notation and
Terminology(1/2)
A general m x n matrix A as a11 a12 ... a1n
a a22 ... a2 n
A 21
am1 am 2 ... amn
If A aij and B bij have the same size,
then A B if and only if aij bij for all i and j.
Example 2
Equality of Matrices
Consider the matrices
2 1 2 1 2 1 0
A , B , C
3 x 3 5 3 4 0
Then
2 4 5 4 6 2 5 2
A B 1 2 2 3, A B 3 2 2 5
7 0 3 5 1 4 11 5
The expressions A+C, B+C, A-C, and B-C are undefined.
Definition
If A is any matrix and c is any scalar,
then the product cA is the matrix
obtained by multiplying each entry of
the matrix A by c. The matrix cA is
said to be the scalar multiple of A.
In matrix notation, if A aij , then
cA ij c A ij caij
Example 4
Scalar Multiples (1/2)
For the matrices
2 3 4 0 2 7 9 6 3
A , B , C
1 3 1 1 3 5 3 0 12
We have
4 6 8 0 2 7 3 2 1
2A , - 1 B , 1
C
1 3 5
3
2 6 2 1 0 4
Solution
Since A is a 2 ×3 matrix and B is a 3 ×4 matrix,
the product AB is a 2 ×4 matrix. And:
Example 5
Multiplying Matrices (2/2)
Examples 6
Determining Whether a Product Is Defined
Suppose that A ,B ,and C are matrices with the following
sizes:
A B C
3 ×4 4 ×7 7 ×3
Solution:
Then by (3), AB is defined and is a 3 ×7 matrix; BC is
defined and is a 4 ×3 matrix; and CA is defined and is a 7
×4 matrix. The products AC ,CB ,and BA are all undefined.
Partitioned Matrices
A matrix can be subdivided or partitioned into smaller matrices
by inserting horizontal and vertical rules between selected rows
and columns.
Observe that