Precal2022 PDF
Precal2022 PDF
2 −3
Example 1 Given A = 0 5 and
7 −2
1
Example 3 Evaluate the product AB and where x1 , x2 , . . . , xn are the unknowns and
aij , bi (i = 1, 2, . . . m, j = 1, 2, . . . , n)
BA if possible where
are constants.
1 0 0 5 −3 2
Example 6 The following system
A = 0 1 2 and B = 6 1 0.
−1 0 1 −2 5 2 4x1 − x2 + 3x3 = −1;
3x1 + x2 + 9x3 = −4
BA if possible where
" # " # A system of linear equation
1 3 5 −3 2
A= and B = . a11 x1 +a12 x2 + · · · +a1n xn = b1
−1 0 6 1 0 a21 x1 +a22 x2 + · · · +a2n xn = b2
.. .. .. ..
. . . .
am1 x1 +am2 x2 + · · · +amn xn = bm
Theorem 1.6 Let A, B and C be matrics
can
be written in matrix form
as
for which the following products can be ob- a11 a12 . . . a1n x1 b1
tained. Then a21 a22 . . . a2n x2 b2
.. .. .. .. = .. .
. . . . .
1. A(BC) = (AB)C.
am1 am2 . . . amn xn bn
2. A(B + C) = AB + AC. If we denote these matrices by A, x and b, respec-
tively, we have the equation
3. (B + C)A = BA + CA.
Ax = b.
The matrix A is called the coefficient matrix of
Remark 1.7 Even when both AB and BA are the system.
defined, they are not necessarily equal. The above system can be also written as the fol-
lowing augmented matrix:
Example 5 Write the following system of a11 a12 . . . a1n b1
a21 a22 . . . a2n b2
linear equations as a matrix equation. .. .. .. ..
. . . .
x − y + 3z = 4 am1 am2 . . . amn bm
x + 2y − 2z = 10
3x − y + 5z = 14 Example 7 Write the coefficient matrix and
the augmented matrix of the system of equa-
tions
Systems of Linear Equations
6x − 2y − z = 4
An arbitrary system of m linear equations in n
x + 3z = 1
unknowns can be written as
a11 x1 +a12 x2 + · · · +a1n xn = b1 7y + z = 5
a21 x1 +a22 x2 + · · · +a2n xn = b2
.. .. .. .. To solve a system of linear equations
. . . .
am1 x1 +am2 x2 + · · · +amn xn = bm
(1)
2
2. Interchange two rows Ri and Rj , de-
Theorem 1.8 Every system of linear equa-
noted by Ri ↔ Rj .
tions has either no solutions, exactly one so-
lution, or infinitely many solutions. 3. Add the multiplication of k (̸= 0) with
the i-th row to the j-th row, denoted by
Rj + kRi .
Example 8 The system
x + y = 1; Two (m × n)-matrices A and B which can be
x − y = 0, transformed by finite times of elementary row op-
1 1 erations are row-equivalent, denoted by A ∼ B.
has exactly one solution x = , y = ,
2 2
while Theorem 1.10 Let S1 and S2 are two sys-
x + y = 4; tems of linear equations whose augmented
matrices are A1 and A2 , respectively. If
2x + 2y = 6,
A1 ∼ A2 , then two systems has the same
has no solution. Moreover,
solution set.
x + y = 1;
2x + 2y = 2, A matrix is in row-epsilon form if it satisfies the
following conditions:
has infinite many solutions.
1. The first nonzero number in each row is 1; it
is called the leading entry.
Elimination Method Adjust the coefficients;
take sum or substraction of a pair of the equations 2. The leading entry in each row is to the right
to eliminate one variable. Repeat this until only of the leading entry in the row immediately
one variable remaining. above it.
3. All rows consisting entirely of zeros are at the
Example 9 Find all solutions of the system. bottom of the matrix.
2x + y = 1 In addition, a matrix in row-epsilon form is said to
3x + 4y = 14 be in reduced row-epsilon form if every number
above and below each leading entry is 0.
3
is in row-epsilon form. Moreover, the matrix epsilon form and reduced row-epsilon form.
1 3 0 0 0 1 −2 1 1
0 0 1 0 −3 0 1 2 5
0 0 0 1 1
1 1 3 8
0 0 0 0 0
is in reduced row-epsilon form.
Definition 1.11 Let A be an (m × n)-
To put a matrix in row-epsilon form matrix. After reducing A to row-echelon
form, the number of rows all of which are
• Consider the leftmost column that does
not consist entirely of zeros. not zero is called the rank of A, denoted by
rank A.
• Bring a nonzero entry of the leftmost
column to the top of the column.
• Obtain 1 in the top of the leftmost col-
1 4 −3 7
umn and obtain zeros of all of the rows
below the top of the leftmost column. Example 14 The matrix 0 1 6 2
0 0 1 5
• Next, consider the submatrix eliminat-
ing the first row of the last matrix and has
the rank
3, while the matrix
repeat the above procedure on the re- 0 1 1 0
mained submatrix. (Make sure that this 0 0 1 2 has the rank 2.
leading 1 is to the right of the leading en- 0 0 0 0
try obtained before)
• Repeat the above procedure until the en-
We can determine the type of solutions by the fol-
tire matrix is in row-epsilon form.
lowing theorem.
The above procedure is called Gaussian elimina- Theorem 1.12 For a system of m linear
tion; in addition, if we execute Gaussian elimina-
tion and let the matrix to be in reduced row-epsilon equations in n unknowns, which is written as
form, the procedure is called Gauss-Jordan elim- Ax = b,
ination.
The equation has solutions if and only if the
Example 12 Put the following matrix in row- coefficient matrix A has the same rank as the
epsilon form and reduced row-epsilon form. augmented matrix [A|b]. Moreover, we ob-
4 8 −4 4 tain the followings:
3 8 5 −11
1. if rank A = n, then the system has
−2 1 12 = 17 exactly one solution.
4
Example 15 Solve the following systems us-
ing Gaussian Elimination.
1.
2x + 3y = 3
x − 2y = 5
3x + 2y = 7
2.
x + 2y − 3z − 4w = 10
x + 3y − 3z − 4w = 15
2x + 2y − 6z − 8w = 10
5
Determinants and Cramer’s Rule Example 21 Evaluate det A of
Definition 1.13" The determinant
# of the 2×
2 3 −1
a b
2 matrix A = is A= 0 2 4
c d
−2 5 6
a b
det(A) = |A| = = ad − bc
c d
Example 22 Evaluate det A of
2 −3 4
Example 19 Evaluate det(A) of
" # A= 1 0 6
6 −3 3 −2 0
A=
2 3
Example 20 Find the minor M12 and the Example 23 Solve the system
cofactor A12 of the matrix 2x − y = −9
2 3 −1 x + 2y = 8
A= 0 2 4
−2 5 6
Example 24 Solve the system
2x + 3y − 5z = 1
Theorem 1.15 If A is an n × n matrix, then x+y−z =2
the determinant of A is obtained by
2y + z = 8
det(A)
= a11 A11 + a12 A12 + · · · + a1n A1n .
(this method is called expanding the deter-
minant by the first row)
6
7