You are on page 1of 12

Bio Computing & Machine Learning (BCML) Lab

Linear Algebra

Chapter 1. Introduction to Vectors


Professor: Cheolsoo Park
Vectors and Linear Combinations
 You can’t add apples and oranges

 Now you can add apples and oranges by the vector addition

 Scalar multiplication

 Linear algebra is built on “adding vectors” and “multiplying by


scalars”

Bio Computing & Machine Learning (BCML) Lab


Vectors and Linear Combinations
 Linear combinations
 Combining addition with scalar multiplication

 Vector representation

Bio Computing & Machine Learning (BCML) Lab


Vectors and Linear Combinations
 Vectors in three dimensions

Bio Computing & Machine Learning (BCML) Lab


Vectors and Linear Combinations
 Linear combination

* With varying c, d and e, the line, plane or


three-dimensional space will be filled

Bio Computing & Machine Learning (BCML) Lab


Length and Dot Products
 Dot product or inner product

Bio Computing & Machine Learning (BCML) Lab


Length and Dot Products
 Projection of a vector into another domain

 Zero product
 Perpendicular vectors

Bio Computing & Machine Learning (BCML) Lab


Length and Dot Products
 Length of a vector : dot product of a vector with itself

 Unit vector

Bio Computing & Machine Learning (BCML) Lab


Length and Dot Products

Bio Computing & Machine Learning (BCML) Lab


Angle Between Two Vectors
 Right angles

 Angle between two unit vectors

Bio Computing & Machine Learning (BCML) Lab


Matrices
 Linear combinations in three-dimensional space
 Three column vectors

 Rewrite that combination using a matrix

Bio Computing & Machine Learning (BCML) Lab


Matrices
 Dot Products with rows

Bio Computing & Machine Learning (BCML) Lab

You might also like