Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
for
The Faculty of Technology
University of Colombo
• If a natural phenomenon can be couched in
mathematical terms, then mathematical manipulation
will often yield results that also correspond to
observable reality but may not have even been
suspected up to that point.
• A3: x + (y + z) = ( x + y) + z and x (y z) = ( x y) z
(Associative Laws)
• Definition 9: Real numbers that are not rational are called “Irrational
Numbers”.
• 2 is irrational.
• 𝑎2 = 𝑎
• Theorem 7: For any two real numbers a and b:
i) | ab | = | a | | b |
• ( 𝑎𝑏 = (𝑎𝑏)2 = 𝑎2 𝑏 2 = 𝑎2 𝑏2 =
𝑎 |𝑏| )
𝑎 |𝑎|
• ii) = ;𝑏 ≠ 0
𝑏 |𝑏|
( | a – b | = | a + (-b) | ≤ | a | + | -b | = | a | + |
b| )
ii) | a | - | b | ≤ | a – b |
( | a | = | (a-b) + b | ≤ | a – b | + | b | )
iii) 𝑥1 + 𝑥2 + ⋯ + 𝑥𝑛 ≤ 𝑥1 + 𝑥2 +. . +| 𝑥𝑛 |
• Solving Linear Equations
• 1. −2 𝑥 − 1 + 3 = 1
• 2. -2x + 7 = 25
• Solving Inequalities
• 3. 𝑥 + 2 ≤ 4
• Solve the equation: −2 𝑥 − 𝟏 + 3 = 1
• −2 𝑥 − 𝟏 = -2
• 𝑥−𝟏 = 1
• 𝑥 − 𝟏 = -1 or
𝑥−𝟏 = 1
• X=0 or
x= 2
• Equations:
i) 2 + 3x = 5x + 8
𝑥
ii) = 4 ; 𝑥 ≠ 3
𝑥−3
iii) (x + 3)(x + 4) = 0
iv) | 3x + 2 | = 5
Quadratic Equations:
1. 𝑥 2 − 3𝑥 − 10 = 0
2. 𝑥 2 + 3𝑥 − 10 = 0
3. 𝑥 2 − 3𝑥 + 2 = 0
4. 𝑥 2 + 3𝑥 + 2 = 0
5. 𝑥 2 − 3𝑥 − 2 = 0
6. 𝑥 2 − 3𝑥 + 11 = 0
• Systems of Equations:
1. x + y = 8
x–y = 2
( Substitution Method & Elimination Method )
2. 3x – 2y = 5
x + 5y = 22/3
• 3. x – y = 7
𝑥 2 + 𝑦 2 = 169
2𝑥 − 𝑦 + 5𝑧 = 10
𝑥 + 𝑦 − 3𝑧 = −2
2𝑥 + 4𝑦 + 𝑧 = 1
Solve the system:
𝑥 + 2𝑦 + 𝑧 = 3
2𝑥 + 3𝑦 + 3𝑧 = 10
3𝑥 − 𝑦 + 2𝑧 = 13
Solving Systems of Linear Inequalities
1. X > -5
y <3
2. x + y < 8
x–y > 2
Vectors
1. Lists of Numbers
An ordered array of numbers
(2, 3, -1, 8)
𝑅3 = 𝑎, 𝑏, 𝑐 𝑎, 𝑏, 𝑐 ∈ 𝑅}
𝑅𝑛 = 𝑎1, 𝑎2 , … 𝑎𝑛 𝑎𝑖 ∈ 𝑅 ∀ 𝑖 = 1, 2, … , 𝑛}
Definition 1: The set of all n-tuples of real numbers,
denoted by 𝑅𝑛 is called n-space. A particular
n-tuple in 𝑅𝑛 , say a = 𝑎1, 𝑎2 , … 𝑎𝑛 is called a point
or a vector.
𝑥1
2. If x = 𝑥 , a = (-1, 4) , b = (2, -7), 𝑎 ∙ 𝑥 = 1 and
2
b∙ 𝑥 = 2. Find 𝑥1 and 𝑥2
ii) i⨂j = k
a=(a1, a2, a3), b=(b1, b2, b3)
2 2
𝑎 𝑏 𝑠𝑖𝑛2 𝜃 = 𝑎 2 𝑏 2 (1 − 𝑐𝑜𝑠 2 𝜃)
2
2
(𝑎. 𝑏)
= 𝑎 𝑏 2 (1 − 2 2
)
𝑎 𝑏
A=
−3 5 0 −2 −3 11
i) −3 =
25 −2 𝑥 4 15 −14
ii)
Here, we define -A = (-1)A and A - B = A + (-B). Note that -A is the
negative of the matrix A.
Properties:
• Let A, B, and C be matrices of same size and let k and l be
scalars. Then
• (A + B) + C = A + (B + C)
• A+B=B+A
• A+0=0+A=A
• A + (-A) = (-A) + A = 0
• k(A + B) = kA + kB
• (k + l)A = kA + lA
• (kl)A = k(lA)
• lA = A
Matrix Multiplication
09/11/2014
Arranging the matrices as
follows will make the
multiplication by hand a bit
easier:
• Properties:
• (AB)C = A(BC)
• A(B+C) = AB + AC
• (B+C)A = BA + CA
• k(AB) = (kA)B = A(kB)
Transpose
The transpose of a matrix A is obtained by writing the rows of A, in
order, as columns and denoted by AT. In other words, if A = (Aij), then B
= (bij) is the transpose of A if
bij = aji for all i and j.
A= AT =
Properties:
𝐴 = 𝑎𝑖𝑗 → 𝑡𝑟 𝐴 = 𝑎𝑖𝑖
𝑖=1
Properties:
i) tr(A + B) = tr(a) + tr(B)
ii) tr(kA) = k tr(A)
iii) tr(𝐴𝑇 ) = tr(A)
iv) tr(AB) = tr(BA) (even if AB ≠ BA )
Verify the property tr (AB) = tr (BA).
1 2 3 2 −5 1
𝐴 = −4 −4 −4 𝐵= 0 3 −2
5 6 7 1 2 −4
5 7 −15
𝐴𝐵 = −12 0 20 tr(AB) = - 30
17 7 −35
27 30 33
𝐵𝐴 = −22 −24 −26 tr(BA) = - 30
−27 −30 −33
Definition: (Identity Matrix)
The matrix A =
Augmented matrix.
i) 2x – 5y = 11 ii) 2x – 3y = 8 iii) 2x – 3y = 8
3x + 4y = 5 -6x + 9y = 6 -4x + 6y = -16
X = 3, y = -1
Infinitely many
No Solution solutions
𝐴 ≠0 𝐴 =0
𝐴 =0
Solve the system of equations:
Example iv):
2𝑥 − 𝑦 + 5𝑧 = 10 1
𝑥 + 𝑦 − 3𝑧 = −2 2
2𝑥 + 4𝑦 + 𝑧 = 1 3
Z = 1, y = -1, x = 2
Gauss – Jordan Method:
A square system AX = B of linear equations has a
unique solution if and only if the matrix A is invertible.
Then the solution is given by 𝐴−1 B .
2 −1 5
Lets find the inverse of A= 1 1 −3 using row
2 4 1
Elementary Operations:
i) Interchanging two equations
ii) Replacing an equation by a non-zero multiple of
itself
iii) Replacing an equation by the sum of a multiple of
another equation and itself
Elementary Row Operations:
i) Interchanging two rows
ii) Replacing a row by a non-zero multiple of itself
iii) Replacing a row by the sum of a multiple of
another row and itself
Definition:
1 2 −3
2)Find the inverse (if exists) of P = 2 5 −8
3 8 −13
Example: 1. Solve the following systems
a) Using Gaussian Elimination
b) Finding the inverse by row operations
i) 𝑥 + 2𝑦 − 4𝑧 = −4 ii) 𝑥 + 2𝑦 − 3𝑧 = −1
2𝑥 + 5𝑦 − 9𝑧 = −10 −3𝑥 + 𝑦 − 2𝑧 = −7
3𝑥 − 2𝑦 + 3𝑧 = 11 5𝑥 + 3𝑦 − 4𝑧 = 2
Determinants
𝑎11 𝑎12
Determinant of order 2 : 𝑎
21 𝑎22 = 𝑎11 𝑎22 - 𝑎12 𝑎21
Determinant of order 3:
𝑎11 𝑎12 𝑎13
𝑎22 𝑎23 𝑎21 𝑎23
𝑎21 𝑎22 𝑎23 = 𝑎11
𝑎32 𝑎33 − 𝑎12 𝑎31 𝑎33
𝑎31 𝑎32 𝑎33
𝑎21 𝑎22
+ 𝑎13 𝑎
31 𝑎32
Now beginning with the 1 in the upper right hand corner, we are
going to come back, multiplying the numbers on the diagonals.
We will also sum these and then subtract the answer from the
sum above.
2 1 0 2 1
3 − 1 4 3 − 1
1(3)(2) + 2(4)(1) + 0(−1)(1) = 6 + 8 + 0 = 14
1 1 2 1 1
Now subtract: 0 - 14 = - 14
Example: Find the determinant of
1 2 3
A = 4 −2 3
0 5 −1
Definition:
The determinant of a n-square matrix A = [𝑎𝑖𝑗 ] is
the sum of the products obtained by multiplying the
elements of a row (or a column) by their respective
cofactors.
𝑛 𝑛
𝑏1 𝑎12 𝑎11 𝑏1
𝑏2 𝑎22 𝑎21 𝑏2
𝑥= 𝑎11 𝑎12 and y= 𝑎11 𝑎12
𝑎21 𝑎22 𝑎21 𝑎22
ii) 3𝑦 + 2𝑥 = 𝑧 + 1
3𝑥 + 2𝑧 = 8 −5y
3𝑧 − 1 = 𝑥 − 2𝑦
𝒙𝟏 + 𝒙𝟐 𝒚𝟏 + 𝒚𝟐
• And the midpoint is given by : ( ,
2 2
)
• Definition 12:
• A function from R to R denoted by 𝑓: 𝑅 → 𝑅, is
a set of ordered pairs of numbers (x, y) in which no
two distinct ordered pairs have the same first
number. Y = f(x)
• The set of all possible x values is called the Domain
of the function. (Independent variable)
• The set of all possible y values is called the Range of
the function. (Dependent variable)
ii) 𝑓 2𝑥 2
iii)𝑓 𝑥 + 𝑓 ℎ
iv) 𝑓 𝑥 + ℎ
𝑓 𝑥+ℎ −𝑓(𝑥)
v) ℎ
• Algebra of Functions:
• Given two functions 𝑓: 𝑅 → 𝑅 and g: 𝑅 → 𝑅
• (Example: 𝑓 𝑥 = 𝑥 2 + 3𝑥 − 4 , 𝑔 𝑥 =
𝑥−1)
i) 𝑓±𝑔 𝑥 =𝑓 𝑥 ±𝑔 𝑥
ii) 𝑓 . 𝑔 𝑥 = 𝑓 𝑥 . 𝑔(𝑥)
𝑓 𝑓(𝑥)
iii) 𝑔
𝑥 =
𝑔(𝑥)
; 𝑔 𝑥 ≠0
𝟎 𝑥 ≤𝟎
ii) 𝑓 𝑥 = ቐ𝟐𝒙 𝟎< 𝑥 ≤ 𝟏 and
𝟎 𝟏 < 𝑥
𝟏 𝑥 ≤𝟎
• g 𝑥 = ቐ𝒙/𝟐 𝟎 < 𝑥 ≤ 𝟏
𝟏 𝟏 < 𝑥
• Find 𝑓 𝑜 𝑔 𝑥 .
• Definition 13: A function 𝑓: 𝑅 → 𝑅:
1
ii) For any function 𝑓 𝑥 , 𝑓 𝑥 + 𝑓(−𝑥) is
2
even and
1
• 𝑓 𝑥 − 𝑓(−𝑥) is odd.
2
• Example:
i) 𝑓 𝑥 = 3𝑥 − 5
ii) 𝑓 𝑥 = 𝑥 2 + 3𝑥 − 4
• Example:
i) 𝑓 𝑥 = 3𝑥 − 5
ii) 𝑓 𝑥 = 𝑥 2 + 3𝑥 − 4
• Shifting of Graphs:
• 𝑦 = 𝑓 𝑥 ± ℎ ↔ ↑ ℎ 𝑜𝑟 ↓ ℎ
• 𝑦 = 𝑓 𝑥 ± ℎ ↔ ← ℎ 𝑜𝑟 → ℎ