Topic 6 Linear Equations and Matrix Algebra
Topic 6 Linear Equations and Matrix Algebra
Matrices
Operations Type of Matrices Augmented Matrix Row Echelon Form (REF)
Reduced Row Echelon Form (RREF)
System of Linear Equations
ax + b = 0 ax + by = k ax + by + cz + d = 0
a and b are constants ax + by – k = 0 a , b, c and d are constants
a ≠ 0 a ≠ 0, c ≠ 0 and c ≠ 0
x is a variable a, b and k are constants x, y and z a variable
a ≠ 0 and b ≠ 0
x and y a variable
System of Linear Equations
3.Consistent System,
Dependent Equation,
Infinitely Many
Solutions
Method 1 : Solving with Graphing
• Solve one of the equations for one of the variables, and plug
this into the other equation
Example 1 : Solve the following system by substitution.
2x – 3y = –2
4x + y = 24
Step 1 : Solve the simplest equation.
4x + y = 24
4x + y = 24 => y = –4x + 24
Step 2 : Plug this in ("substitute it") for "y" in the first equation, and solve for x and y
2x – 3y = –2
2x – 3(–4x + 24) = –2 y = –4x + 24 4x + (–4x + 24) = 24
2x + 12x – 72 = –2 y = –4(5) + 24 4x – 4x + 24 = 24
14x = 70 y = –20 + 24 24 = 24 (recheck
x = 5 y = 4 solutions)
Then the solution is (x, y) = (5, 4).
Method 2 : Solving by Substitution
Step 2 : Plug this in ("substitute it") for "y" in the first equation, and solve for x and y
–21x – 6y = 24
–21x – 6(–( 7/2 )x + 8) = 24
–21x + 21x – 48 = 24
–48 = 24 solution: no solution (inconsistent system)
????
Method 3 : Solving by Elimination
Practice 1 :
Use elimination to solve each system of equations, if possible. Identify
the system as consistent or inconsistent. If the system is consistent, state
whether the equations are dependent or independent. Support
your results graphically.
a) 3x - y = 7 b) 5x - y = 8 c) x - y = 5
5x + y = 9 -5x + y = -8 x-y=-2
Practice 1
a) 3x - y = 7
5x + y = 9
3x – y = 7 3x – y = 7
+ 5x + y = 9 => use addition 3(2) – y = 7
8x = 16 6–y=7
x =2 y=–1
Practice 1
b) 5x- y = 8
-5x + y = -8
5x – y = 8
+ -5x + y = -8 => use addition
0x = 0
0 =0
Practice 1
b) x – y = 5
x – y = -2
x–y=5
– x – y = -2 => use subtraction
0 =7
System of Linear Equations
• Matrix Operations:
Addition and Subtraction
Multiplication
Transposition
Inversion Covered in week 8
Matrix Algebra
• Sum of Matrices / Addition and Subtraction
1 2 2 3 0 4
A B
0 1 3 2 1 4
2 2 6
A B
2 0 1
Matrix Algebra
A ( B C ) ( A B) C
Matrix Algebra
• Scalar Multiplication :
Matrix Algebra
Scalar Multiplication : Example
1 2 2
A
0 1 3 3A ??
31 3 2 3 2 3 6 6
3A
3 0 3 1 3 3 0 3 9
Matrix Algebra
Scalar Multiplication
• Properties:
k hA kh A
k h A kA hA
k A B kA kB
Matrix Algebra
Practice 2 :
a) A+B b) A–B c) 2C d) 3D
e) 2C+3D f) A + D
Matrix Algebra
• Practice 2 Answer :
Matrix Algebra
• Properties of Linear Algebra
Matrix Algebra
• Dot Product
Matrix Algebra
• Matrix Multiplication
BC ??
Matrix Algebra
Matrix Algebra
• Example :
Practice 3
a)
b)
Not Defined !!
Matrix Algebra
• Matrix Multiplication Properties :
Matrix Algebra
Whether AB == BA ??
Q:
Matrix Algebra
Matrix Algebra
Linear Combination
• If A, B, and E are matrices, then 3A - B + 2E is called a linear
combination
Example