Chapter 1 Definition of Matrix and Vector
Chapter 1 Definition of Matrix and Vector
of Matrix
and Vector;
Matrix
Algebra
VECTORS
One way to denote a quantity that is a vector is
by writing a letter with a small arrow (or a short
|⃗𝑣|= √ 𝑣 +𝑣 +𝑣2
𝑥
2
𝑦
2
𝑧
VECTORS
Operations with Vectors
Two vectors are equal if they are of the
same type (row or column) and all the
elements that are in the same position are
[ ]
equal to each other.
𝑣1
𝑣 = 𝑣2
𝑣 =[ 𝑣 1 , 𝑣 2 , 𝑣 3 ]
u
; 𝑣3
u
VECTORS
Operations with Vectors
Two vectors are equal if they are of the
same type (row or column) and all the
elements that are in the same position are
equal to
1. Addition each
and other.
subtraction of two vectors
Two vectors can be added or subtracted only
if they are of the same type
⃗ =[ 𝑣 𝑖 ]
𝑣 ⃗ = [ 𝑢𝑖 ]
𝑢
VECTORS
Operations with Vectors
Two vectors are equal if they are of the
same type (row or column) and all the ⃗
𝒗
elements that are in the same position are
equal to each of
2. Multiplication other.
two vectors
1. Dot product - results in a scalar quantity θ
The dot product can be given a geometric
interpretation when the two vectors are drawn in a
coordinate system. ⃗
𝒖
𝑢=|⃗
⃗ ⋅⃗
𝑣 𝑣||𝑢
⃗| cos 𝜃
where and are the magnitudes of the vectors and e is the angle formed
by the two vectors.
VECTORS
2. Multiplication of two vectors
2. Cross product – results in a vector quantity
A cross product of two vector is a vector itself and
is perpendicular to the plane formed by the where
the magnitude can also be expressed as , where
is the angle formed the two vectors
⃗ ^ 𝒗 ^𝒋+ 𝒗 𝒌
𝒗 =𝒗 𝒙 𝒊+ ^
𝒚 𝒛
^
⃗ =𝒖 𝒙 𝒊+𝒖
𝒖 ^𝒋+𝒖 𝒌^
𝒚 𝒛
?
VECTORS ^ ¿𝒗 ^𝒋 +¿ 𝒗 𝒌^
𝒗 𝒙 𝒊+ 𝒚 𝒛
⃗ ^ 𝒗 ^𝒋 + 𝒗 𝒌
𝒗 = 𝒗 𝒙 𝒊+ ^
𝒚 𝒛 ^ 𝒖
𝒖 𝒊+¿ ^𝒋+¿ 𝒖 𝒌 ^
𝒙 𝒚 𝒛
^
⃗ =𝒖 𝒙 𝒊+𝒖
𝒖 ^ ^
𝒚 𝒋 +𝒖 𝒛 𝒌
?
VECTORS ^ ¿𝒗 ^𝒋 +¿ 𝒗 𝒌^
𝒗 𝒙 𝒊+ 𝒚 𝒛
⃗ ^ 𝒗 ^𝒋 + 𝒗 𝒌
𝒗 = 𝒗 𝒙 𝒊+ ^
𝒚 𝒛 ^ 𝒖
𝒖 𝒊+¿ ^𝒋+¿ 𝒖 𝒌 ^
𝒙 𝒚 𝒛
^
⃗ =𝒖 𝒙 𝒊+𝒖
𝒖 ^ ^
𝒚 𝒋 +𝒖 𝒛 𝒌
?
=( - )
VECTORS ^ ¿𝒗 ^𝒋 +¿ 𝒗 𝒌^
𝒗 𝒙 𝒊+ 𝒚 𝒛
⃗ ^ 𝒗 ^𝒋 + 𝒗 𝒌
𝒗 = 𝒗 𝒙 𝒊+ ^
𝒚 𝒛 ^ 𝒖
𝒖 𝒊+¿ ^𝒋+¿ 𝒖 𝒌 ^
𝒙 𝒚 𝒛
^
⃗ =𝒖 𝒙 𝒊+𝒖
𝒖 ^ ^
𝒚 𝒋 +𝒖 𝒛 𝒌
?
=( - )- )
VECTORS ^ ¿𝒗 ^𝒋 +¿ 𝒗 𝒌^
𝒗 𝒙 𝒊+ 𝒚 𝒛
⃗ ^ 𝒗 ^𝒋 + 𝒗 𝒌
𝒗 = 𝒗 𝒙 𝒊+ ^
𝒚 𝒛 ^ 𝒖
𝒖 𝒊+¿ ^𝒋+¿ 𝒖 𝒌 ^
𝒙 𝒚 𝒛
^
⃗ =𝒖 𝒙 𝒊+𝒖
𝒖 ^ ^
𝒚 𝒋 +𝒖 𝒛 𝒌
?
=( - )- ) - )
MATRIX
MATRICES AND LINEAR ALGEBRA
A matrix is a rectangular array of
numbers. The size of a matrix refers to the number
ofrows and columns it contains. An (m x n ) matrix
("m by n matrix") has m rows and n columns:
𝒂 𝟏𝟏 𝒂 𝟏𝟐 … 𝒂𝟏 𝒏
𝒂 𝟐𝟏 𝒂 𝟐𝟐 … 𝒂𝟐 𝒏
[a] = … … … …
𝒂𝒏 𝟏 𝒂𝒏 𝟐 … 𝒂𝒎𝒏
1 0 4 2 4 4
A = 3 8 2 B = −3 3 3
−2 −3 0 −5 0 5
SIMPLIFY C= A+B
MATRIX
ADDITION/SUBTRACTION
1 0 4 2 4 4
A = 3 8 2 B = −3 3 3
−2 −3 0 −5 0 5
SIMPLIFY C= A+B
3 4 8
C = 0 11 5
−7 −3 5
MATRIX
MULTIPLICATION OF MATRICES
The multiplication [ c] = [a] [ b] of a matrix
[a] times a matrix [ b] isdefined only when the
number of columns of matrix [a] is equal to the
number of rows of the matrix [b].
MATRIX
MULTIPLICATION OF MATRICES
The multiplication [ c] = [a] [ b] of a matrix
[a] times a matrix [ b] isdefined only when the
number of columns of matrix [a] is equal to the
number of rows of the matrix [b].
𝒂𝟏𝟏 𝒂𝟏 𝟐 𝒂 𝟏𝟑 𝒂𝟏 𝟒 𝒃𝟏𝟏 𝒃𝟏𝟐
a = 𝒂𝟐𝟏 𝒂𝟐𝟐 𝒂𝟐𝟑 𝒂 𝟐𝟒 𝒃𝟐𝟏 𝒃𝟐𝟐
𝒂𝟑𝟏 𝒂𝟑𝟐 𝒂𝟑𝟑 𝒂 𝟑𝟒 b= 𝒃 𝒃𝟑𝟐
𝟑𝟏
𝒃𝟒𝟏 𝒃𝟒𝟐
MATRIX
MULTIPLICATION OF MATRICES
The multiplication [ c] = [a] [ b] of a matrix
[a] times a matrix [ b] isdefined only when the
number of columns of matrix [a] is equal to the
number of rows of the matrix [b].
𝒂𝟏𝟏 𝒂𝟏 𝟐 𝒂 𝟏𝟑 𝒂𝟏 𝟒 𝒃𝟏𝟏 𝒃𝟏𝟐
a = 𝒂𝟐𝟏 𝒂𝟐𝟐 𝒂𝟐𝟑 𝒂 𝟐𝟒 𝒃𝟐𝟏 𝒃𝟐𝟐
𝒂𝟑𝟏 𝒂𝟑𝟐 𝒂𝟑𝟑 𝒂 𝟑𝟒 b= 𝒃 𝒃𝟑𝟐
𝟑𝟏
𝒃𝟒𝟏 𝒃𝟒𝟐
3x4
4x2
MATRIX
MULTIPLICATION OF MATRICES
The multiplication [ c] = [a] [ b] of a matrix
[a] times a matrix [ b] isdefined only when the
number of columns of matrix [a] is equal to the
number of rows of the matrix [b].
𝒂𝟏𝟏 𝒂𝟏 𝟐 𝒂 𝟏𝟑 𝒂𝟏 𝟒 𝒃𝟏𝟏 𝒃𝟏𝟐
a = 𝒂𝟐𝟏 𝒂𝟐𝟐 𝒂𝟐𝟑 𝒂 𝟐𝟒 𝒃𝟐𝟏 𝒃𝟐𝟐
𝒂𝟑𝟏 𝒂𝟑𝟐 𝒂𝟑𝟑 𝒂 𝟑𝟒 b= 𝒃 𝒃𝟑𝟐
𝟑𝟏
𝒃𝟒𝟏 𝒃𝟒𝟐
3x4 4x2
MATRIX
MULTIPLICATION OF MATRICES
The multiplication [ c] = [a] [ b] of a matrix
[a] times a matrix [ b] isdefined only when the
number of columns of matrix [a] is equal to the
number of rows of the matrix [b].
𝒂𝟏𝟏 𝒂𝟏 𝟐 𝒂 𝟏𝟑 𝒂𝟏 𝟒 𝒃𝟏𝟏 𝒃𝟏𝟐
a = 𝒂𝟐𝟏 𝒂𝟐𝟐 𝒂𝟐𝟑 𝒂 𝟐𝟒 𝒃𝟐𝟏 𝒃𝟐𝟐
𝒂𝟑𝟏 𝒂𝟑𝟐 𝒂𝟑𝟑 𝒂 𝟑𝟒 b= 𝒃 𝒃𝟑𝟐
𝟑𝟏
𝒃𝟒𝟏 𝒃𝟒𝟐
3x4 4x2
c=ab?
MATRIX
MULTIPLICATION OF MATRICES
The multiplication [ c] = [a] [ b] of a matrix
[a] times a matrix [ b] isdefined only when the
number of columns of matrix [a] is equal to the
number of rows of the matrix [b].
𝒂𝟏𝟏 𝒂𝟏 𝟐 𝒂 𝟏𝟑 𝒂𝟏 𝟒 𝒃𝟏𝟏 𝒃𝟏𝟐
𝒄 𝟏𝟏 𝒄𝟏 𝟐
a = 𝒂𝟐𝟏 𝒂𝟐𝟐 𝒂𝟐𝟑 𝒂 𝟐𝟒 𝒃𝟐𝟏 𝒃𝟐𝟐
b= 𝒃 c= 𝒄𝟐𝟏 𝒄 𝟐𝟐
𝒂𝟑𝟏 𝒂𝟑𝟐 𝒂𝟑𝟑 𝒂 𝟑𝟒 𝒃𝟑𝟐
𝟑𝟏 𝒄𝟑𝟏 𝒄 𝟑𝟐
𝒃𝟒𝟏 𝒃𝟒𝟐
3x4
4x2 3x2
MATRIX
MULTIPLICATION OF MATRICES
example
2 −1
4 9 1−3
A= 8 3 B = −5 2 4 6
6 7
MATRIX A= 2 ( 4 ) +(−1)(−5) ¿
MULTIPLICATION OF MATRICES ¿ ¿
example
2 −1
4 9 1− 3
A= 8 3 B = −5 2 4 6
6 7
3x2 2x4 𝟏𝟑 ¿
A=
¿ ¿
Simplify AB
2 −1
4 9 1− 3
A= 8 3 B = −5 2 4 6
6 7
3x2 2x4 𝟏𝟑 𝟏𝟔 ¿
A=
¿ ¿ ¿
Simplify AB
MATRIX A=
2 ( 4 ) +(−1)(−5) 2 ( 9 ) +(−1)(2) 2 ( 1 ) + ( −1 ) (4)
MULTIPLICATION OF MATRICES ¿ ¿ ¿
example
2 −1
4 9 1− 3
A= 8 3 B = −5 2 4 6
6 7
3x2 2x4 𝟏𝟑 𝟏𝟔 −𝟐
A=
¿ ¿ ¿
Simplify AB
2 −1
4 9 1− 3
A= 8 3 B = −5 2 4 6
6 7
MATRIX A=
2 ( 4 ) +(−1)(−5) 2 ( 9 ) +(−1)(2) 2 ( 1 ) + ( −1 ) (4 )2 ( −3 ) +(− 1)(6)
MULTIPLICATION OF MATRICES 8 ( 4 ) +3 (−5) ¿ ¿ ¿
example
2 −1
4 9 1− 3
A= 8 3 B = −5 2 4 6
6 7
MATRIX A
2 ( 4 ) +(−1)(−5)
= 8 ( 4 ) +3 (−5)
2 ( 9 ) +(−1)(2) 2 ( 1 ) + ( −1 ) ( 4 )2 ( −3 ) +(− 1)( 6)
8 ( 9 ) +3 (2) 8 ( 1 ) +3 ( 4) 8 ( −3 )+ 3(6 )
MULTIPLICATION OF MATRICES ¿ ¿ ¿ ¿
example
2 −1
4 9 1− 3
A= 8 3 B = −5 2 4 6
6 7
MATRIX A
2 ( 4 ) +(−1)(−5)
= 8 ( 4 ) +3 (−5)
2 ( 9 ) +(−1)(2)
8 ( 9 ) +3 (2)
2 ( 1 ) + ( −1 ) ( 4 )2 ( −3 ) +(− 1)( 6)
8 ( 1 ) +3 ( 4) 8 ( −3 )+ 3(6 )
MULTIPLICATION OF MATRICES 6 ( 4 ) +7 (−5) ¿ ¿ ¿
example
2 −1
4 9 1− 3
A= 8 3 B = −5 2 4 6
6 7
MATRIX A
2 ( 4 ) +(−1)(−5)
= 8 ( 4 ) +3 (−5)
2 ( 9 ) +(−1)(2)
8 ( 9 ) +3 (2)
2 ( 1 ) + ( −1 ) ( 4 )2 ( −3 ) +(− 1)( 6)
8 ( 1 ) +3 ( 4) 8 ( −3 )+ 3(6 )
MULTIPLICATION OF MATRICES 6 ( 4 ) +7 (−5) 6 ( 9 ) +7 (2) 6 ( 1 ) +7 ( 4) 6 ( −3 )+ 7(6 )
example
2 −1
4 9 1− 3
A= 8 3 B = −5 2 4 6
6 7
1. A+C
2. 3C-4A
3.
4. BC
MATRIX
INVERSE OF MATRIX
Solve the