APPENDIX A: REVIEW OF LINEAR ALGEBRA APPENDIX B: CONVEX AND CONCAVE FUNCTIONS V. Sree Krishna Chaitanya 3 rd year PhD student Advisor: Professor Biswanath.

Slides:



Advertisements
Similar presentations
Chapter Matrices Matrix Arithmetic
Advertisements

Matrices A matrix is a rectangular array of quantities (numbers, expressions or function), arranged in m rows and n columns x 3y.
Mathematics. Matrices and Determinants-1 Session.
3_3 An Useful Overview of Matrix Algebra
MF-852 Financial Econometrics
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 12 System of Linear Equations.
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.
Economics 2301 Matrices Lecture 13.
CALCULUS – II Matrix Multiplication by Dr. Eman Saad & Dr. Shorouk Ossama.
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
Matrices MSU CSE 260.
Matrices and Determinants
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.
MATRICES. Matrices A matrix is a rectangular array of objects (usually numbers) arranged in m horizontal rows and n vertical columns. A matrix with m.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
3.8 Matrices.
Chapter 1: Matrices Definition 1: A matrix is a rectangular array of numbers arranged in horizontal rows and vertical columns. EXAMPLE:
1 Operations with Matrice 2 Properties of Matrix Operations
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.
Compiled By Raj G. Tiwari
Linear Algebra Review 1 CS479/679 Pattern Recognition Dr. George Bebis.
ECON 1150 Matrix Operations Special Matrices
Presentation on Matrices and some special matrices In partial fulfillment of the subject Vector calculus and linear algebra ( ) Submitted by: Agarwal.
 Row and Reduced Row Echelon  Elementary Matrices.
Chap. 2 Matrices 2.1 Operations with Matrices
CHAP 0 MATHEMATICAL PRELIMINARY
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.
Fin500J Mathematical Foundations in Finance Topic 1: Matrix Algebra Philip H. Dybvig Reference: Mathematics for Economists, Carl Simon and Lawrence Blume,
Overview Definitions Basic matrix operations (+, -, x) Determinants and inverses.
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,
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
Matrices CHAPTER 8.1 ~ 8.8. Ch _2 Contents  8.1 Matrix Algebra 8.1 Matrix Algebra  8.2 Systems of Linear Algebra Equations 8.2 Systems of Linear.
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.
Matrix Algebra and Regression a matrix is a rectangular array of elements m=#rows, n=#columns  m x n a single value is called a ‘scalar’ a single row.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
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.
CSCI 171 Presentation 9 Matrix Theory. Matrix – Rectangular array –i th row, j th column, i,j element –Square matrix, diagonal –Diagonal matrix –Equality.
Matrices Section 2.6. Section Summary Definition of a Matrix Matrix Arithmetic Transposes and Powers of Arithmetic Zero-One matrices.
Special Topic: Matrix Algebra and the ANOVA Matrix properties Types of matrices Matrix operations Matrix algebra in Excel Regression using matrices ANOVA.
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.
Chapter 2 Determinants. With each square matrix it is possible to associate a real number called the determinant of the matrix. The value of this number.
Matrices and Determinants
Linear Algebra Chapter 2 Matrices.
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.
Instructor: Mircea Nicolescu Lecture 8 CS 485 / 685 Computer Vision.
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.
Lecture XXVI.  The material for this lecture is found in James R. Schott Matrix Analysis for Statistics (New York: John Wiley & Sons, Inc. 1997).  A.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Lecture 1 Linear algebra Vectors, matrices. Linear algebra Encyclopedia Britannica:“a branch of mathematics that is concerned with mathematical structures.
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.
Matrices Introduction.
2. Matrix Methods
Matrices and Vector Concepts
MATRICES.
Linear Algebra Lecture 2.
Eigenvalues and Eigenvectors
L6 matrix operations.
Matrices Introduction.
Matrices and Matrix Operations
Matrix Algebra.
Basics of Linear Algebra
Presentation transcript:

APPENDIX A: REVIEW OF LINEAR ALGEBRA APPENDIX B: CONVEX AND CONCAVE FUNCTIONS V. Sree Krishna Chaitanya 3 rd year PhD student Advisor: Professor Biswanath Mukherjee Networks Lab University of California, Davis June 4, 2010

