ENGG5781 Matrix Analysis and Computations Lecture 9: Kronecker Product

Similar documents
ENGG5781 Matrix Analysis and Computations Lecture 8: QR Decomposition

EE/ACM Applications of Convex Optimization in Signal Processing and Communications Lecture 4

KRONECKER PRODUCT AND LINEAR MATRIX EQUATIONS

Matrices. In this chapter: matrices, determinants. inverse matrix

1. Structured representation of high-order tensors revisited. 2. Multi-linear algebra (MLA) with Kronecker-product data.

Jim Lambers MAT 610 Summer Session Lecture 1 Notes

On Expected Gaussian Random Determinants

Introduction to Matrix Algebra

Undergraduate Mathematical Economics Lecture 1

A = , A 32 = n ( 1) i +j a i j det(a i j). (1) j=1

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

ELE/MCE 503 Linear Algebra Facts Fall 2018

Graduate Mathematical Economics Lecture 1

Lecture 1 Review: Linear models have the form (in matrix notation) Y = Xβ + ε,

Determinants. Samy Tindel. Purdue University. Differential equations and linear algebra - MA 262

Chapter 1 Matrices and Systems of Equations

Lecture 2: Lattices and Bases

Mathematical Foundations of Applied Statistics: Matrix Algebra

Math Bootcamp An p-dimensional vector is p numbers put together. Written as. x 1 x =. x p

Math Linear Algebra Final Exam Review Sheet

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in

Matrix Arithmetic. a 11 a. A + B = + a m1 a mn. + b. a 11 + b 11 a 1n + b 1n = a m1. b m1 b mn. and scalar multiplication for matrices via.

Lecture: Algorithms for LP, SOCP and SDP

Chapter 2: Matrices and Linear Systems

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

Formula for the inverse matrix. Cramer s rule. Review: 3 3 determinants can be computed expanding by any row or column

Solvability of Linear Matrix Equations in a Symmetric Matrix Variable

Section 3.2. Multiplication of Matrices and Multiplication of Vectors and Matrices

1 Matrices and Systems of Linear Equations. a 1n a 2n

MATH 1210 Assignment 4 Solutions 16R-T1

arxiv: v1 [math.na] 13 Mar 2019

Lecture Notes: Matrix Inverse. 1 Inverse Definition. 2 Inverse Existence and Uniqueness

MODEL ANSWERS TO THE THIRD HOMEWORK

Lecture Notes: Eigenvalues and Eigenvectors. 1 Definitions. 2 Finding All Eigenvalues

Section 2.2: The Inverse of a Matrix

Linear Systems and Matrices

Bare minimum on matrix algebra. Psychology 588: Covariance structure and factor models

Matrix Algebra, Class Notes (part 2) by Hrishikesh D. Vinod Copyright 1998 by Prof. H. D. Vinod, Fordham University, New York. All rights reserved.

MAT 1332: CALCULUS FOR LIFE SCIENCES. Contents. 1. Review: Linear Algebra II Vectors and matrices Definition. 1.2.

2. Linear algebra. matrices and vectors. linear equations. range and nullspace of matrices. function of vectors, gradient and Hessian

Lecture 15 Review of Matrix Theory III. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

Econ Slides from Lecture 7

MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants.

Online Exercises for Linear Algebra XM511

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices

j=1 u 1jv 1j. 1/ 2 Lemma 1. An orthogonal set of vectors must be linearly independent.

Evaluating Determinants by Row Reduction

The determinant. Motivation: area of parallelograms, volume of parallepipeds. Two vectors in R 2 : oriented area of a parallelogram

MAT 2037 LINEAR ALGEBRA I web:

. The following is a 3 3 orthogonal matrix: 2/3 1/3 2/3 2/3 2/3 1/3 1/3 2/3 2/3

Math 240 Calculus III

Matrix & Linear Algebra

Lecture notes on Quantum Computing. Chapter 1 Mathematical Background

Lecture Notes: Solving Linear Systems with Gauss Elimination

STAT200C: Review of Linear Algebra

Chapter 2. Square matrices

Basic Concepts in Linear Algebra

Applied Matrix Algebra Lecture Notes Section 2.2. Gerald Höhn Department of Mathematics, Kansas State University

Section 3.3. Matrix Rank and the Inverse of a Full Rank Matrix

Matrix Algebra: Summary

2.1 Matrices. 3 5 Solve for the variables in the following matrix equation.

Review of Basic Concepts in Linear Algebra

Solution. That ϕ W is a linear map W W follows from the definition of subspace. The map ϕ is ϕ(v + W ) = ϕ(v) + W, which is well-defined since

Final Examination 201-NYC-05 - Linear Algebra I December 8 th, and b = 4. Find the value(s) of a for which the equation Ax = b

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

