Homework 1 Elena Davidson (B) (C) (D) (E) (F) (G) (H) (I)

Similar documents
Numerical Linear Algebra Homework Assignment - Week 2

Computational math: Assignment 1

The Singular Value Decomposition

CS 246 Review of Linear Algebra 01/17/19

Finite Math - J-term Section Systems of Linear Equations in Two Variables Example 1. Solve the system

CS100: DISCRETE STRUCTURES. Lecture 3 Matrices Ch 3 Pages:

Knowledge Discovery and Data Mining 1 (VO) ( )

MATH 423 Linear Algebra II Lecture 33: Diagonalization of normal operators.

Lecture notes on Quantum Computing. Chapter 1 Mathematical Background

Appendix A: Matrices

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Spring 2018 Instructor: Dr. Sateesh Mane.

Chapter 3. Determinants and Eigenvalues

Notes on singular value decomposition for Math 54. Recall that if A is a symmetric n n matrix, then A has real eigenvalues A = P DP 1 A = P DP T.

Phys 201. Matrices and Determinants

Review of Linear Algebra

Image Registration Lecture 2: Vectors and Matrices

Notes on Eigenvalues, Singular Values and QR

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Linear Algebra: Matrix Eigenvalue Problems

Mathematics. EC / EE / IN / ME / CE. for

Math Spring 2011 Final Exam

Math Fall Final Exam

Symmetric and anti symmetric matrices

Lecture Notes in Linear Algebra

Matrices and Linear Algebra

Introduction to Determinants

Chapters 5 & 6: Theory Review: Solutions Math 308 F Spring 2015

6 EIGENVALUES AND EIGENVECTORS

Math 360 Linear Algebra Fall Class Notes. a a a a a a. a a a

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

Math 520 Exam 2 Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

1 Determinants. 1.1 Determinant

MIT Final Exam Solutions, Spring 2017

Vectors and matrices: matrices (Version 2) This is a very brief summary of my lecture notes.

Linear Algebra March 16, 2019

