Professional Documents
Culture Documents
Matrices - Linear Algebra
Matrices - Linear Algebra
.
x x x
y y y
m1 = m2 m1 = m2
m1 ≠ m2 b1 = b2 b1 ≠ b2
2. Arithmetic Representation of Solutions
Examples:
a. 3x – 4y = 8 ; 2x + 8y = 9
b. 6x – 8y = 4 ; 3x – 4y = 2
c. 2x + 3y = 5 ; 4x + 6y = 9
Practice!
I. Determine how many solutions the system have.
a. 3x – 4y = 8 ; 2x + 8y = 9
3x – 4y = 8 2x + 8y = 9
3x – 8 = 4y 8y = – 2x+9
3 1 9
x–2 =y y = – 4x + 8
4
3 1
m1 = 4 m2 = – 4
⸫ one solution
b. 6x – 8y = 4 ; 3x – 4y = 2
6x – 8y = 4 3x – 4y = 2
6x – 4 = 8y 3x – 2 = 4y
3 1 3 1
x – =y x – =y
4 2 4 2
3 3
m1 = m2 =
4 4
1 1
b1 = – 2 b2 = – 2
⸫ infinite number of solutions
c. 2x + 3y = 5 ; 4x + 6y = 9
2x + 3y = 5 4x + 6y = 9
3y = –2x + 5 6y = –4x + 9
2 5 2 3
y = – 3x + 3 y = – 3x + 2
2 2
m1 = – 3 m2 = – 3
5 3
b1 = 3 b2 = 2
⸫ no solution
𝟒𝟑 𝟏𝟔 𝟓𝟔 0 3 7
A(BC) = [ ] (BC) = [8 −4 6]
𝟏𝟐 𝟑𝟎 𝟖 9 3 3
1 0 2
19 −1 6 13 2 −3 0 5 2 3
2 −1 1 0
(AB)C = [ ][ ] (AB) = [ ] [0 2 2 2]
16 −8 −8 6 0 0 3 2 −3 4
3 0 −1 3
2 1 0
19 − 2 + 0 + 26 0 + 3 + 0 + 13 38 + 0 + 18 + 0
(AB)C = [ ] (AB) = [10 +0+9 −5 + 4 + 0 5 + 4 − 3 0 + 4 + 9
]
16 − 16 + 0 + 12 0 + 24 + 0 + 6 32 + 0 − 24 + 0 4 + 0 + 12 −2 − 6 + 0 2 − 6 − 4 0 − 6 + 12
𝟒𝟑 𝟏𝟔 𝟓𝟔 19 −1 6 13
(AB)C = [ ] (AB) = [ ]
𝟏𝟐 𝟑𝟎 𝟖 16 −8 −8 6
𝟒𝟑 𝟏𝟔 𝟓𝟔 𝟒𝟑 𝟏𝟔 𝟓𝟔
[ ]=[ ]
𝟏𝟐 𝟑𝟎 𝟖 𝟏𝟐 𝟑𝟎 𝟖
A(BC) = (AB)C
𝟐𝟏 −𝟏 𝟐𝟏 −𝟏
A(B + C) = [ ] AB + AC = [ ]
𝟕 −𝟐 𝟕 −𝟐
𝟐𝟏 −𝟏 𝟐𝟏 −𝟏
[ ]=[ ]
𝟕 −𝟐 𝟕 −𝟐
A(B + C) = AB + AC
Any of the following elementary row operations performed on an augmented matrix will produce a
matrix that is equivalent to the original matrix.
Gaussian Elimination
A method of solving a linear system of equations that is done by transforming the
system's augmented matrix into row-echelon form by means of row operations. Then the system 1 9 2
is solved by back-substitution (The process of solving a linear system of equations that has been transformed [ 0 1 3]
into row-echelon form or reduced row-echelon form. The last equation is solved first, then the next-to-last, etc.). 0 0 1
Gauss-Jordan Elimination
A method of solving a linear system of equations that is done by transforming the 1 0 0
system's augmented matrix into reduced row-echelon form by means of row operations. This [0 1 0]
method is after Carl Friedrich Gauss and Marie Ennemond Camille Jordan. 0 0 1
Practice!
II. Solve the system using Gauss-Jordan.
1. 3x – 6y = 24 ; 5x + 4y = 12
3 −6 : 24 1
=[ ] R1 → R1
5 4 : 12 3
1 −2 : 8
=[ ] –5R1 + R2 → R2
5 4 : 12
1 −2 : 8 1
=[ ] R2 → R2
0 14 : −28 14
1 −2 : 8
=[ ] 2R2 + R1 → R1
0 1 : −2
1 0 : 4
=[ ]
0 1 : −2
Answer: x = 4 and y = –2
2. 2x + y = –4 ; 3x – 2z = –11 ; –2y + 4z = 0
−11
1 0 −2 : 3
2 1 0 : −4 4 10 3
= [ 3 0 −2 : −11] R1 ↔ R2 = 0 1 3
: 3
R3 → R3
20
0 −2 4 : 0 20 20
[0 0 : ]
3 3
2 −11
3 0 −2 : −11 1 0 −3 : 3
1 4
=[ 2 1 0 : −4 ] R1 → R1 = [0 1 4
:
10 ] − 3R3 + R2 → R2
3
4 3 3
0 −2 : 0
0 0 1 : 1
2 11 2 −11
−3 : − 3
1 0 1 0 −3 : 3 4
=[ 2 1 0 : −4 ] –2R1 +R2 → R2 = [0 1 0 : 2] − 3R3 + R1 → R1
0 −2 4 : 0 0 0 1 : 1
2 11
1 0 − : − 1 0 0 : −3
3 3
=[ 0 1 4
:
10 ] 2R2 +R3 → R3 = [0 1 0 : 2]
3 3
0 0 1 : 1
0 −2 4 : 0
Practice!
III. Using the Cramer’s Rule, solve the following systems of equations.
1. 5x – y = 13 ; 2x + 3y = 12
5 −1
D=| | = 15 – (–2)
2 3 Answer:
= 17
𝐷𝑥 51
x = = 17 =3
13 −1 𝐷
Dx = | |= 39 – (–12)
12 3 𝐷𝑦 51
= 51 y = = 34 =2
𝐷
5 13
Dy = | | = 60 – 26
2 12
= 34
2. x + 6y + 2z = 9 ; 3x – 2y + 3z = –1 ; 5x – 5y + 2z = 7
1 6 2
D = |3 −2 3| = (–4+90–30) – (–20–15+36) Answer:
5 −5 2
𝐷𝑥 275
= 56 – 1 x = = =5
𝐷 55
= 55
𝐷𝑦 110
9 6 2 y = = =2
𝐷 55
Dx = |−1 −2 3| = (–36+126+10) – (–28–135–12)
𝐷𝑧 −220
7 −5 2 z = = = –4
𝐷 55
= 100 +175
= 275
1 9 2
Dy =|3 −1 3| = (–2+135+42) – (–10+21+54)
5 7 2
= 175 – 65
= 110
1 6 9
Dz =|3 −2 −1| = (–14–30–135) – (–90+5+126)
5 −5 7
= –179 – 42
= –220