F2F Lecture 1 Slides
F2F Lecture 1 Slides
MA1513 LECTURE 1 1
Your Lecturer
A/Prof Victor Tan (VT)
Dept : Mathematics
Office : Blk S17 #07-22
Tel No. : 6516-7936
Email: mattanv@nus.edu.sg
MA1513 LECTURE 1 2
Lesson Plan
Week Topic (Lecture) Sections/Video clips Tutorial
1 Jan 13-19 Chapter 1: Linear System and Matrix 1.1-1.5 NA
Algebra
2 Jan 20-26 Chapter 1: (Cont.) 1.6-1.8, 2.1-2.2 Tutorial 1
Chapter 2: Vector Spaces
3 Jan 27 – Feb 2 Chapter 2: (Cont.) 2.3-2.7 Tutorial 2
4 Feb 3-9 Chapter 2: (Cont.) 2.8, 3.1-3.4 Tutorial 3
Chapter 3: Linear Transformation,
Eigenvalues and Eigenvectors
5 Feb 10-16 Chapter 3: (Cont.) 3.5-3.6, 4.1-4.3 Tutorial 4
Chapter 4: System of Differential Equations
6 Feb 17-23 Chapter 4: (Cont.) 4.4-4.8 Tutorial 5
MA1513 LECTURE 1 3
How to study for this module
Weekly process
• Cover the topics of the week (Self-paced)
Overview notes
Lecture notes/Video clips
• Attend the F2F Lecture
• Attend the tutorial class (the following week)
• Attempt the online quiz (before the deadline)
MA1513 LECTURE 1 4
Assessment
• Final Exam 70% (Week 8: 14 Mar, 2020 ~ Saturday 9am)
• Continuous Assessment 30%
Online Quiz 15% (Weekly, after reading notes/watching video)
Tutorial Assignment 15% (Weekly, during tutorial)
MA1513 LECTURE 1 5
Tutorial class starts next week
• Starts in week 2 (next week)
• Download tutorial set from LumiNUS
• Two parts
Tutorial questions discussion
Hands-on practice (submit after class)
• Install MATLAB to solve some tutorial questions
• Need to change tutorial groups:
Email to engbox28@nus.edu.sg.
Visit Office of Undergraduate Program EA 03-10
MA1513 LECTURE 1 6
What is Linear Algebra?
having the properties of lines
1 dimensional linear object: line
2 dimensional linear object: plane
MA1513 LECTURE 1 7
Linear Systems
Linear system x + y = 1
2 x + 3y = 2
2 equations
2 variables
solution: x = __, y = __
x + y + z + w = 1
Linear system 2x − y + 3z + 5w = 2
5 equations x + 2y + 7z + 0w = 5
0x − 6y + 2z + 9w = 0
4 variables 5x + 2y − 4z + 7w = 8
MA1513 LECTURE 1 8
Heat Transfer Problem
Steady-State temperature distribution of 20 ° 20 °
a thin plate
Temperature around boundary is known.
T1, T2, T3, T4 are temperatures at the 4 T1 T2
internal nodes. 10 ° 40 °
Find T1, T2, T3, T4.
T3 T4
10 ° 40 °
MA1513 LECTURE 1 9
Known fact: Temperature at a node is
approximately equal to the average of
the 4 nearest nodes (on the left, right,
Heat Transfer Problem above, below).
Node 1: 4T1 − T2 − T3 = 30
T1 T2
10 ° 40 °
Node 2: −T1 + 4T2 − T4 = 60
T3 T4
10 ° 40 °
Node 3: −T1 + 4T3 − T4 = 40
MA1513 LECTURE 1 10
Linear Systems – Different Expressions
x + y + z + w = 1
2x − y + 3z + 5w = 2
x + 2y + 7z + 0w = 5
0x − 6y + 2z + 9w = 0
5x + 2y − 4z + 7w = 8
standard form
MA1513 LECTURE 1 12
Part I: Linear Systems
Linear Systems Augmented Matrix
Gaussian
elimination
MA1513 LECTURE 1 14
Elementary Row Operations
Interchange
0 0 1 2 row 1 and 3 3 3 6 -9
A = 2 3 0 -2 B= 2 3 0 -2
3 3 6 -9 0 0 1 2
0 0 1 2 0 0 1 2
C= 2 3 0 -2 D= 2 3 0 -2
1 1 2 -3 -1 -3 6 -5
MA1513 LECTURE 1 15
0 0 0 0 0 0 0 0 1 3 0 1 2 0 1
0 1 2 0 1 0 1 2 0 1 0 0 0 1 3
0 0 0 1 3 0 0 0 0 0 0 0 0 0 0
Row Echelon Form 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0
⊗ ∗ ∗
⊗ ∗ ∗ nonzero rows
0 O⋱ ∗
⊗ ∗ ∗
0 …L L … 0 0 zero rows (if any)
leading entries
MA1513 LECTURE 1 16
0 1 2 0 0 0 1 2 0 0 0 1 0 0 0
0 0 0 3 1 0 0 1 3 1 0 0 1 0 1
0 0 0 0 0 0 0 0 1 0 0 0 0 1 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Reduced Row Echelon Form
⊗
1 ∗ 0 0∗
0 ⊗
1 ∗ : ∗ nonzero rows
00 0 O⋱
0 ∗
: : ⊗
1 ∗ ∗
0 0 L
… 0 …L 0 0 0 zero rows (if any)
leading entries
MA1513 LECTURE 1 17
Example 1
x1 − 2 x 2 − x 3 − x 4 = −4
3x1 + x 2 + x 3 − 2 x 4 = 11
x1 + 12 x 2 + 7 x 3 + x 4 = 31
The augmented matrix is:
1 -2 -1 -1 -4
3 1 1 -2 11
1 12 7 1 31
R3 – 2R2
1 -2 -1 -1 -4
0 7 4 1 23
0 0 0 0 -11
MA1513 LECTURE 1 20
Example 2 (Free parameters)
A row echelon form is
1 2 -5 3 6 14 0
0 0 1 0 -7/2 -6 0
0 0 0 0 1 2 0
x1 + 2 x 2 − 5x 3 + 3x 4 + 6 x 5 + 14 x6 = 0
7
x3 −
2
x 5 − 6 x6 = 0
x 5 + 2 x6 = 0
3 equations, 6 variables
need to set 6 - 3 variables as free parameters
MA1513 LECTURE 1 21
Example 2 (Back substitution)
x1 + 2 x 2 − 5x 3 + 3x 4 + 6 x 5 + 14 x6 = 0
7
x3 −
2
x 5 − 6 x6 = 0
x 5 + 2 x6 = 0
Let x 6 = t x2 = r and x4 = s
Then x 5 = −2 x 6 = −2t
Then x 3 = 7
2
x5 + 6x 6 = - t
x1 = −2 x 2 + 5x 3 − 3x 4 − 6 x 5 − 14 x 6
= −2r + 5(−t ) − 3s − 6(−2t ) − 14t = -2r -3s –7t
MA1513 LECTURE 1 22
Example 2 (General Solution)
x1 = −2r − 3s − 7t
x2 = r
x 3 = −t
x4 = s r, s, t any real numbers
x 5 = −2 x 6 = −2t
x6 = t
MA1513 LECTURE 1 23
Homogeneous Systems
Linear Systems
MA1513 LECTURE 1 24
Part II: Matrix Algebra
a11 a12 … a1𝑛𝑛 Identity
matrix
a21 a22 … a2𝑛𝑛
A=
⋮ ⋮ ⋮
a𝑚𝑚1 a𝑚𝑚2 … a𝑚𝑚𝑚𝑚 Symmetric Zero
matrix matrix
Special
Terms associated to matrix
matrices
• rows (m)
• columns (n)
• size (m x n)
Triangular Diagonal
• entries (aij) matrix matrix
MA1513 LECTURE 1 25
Part II: Matrix Algebra
Matrix
same sizes
addition/subtraction
compatible
Matrix multiplication
Matrix sizes
Operations
Matrix transpose any
square
Matrix power
matrix
non-
Matrix inverse
singular
MA1513 LECTURE 1 26
Matrix Multiplication
A AB
B 5 7 9
a1 1 1
1 2 3
a2 2 3 = 14 19 24
− 1 − 2 4 5 6 − 9 − 12 − 15
a3
b1 b2 b3
MA1513 LECTURE 1 27
Example 3 (Matrix)
Three products A, B, C
Production cost per item
A B C
Raw materials 0.10 0.30 0.15
Labor 0.30 0.40 0.25
Overhead & Misc. 0.10 0.20 0.13
3000 1650
0.10 0.30 0.15 =
0.30 0.40 0.25 2950
0.10 0.20 0.13 2000
5000 1350
MA1513 LECTURE 1 29
Example 3 (Matrix Inverse)
Production cost per item
Given budget:
A B C 2000 for raw material
Raw materials 0.10 0.30 0.15 2500 for labor
Labor 0.30 0.40 0.25 1500 for overhead cost
Overhead & Misc. 0.10 0.20 0.13 How many of A, B, C can be produce?
MA1513 LECTURE 1 30
Example 4 (A simple model)
In a certain town, 30% of married women get divorced each year and 20% of
women get married each year.
There are 8000 married women and 2000 single women.
Assuming that the total population of women remains constant, how many
married women and how many single women will there be after n years?