Академический Документы
Профессиональный Документы
Культура Документы
by
Muhammad Kusni
Introduction
Ø Introduction to Linear Algebra
Matrices Ø Matrices
Determinants
Vectors Ø Determinants
Ø Vectors
3
2 −4
4 3 ∇ φ
A = 2 −1 −2 D= = 14, n =
1
4 5 3×3 2 5 ∇ φ
Determinants
Vectors
Linear System
of Equation Linear Eigenvalue
(briefly called Transformation Problems
Linear System)
Introduction
Application of Linear Algebra:
Diagram • electrical net works,
Application 1
• frameworks in mechanics,
Application 2
Introduction
Determinants
Matrices
Ø Fundamental concepts of matrix operation
Determinants Ø Definition of matrix
Vectors Ø Notation of matrix
Ø Kinds of matrices
• Matrices operation
Ø Addition/subtraction
Ø Transpose
Ø Scalar multiplication
Ø Matrix multiplication
Matrices
Ø Matrices occur in various problems, for instance,
Calculation
as array of coefficients of equations.
Fundamental Ø Matrices and vectors are useful because they
Definition enable use to consider an array of many
Notation numbers as a single symbol, and
Kind of Matrices
Ø Perform calculations with these symbols in very
Operation
compact form.
Determinants
Calculation
• Example:
Fundamental
Definition
• Linear Equations • Writing in the form of
Notation
matrix.
Kind of Matrices
Operation
3 x + 2 y − 4 z = 10 3 2 − 4 x = 10
Determinants
Vectors 2 x − y − 2 z = 11 2 −1 − 2 y = 11
=
x + 4 y + 5 z = 25 1 4 5 z 25
A(x ) = b
Ir. Muhamad Kusni, M.T
Notation of Matrix
Linear Algebra
3 2 − 4 dimension of matrix:
Introduction
Matrices A = 2 −1 − 2 number of rows= 3,
number of column.= 3
Calculation
Fundamental
1 4 5 3× 3
Definition
matrix A = A = ( aij ) = ( A ) = [ A ]mxn
Notation
10
(b) = 11 row matrix= vector (b)3×1 = {b}3×1
25
3×1
Ir. Muhamad Kusni, M.T
Kinds of Matrices
Linear Algebra
• Matrix of A with row number m and column number n
Introduction
written as:
Matrices
Calculation
• Example:
Fundamental
Definition
∨ ∨
[A]3×2
Notation
Notation ∨ ∨ ∨ L ∨
Kind of Matrices 0 ∨ ∨
Operation [A]m×m =0 ∨ ∨ (Upper triangular
Determinants M O M matrices)
Vectors
0 0 L 0 ∨ m×m
∨ 0 L 0
0 ∨ M
[A]m×m = (Diagonal matrices)
M ∨ 0
0 L 0 ∨
m×m
Ir. Muhamad Kusni, M.T
Kinds of Matrices
Linear Algebra 1 0 0 L 0
Introduction
0 1 0
Matrices
[A]m×m = 0 1 M (unit matrix)
Calculation
M O 0
Fundamental
Definition
0 0 L 0 1 m× m
Notation ∨ ∨ 0 0
Kind of Matrices
∨ ∨ ∨ 0
[A]m×m = (tri diagonal
∨ ∨ ∨
Operation
Determinants 0 matrix)
Vectors 0 0 ∨ ∨ m×m
∨ 0 0 0
(lower tri
∨ ∨ 0 0
[A]m×m = diagonal
∨ ∨ ∨ 0
matrix)
∨ ∨ ∨ m×m
0
Ir. Muhamad Kusni, M.T
Addition/Subtraction
Linear Algebra Addition / subtraction of each element which same position
Introduction
Example
Matrices
Add/Subs
3 2 1
[A]= [B ]= 3 2
4
Transpose 4 5 1 2×3 1 0 − 1 2×3
Scalar Multiple
Matrix Multiple
[C ]= [A]2×3 + [B]2×3 [C ] = [A]2×3 − [B]2×3
Determinants 3 + 3 2 + 4 1+ 2 3 − 3 2 − 4 1 − 2
= =
4 +1 5 + 0 1 − 1 4 − 1 5 − 0 1 − (−1)
Vectors
6 6 3 0 − 2 − 1
= =
5 5 0 3 5 2
Operation
Add/Subs
−1 2 5
=
3 −2 4 2× 3
Add/Subs
1 2 3
Transpose
Symmetric [A ] × = 2 4 5
3 3
Skew-Symmetric
Scalar Multiple 3 5 6
Matrix Multiple
1 2 3
Determinants
Vectors
[A ]T × = 2 4 5 = [A ]
3 3
3 5 6
Operation • Example:
Add/Subs
1 2 3
Transpose
Symmetric [A]3×3 = −2 4 5
Skew-Symmetric −3 − 5 6
Scalar Multiple 3×3
Matrix Multiple a12 = −a21
Determinants
Vectors
a13 = −a31
a23 = −a32
[A+ B]T = [A]T +[B]T
Ir. Muhamad Kusni, M.T
Scalar Multiplication
Linear Algebra
Introduction
[B]m×n = k [A]m×n
K is scalar/ constantan
Matrices
Calculation
Bij = k Aij
Operation
Example:
Add/Subs
Transpose
Transpose Example:
Scalar Multiple
Matrix Multiple
1 4
−1 3
Determinants
Vectors
[A]3× 2 = 2 5 [B ]2 × 2 =
3 6 − 2 4 2× 2
3× 2
Matrices
Calculation 1 4
Operation − 1 3
= 2 5
3 6 − 2 4
Add/Subs
Transpose
Scalar Multiple
1(− 1)+ 4(− 2) 1(3)+ 4(4) not exist
= 2(− 1)+ 5(− 2) 2(3)+ 5(4)
Matrix Multiple
Determinants
3(− 1)+ 6(− 2 ) 3(3)+ 6(4 )
Vectors
3×2
− 9 19
= − 12 26
− 15 33
3×2
Operation
Add/Subs
Transpose
Scalar Multiple
Pre multiply by [A]
Matrix Multiple
Post multiply by [B]
Determinants
Vectors
Vectors
Ø Cramer’s rules
Ø Minor and cofactor
JORDAN
Ø Determinants of singular matrix
Ø Determinants and linear independents
Ø Properties of determinants
CARTESIUS
Ø Determinant of a Product of a
Matrices
Ø Derivative of a determinant
Ø Inverse
Determinants
• Although impractical in
Introduction
computations, determinants have CORIOLIS
Order important engineering
Crame’s rule applications in eigenvalues
Minor & Cofactor problems, differential equations,
Singular vector algebra (vector products,
Linear Independent scalar triple product, and so on).
Properties
• An nth-order determinant is an
Product of Matrices
expression associated with an n x
Derivative
n (hence square)
matrix A= [a jk ] as we now explain,
Inverse
Vectors
beginning with n = 2.
MARKOV
Ir. Muhamad Kusni, M.T
Order of Determinants
Linear Algebra
a11 a12
Introduction
Ø Second-order det A =
Matrices a 21 a 22
Determinants determinants
Introduction
Order 1 4 7
det [A ] × = 2
Crame’s rule
Properties
Product of Matrices
Derivative
Ø Fourth-order 1 5 4 8
2 6 3 7
Inverse
Ø determinants det [A ] =
Vectors 3 7 2 6
4 8 1 5
Order
So here we have bars (whereas a matrix has brackets).
Crame’s rule
For example:
Minor & Cofactor
Singular 4 3
= 4 .5 − 3.2 = 14.
Linear Independent
2 5
Properties
Inverse a21 x1 + a 22 x2 = b2
Vectors
Whose solution can be written x1 = D1 / D, x2 = D2 / D
Matrices If 4 x1 + 3 x2 = 12 (*)
2 x1 + 5 x2 = −8,
Determinants
Introduction
Order
Then
Crame’s rule
4 3 12 3 4 12
D= = 14, D1 = = 84, D2 = −56,
Minor & Cofactor
Singular 2 5 −8 5 2 −8
Linear Independent
x1 = 84 / 14 = 6 x 2 = −56 / 14 = −4.
Properties
So that and
Product of Matrices
Derivative
Inverse
If the system (*) is homogeneous (b1 = b2 = 0) and D ≠ 0, it has
Vectors only the trivial solution and if D = 0, it also has nontrivial solutions.
Crame’s rule Row I = (− 1)1+1 a11 A11 + (− 1)1+ 2 a12 A12 + (− 1)1+ 3 a13 A13
Coulumn I = (− 1) a11 A11 + (− 1) a21 A21 + (− 1) a31 A31
Minor & Cofactor 1+1 2+1 3+1
Singular
= ∑ (− 1) aij Aij
Properties i+ j
Product of Matrices
Derivative
Inverse
Aij : matrix minor dari [A]nxn yang diperoleh dengan menghilangkan
Vectors
row ke-i dan column ke-j
Matrices
+ − +
Determinants 1 4 7
Introduction det [A]3×3 = 2 5 8
Order 3 6 9
Crame’s rule
det [A]= 0
Inverse
Vectors
Matrices
+ − + −
Determinants 1 5 4 8
Introduction
Order
[A] = 2 6 3 7
3 7 2 6
Crame’s rule
4 8 1 5
Minor & Cofactor
Singular 2 3 7 1 4 8 1 4 8 1 4 8
= −5 3 2 6 + 6 3 2 6 − 7 2 3 7 + 8 2 3 7
Linear Independent
Properties
Product of Matrices 4 1 5 4 1 5 3 2 6 3 2 6
Derivative
Inverse
Vectors
Determinants a 21 x1 + a 23 x 2 + a 23 x 3 = b2
Introduction
a31 x1 + a 32 x 2 + a33 x 3 = b3
Order
Derivative
b1 a12 a13 a11 b1 a13 a11 a12 b1
Inverse
Vectors D1 = b2 a 22 a 23 , D2 = a 21 b2 a 23 , D3 = a 21 a23 b2 .
b3 a32 a33 a31 b3 a33 a31 a33 b3
Ir. Muhamad Kusni, M.T
Minor and Cofactor of a Third-Order
Determinant
Determinants
a 21 a 22 a 23
Introduction a31 a 32 a33
Order
The minors are
Crame’s rule
a22 a23 a a 23 a 21 a 22
Minor & Cofactor
M 11 = , M 12 = 21 , M 13 = ,
Singular a32 a33 a31 a 33 a31 a32
Linear Independent
a12 a13 a11 a13 a11 a12
Properties
M 21 = , M 22 = , M 23 = ,
Product of Matrices a 32 a33 a 31 a 33 a 31 a32
Derivative
a12 a13 a11 a13 a11 a12
Inverse M 31 = , M 32 = , M 33 = ,
a 22 a 23 a 21 a 23 a 21 a 22
Vectors
Linear Algebra
The Cofactors are
Introduction
Matrices
Order
C 21 = − M 21 , C 22 = + M 22 , C 23 = −M 23 ,
Crame’s rule
C 31 = + M 31 , C 32 = − M 32 , C 33 = + M 33 .
Minor & Cofactor
Singular
Hence the signs from a checkerboard pattern:
+−+
Linear Independent
Properties
Product of Matrices
Derivative
Inverse
−+−
Vectors
+−+
Ir. Muhamad Kusni, M.T
Determinant of Singular Matrix
Linear Algebra
• The determinant of any triangular matrix equals
Introduction
Matrices
the product of all the entries on the main
Determinants
diagonal. For instance,
Introduction
Order −3 0 0
4 0
6 4 0 = −3 = −3.4.5 = −60.
Crame’s rule
Properties
Product of Matrices
Derivative
Inverse
Vectors
[A]n×n = a 21 a2n
Determinants
M M
Introduction
a n1 an2 L a nn n× n
Order
[A]= 1 3
Matrices
Determinants
Introduction 2 4
Order
Crame’s rule
Row 1 = (1 3)
Row 2 = (2 4)
Minor & Cofactor
Singular
Matrices
2c1 + 4c 2 = 0 ⇒ c1 = −2c 2
Determinants c 2 = 0 → c1 = 0
Introduction
Linear Independent
Properties
Product of Matrices
Derivative
Inverse
Vectors
Matrices
Determinants
1 2 4
Introduction [A]= 3 7 8
Order
− 2 − 4 −8
Crame’s rule
Singular First row multiplied (-2) is equal to third row, hence first row and
Linear Independent
third row is linear dependent. So that det[A] = 0.
Properties
Product of Matrices
Derivative
Inverse
Vectors
Matrices • Transpose
Determinants • Interchange of row or column
Introduction
Order
• Proportional row or column
Crame’s rule • Multiplication by a constants
Minor & Cofactor
Singular
• Binomial
Linear Independent • Addition of a row or column
Properties
• Evaluation of a determinant by reduction to
Product of Matrices
Derivative
“triangular form”
Inverse
Vectors
Introduction
1. If all element in one row / column is equal to zero,
Matrices
Determinants
hence det[A] is equal to zero.
Introduction
Order
Crame’s rule 0 0 0
Minor & Cofactor [ ] =
det A 3 2 1 0 =
2 1
− 0
3 1
+ 0
2 3
Singular
5 6 4 6 4 5
4 5 6
det[A]= 0
Linear Independent
Properties
Product of Matrices
Derivative
Inverse
Vectors
Determinants
Introduction
Order
[ ] = [
det A det A ]T
Crame’s rule
1 3 0 1 2 −1
Minor & Cofactor
Singular
Linear Independent
Properties
2 6 4 = 3 6 0 = −12.
Product of Matrices −1 0 2 0 4 2
Derivative
Inverse
Vectors
Introduction
Order
[A]= 1 2
A = 1 ⋅ 4 − 3 ⋅ 2 = −2
3 4 2×2
Crame’s rule
3 4
[B ]=
Minor & Cofactor
Singular
B = 3 ⋅ 2 − 1 ⋅ 4 = +2 = − A
Linear Independent
1 2
Properties (row 1 interchanged by row 2)
Product of Matrices
[C ] = 21
Derivative
Inverse C = 2 ⋅ 3 − 4 ⋅1 = 2 = − A
Vectors
4 3
(column 1 interchanged by column 2)
Ir. Muhamad Kusni, M.T
Proportion Row or Column
Linear Algebra 4. If corresponding entries in two rows (or two columns) of
Introduction a determinant are proportional, the value of the
Matrices determinant is zero.
Determinants or
Introduction If there two column / row is not be linear independent,
Order hence the determinant is zero
Crame’s rule
1 2 3
Minor & Cofactor
Singular [A]= 4 5 6 row 1 and row 3 not linear
Linear Independent − 2 − 4 − 6 independent
row 3 = -2 x row 1
Properties
Product of Matrices
5 6 4 6 4 5
Derivative A =1 −2 +3
Inverse
−4 −6 −2 −6 −2 −4
Vectors = 1( −30 + 24 ) − 2( −24 + 12 ) + 3(− 16 + 10 )
= −6 + 24 − 18 = 0
Ir. Muhamad Kusni, M.T
Multiplication by a Constants
Linear Algebra 5. If all the entries one row (or one column) of a determinant
Introduction are multiplied by the same factor k, the value of the new
Matrices determinant is k times the value of the given determinant.
Determinants
Introduction
Order
[A]= 12
A = 4 − 6 = −2
3 4
Crame’s rule
[C ]= 2
2
Derivative
Inverse
Vectors
6 4 column 1 multiply by 2
C = 8 − 12 = −4
Introduction
3 1 2 +1 1
[A]=
Order
Crame’s rule A=
Minor & Cofactor
2 4 2×2 4−2 4
Singular
2 1 1 1
Linear Independent
A = 12 − 2 = 10 = +
Properties 4 4 −2 4
= 8−4+ 4+2
Product of Matrices
Derivative
Inverse = 4+6
Vectors
= 10
Order
A = 10
2 4
Crame’s rule
Properties
2 4 = 10 = A
Product of Matrices
Derivative
3 + ( − 4 ⋅ 1) 1
Inverse
[C ] = column 1+ (-4) x column 2
+ − ⋅
2 ( 4 4) 4
Vectors
−1 1 C = −4 + 14
[C ]
=
= 10 = A
− 14 4
Ir. Muhamad Kusni, M.T
Evaluation of a Determinant by Reduction to
“Triangular Form”
Linear Algebra
Theorem 7 shows that we can evaluate a determinant
Introduction
by first creating zeros as in the Gauss elimination. We
Matrices
explain it in term of an example.
Determinants
Introduction
Order
2 0 −4 6
Crame’s rule 4 5 1 0 − 2 Row1
D =
Minor & Cofactor
0 2 6 −1
Singular
Linear Independent
−3 8 9 1 + 1.5Row1
Properties
Product of Matrices
2 0 −4 6
Derivative
0 5 9 − 12
Inverse
=
Vectors 0 2 6 − 1 − 0.4 Row2
Continued
0 8 3 10 − 1.6 Row2 next page
Ir. Muhamad Kusni, M.T
Evaluation of a Determinant by Reduction to
“Triangular Form”
Linear Algebra
Introduction 2 0 −4 6
Matrices
0 5 9 − 12
Determinants =
Introduction
0 0 2.4 3.8
Order 0 0 − 11.4 29 .2 4 − 4.75 Row3
Crame’s rule
2 0 −4
Minor & Cofactor
6
Singular
0 5 9 − 12
=
Linear Independent
Properties
0 0 2. 4 3.8
Product of Matrices
Derivative
0 0 0 47.25
Inverse
Vectors
= 2 x 5 x 2.4 x 47 .25 = 1134
Introduction
For any n x n matrices A and B,
Matrices
Determinants
Introduction
Det (AB) = det (BA) = detA.det B.
Order
Crame’s rule
Linear Independent
Properties
2 4 3 4 0 5 9 4 18
14 − 2 − 1 = 46
Product of Matrices
Derivative
6 10 1 10 76
Inverse
Vectors
4 7 9 3 0 4 29 7 49
Determinants
Introduction
D' = D(1) + D( 2 ) + ... + D( n )
Order
Introduction
• Introduction
Matrices • Theorem: Existence of The Inverse
Determinants
Crame’s rule
– Gauss Jordan elimination
Minor & Cofactor
– Some useful formulas of the inverse
Singular
Product of Matrices
• Theorem: Cancellation Law
Derivative
Inverse
Vectors
Introduction
• In this section we consider exclusively
Matrices square matrices.
Determinants
Introduction
• The inverse of an n x n matrix A = [ajk ]
Order
Crame’s rule
is denoted by A −1
Minor & Cofactor
Singular
and is n x n matrix such that
−1 −1
AA = A A = I
Linear Independent
Properties
Product of Matrices
Vectors
Matrices
nonsingular matrix.
Determinants • If A has no inverse, then A is called a singular
Introduction matrix.
Order
Crame’s rule
• If A has an inverse, the inverse is unique.
Minor & Cofactor • We prove next that A has an inverse (is
Singular
nonsingular) if only if it has maximum
Linear Independent
possible rank n.
Properties
Product of Matrices
Derivative
Inverse
Vectors
Introduction
Matrices
Singular
• Hence A is non singular if rank A = n, and is
Linear Independent singular if rank A < n.
Properties
Product of Matrices
Derivative
Inverse
Vectors
Introduction
Find the inverse A −1 of
− 1 1 2
Matrices
Determinants
Introduction
A = 3 − 1 1
Order
Crame’s rule
− 1 3 4
Minor & Cofactor
Singular
Linear Independent
Solution. We apply the Gauss elimination
Properties
Product of Matrices
− 1 1 2 1 0 0
Derivative [A I] = −
Inverse 3 1 1 0 1 0 Row 2 + 3 Row 1
Vectors − 1 3 4 0 0 1 Row 3 +(-1) Row 1
Introduction
Matrices
− 1 1 2 1 0 0
Determinants
Introduction
0 2 7 3 1 0
Order
Crame’s rule
0 2 2 − 1 0 1 Row 3 + (-1) Row 2
Minor & Cofactor
Singular
Linear Independent
Properties − 1 1 2 1 0 0 -Row 1
Product of Matrices
Derivative 0 2 7 3 1 0 0.5 Row 2
Inverse 0 0 − 5 − 4 − 1 1 -0.2 Row 3
Vectors
Introduction
Order
1 0 0 − 0.7 0.3
Product of Matrices
Derivative
0.2
Inverse
0 1 0 − 1.3 − 0.2 0.7
Vectors
0 0 1 0.8 0.2 − 0.2
Ir. Muhamad Kusni, M.T
Gauss-Jordan Elimination
−1
Linear Algebra The last three columns constitute A
Introduction
Matrices
Check :
Determinants
Singular
−1
Linear Independent
Hence AA =I
Properties
Product of Matrices
Derivative
> The inverse of the inverse is the given matrix A:
Inverse
−1 −1
Vectors (A ) =A
Crame’s rule
Matrices
Properties
− 0.5 0 0 − 2 0 0
= 0 0.25 0
Product of Matrices
Derivative A= 0 4 0 A −1
0 0 1
Inverse
Vectors
0 0 1
Matrices
by inverting each factor separately and
Determinants
multiplying the result in reverse order
Introduction
Order
Crame’s rule ( AC )
−1
= C −1 A −1 .
Minor & Cofactor
Singular
Linear Independent
• Product of more than two matrices
Properties
−1 −1 −1 −1 −1
Product of Matrices
( AC ...PQ ) = Q P ...C A .
Derivative
Inverse
Vectors
Crame’s rule
n and rank B < n.
Minor & Cofactor • If A is singular, so are AB and BA
Singular
Linear Independent
Properties
Product of Matrices
Derivative
Inverse
Vectors
Introduction
• Equality of Vector
Operation • Unit Vector
Linear Combination
Linear Independent
• Component of Vector
Coord. Transform
Grad. Scalar
Direct. Derrivative
Normal Vector
Div. Vector
Div (Grad φ)
Curl of Vector
Matrices
applications we use two kinds of quantities,
Determinants
scalar and vectors.
Vectors • Scalar: quantity that is determined by its
Introduction
magnitude. For instance, length temperature,
Operation
Linear Combination
voltage, density, etc.
Linear Independent • Vector: quantity that is determined by both its
Coord. Transform
magnitude and its direction. For instance, force,
Grad. Scalar
velocity, acceleration, etc.
Direct. Derrivative
Normal Vector
Div. Vector
Div (Grad φ)
Curl of Vector
Matrices
Z Cartesius
Determinants
Q(d,e,f)
Vectors
P=initial point
Introduction
Coord. Transform y
Grad. Scalar
• We denote vector by
r
Direct. Derrivative
Normal Vector
r
Div. Vector A, A , A, a, a , a
Div (Grad φ)
Introduction
Ax component of Vector A in x-direction
Matrices
Determinants
Ay component of Vector A in y-direction
Vectors
Introduction
Operation
Az component of Vector A in z-direction
Linear Combination
Linear Independent
Direct. Derrivative
and is denoted by A
Normal Vector
Div. Vector
Div (Grad φ)
Curl of Vector
Matrices
Determinants
Az
Z
Vectors
Introduction
Operation
Linear Combination A Q
Linear Independent
Coord. Transform
Ax
Grad. Scalar
Direct. Derrivative Ay P X
Normal Vector
Div. Vector
Y
Div (Grad φ)
Matrices
direction coefficient of that vector to x,y,z axis.
Determinants
Vectors Z
Introduction
Operation
Linear Combination
γ A
Linear Independent
Coord. Transform
β α
Grad. Scalar
Direct. Derrivative X
Normal Vector
Y
Div. Vector
Div (Grad φ)
Direction of Vector A is expressed by ( l, m, n )
Curl of Vector
Introduction
l = Cos α
Matrices α is an angle between vector A with x-axis
Determinants
Vectors
Ax Ax
Introduction = =
Operation A Ax2 + Ay2 + Az2
Linear Combination
Linear Independent
Coord. Transform
Grad. Scalar
m = cos β
Direct. Derrivative
β is an angle between vector
Normal Vector A with y-axis
Div. Vector
Ay Ay
Div (Grad φ) = =
Curl of Vector
A Ax2 + A y2 + Az2
Ir. Muhamad Kusni, M.T
Direction of Vector
Linear Algebra
n = Cosγ
Introduction
Vectors
Az Az
Introduction
= =
Ax2 + A y2 + Az2
Operation
Linear Combination
A
Linear Independent
Coord. Transform
Grad. Scalar
Direct. Derrivative
Two vector A and B is same, if and only if:
A= B
Normal Vector
Div. Vector
Div (Grad φ)
Normal Vector
Ax = B x ; A y = B y ; Az = B z
Div. Vector
Div (Grad φ)
Two vectors are equal, if and only if they have the
Curl of Vector
same length and the same direction.
Ir. Muhamad Kusni, M.T
Unit Vector
Linear Algebra A vector of length 1 is called a unit vector
Introduction
Matrices z
A = a unit vector, if
Determinants
Vectors
Introduction
k
Operation
Linear Combination
i x A =1= Ax2 + Ay2 + Az2
Linear Independent
j
Coord. Transform
Grad. Scalar y
Direct. Derrivative
Normal Vector
a unit vector at x-direction= i
Div. Vector a unit vector at y-direction = j
Div (Grad φ) a unit vector at z-direction = k
Curl of Vector
Determinants
Vectors
can be written A = Ax i + A y j + Az k
Introduction
Operation
Example :
Linear Combination
Linear Independent
A = 3i − 4 j + k
Coord. Transform
Normal Vector
Div. Vector
Div (Grad φ)
Curl of Vector
Vectors
• Scalar multiplication
Introduction – Basic properties of scalar multiplication
Operation • Inner Product (dot product)
Linear Combination
– Ortogonality
Linear Independent
– Length in term of inner product
Coord. Transform
– Properties of inner product
Grad. Scalar
– Application of inner product
Direct. Derrivative
Introduction A = ( Ax , Ay , Az ) B = ( Bx , B y , Bz )
Matrices
C x = Ax + Bx
Determinants
Vectors A+ B = C
= C xi + C y j + C z k C y = Ay + B y
Introduction
Operation
C z = Az + B z
Linear Combination
Linear Independent
Coord. Transform
Grad. Scalar
Direct. Derrivative
A− B = D D x = Ax − B x
Normal Vector = Dx i + D y j + Dz k D y = Ay − B y
Div. Vector
Div (Grad φ)
D z = Az − B z
Curl of Vector
Matrices A+ B = B + A
Determinants
Assosiativity
Vectors
Introduction (A+B) +C = A + ( B +C )
Operation
Linear Combination
Grad. Scalar
Direct. Derrivative
A+0 = 0+ A = A
Normal Vector
Div. Vector
Div (Grad φ)
Curl of Vector
Matrices B = B xi + B yj Y
Determinants
Vectors
Y
Introduction
Operation
Linear Combination X
Linear Independent
Coord. Transform J
Grad. Scalar I X
Direct. Derrivative
Normal Vector D = A− B
Div. Vector
Div (Grad φ) C = A+ B = A + (− B)
Curl of Vector
Determinants
B = a.A = a( Axi + Ay j + Azk) = (aAx )i + (aAy ) j + (aAx )k
Vectors
Introduction
Operation
vector with modulus B = a A and with direction = direction A
Linear Combination
Linear Independent
Curl of Vector
Linear Algebra
• c(A+B)=cA+cB
Introduction
Matrices • (c+k)A=cA+kA
Determinants • c(kA)=(ck)A
Vectors
Introduction
• 1A=A
Operation • 0A=0
Linear Combination
Linear Independent
• (-1)A=-A
Coord. Transform
Grad. Scalar
Direct. Derrivative
Normal Vector
Div. Vector
Div (Grad φ)
Curl of Vector
Matrices
Determinants
A = Axi + Ay j + Az k
Vectors
Introduction
B = Bx i + B y j + B z k
Operation
Grad. Scalar
Direct. Derrivative
A.B = A . B cos α AB (smallest angle between ve ctor A and B )
Normal Vector
Div. Vector
A.B = B. A
A.B
Div (Grad φ) Cos α AB =
Curl of Vector
A. B
Determinants
Operation
A = 32 + ( −4) 2 + 52 B = 12 + 2 2 + 32
Linear Combination
Linear Independent = 50 = 1 + 4 + 9 = 14
Coord. Transform
Div. Vector
1
Div (Grad φ) α AB = arc Cos
Curl of Vector 7
Matrices
A.B=0. Then B is also orthogonal to A and we
Determinants
call these vectors orthogonal vectors.
Vectors • Clearly, the zero vector is orthogonal to every
Introduction
vector.
Operation
Div (Grad φ)
if and only if these vectors are perpendicular.
Curl of Vector
Vectors
EXAMPLE :
Introduction
Inner product. Angle between vectors
Operation
Find the inner product and the lengths of A = [ 1, 2, 0 ] and
Linear Combination
B = [ 3, -2, 1 ] as well as the angle between these vectors.
Linear Independent Solution
Coord. Transform
A • B = 1⋅ 3 + 2 ⋅ ( −2) + 0 ⋅1 = −1,
Grad. Scalar
Direct. Derrivative A = A • A = 5,
And the angle
Normal Vector
B = B • B = 14,
Div. Vector a •a
γ = arc cos = arc cos(−0.11952 )
Div (Grad φ)
ab
Curl of Vector
= 1.69061 = 96. 865°.
Ir. Muhamad Kusni, M.T
Properties of Dot Product
Linear Algebra
[q1 A + q2 B] • C = q1 A • C + q2 B • C (Linearity)
Introduction
A• B = B• A
Matrices
(Symmetry)
Determinants
Vectors
A• A ≥ 0 (Positive-definiteness)
Introduction
Operation
( A + B) • C = A • C + B • C (Distributivity)
Linear Combination
A• B ≤ A B
Linear Independent
Coord. Transform
(Schwarz inequality)
Grad. Scalar
Direct. Derrivative
A+ B ≤ A + B (Triangle inequlity)
Normal Vector
A+ B + A− B +B
2 2 2 2
Div (Grad φ)
Curl of Vector
Introduction
W = a d cosα = a • d,
Operation
• Orthogonal Straight lines in the plane
Linear Combination
Find the straight line L1 through the point P: (1,3) in the
Linear Independent xy- plane and perpendicular to the line:
L2 : x − 2 y + 2 = 0;
Coord. Transform
Grad. Scalar
Answer . y = −2 x + 5
Direct. Derrivative
Matrices
product of two vectors, but there are other
Determinants applications that suggest another
Vectors
multiplication, “cross multiplication” that
Introduction
Operation
again gives a vector as the product of two
Linear Combination vectors in three-space.
Linear Independent
Coord. Transform
Grad. Scalar
Direct. Derrivative
Normal Vector
Div. Vector
Div (Grad φ)
Curl of Vector
Introduction
A = Ax i + Ay j + Az k B = B x i + B y j + Bz k
Matrices
Determinants
Vectors
Introduction
C=AxB
Operation
Linear Combination
Vector Cross product
Linear Independent
Coord. Transform
Grad. Scalar
i j k
Direct. Derrivative
Normal Vector C = Ax B = Ax Ay Az
Div. Vector
Bx By Bz
Div (Grad φ)
Curl of Vector
Introduction
i j k
Ay Az Ax Az Ax Ay
Matrices C = Ax B = Ax Ay Az = i −j +k
Determinants
By Bz Bx Bz Bx By
Bx By Bz
Vectors
Introduction = ( Ay B z − Az B y )i − ( Ax Bz − Bx Az ) j + ( Ax B y − B x Ay )k
Operation
Linear Combination
Grad. Scalar
Which is the area of the parallelogram.
Direct. Derrivative
Matrices
• It is distributive with respect to vector addition, that is
Determinants A x (B + C) =(A x B) + (A x C),
Vectors (A+ B) x C = (A x C) + (B x C).
Introduction
• It is not commutative but anticommutative, that is,
Operation
Direct. Derrivative
Normal Vector
Div. Vector
Div (Grad φ)
Curl of Vector
Matrices
Determinants
Vectors
Introduction
Operation
Linear Combination
Linear Independent
Coord. Transform
Grad. Scalar
Direct. Derrivative
Normal Vector
Div. Vector
Div (Grad φ)
Curl of Vector
b
Introduction
Matrices
Example:
Determinants
Vectors
A = i + j + 2k
Introduction
a
Operation B = 3i − 2 j − 2k
Linear Combination
bxa
Linear Independent
Coord. Transform
i j k
Grad. Scalar C = Ax B = 1 1 2 = 2i + 8 j − 5k
Direct. Derrivative
3 −2 −2
Normal Vector
Div. Vector i j k
Div (Grad φ)
D = Ax B = 3 − 2 − 2 = −2i − 8 j + 5 = −1( Ax B).
Curl of Vector
1 1 2
Ir. Muhamad Kusni, M.T
Linear Combination
Linear Algebra A Linear Combinatio n of vectors A1 ,......... , Am
Introduction
Matrices
in a vector space V is an expression
Determinants
c1 A1 + c2 A2 + .................... + cm Am
Vectors
Linear Combination
Example :
Linear Independent A1 = 3i + 2 j + 4k
Coord. Transform
Grad. Scalar A2 = −i − j − k
Direct. Derrivative
Normal Vector
Linear Combination of A1 dan A2 ditulis :
Div. Vector
Matrices
Determinants
c1 A1 + c2 A2 + .......... .......... + cm Am = 0
Vectors
implies that
Introduction
c1 = 0,............, cm = 0
Operation
Linear Combination
Linear Independent
Direct. Derrivative
Normal Vector
Div. Vector
Div (Grad φ)
Curl of Vector
a A + bB = 0
Determinants
Vectors
implies that a=b=0
Introduction
Linear Independent
Coord. Transform a A + bB = 0
Grad. Scalar
Direct. Derrivative
hence vectors A dan B are linear dependent
Normal Vector
Div. Vector
Div (Grad φ)
Curl of Vector
Operation
3 −1 0
a
Linear Combination 2a − b = 0 → 2 − 1 = 0
b
Linear Independent 4 − 1 0
4a − b = 0
Coord. Transform
Grad. Scalar
Direct. Derrivative 3a = b
Normal Vector =
2a b a=b=0
4a = b
Div. Vector
Div (Grad φ)
Curl of Vector
So those vectors are linear independent
Ir. Muhamad Kusni, M.T
Coordinate Transformation
Linear Algebra
Introduction
Introduction z1
Operation
Linear Combination
x1
Linear Independent
Coord. Transform
Grad. Scalar
Direct. Derrivative
x
Normal Vector
Div. Vector
y
Div (Grad φ) y1
Curl of Vector
Vectors
∅ A1x cos ∅ − sin∅ Ax
1 =
A y sin ∅ cos ∅ A y
Introduction
A1y
Operation
Linear Combination
A
Linear Independent Ay [T ]= modulus transformation
{A}= [T ]{A }
Coord. Transform
Grad. Scalar 1
Ax X A
Direct. Derrivative
Normal Vector
∅
Div. Vector 1 1
A X
Div (Grad φ) x
Curl of Vector
Introduction
Curl of Vector
Introduction
Matrices
A = Axi + Ay j + Az k
Determinants
Vectors
= A1xi1 + A1y j1 + A1z k 1
Introduction
Operation
Linear Combination
Linear Independent
Direct. Derrivative
a23 Ay
A1 a a33 Az
x 31 a32
Normal Vector
Div. Vector
Div (Grad φ)
Curl of Vector
Introduction
x y z
Matrices
Linear Combination
z1 a31 a32 a33
Linear Independent
Coord. Transform
Grad. Scalar
Div. Vector
a21 = cosinus angle between y1 - axis with x axis
Div (Grad φ) etc
Curl of Vector
Matrices
Coordinate system of x z y turned around to z-axis
Determinants
equal to 600 clockwise.
Vectors
Determine component of A in new co-ordinate
Introduction
Operation
system.
Linear Combination Z a 11 = cos( x 1 , x ) = cos 60 ° = 1 / 2
Linear Independent
Coord. Transform
60 a 12 = cos( x 1 , y ) = cos( − 30 ° )
Grad. Scalar
1
Direct. Derrivative
y 1 = + cos 30 ° = 3
X 2
Normal Vector
Div. Vector
a 13 = cos( y . z ) = cos 90 = 0
1. 0
Div (Grad φ)
1
Curl of Vector Y X
Matrices
a 21 = cos( y 1 . x ) = cos( − 210 ° )
Determinants
Operation a 22 = ( y 1 . y ) = cos 60 ° = 1 / 2
Linear Combination
Linear Independent
a 23 = cos( y 1 z ) = cos 90 ° = 0
Coord. Transform
Grad. Scalar
Curl of Vector
Operation
A1x 1 / 2 1 / 2 3 0 2
1
Linear Combination
A y = − 1 / 2 3 1/ 2 0 2
Linear Independent
A1 0 2
Coord. Transform z 0 1
Grad. Scalar
Direct. Derrivative
A 1x = 1 / 2 . 2 + 1 / 2 3 . 2 + 0 . 2 = 1 + 3
Normal Vector
Div. Vector A 1y = ( − 1 / 2 3 ). 2 + 1 / 2 . 2 + 0 . 2 = 3
Div (Grad φ)
Curl of Vector A 1z = 0 . 2 + 0 . 2 + 1 .2 = 2
Ir. Muhamad Kusni, M.T
Coordinate Transformation
(Three Dimension Case )
Linear Algebra
Introduction
Matrices A 1x = 1 / 2 . 2 + 1 / 2 3 . 2 + 0 . 2 = 1 + 3
Determinants
Vectors
A 1y = ( − 1 / 2 3 ). 2 + 1 / 2 . 2 + 0 . 2 = 3
Introduction
A 1z = 0 . 2 + 0 . 2 + 1 . 2 = 2
Operation
Linear Combination
Linear Independent
A = 2i + 2 j + 2k
Coord. Transform
Grad. Scalar
Direct. Derrivative
= (1 + 3 )i1 + (1 − 3 ) j 1 + 2 k 1
Normal Vector
Div. Vector
Div (Grad φ)
Curl of Vector
Introduction
accomplished by the “gradient”.
Operation • For a given scalar function φ (x,y,z) the gradient grad
Linear Combination φ is the vector function defined by
Linear Independent
∂φ ∂φ ∂φ
Coord. Transform
Gradien φ = i+ y k vector
Grad. Scalar ∂x ∂y ∂z
Direct. Derrivative
∂ ∂ ∂
Normal Vector Grad φ = ( i + j + k )φ
Div. Vector
∂x ∂y ∂z
Div (Grad φ) = ∇φ
Curl of Vector
operator diferential
Ir. Muhamad Kusni, M.T
Gradient of Scalar Field
Linear Algebra
Introduction
Example :
φ = x2 y + z 3 + 3
Matrices
Determinants
Vectors
Introduction ∂φ ∂φ ∂φ
Operation = 2 xy = x 2
= 3x2
Linear Combination
∂x ∂y ∂z
Linear Independent
Coord. Transform ∂φ ∂φ ∂φ
Grad φ = i+ y k
Grad. Scalar
∂x ∂y ∂z
Direct. Derrivative
Normal Vector
Curl of Vector
Determinants φ ( xyz) = 0
Vectors
∂φ ∂φ ∂φ
Introduction
dφ = dx + dy + dz
Operation ∂x ∂y ∂z
Linear Combination
∂φ ∂φ ∂φ
Linear Independent
=( i+ j+ k ).(dxi + dyj + dzk )
Coord. Transform ∂x ∂y ∂z
Grad. Scalar
Direct. Derrivative
∇φ . ds
Normal Vector
Curl of Vector
Vectors
Vector satuan dalam arah s
Introduction
Operation Grad .φ
Linear Combination
Grad. Scalar
s = xi + yj + zk
Direct. Derrivative
Normal Vector
Div. Vector
Div (Grad φ)
Curl of Vector
Matrices
Find the directional derivative of φ (x,y,z)= 2x2 + y2 - z2 at the
Determinants
point A (2,1,3 ) in the direction of the vector s = i − 2 j
Vectors
Introduction
Solution :
Operation
Linear Combination
dφ s
Linear Independent
s = ∇φ .
Coord. Transform
ds s
Grad. Scalar
Direct. Derrivative
Normal Vector
s
Div. Vector = es = Vector satuan dalam arah
Div (Grad φ) s
Curl of Vector
∇φ = 8i + 2 j − 6k . dφ 1 2
Operation
2,1, 3 = (8i + 2 j − 6 k ).( i− k)
Linear Combination
ds 5 5
Linear Independent
s = sx2 + s 2y + s z2 1 −2
Coord. Transform = 8. + 2. − 6 .0
Grad. Scalar = 12 + ( −2) 2 + 02 5 5
Direct. Derrivative 8 4
= 5 = −
Normal Vector
5 5
Div. Vector
s 4
Div (Grad φ)
es = =
5
Curl of Vector
s
Ir. Muhamad Kusni, M.T
Normal Vector (n)
Introduction
Linear Combination
Linear Independent
Coord. Transform
Grad. Scalar
Direct. Derrivative
Normal Vector
• The surface S with various values of c are called
Div. Vector
Div (Grad φ)
the level surface of the scalar function
Curl of Vector
Matrices
diferensiabel dan P adalah satu titik pada
Determinants permukaan φ (x,y,z)=0 (nol) maka ∇φ pada titik P
Vectors mempunyai arah tegak lurus permukaan di titik
Introduction tersebut .
Operation
Linear Combination
• Vector normal satuan = n
Linear Independent
∇φ
n=
Coord. Transform
Grad. Scalar
∇φ
Direct. Derrivative
Normal Vector
Div. Vector
Vector normal satuan di titik P pada
Div (Grad φ)
permukaan φ (x,y,z) = 0
Curl of Vector
Determinants
z2 = 4(x2+y2) at the point P:(1,0,2).
Vectors • Solution :
Introduction
φ ( xyz ) = 4( x 2 + y 2 ) − z 2 ∇φ = 82 + 02 + (−4)2
Operation
Linear Combination = 4x 2 + 4 y 2 − z 2 = 64 + 16
Linear Independent
∂φ ∂φ ∂φ = 80
Coord. Transform ∇φ = i+ j+ k
Grad. Scalar
∂x ∂y ∂z
Direct. Derrivative = 8xi + 8 yj − 2 zk ∇φ = 4 5
Normal Vector
Div. Vector
∇φ 1, 0, 2 = 8.1i + 8.0. j − 2.2k
Div (Grad φ)
Curl of Vector ∇φ = 8i − 4k
Ir. Muhamad Kusni, M.T
Normal Vector (n)
Linear Algebra
Introduction ∇φ
Matrices n=
Determinants ∇φ
Vectors
Introduction 8i − 4k
Operation =
Linear Combination 4 5
Linear Independent
8 4
Coord. Transform
= i− k
Grad. Scalar
Direct. Derrivative
4 5 4 5
Normal Vector
2 1
Div. Vector n= i− k
Div (Grad φ) 5 5
Curl of Vector
Matrices defined by :
Determinants
Vectors
div A = ∇. A
Introduction
Coord. Transform
∂ ∂ ∂
Grad. Scalar =( i+ j + k ).( Ax i + Ay j + Az k )
Direct. Derrivative
∂x ∂y ∂z
Normal Vector
Div. Vector
∂Ax ∂Ay ∂Az
div . A = + +
Div (Grad φ)
scalar.
Curl of Vector ∂x ∂y ∂z
Ir. Muhamad Kusni, M.T
Divergence of a Vector Field
Linear Algebra
Example: A = x 2 i + ( xy 2 ) j + z 2 k .
Introduction
Matrices Find
Determinants
∇. A
Vectors 1, 3, 4
Introduction Solution:
Operation
Div (Grad φ)
Curl of Vector
Matrices
Determinants
∂ ∂φ ∂ ∂φ ∂ ∂φ
Vectors = + +
Introduction
∂x ∂x ∂y ∂y ∂z ∂z
∂ 2φ ∂ 2φ ∂ 2φ
Operation
Linear Combination
∇.∇ϕ = 2 + 2 + 2
Linear Independent ∂x ∂y ∂z
Coord. Transform
Div. Vector
Div (Grad φ)
Curl of Vector
Introduction
Matrices
Determinants
Vectors
∇.∇. = ∇ 2 = del kwadrat. = ∆ = delta.
Introduction
Operation
∆φ = pers. loplace
φ = besaran potensial
Linear Combination
Linear Independent
Coord. Transform
Grad. Scalar
Direct. Derrivative
Normal Vector
Div. Vector
Div (Grad φ)
Curl of Vector
Matrices is defined
Determinants
Vectors
Curl A = ∇x A Vector
Linear Independent
Coord. Transform
i j k
∂ ∂ ∂ ∂ ∂ ∂
Grad. Scalar =
Curl A i + j + ( + +
k x Axi Ay j Az k )=
Direct. Derrivative ∂ x ∂ y ∂ z ∂x ∂y ∂z
Ax Ay Az
Normal Vector
Div. Vector ∂ ∂ ∂ ∂ ∂ ∂
Div (Grad φ) = i ∂y ∂z + j ∂x ∂z + k ∂x ∂y
Curl of Vector Ay Az Ax Az Ax Ay
Vectors example
Introduction
Operation A = x 2i + xy 2 j + z 2 k di (1,2,3)
Linear Combination
Grad. Scalar
Direct. Derrivative i j k
Normal Vector ∂ ∂ ∂
Curl A = = y2k
Div. Vector ∂x ∂y ∂z
Div (Grad φ)
x2 xy 2 z2
Curl of Vector