ENGG2013 Unit 4 Checking out at sushi bar Jan, 2011.

Slides:



Advertisements
Similar presentations
Matrix.
Advertisements

Maths for Computer Graphics
6 6.1 © 2012 Pearson Education, Inc. Orthogonality and Least Squares INNER PRODUCT, LENGTH, AND ORTHOGONALITY.
Chapter 4.1 Mathematical Concepts
Chapter 4.1 Mathematical Concepts. 2 Applied Trigonometry Trigonometric functions Defined using right triangle  x y h.
Vectors and Vector Equations (9/14/05) A vector (for us, for now) is a list of real numbers, usually written vertically as a column. Geometrically, it’s.
Matrix Operations. Matrix Notation Example Equality of Matrices.
CSCE 590E Spring 2007 Basic Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
Chapter 2 Matrices Definition of a matrix.
Ch 7.2: Review of Matrices For theoretical and computation reasons, we review results of matrix theory in this section and the next. A matrix A is an m.
1 Neural Nets Applications Vectors and Matrices. 2/27 Outline 1. Definition of Vectors 2. Operations on Vectors 3. Linear Dependence of Vectors 4. Definition.
Orthogonality and Least Squares
Linear Equations in Linear Algebra
Linear Systems and Matrices
6 6.1 © 2012 Pearson Education, Inc. Orthogonality and Least Squares INNER PRODUCT, LENGTH, AND ORTHOGONALITY.
ENGG2013 Unit 5 Linear Combination & Linear Independence Jan, 2011.
ENGG2013 Unit 7 Non-singular matrix and Gauss-Jordan elimination Jan, 2011.
Linear Algebra, Principal Component Analysis and their Chemometrics Applications.
ENGG2013 Unit 2 Linear Equations Jan, Linear Equation in n variables a 1 x 1 + a 2 x 2 + … + a n x n = c – a 1, a 2, …, a n are called coefficients.
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
Matrices Write and Augmented Matrix of a system of Linear Equations Write the system from the augmented matrix Solve Systems of Linear Equations using.
Chapter 2 Systems of Linear Equations and Matrices Section 2.4 Multiplication of Matrices.
APPLICATIONS OF TRIGONOMETRY
Multiplication with Vectors
Length and Dot Product in R n Notes: is called a unit vector. Notes: The length of a vector is also called its norm. Chapter 5 Inner Product Spaces.
Prelude A pattern of activation in a NN is a vector A set of connection weights between units is a matrix Vectors and matrices have well-understood mathematical.
Linear Algebra (Aljabar Linier) Week 1 Universitas Multimedia Nusantara Serpong, Tangerang Dr. Ananda Kusuma Ph: ,
THU, JAN 8, 2015 Create a “Big Book of Matrices” flip book using 4 pages. Do not make your tabs big! BIG BOOK OF MATRICES What is a Matrix? Adding & Subtracting.
Copyright © Cengage Learning. All rights reserved. 7.4 Matrices and Systems of Equations.
1 1.4 Linear Equations in Linear Algebra THE MATRIX EQUATION © 2016 Pearson Education, Inc.
Linear Algebra 1.Basic concepts 2.Matrix operations.
Introduction to Matrices and Matrix Approach to Simple Linear Regression.
Copyright © Cengage Learning. All rights reserved. 7 Linear Systems and Matrices.
ES 240: Scientific and Engineering Computation. Chapter 8 Chapter 8: Linear Algebraic Equations and Matrices Uchechukwu Ofoegbu Temple University.
2.1 – Linear and Quadratic Equations Linear Equations.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2016 Tamara Munzner Math Basics Week 1, Fri.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
Matrices Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 A matrix is a rectangular array of real numbers. Each entry.
Inner Product, Length and Orthogonality Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB.
CSCE 552 Fall 2012 Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
Matrices and Matrix Operations. Matrices An m×n matrix A is a rectangular array of mn real numbers arranged in m horizontal rows and n vertical columns.
Boot Camp in Linear Algebra TIM 209 Prof. Ram Akella.
§9-3 Matrix Operations. Matrix Notation The matrix has 2 rows and 3 columns.
Chapter 4 Vector Spaces Linear Algebra. Ch04_2 Definition 1. Let be a sequence of n real numbers. The set of all such sequences is called n-space (or.
10.4 Matrix Algebra. 1. Matrix Notation A matrix is an array of numbers. Definition Definition: The Dimension of a matrix is m x n “m by n” where m =
Vectors, Matrices and their Products Hung-yi Lee.
CHAPTER 3 VECTORS NHAA/IMK/UNIMAP.
MTH108 Business Math I Lecture 20.
Dot Product of Vectors.
Properties and Applications of Matrices
Linear Algebra review (optional)
Unit 1: Matrices Day 1 Aug. 7th, 2012.
Introduction To Matrices
Matrices and Systems of Equations 8.1
6.2 Dot Products of Vectors
Scalars and Vectors.
Lecture 03: Linear Algebra
Multiplying Matrices.
Copyright © 2017, 2013, 2009 Pearson Education, Inc.
Lecture 11 Matrices and Linear Algebra with MATLAB
Unit 3: Matrices
1.3 Vector Equations.
Matrices and Matrix Operations
Linear Algebra Lecture 38.
Multiplying Matrices.
8.4 Vectors.
Multiplying Matrices.
CHAPTER 3 VECTORS NHAA/IMK/UNIMAP.
Multiplying Matrices.
Multiplying Matrices.
Presentation transcript:

ENGG2013 Unit 4 Checking out at sushi bar Jan, 2011.

Row and Column Vectors column vector row vector n-dimensional column vector kshumENGG20132 n A list of n numbers written vertically Convention: a vector is by default a column vector in ENGG2013. Convention: The components in a vector are sometime called “scalar”.

Illustration kshumENGG20133 x y (0,0) (5,3) 5 3 (4,4) (1,-1)

Notation using column vector kshumENGG20134 x y 5 3

Notation from Physics kshumENGG20135 x y zhas the same meaning as

Interpretation of vector (I) kshumENGG20136 y (5,3) 5 3 location or

Interpretation of vector (2) kshumENGG20137 y (0,0) (5,3) 5 3 an arrow from the origin or

Interpretation of vector (3) kshumENGG20138 y (0,0) (5,3) 5 3 Any arrow in the same direction with the same length or

Mathematical Notation The set of all 2-D vectors with real numbers as components is denoted by The set of all 3-D vectors with real numbers as components is denoted by The set of all n-D vectors with real numbers as components: kshumENGG20139

Equality for vectors... … is just equality in each component Examples kshumENGG201310

Vector addition … … is just component-wise addition kshumENGG But has no meaning.

Scalar Multiplication Multiply each component by the scalar constant. Interpreted as lengthening, or shortening the vector, but keeping the same direction. kshumENGG x y z

Dot product A.k.a. scalar product, or inner product. For 2-D vector, It measures the “angle” between two vectors. – The dot product of two vectors is zero if the two vectors are perpendicular kshumENGG201313

Dot product in general For n-dimensional vectors in general, we define the dot product as Example kshumENGG Two n-dim vectors are said to be perpendicular, or orthogonal, if their dot product is equal to 0.

Simple properties kshumENGG For any two vectors u, v and w of the same dimension, and constants c and d.

Matrix-vector multiplication Given an m  n matrix A, and an n-dimensional vector x, the product of A and x is an m-dimensional vector defined as kshumENGG For double subscripts, the first subscript is the row index and the second is the column index

Just compute dot products m times kshumENGG Dot product of the first row in the matrix and the column vector Dot product of the second row in the matrix and the column vector Dot product of the last row in the matrix and the column vector

Example kshumENGG is un-defined. 2x4 3x1 2x4 4x1 2x1

Checking out in a sushi bar Four prices – Red plate: $10 – Blue plate: $20 – Green plate: $35 – Pink plate: $50 kshumENGG Customer A Customer B RBGP

Nutrition problem kshumENGG In matrix notation: Amounts of food A, B, C and D Requirements of the four nutrients (protein) (carbohydrate) (vitamin A) (vitamin C)

Vector equation Equation involving vectors. E.g. Find a and b such that kshumENGG201321

The nutrition problem as vector equation Just another way to write the same thing. kshumENGG201322

Four different perspectives kshumENGG A system of linear equations Ax = b Augmented matrix Vector equation