[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of

Math 489AB Exercises for Chapter 2 Fall Section 2.3

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations


MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product.

3 Matrix Algebra. 3.1 Operations on matrices

Lecture 6: Geometry of OLS Estimation of Linear Regession

Math Linear Algebra Final Exam Review Sheet

Fundamentals of Engineering Analysis (650163)

Review problems for MA 54, Fall 2004.

Notes on Mathematics

Math Camp II. Basic Linear Algebra. Yiqing Xu. Aug 26, 2014 MIT

Quantum Computing Lecture 2. Review of Linear Algebra

22A-2 SUMMER 2014 LECTURE 5

ENGI 9420 Lecture Notes 2 - Matrix Algebra Page Matrix operations can render the solution of a linear system much more efficient.

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra

Chapter 2. Matrix Arithmetic. Chapter 2

Linear Algebra Highlights

Matrices. Chapter Definitions and Notations

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

ECON 331 Homework #2 - Solution. In a closed model the vector of external demand is zero, so the matrix equation writes:

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

1 Matrices and vector spaces

Systems of Linear Equations and Matrices

Systems of Linear Equations and Matrices

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Study Guide for Linear Algebra Exam 2

Chapter 5 Eigenvalues and Eigenvectors

The Singular Value Decomposition (SVD) and Principal Component Analysis (PCA)

Linear Algebra Review. Fei-Fei Li

Math 315: Linear Algebra Solutions to Assignment 7

Conceptual Questions for Review

k is a product of elementary matrices.

18.06 Problem Set 8 Solution Due Wednesday, 22 April 2009 at 4 pm in Total: 160 points.

System of Linear Equations

Matrices and Vectors

Linear Algebra and Matrix Inversion

1 Linear Algebra Problems

Preliminary/Qualifying Exam in Numerical Analysis (Math 502a) Spring 2012

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic

Linear Systems. Class 27. c 2008 Ron Buckmire. TITLE Projection Matrices and Orthogonal Diagonalization CURRENT READING Poole 5.4

I. Multiple Choice Questions (Answer any eight)

4 Elementary matrices, continued

Mathematical foundations - linear algebra

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

Math 320, spring 2011 before the first midterm

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

18.06SC Final Exam Solutions

Final Review Written by Victoria Kala SH 6432u Office Hours R 12:30 1:30pm Last Updated 11/30/2015

Matrix operations Linear Algebra with Computer Science Application

Cayley-Hamilton Theorem

MAT 1302B Mathematical Methods II

Chapter 2 Notes, Linear Algebra 5e Lay

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns.

Linear Algebra, Vectors and Matrices

MTH 464: Computational Linear Algebra

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

Singular Value Decomposition

Multiplying matrices by diagonal matrices is faster than usual matrix multiplication.

Throughout these notes we assume V, W are finite dimensional inner product spaces over C.

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

Matrices. Math 240 Calculus III. Wednesday, July 10, Summer 2013, Session II. Matrices. Math 240. Definitions and Notation.

Transcription:

CS 106 Spring 2004 Homework 1 Elena Davidson 8 April 2004 Problem 1.1 Let B be a 4 4 matrix to which we apply the following operations: 1. double column 1, 2. halve row 3, 3. add row 3 to row 1, 4. interchange columns 1 and 4, 5. subtract row 2 from each of the other rows, 6. replace column 4 by column 3, 7. delete column 1 1.1(a) x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x 10 x 11 x 12 x 13 x 14 X 15 x 16 2 0 0 0 0 0 1 0 0 0 1 2 0 1 0 1 0 (B) (C) (D) (E) 0 0 1 0-1 -1 1-1 0 0 1 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 (F) (G) (H) (I) To apply the requested operations, we mutliply the matrices listed above. Given a matrix X, we perform the operation Y X when we want to work on X s rows with the matrix Y, and XY when we want to work on X s columns. And so, we perform the following steps: 1. BC 2. D(BC) 3. E(D(BC)) 4. E(D(BC))F 5. G(E(D(BC))F) 6. G(E(D(BC))F)H 7. G(E(D(BC))F)H I 1

1.1 (b) To achieve the same result as a product of three matrices, we need to group together the rows operations and the column operations. That is, perform all the operations that work on the rows in a matrix A, compute AB, and then multiply ABC for the remaining operations. Problem 1.3 A square or rectangular matrix R is upper triangular if r ij = 0 for i > j. By considering what space is spanned by the first n columns of R and using (1.8), show that if R is a non-singular m m upper-triangular matrix, then R 1 is also upper-triangular. Let Z = A 1. Equation (1.8) gives us m e j = z ij a i. i=1 Furthermore, we know that e j = Az j. In other words, each e i is a column of the identity matrix. Therefore, considering each Z i as a vector, Z i is some linear combination of A in the first i places and 0 everywhere else. Z 1 takes the form (x 1, 0,..., 0) for some x 1, Z 2 takes the form (x 2, x 3, 0,..., 0) for some x 2, x 3, and so on. Therefore the matrix Z must have 0 s below the diagonal; it is upper-triangular. Problem 1.4 Let f 1,..., f 8 be a set of functions defined on the interval [1, 8] with the property that for any numbers d 1,..., d 8, there exists a set of coefficients c 1,..., c 8 such that 1.4(a) 8 c j f j (i) = d i, i = 1,..., 8. j=1 Show by appealing to the theorems of this lecture that d 1,..., d 8 determine c 1,..., c 8 uniquely. If A is the 8 8 matrix representing the linear mapping from d 1,..., d 8 to c 1,..., c 8, then consider the basis matrices e j for j = 1, 2,..., 8. For any e j, the operation Be j gives you a unique c i. Furthermore, the matrix formed by combining all the e j s must have rank = m. Since the e j s are bases for the d i s, we can use theorem 1.2 directly to see that A maps no two distinct vectors to the same vector. 1.4(b) Let A be the 8 8 matrix representing the linear mapping from data d 1,..., d 8 to coefficients c 1,..., c 8. What is the i, j entry of A 1? The i, j entry of A 1 is f j (i). 2

Problem 2.1 Show that if a matrix A is both triangular and unitary, then it is diagonal. Assume that A is upper-triangular. By the definition of unitary, A = A 1. Since A is triangular, we know from exercise 1.3 that A 1 is also upper-triangular. Moreover, since A is unitary, we know that A is uppertriangular as well. In order for A and its transpose to be upper-triangular, A must be diagonal. The same follows if A is lower-triangular. Problem 2.3 Let A C m m be hermitian. An eigenvector of A is a nonzero vector x C m such that for some λ C, the corresponding eigenvalue. 2.3(a) (first solution) Prove that all eigenvalues of A are real. We have that. Multplying both sides by x we get x Ax = x λx = λ x 2 In other words, λ = x Ax/ x 2. First we need to show that x Ax is real. We ll start by showing that x Ax is hermitian: (x Ax) = x A (x ) = x Ax And so, x Ax is hermitian. Therefore, it must have reals on the main diagonal. We know x 2 is real by the definition of norm. Therefore, the eigenvalue λ must also be real. 2.3(b) (second solution) We have. We can rewrite as follows: A x = λ x A x = λx x Now we can transpose both sides of the first equality: x A = λx x A x = xλx And so, we have that λ = λ, and so λ must be real. 3

2.3(b) Prove that if x and y are eigenvectors corresponding to different eigenvalues, then x and y are orthogonal. By definition, x and y are orthogonal if x y = 0. We have Ax = λ 1 x and Ay = λ 2 y with λ 1 = λ 2. Therefore we get Ax y = x A T y = x Ay λ 1 x y = x λ 2 y (λ 1 λ 2 )(x y) = 0 And since λ 2 = λ 2, it must be the case that x y = 0. Problem 2.4 What can be said about the eigenvalues of a unitary matrix? All eigenvalues of a unitary matrix lie on the unit circle, and so must have length 1. We can show this with the property that unitary matrices don t stretch or dilate the matrix, that is: Ax = x. And so we get: Ax = x Ax = λx = λ x And so we get that λ x = x, so λ must be on the unit circle. Problem 2.5 Let S C m m be skew-hermitian, i.e., S = S. 2.5(a) Show by using exercise 2.1 that the eigenvalues of S are pure imaginary. We have. Since A = A we get x A x = x Ax = x λx, telling us that λ = λ and so λ must be imaginary. = x λx 2.5(c) Show that Q = (I S) 1 (I + S), known as the Cayley transform of S, is unitary. We have QQ = (I S) 1 (I + S)(I S)(I + S) 1. 4

Now we need to show that (I + S)(I S) = (I S)(I + S), which we can do by applying distribuve laws of matrix arithmetic: and (I + S)(I S) = (I + S)I (I + S)S = (I + S)I (I S + SS) = I + S S SS = I + S + S + S S (I S)(I + S) = I (I + S) S(I + S) = I (I + S) (SI + SS) = I + S S SS = I + S + S + S S = (I + S)(I S) Now that we have (I + S)(I S) = (I S)(I + S), we can amend the original equation: And so we conclude that Q is unitary. QQ = (I S) 1 (I + S)(I S)(I + S) 1 = (I S) 1 (I S)(I + S)(I + S) 1 = I 5