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.

Slides:



Advertisements
Similar presentations
Matrices A matrix is a rectangular array of quantities (numbers, expressions or function), arranged in m rows and n columns x 3y.
Advertisements

APPENDIX A: REVIEW OF LINEAR ALGEBRA APPENDIX B: CONVEX AND CONCAVE FUNCTIONS V. Sree Krishna Chaitanya 3 rd year PhD student Advisor: Professor Biswanath.
Mathematics. Matrices and Determinants-1 Session.
Matrices & Systems of Linear Equations
Maths for Computer Graphics
Matrix Operations. Matrix Notation Example Equality of Matrices.
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.
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
Vectors and Matrices Class 17.1 E: Ch. 5.
Matrices MSU CSE 260.
Matrix Definition A Matrix is an ordered set of numbers, variables or parameters. An example of a matrix can be represented by: The matrix is an ordered.
Intro to Matrices Don’t be scared….
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
Stats & Linear Models.
Chapter 1: Matrices Definition 1: A matrix is a rectangular array of numbers arranged in horizontal rows and vertical columns. EXAMPLE:
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 5QF Introduction to Vector and Matrix Operations Needed for the.
Linear Algebra & Matrices MfD 2004 María Asunción Fernández Seara January 21 st, 2004 “The beginnings of matrices and determinants.
A vector can be interpreted as a file of data A matrix is a collection of vectors and can be interpreted as a data base The red matrix contain three column.
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.
Compiled By Raj G. Tiwari
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 7.1 Solving Systems of Two Equations.
ECON 1150 Matrix Operations Special Matrices
Little Linear Algebra Contents: Linear vector spaces Matrices Special Matrices Matrix & vector Norms.
Presentation on Matrices and some special matrices In partial fulfillment of the subject Vector calculus and linear algebra ( ) Submitted by: Agarwal.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Matrices and Vectors Objective.
A rectangular array of numbers (we will concentrate on real numbers). A nxm matrix has ‘n’ rows and ‘m’ columns What is a matrix? First column First row.
Statistics and Linear Algebra (the real thing). Vector A vector is a rectangular arrangement of number in several rows and one column. A vector is denoted.
Matrices. A matrix, A, is a rectangular collection of numbers. A matrix with “m” rows and “n” columns is said to have order m x n. Each entry, or element,
Matrices. Definitions  A matrix is an m x n array of scalars, arranged conceptually as m rows and n columns.  m is referred to as the row dimension.
13.1 Matrices and Their Sums
Chapter 3 Vectors in n-space Norm, Dot Product, and Distance in n-space Orthogonality.
Linear algebra: matrix Eigen-value Problems Eng. Hassan S. Migdadi Part 1.
Prepared by Deluar Jahan Moloy Lecturer Northern University Bangladesh
ES 240: Scientific and Engineering Computation. Chapter 8 Chapter 8: Linear Algebraic Equations and Matrices Uchechukwu Ofoegbu Temple University.
Meeting 18 Matrix Operations. Matrix If A is an m x n matrix - that is, a matrix with m rows and n columns – then the scalar entry in the i th row and.
Chapter 4 Euclidean n-Space Linear Transformations from to Properties of Linear Transformations to Linear Transformations and Polynomials.
Chapter 2 … part1 Matrices Linear Algebra S 1. Ch2_2 2.1 Addition, Scalar Multiplication, and Multiplication of Matrices Definition A matrix is a rectangular.
Review of Matrix Operations Vector: a sequence of elements (the order is important) e.g., x = (2, 1) denotes a vector length = sqrt(2*2+1*1) orientation.
Matrices and Determinants
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.
STROUD Worked examples and exercises are in the text Programme 5: Matrices MATRICES PROGRAMME 5.
2.5 – Determinants and Multiplicative Inverses of Matrices.
LEARNING OUTCOMES At the end of this topic, student should be able to :  D efination of matrix  Identify the different types of matrices such as rectangular,
STROUD Worked examples and exercises are in the text PROGRAMME 5 MATRICES.
Boot Camp in Linear Algebra TIM 209 Prof. Ram Akella.
1 Objective To provide background material in support of topics in Digital Image Processing that are based on matrices and/or vectors. Review Matrices.
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
Matrices, Vectors, Determinants.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Introduction Types of Matrices Operations
A very brief introduction to Matrix (Section 2.7) Definitions Some properties Basic matrix operations Zero-One (Boolean) matrices.
MATRICES A rectangular arrangement of elements is called matrix. Types of matrices: Null matrix: A matrix whose all elements are zero is called a null.
2.1 Matrix Operations 2. Matrix Algebra. j -th column i -th row Diagonal entries Diagonal matrix : a square matrix whose nondiagonal entries are zero.
MTH108 Business Math I Lecture 20.
Matrices and Vector Concepts
Boyce/DiPrima 10th ed, Ch 7.2: Review of Matrices Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and.
12-1 Organizing Data Using Matrices
Continuum Mechanics (MTH487)
Review of Linear Algebra
Review of Matrix Operations
Matrices and Vectors Review Objective
Matrix Operations SpringSemester 2017.
2. Matrix Algebra 2.1 Matrix Operations.
Matrices Introduction.
Matrices and Matrix Operations
Objective To provide background material in support of topics in Digital Image Processing that are based on matrices and/or vectors.
MATRICES Operations with Matrices Properties of Matrix Operations
Matrix Operations SpringSemester 2017.
Presentation transcript:

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 of Matrices 5. Operations on Matrices 6. Multiplication of Matrices and Vectors 7. Symmetric Matrices and their Properties 8. Norms, Products, and Orthogonlity of Vectors 9. Linear Systems, Inverse and Pseudo- inverse Matrices

