Linear Algebra, Principal Component Analysis and their Chemometrics Applications.

Slides:



Advertisements
Similar presentations
Chapter 10 Vocabulary.
Advertisements

VECTORS A bee will fly from rose to rose To gather up some nectar.
Fun with Vectors. Definition A vector is a quantity that has both magnitude and direction Examples?
General Physics (PHYS101)
10.4 MINIMAL PATH PROBLEMS 10.5 MAXIMUM AND MINIMUM PROBLEMS IN MOTION AND ELSEWHERE.
Signal , Weight Vector Spaces and Linear Transformations
Signal , Weight Vector Spaces and Linear Transformations
CSC 123 – Computational Art Points and Vectors
Y x x. y = x y y x x. y = - x y y x x. y = 0 Two vectors x and y are orthogonal when their scalar product is zero x. y = 0and xy = 1= Two vectors x and.
CS 376b Introduction to Computer Vision 03 / 04 / 2008 Instructor: Michael Eckmann.
Lecture 2: Geometry vs Linear Algebra Points-Vectors and Distance-Norm Shang-Hua Teng.
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
PHYS 218 sec Review Chap. 1. Caution This presentation is to help you understand the contents of the textbook. Do not rely on this review for.
Fall Scalar Quantity (mass, speed, voltage, current and power) 1- Real number (one variable) 2- Complex number (two variables) Vector Algebra (velocity,
Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka Virginia de Sa (UCSD) Cogsci 108F Linear.
Multiplication with Vectors
Phys211C1V p1 Vectors Scalars: a physical quantity described by a single number Vector: a physical quantity which has a magnitude (size) and direction.
Graphics CSE 581 – Interactive Computer Graphics Mathematics for Computer Graphics CSE 581 – Roger Crawfis (slides developed from Korea University slides)
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
1 February 24 Matrices 3.2 Matrices; Row reduction Standard form of a set of linear equations: Chapter 3 Linear Algebra Matrix of coefficients: Augmented.
Patrick Nichols Thursday, September 18, Linear Algebra Review.
 A ABAB VECTORS Elements of a set V for which two operations are defined: internal  (addition) and external  (multiplication by a number), example.
7.1 Scalars and vectors Scalar: a quantity specified by its magnitude, for example: temperature, time, mass, and density Chapter 7 Vector algebra Vector:
Chapter 5 Orthogonality.
1.1 – 1.2 The Geometry and Algebra of Vectors.  Quantities that have magnitude but not direction are called scalars. Ex: Area, volume, temperature, time,
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
Section 9.2: Vectors Practice HW from Stewart Textbook (not to hand in) p. 649 # 7-20.
10.2 Vectors and Vector Value Functions. Quantities that we measure that have magnitude but not direction are called scalars. Quantities such as force,
Mathematics for Graphics. 1 Objectives Introduce the elements of geometry  Scalars  Vectors  Points Develop mathematical operations among them in a.
Vectors A quantity which has both magnitude and direction is called a vector. Vector notations A B a AB = a AB x and y are the components of vector AB.
Vectors CHAPTER 7. Ch7_2 Contents  7.1 Vectors in 2-Space 7.1 Vectors in 2-Space  7.2 Vectors in 3-Space 7.2 Vectors in 3-Space  7.3 Dot Product 7.3.
6.837 Linear Algebra Review Rob Jagnow Monday, September 20, 2004.
Chapter 10 Real Inner Products and Least-Square
VECTORS (Ch. 12) Vectors in the plane Definition: A vector v in the Cartesian plane is an ordered pair of real numbers:  a,b . We write v =  a,b  and.
Copyright © Cengage Learning. All rights reserved. Vectors in Two and Three Dimensions.
Chap. 5 Inner Product Spaces 5.1 Length and Dot Product in R n 5.2 Inner Product Spaces 5.3 Orthonormal Bases: Gram-Schmidt Process 5.4 Mathematical Models.
Chun-Yuan Lin Mathematics for Computer Graphics 2015/12/15 1 CG.
8.1 and 8.2 answers. 8.3: Vectors February 9, 2009.
Class 24: Question 1 Which of the following set of vectors is not an orthogonal set?
Meeting 23 Vectors. Vectors in 2-Space, 3-Space, and n- Space We will denote vectors in boldface type such as a, b, v, w, and x, and we will denote scalars.
4.8 Rank Rank enables one to relate matrices to vectors, and vice versa. Definition Let A be an m  n matrix. The rows of A may be viewed as row vectors.
Vectors and Dot Product 6.4 JMerrill, Quick Review of Vectors: Definitions Vectors are quantities that are described by direction and magnitude.
Chapter 4 Vector Spaces Linear Algebra. Ch04_2 Definition 1: ……………………………………………………………………. The elements in R n called …………. 4.1 The vector Space R n Addition.
Linear Algebra Review Tuesday, September 7, 2010.
Boot Camp in Linear Algebra TIM 209 Prof. Ram Akella.
1 MAC 2103 Module 4 Vectors in 2-Space and 3-Space I.
11. Section 12.1 Vectors Vectors What is a vector and how do you combine them?
§ Linear Spaces Christopher Crawford PHY
EE611 Deterministic Systems Vector Spaces and Basis Changes Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
CHAPTER 3 VECTORS NHAA/IMK/UNIMAP.
CA 302 Computer Graphics and Visual Programming
Spaces.
Christopher Crawford PHY
Chapter 1 Linear Equations and Vectors
Outline Addition and subtraction of vectors Vector decomposition
Vectors.
6.2 Dot Products of Vectors
Scalars and Vectors.
Lecture 03: Linear Algebra
Vectors, Linear Combinations and Linear Independence
Signal & Weight Vector Spaces
Chapter 3 Linear Algebra
CSE 411 Computer Graphics Lecture #2 Mathematical Foundations
Signal & Weight Vector Spaces
Lecture 2: Geometry vs Linear Algebra Points-Vectors and Distance-Norm
Rayat Shikshan Sanstha’s S.M.Joshi College, Hadapsar -28
CHAPTER 3 VECTORS NHAA/IMK/UNIMAP.
Presentation transcript:

Linear Algebra, Principal Component Analysis and their Chemometrics Applications

Linear algebra is the language of chemometrics. One can not expect to truly understand most chemometric techniques without a basic understanding of linear algebra Linear Algebra

Vector A vector is a mathematical quantity that is completely described by its magnitude and direction x1x1 y1y1 x y P

Vector A vector is a mathematical quantity that is completely described by its magnitude and direction x1x1 y1y1 x y P P = x1x1 y1y1

MATLAB Notation

Length of a Vector x1x1 y1y1 x y P P = x y 1 2 x = [x 1, x 2, …, x n ] x M = ( x i 2 ) 0.5 i=1 n Normal Vector u = x x u =1

Normalized vector

Mean Centered Vector x1x1 x2x2 xnxn … x = mx = M xixi i=1 n n mcx = x 1 - mx … x 2 - mx x n - mx x = mx = mcx = y = = mx = 3

Mean centered

? The length of a mean centered vector is proportional to the standard deviation of its elements y1y1 y2y2 ynyn … y =y* = y 1 - m y … y 2 - m y y n - m y y* ≈ s y i

A set of p vectors [x 1, x 2, …, x p ] with same dimension n is linearly independent if the expression: c i x i = 0 M i=1 p holds only when all p coefficients c i are zero Linear Independent Vectors x1x1 x2x2 x3x3 c1x1c1x1 c2x2c2x2

A vector space spanned by a set of p linearly independent vectors (x 1, x 2, …, x p ) with the same dimension n is the set of all vectors that are linear combinations of the p vectors that span the space Vector Space Basis set A set of n vectors of dimension n which are linearly independent is called a basis of an n-dimensional vector space. There can be several bases of the same vector space A coordinate space can be thought of as being constructed from n basis vectors of unit length which originate from a common point and which are mutually perpendicular Coordinate Space

Q =  P =  x 1  y 1  x 1  y 1 x y P x1x1 y1y1 Q Vector Multiplication by a Scalar

x = 1.19 y = 2.38 x y y = 2 x

Addition of Vectors x1x1 x2x2 xnxn … y1y1 y2y2 ynyn … x + y = + = x 1 + y 1 … x 2 + y 2 x n + y n x + y x1x1 x2x2 y1y1 y2y2 y x x 1 + y 1 x 2 + y 2

 x1 c x … a x + a y = + =  x2 c x  xn c x  y1 c y …  y2 c y  yn c y  x1 c x +  y1 c y …  x2 c x +  y2 c y  xn c x +  yn c y Component 1Component 2mixture axax ayay a x + a y

Subtraction of Vectors x1x1 x2x2 xnxn … y1y1 y2y2 ynyn … x - y = - = x 1 - y 1 … x 2 - y 2 x n - y n x - y x1x1 x2x2 y1y1 y2y2 y x

Inner Product (Dot Product) x1x1 x2x2 xnxn … x. x = x T x =[x 1 x 2 … x n ]= x x … +x n 2 = x 2 x. y = x T y = x y cos  The cosine of the angle of two vectors is equal to the dot product between the normalized vectors: x. y x y cos  =

y x x. y = x y y x x. y = - x y y x x. y = 0 Two vectors x and y are orthogonal when their scalar product is zero x. y = 0and xy = 1= Two vectors x and y are orthonormal