Introduction To Vectors and Matrices and Their Operations
Introduction To Vectors and Matrices and Their Operations
Introduction to Vectors
and Matrices and Their
Operations
FEIGI LOUIE D. PEDRERA
1
Click to edit Master title style
Objectives:
2 2
Click to edit Master title style
Of Matrices and
Vectors
Why do we need to learn them?
3 3
Some Applications…
Click to edit Master title style
4 4
Click to edit Master title style
5 5
Examples and Notations
Click to edit Master title style
An example of a matrix Vector examples
8 8
Click to edit Master title style
Lets Operate!
9 9
Matrix and Vector Addition
Click to edit Master title style
1616
Click to edit Master title style
Scalar Multiplication on Vectors and Matrices
a · b = a x bx + ay by
Note that the product is a scalar (neither a vector nor a matrix) 1919
Click to edit Master title style
Dot (Inner) Product for Vectors
Let a = [5 3] and b = [2 7]
a · b = a x bx + a y by
= 5(2) + 3(7)
= 10 + 21
a · b = 31
Example 6: Dot product of vectors
2020
Matrix Multiplication
Click to edit Master title style
(m × n) · (n × p) → m × p
2121
Click to edit Master title style
Matrix Multiplication
Let
2323
Click to edit Master title style
Exercises
2424
Click to edit Master title style
2525
Click to edit Master title style
Summary
A matrix is an array of numbers arranged in rows and columns. This is
usually used to easily deal with systems of linear equations.
A vector is a type o matrix that either have one row or column.
They can both be used to mathematically describe physical quantities
real-life and therefore have a wide range of application from physics to
economics to computer science.
We can perform operations on vectors and matrices.
For vectors we can:
a. add them
b. Perform scalar multiplication
c. Obtain dot products
For Matrices we can:
a. Add and subtract them
b. Perform scalar multiplication
c. Perform matrix multiplication (column of the first matrix should
be equal to the row of the second matrix)
2626
Click to edit Master title style
Assessment
Answer all the odd numbered
items on the answer sheet
provided by the instructor.
2727
Click to edit Master title style
Assignment
On the next session, submit a
worked-out example of a real-world
problem that uses vector/matrix
operati on. Outputs must include a
complete and detailed soluti on and
some illustrati on or pictures where
applicable. This must be put on an
A4 sheet of paper.
2828
Click to edit Master title style
Thank You!
29