Linear Algebra and Matrix Inversion

ELA INTERVAL SYSTEM OF MATRIX EQUATIONS WITH TWO UNKNOWN MATRICES

Chapter 3. Matrices. 3.1 Matrices

Matrices and Linear Algebra

ELEMENTARY LINEAR ALGEBRA WITH APPLICATIONS. 1. Linear Equations and Matrices

3 (Maths) Linear Algebra

MAT 610: Numerical Linear Algebra. James V. Lambers

MAT Linear Algebra Collection of sample exams

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions

A = 3 B = A 1 1 matrix is the same as a number or scalar, 3 = [3].

Topic 1: Matrix diagonalization

ICS 6N Computational Linear Algebra Matrix Algebra

Linear Algebra Formulas. Ben Lee

EE731 Lecture Notes: Matrix Computations for Signal Processing

CS 143 Linear Algebra Review

A VERY BRIEF LINEAR ALGEBRA REVIEW for MAP 5485 Introduction to Mathematical Biophysics Fall 2010

Math Camp Notes: Linear Algebra I

Knowledge Discovery and Data Mining 1 (VO) ( )

Math 4377/6308 Advanced Linear Algebra

Math 1B03/1ZC3 - Tutorial 2. Jan. 21st/24th, 2014

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

CHARACTERIZATIONS. is pd/psd. Possible for all pd/psd matrices! Generating a pd/psd matrix: Choose any B Mn, then

Math Camp Lecture 4: Linear Algebra. Xiao Yu Wang. Aug 2010 MIT. Xiao Yu Wang (MIT) Math Camp /10 1 / 88

Algebra C Numerical Linear Algebra Sample Exam Problems

OHSx XM511 Linear Algebra: Solutions to Online True/False Exercises

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

Introduction Eigen Values and Eigen Vectors An Application Matrix Calculus Optimal Portfolio. Portfolios. Christopher Ting.

c i r i i=1 r 1 = [1, 2] r 2 = [0, 1] r 3 = [3, 4].

Matrices. Chapter What is a Matrix? We review the basic matrix operations. An array of numbers a a 1n A = a m1...

MATRICES The numbers or letters in any given matrix are called its entries or elements

Math/CS 466/666: Homework Solutions for Chapter 3

2 b 3 b 4. c c 2 c 3 c 4

Transcription:

ENGG5781 Matrix Analysis and Computations Lecture 9: Kronecker Product Wing-Kin (Ken) Ma 2017 2018 Term 2 Department of Electronic Engineering The Chinese University of Hong Kong

Kronecker product and properties vectorization Kronecker sum Lecture 9: Kronecker Product W.-K. Ma, ENGG5781 Matrix Analysis and Computations, CUHK, 2017 2018 Term 2. 1

Motivating Problem: Matrix Equations Problem: given A, B, find an X such that AX = B. ( ) an easy problem; if A has full column rank and ( ) has a solution, the solution is merely X = A B. Question: but how about matrix equations like AX + XB = C, A 1 XB 1 + A 2 XB 2 = C, AX + YB = C, X, Y both being unknown? such matrix equations can be tackled via matrix tools arising from the Kronecker product W.-K. Ma, ENGG5781 Matrix Analysis and Computations, CUHK, 2017 2018 Term 2. 2

Kronecker Product The Kronecker product of A and B is defined as Example: A B = a 11 B a 12 B... a 1n B a 21 B. a 22 B... a 2n B. a m1 B a m2 B... a mn B let a R m, b R m. By definition, a 1 b a b = a 2 b. a m b Note that, since ba T = [ a 1 b, a 2 b,..., a m b ], a b is a column-by-column concatenation of the outer product ba T.. W.-K. Ma, ENGG5781 Matrix Analysis and Computations, CUHK, 2017 2018 Term 2. 3

Properties Elementary properties: 1. A (αb) = (αa) B. 2. (A + B) C = A C + B C, A (B + C) = A B + A C (distributive) 3. A (B C) = (A B) C (associativity). 4. 0 mn = 0 m 0 n, I mn = I m I n ; 0 n and I n are n n zero and identity matrices. 5. (A B) T = A T B T, (A B) H = A H B H. 6. there exist permutation matrices U 1 and U 2 such that U 1 (A B)U 2 = B A. Note: Kronecker product is not commutative; i.e., A B B A in general. Property 6 above is a weak version of commutativity. W.-K. Ma, ENGG5781 Matrix Analysis and Computations, CUHK, 2017 2018 Term 2. 4