APPENDIX A: REVIEW OF LINEAR ALGEBRA Sets Vectors Matrices Convex Sets

Set Theory Set is a well-defined collection of things. Example: set S ={ x|x>= 0}, is a set of all non-negative numbers. x = 2 is an element of S. Denoted as 2 Є S. Union of two sets: is another Set. R = {x|x Є P or x Є Q or both} Intersection of two sets: is another set. R = {x|x Є P and x Є Q} Subset: Denoted as P Q, every element P is in Q. Disjoint Sets: No elements in common. Empty Set: Φ

Vectors Vector is an ordered set of real numbers. a = (a 1,a 2,…….,a n ) is a vector of n elements or components. a = (a 1,a 2,…….,a n ), b = (b 1,b 2,…….,b n ) a + b = c = (a 1 + b 1,a 2 + b 2,…….,a n + b n ) a – b = d = (a 1 - b 1,a 2 - b 2,…….,a n – b n ) For any scalar α positive or negative, αa = (αa 1,αa 2,…….,αa n ) Vector (0, 0,….,0) is called null vector. Inner product or scalar product of two vectors, written as a.b is a number. a.b = (a 1 b 1,a 2 b 2,…….,a n b n )

Vectors Linearly Dependent: Vectors a 1, a 2, a 3,……, a n are linearly dependent, if there exist scalars α 1, α 2,…, α n (not all zero), such that One vector can be written as linear combination of others, Vector Space: A set of all n-component vectors (Euclidean n- space). Spanning: A set of vectors span a vector space V, if every vector in V can be expressed as linear combination of vectors in that set. Basis: A set of linearly independent vectors that span the vector space V.

Linear Dependence

Matrices A matrix A of size m x n is a rectangular array of numbers with m rows and n columns is a matrix of two rows and three columns (i, j) th element of A is denoted by a ij. a 12 = 2 and a 23 = 6. The elements (a ij ) for i = j are called diagonal elements. Elements of each column of a matrix is called column vector. Elements of each row of a matrix is called row vector. A matrix with equal number of rows and columns is called square matrix.

Matrices Transpose of A: Matrix obtained by interchanging rows and columns of A. Denoted by A ’ or A T. A T = [a ji ] A T = Symmetric Matrix: A T = A Identity Matrix: A square matrix whose diagonal elements are all 1 and off-diagonal elements are all zero. Denoted by I. Null Matrix: A matrix whose all elements are zero.

Matrix Operations Sum or difference of two matrices A and B is a matrix C. C = A B, c ij = a ij b ij Product AB is defined if and only if, the no. of columns of A is equal to no. of rows of B If A is an m x n matrix and B is an n x r matrix, then AB = C is a matrix of size m x r. The (i, j) th element of C is given by

Matrix Addition IfIf and then

Matrix Multiplication [2 x 2] [2 x 3]

Matrix Operations For any scalar α, αA = [αa ij ] (A + B) + C = A + (B + C) A + B = B + A (A+B)C = AC + BC AB ≠ BA (AB)C = A(BC) IA = AI = A (A + B) T = A T + B T (AB) T = B T A T

Determinant of a Square Matrix Denoted by. If A is 2 x 2 matrix, then If A is n x n matrix, then, where M i1 is a sub-matrix obtained by deleting row i and column 1 of A. Singular Matrix: Determinant is zero. Non-singular Matrix: Determinant is not zero.

Example A is singular

Inverse of a Matrix The inverse of a matrix A is denoted by A -1. It is defined only for non-singular square matrices. AA -1 = I (identity matrix) Unknown set of values x can be found by inverse of matrix A

Example Inverse Matrix:2 x 2 In words: Take the original matrix. Switch a and d. Change the signs of b and c. Multiply the new matrix by 1 over the determinant of the original matrix.

