Unit 3 VZHK
Unit 3 VZHK
Augmented matrix, denoted A/B, is the matrix obtained by adding the column
of independent terms to the matrix A.
Homogeneous system
a1i b1
a2i b2
a b
The linear combination of n vectors 3i is expressed by the vector 3
... ...
a b
mi m
Example
2x1 x2 3.5x3 2x4 4 is a linear equation
2 x1 x2 3.5 x3 2 x4 4
Is a system of linear equations,
x1 3x2 5 x3 x4 2 with 3 equations and 4 unknowns
3x1 x2 2 x4 2
x1
2 1 3.5 2 4
Its matrix representation is x2
AX=B, where: 1 3 5 1 2
3 1 x3
0
2 2
x4
Example
Matrices A and B are then
x1
2 1 3.5 2 4
x2
X
A 1 3 5 1 B 2
x3 2
3 1
0 2 x
4
The augmented matrix is
2 1 3.5 2 4
A/ B 1 3 5 1 2
3 1
2 2
0
Example
x1
2 1 3.5 2 4
The system of equations x2
1 3 5 1 2
3 1 x3
0
2 2
x4
x1
2 1 3 .5 2 0
has a homogeneous system of x2
1 3 5 1 0
equations associated to 3 1 x3 0
0 2
x
4
Example
x1
2 1 3.5 2 4
Finally, we also can represent x2
1 3 5 1 2
3 1 x 2
the system of equations in the
0 2 3
x
vectorial form 4
2 1 3.5 2 4
1 x1 3 x2 5 x3 1 x4 2
3 1 0 2 2
Solution to System of Equations
x *
1
x 2
*
A vector X x
*
*
is the solution of the system AX=B if AX B
*
3
*
xn
Solution to System of Equations
3 x 2 y 3 3 2 x 3
that is the same as:
x y 1 1 1 y 1
x 1
*
* Is the solution of the system of equations and is the
y 0
unique solution
3x 2 y 3 3 2 3
x
x y 1 that is the same as: 1 1 1
x y 0 1 1 0
y
This system doesn’t have any solution. To satisfy the first 2 equations, we
should have x=1 and y=0, but the third equation is not true for these
values of x and y.
Therefore, the system is inconsistent (has no solutions)
Discuss the system of linear equations
• Discuss the system of equations means to analyse if it has any, none or
infinite solutions.
• Two systems of linear equations are equivalent when solutions of the first
system are solutions for the second one and vice versa.
• Basic operations are the following modifications to the system of linear
equations needed to obtain the equivalent system of linear equations:
- Change the order of the equations
- Multiply (divide) any equation by a number different to zero
- Sum equations
Rouché-Frobenius Theorem
3x 2 y 3 3 2 x 3
Which is the same as:
x y 1 1 1 y 1
3 2
Find the rank of matrix A=
1 1
3 0 The rank of matrix A is at least 1
3 2
5 0 Rg(A)=2
1 1
Discuss the system of linear equations
3 2 3
Find the rank of the augmented matrix A/B=
1 1 1
3 0 The rank of matrix A/B is at least 1
3 2
5 0 rg(A/B)=2
1 1
rg(A)=rg(A/B)=n=2
and the system is then consistent determined
Discuss the system of linear equations
Example 2. Let the system be of m=2 equations and n=3 unknowns:
x
3x 2 y 3 3 2 0 3
that is the same as: y
x z 1 1 0 1 z 1
3 2 0
Find the rank of the matrix A =
1 0 1
3 0 The rank of matrix A is at least 1
3 2
5 0 Rg(A)=2
1 1
Discuss the system of linear equations
3 2 0 3
Find the rank of augmented matrix A/B=
1 0 1 1
3 0 The rank of matrix A/B is at least 1
3 2
5 0 rg(A/B)=2
1 1
rg(A)=rg(A/B)=2<n=3
and the system is then consistent undetermined
Discuss the system of linear equations
Example 3. Let the system be of m=3 equations and n=2 unknowns:
3x 2 y 3 3 2 3
x
x y 1 Which is the same as: 1 1 1
1 1 0
y
x y 0
3 2
Find the rank of the matrix A = 1 1
1 1
3 0 The rank is of matrix A is at least 1
3 2
5 0 Rg(A)=2
1 1
Discuss the system of linear equations
3 2 3
Find the rank of the augmented matrix A/B= 1 1 1
1 1 0
3 0 The rank of matrix A/B is at least 1
3 2
5 0 The rank of matrix A/B is at least 2
1 1
3 2 3 rg(A)=2 rg(A/B)=3
1 1 1 5 0 Rg(A/B)=3
and the system is then inconsistent.
1 1 0
.
x1
x2 Bi
X * x3 ,
with xi
x
A
n
3x 2 y 3 3 2 0 x 3
that is the same as: 1 0 1 y 1
x z 1
1 1 1 z 0
x y z 0
3 2 0 3 3 0 3 2 3
1 0 1 1 1 1 1 0 1
0 1 1 1 1 0 1 3 1 1 0 2
x
*
1, y
*
3, z
*
2
3 2 0 1 3 2 0 1 3 2 0 1
1 0 1 1 0 1 1 0 1
1 1 1 1 1 1 1 1 1
Gauss-Jordan Method
The method consists in transforming the system AX=B into the equivalent
system by means of basic operations.
3x 2 y 3 3 2 0 x 3
x z 1 Which is the same as: 1 0 1 y 1
x y z 0
1 1 1 z 0
Write the augmented matrix of coefficients A/B and perform basic operations:
3 2 0 3 3 2 0 3 3 2 0 3 3 2 0 3
1 0 1 1 1 0 1 1 0 2 3 0 0 2 3 0
1 1 1 0 0 1 3 3 0 1 3 3 0 0 3 6
R3’ = 3·R3-R1 R2’ = 3·R2-R1 R3’ = 2·R3+R2
Gauss-Jordan Method
3 2 0 3 3x 2 y 3
0 2 3 0 the system is equivalent to: 2 y 3z 0
0 0 3 6
3z 6
Once we get the triangular superior matrix, we can compute values of z, y and x.
3 2 0 3 3 2 0 3 3 0 0 3 x 1 *
*
0 2 3 0 0 2 0 6 0 2 0 6 y 3
0 0 3 6 0 0 3 6 0 0 3 6 z* 2
R2’ = R2+R3 R1’ = R1+R2
Consistent Undetermined Systems
In the consistent undetermined system there are more unknowns than linearly
independent equations.
3x 2 y z 3 x
3 2 1 3
which is the same as: y
x y z 1 1 1 1 z 1
We have that rg(A)=rg(A/B)=2<n=3, being the system consistent undetermined.