Property 9.1 (mixed product rule). More Properties (A B)(C D) = (AC) (BD), for A, B, C, D of appropriate matrix dimensions. Some properties from Property 9.1: 1. if A R m m and B R n n are nonsingular, then (A B) 1 = A 1 B 1 proof: (A 1 B 1 )(A B) = (A 1 A) (B 1 B) = I m I n = I mn. 2. if Q 1, Q 2 are semi-orthogonal, then Q 1 Q 2 is semi-orthogonal. proof: (Q 1 Q 2 ) T (Q 1 Q 2 ) = (Q T 1 Q T 2 )(Q 1 Q 2 ) = (Q T 1 Q 1 ) (Q T 1 Q 1 ) = I. W.-K. Ma, ENGG5781 Matrix Analysis and Computations, CUHK, 2017 2018 Term 2. 5

Example: Hadamard Matrix Consider an 2 2 orthogonal matrix H 2 = 1 [ ] 1 1 2 1 1. From H 2, construct a 4 4 matrix H 4 = H 2 H 2 = 1 2 1 1 1 1 1 1 1 1 1 1 1 1, 1 1 1 1 and inductively, H n = H n/2 H n/2 for any n that is a power of 2. is H 4 orthogonal? Yes, because H 4 H T 4 = (H 2 H 2 )(H T 2 H T 2 ) = (H 2 H T 2 H 2 H T 2 ) = I. for the same reason, any H n is orthogonal W.-K. Ma, ENGG5781 Matrix Analysis and Computations, CUHK, 2017 2018 Term 2. 6

Kronecker Product and Eigenvalues Theorem 9.1. Let A R m m, B R n n. Let {λ i, x i } m i=1 be the set of m eigen-pairs of A, and let {µ i, y i } n i=1 be the set of n eigen-pairs of B. The set of mn eigen-pairs of A B is given by {λ i µ j, x i y j } i=1,...,m, j=1,...,n Properties arising from Theorem 9.1 (for square A, B): 1. det(a B) = [det(a)] n [det(b)] m. 2. tr(a B) = tr(a)tr(b). 3. if A and B are (symmetric) PSD, then A B is PSD. W.-K. Ma, ENGG5781 Matrix Analysis and Computations, CUHK, 2017 2018 Term 2. 7

Vectorization The vectorization of A R m n is defined as a 1 a n vec(a) = a 2., i.e., we stack the columns of a matrix to form a column vector. Property 9.2. vec(axb) = (B T A)vec(X). Special cases of Property 9.2: vec(ax) = (I A)vec(X) vec(xa) = (A T I)vec(X) W.-K. Ma, ENGG5781 Matrix Analysis and Computations, CUHK, 2017 2018 Term 2. 8

write Proof Sketch of Property 9.2 m n X = x ij e i e T j i=1 j=1 by letting a i be the ith column of A and b j the jth row of B, m n m n vec(axb) = vec x ij Ae i e T j B = x ij vec(a i b T j ). i=1 j=1 i=1 j=1 by noting vec(a i b T j ) = vec([ a i b j1,..., a i b j,q ]) = b j1a i. = b j a i b j,q a i we get vec(axb) = m i=1 n j=1 x ijb j a i = (B T A)vec(X). W.-K. Ma, ENGG5781 Matrix Analysis and Computations, CUHK, 2017 2018 Term 2. 9

Kronecker Sum Problem: given A R n n, B R m m, C R n m, solve AX + XB = C ( ) with respect to X R m n. the above problem is a linear system. By vectorizing ( ), we get (I m A)vec(X) + (B T I n )vec(x) = vec(c) the Kronecker sum of A R n n and B R m m is A B = (I m A) + (B I n ). if a unique solution to ( ) is desired, we wish to know conditions under which A B is nonsingular W.-K. Ma, ENGG5781 Matrix Analysis and Computations, CUHK, 2017 2018 Term 2. 10

Kronecker Sum Theorem 9.2. Let {λ i, x i } n i=1 be the set of n eigen-pairs of A, and let {µ i, y i } m i=1 be the set of m eigen-pairs of B. The set of mn eigen-pairs of A B is given by {λ i + µ j, y j x i } i=1,...,n, j=1,...,m Theorem 9.3. The matrix equations AX + XB = C has a unique solution for every given C if and only if λ i µ j, for all i, j, where {λ i } n i=1 and {µ i} m i=1 are the set of eigenvalues of A and B, resp. idea behind Theorem 9.3: if λ i = µ j for some i, j, then from Theorem 9.2 there exists a zero eigenvalue for A B. W.-K. Ma, ENGG5781 Matrix Analysis and Computations, CUHK, 2017 2018 Term 2. 11

Kronecker Sum Consider A T X + XA = C, which is called the Lyapunov equations. from Theorem 9.3, the Lyapunov equations admit a unique solution if λ i λ j, for all i, j. if A is PD such that λ i > 0 for all i, the Lyapunov equations always have a unique solution. W.-K. Ma, ENGG5781 Matrix Analysis and Computations, CUHK, 2017 2018 Term 2. 12