3/27 Definition of Vectors(1/2)  Consider n real numbers (scalars) x 1,x 2, …, x n.  These number can be arranged so as to define a new object X, called a column vector:

4/27 Definition of Vectors(2/2)  Transpose Vector of X (row vector):  n-component,  n-tuple,  n-dimensional vector

5/27 Operations on Vectors(1/2)  Consider the column vectors i.e., adding two component vectors requires adding their respective components.

6/27 Operations on Vectors(2/2)  The product of a column vector X by a scalar c is defined as

7/27 Linear Dependence of Vectors(1/2)  Consider a set of n-dimensional vectors X 1, X 2, …, X m used to construct a vector X such that

8/27 Definition of Matrices(1/2)  A rectangular array A of n  m numbers a ij, where i=1,2,…,n, and j=1,2,…,m, arranged in n rows and m columns is called an nxm matrix

9/27 Definition of Matrices(2/2)  transpose matrix of A is denoted by A t and is defined as

10/27 Operations on Matrices(1/3)  Consider two n  m matrices, A and B with their respective elements a ij and b ij, for i=1,2,…,n and j=1,2,…,m. The sum of matrices A and B is the n  m matrix

11/27 Operations on Matrices(2/3)  The product of an matrix A by a scalar c is defined as an n  m matrix

12/27 Operations on Matrices(3/3)  The product AB of an n  m matrix A and an m  q matrix B is the n  q matrix C for i=1,2,…,n, and k=1,2,…,q. In matrix form

13/27 Multiplication of Matrices and Vectors (1/2)  An m-tuple vector X can be interpreted as a matrix with m rows and one column.  Postmultiplying an n  m A with a vector X In an expanded form

14/27 Multiplication of Matrices and Vectors (2/2)  or

15/27 Symmetric Matrices and their Properties (1/4)  square matrix an n  n matrix with same number of rows and columns  Symmetric matrix

16/27 Symmetric Matrices and their Properties (2/4)  A square matrix A whose elements not on the main diagonal are zero is called a diagonal matrix.

17/27 Symmetric Matrices and their Properties (3/4)  Unity or identity matrix I

18/27 Symmetric Matrices and their Properties (4/4)  determinant of a square matrix is a scalar and is denoted by

19/27 Norms, Products, and Orthogonality of Vectors(1/5)  The Euclidean norm, or length, of an n-tuple vector X is denoted and defined as or

20/27 Norms, Products, and Orthogonality of Vectors(2/5)  The scalar (inner, dot) product of two n-component vectors X and Y is the scalar defined as

21/27 Norms, Products, and Orthogonality of Vectors(3/5) or

22/27 Norms, Products, and Orthogonality of Vectors(4/5)  Vectors X and Y are said to be orthogonal if and only if their scalar product is zero.  If the nonzero vectors X 1, X 2, …, X n, are mutually orthogonal (every vector is orthogonal to each other), then they are linearly independent.

23/27 Norms, Products, and Orthogonality of Vectors(5/5)  The outer product of two n-component vectors X and Y is an n  n matrix as shown below

24/27 Linear Systems, Inverse, and Pseudoinverse Matrices (1/4)  The general form of a linear system of n equations with m unknowns x 1, x 2, …, x m.  In a case where m=n and det A  0, The exact solution of previous equation is where A -1 is the inverse matrix

25/27 Linear Systems, Inverse, and Pseudoinverse Matrices (2/4)  In a case where m<n, it does not have an accurate solution for X.  The approximate solution, which minimize the error.

26/27 Linear Systems, Inverse, and Pseudoinverse Matrices (3/4)  In a case where m>n, it has infinite number of solutions.  The approximate solution, which has the smallest norm, i.e., for each X such that AX=Y. This solution is  A + is called the pseudoinverse of matrix A

27/27 Linear Systems, Inverse, and Pseudoinverse Matrices (4/4)  when m < n,  when m > n,