Condition of a Matrix Condition of a Matrix: Measure of the numerical difficulties likely to arise when the matrix is used in calculations. For example, consider If small changes in x, produce large changes in Q(x), then matrix A is ill-conditioned. Condition Number of a Matrix:, where λ h and λ l are Eigen values of greatest and smallest modulus. If condition number is large, then ill-conditioned. If condition number is close to 1, then well- conditioned.

Quadratic Forms A function of n variables f(x 1,x 2,…..,x n ) is called a quadratic form if, where Q (nxn) = [q ij ] and x T = (x 1,x 2,…..,x n ). Q is assumed to be symmetric. Otherwise, Q can be replaced with the symmetric matrix (Q+Q T )/2 without changing value of the quadratic form.

Definitions A matrix Q is positive definite when x T Qx > 0 for all x ≠ 0. is positive definite. A matrix Q is positive semi-definite when x T Qx ≥ 0 for all x and there exists an x ≠ 0 such that x T Qx = 0. is positive semi-definite. A matrix Q is negative definite when x T Qx < 0 for all x ≠ 0. is negative definite.

Definitions A matrix Q is negative semi-definite when –Q is positive semi-definite. is negative semi-definite. A matrix Q is indefinite when x T Qx > 0 for some x and < 0 for other x. is indefinite.

Principal Minor Principal minor of order k: A sub-matrix obtained by deleting any n-k rows and their corresponding columns from an n x n matrix Q. Consider Principal minors of order 1 are diagonal elements 1, 5, and 9. Principal minors of order 2 are Principal minor of order 3 is Q. Determinant of a principal minor is called principal determinant. There are 2 n -1 principal determinants for an n x n matrix.

Leading Principal Minor The leading principal minor of order k of an n x n matrix is obtained by deleting the last n-k rows and their corresponding columns. Leading principal minor of order 1 is 1. Leading principal minor of order 2 is Leading principal minor of order 3 is Q itself. No. of leading principal determinants of an n x n matrix is n.

Tests Tests for positive definite matrices All diagonal elements must be positive. All the leading principal determinants must be positive. Tests for positive semi-definite matrices All diagonal elements are non-negative. All the principal determinants are non-negative. Tests for negative definite and negative semi- definite matrices Test the negative of the matrix for positive definiteness or positive semi-definiteness. Test for indefinite matrices At least two of its diagonal elements are of opposite sign.

Convex Sets A set S is convex set if for any two points in the set the line joining those two points is also in the set. S is a convex set if for any two vectors x (1) and x (2) in S, the vector x = λ x (1) +(1-λ) x (2) is also in S for λ between 0 and 1.

Convex Sets The intersection of convex sets is a convex set (Figure A.4). The union of convex sets is not necessarily a convex set (Figure A.4).

Convex Sets A convex combination of vectors x (1), x (2),…., x (n) is a vector x such that x = λ 1 x (1) +λ 2 x (2) +…+λ k x (k) λ 1 +λ 2 +…+λ k = 1 λ i ≥0 for i = 1,2,….,k Extreme point: A point in convex set that cannot be expressed as the midpoint of any two points in the set Convex set S = {(x 1,x 2 )|0≤x 1 ≤2,0≤x 2 ≤2} This set has four extreme points (0,0), (0,2),(2,0) and (2,2) A hyperplane is a convex set.

APPENDIX B: CONVEX AND CONCAVE FUNCTIONS

Convex Function Convex function: A function is convex on set D if and only if for any two points x (1) and x (2) Є D and 0 ≤ λ ≤ 1, f[λx (1) + (1-λ)x (2) ] ≤ λf(x (1) ) +(1- λ) x (2)

Properties of Convex Functions

Property 4 The linear approximation of f(x) at any point in the interval always underestimates the true function value

Convexity of a Function The Hessian matrix of a function f(x 1, x 2,…, x n ) is an n x n symmetric matrix given by Test for convexity of a function: A function f is convex if the Hessian matrix of f is positive definite or positive semi-definite for all values of x 1, x 2,…, x n. Test for concavity of a function: A function f is convex if the Hessian matrix of f is negative definite or negative semi-definite for all values of x 1, x 2,…, x n.

Example H is a symmetric. All diagonal elements are positive. The leading principal determinants are H is a positive-definite matrix, which implies f is convex function