Draft. Lecture 01 Introduction & Matrix-Vector Multiplication. MATH 562 Numerical Analysis II. Songting Luo

Similar documents
AMS526: Numerical Analysis I (Numerical Linear Algebra)

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences)

Draft. Lecture 14 Eigenvalue Problems. MATH 562 Numerical Analysis II. Songting Luo. Department of Mathematics Iowa State University

Draft. Lecture 12 Gaussian Elimination and LU Factorization. MATH 562 Numerical Analysis II. Songting Luo

MATH 323 Linear Algebra Lecture 12: Basis of a vector space (continued). Rank and nullity of a matrix.

Linear Algebra Review. Vectors

MATH 315 Linear Algebra Homework #1 Assigned: August 20, 2018

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det

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

Chap 3. Linear Algebra

Quantum Computing Lecture 2. Review of Linear Algebra

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Singular Value Decomposition and its. SVD and its Applications in Computer Vision

Math 240 Calculus III

CSL361 Problem set 4: Basic linear algebra

The Singular Value Decomposition

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

Jim Lambers MAT 610 Summer Session Lecture 1 Notes

Online Exercises for Linear Algebra XM511

Math 1553, Introduction to Linear Algebra

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

Scientific Computing: Dense Linear Systems

MATH 583A REVIEW SESSION #1

Foundations of Matrix Analysis

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Lecture 16 Methods for System of Linear Equations (Linear Systems) Songting Luo. Department of Mathematics Iowa State University

Matrix Algebra: Summary

Lecture 7. Econ August 18

Dimension. Eigenvalue and eigenvector

Properties of Matrices and Operations on Matrices

Linear Algebra and Matrix Inversion

ELE/MCE 503 Linear Algebra Facts Fall 2018

Lecture Notes in Linear Algebra

18.06 Problem Set 8 - Solutions Due Wednesday, 14 November 2007 at 4 pm in

Columbus State Community College Mathematics Department Public Syllabus

I = i 0,

Linear algebra comments. Sophie Marques

Lecture Summaries for Linear Algebra M51A

Elementary maths for GMT

Numerical Linear Algebra Homework Assignment - Week 2

Knowledge Discovery and Data Mining 1 (VO) ( )

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

LINEAR ALGEBRA REVIEW

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

Matrices A brief introduction

CS 246 Review of Linear Algebra 01/17/19

EE731 Lecture Notes: Matrix Computations for Signal Processing

B553 Lecture 5: Matrix Algebra Review

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

MAT Linear Algebra Collection of sample exams

Linear Algebra Solutions 1

What is the Matrix? Linear control of finite-dimensional spaces. November 28, 2010

Linear Algebra: Matrix Eigenvalue Problems

Review of some mathematical tools

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

Math 102, Winter Final Exam Review. Chapter 1. Matrices and Gaussian Elimination

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

Cayley-Hamilton Theorem

1 Last time: least-squares problems

Contents. Preface for the Instructor. Preface for the Student. xvii. Acknowledgments. 1 Vector Spaces 1 1.A R n and C n 2

(b) If a multiple of one row of A is added to another row to produce B then det(b) =det(a).

Review of Basic Concepts in Linear Algebra

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

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

Instructions Please answer the five problems on your own paper. These are essay questions: you should write in complete sentences.

18.06 Problem Set 2 Solution

Math113: Linear Algebra. Beifang Chen

2. Every linear system with the same number of equations as unknowns has a unique solution.

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

MATH 304 Linear Algebra Lecture 10: Linear independence. Wronskian.

Review of Linear Algebra

b 1 b 2.. b = b m A = [a 1,a 2,...,a n ] where a 1,j a 2,j a j = a m,j Let A R m n and x 1 x 2 x = x n

n n matrices The system of m linear equations in n variables x 1, x 2,..., x n can be written as a matrix equation by Ax = b, or in full

Maths for Signals and Systems Linear Algebra in Engineering

Eigenvalues, Eigenvectors. Eigenvalues and eigenvector will be fundamentally related to the nature of the solutions of state space systems.

a s 1.3 Matrix Multiplication. Know how to multiply two matrices and be able to write down the formula

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same.

Background Mathematics (2/2) 1. David Barber

Notes on Eigenvalues, Singular Values and QR

Chapter 7. Linear Algebra: Matrices, Vectors,

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

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

Lecture 13 Stability of LU Factorization; Cholesky Factorization. Songting Luo. Department of Mathematics Iowa State University

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i )

Math for ML: review. CS 1675 Introduction to ML. Administration. Lecture 2. Milos Hauskrecht 5329 Sennott Square, x4-8845

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

Math 18, Linear Algebra, Lecture C00, Spring 2017 Review and Practice Problems for Final Exam

MATH 235. Final ANSWERS May 5, 2015

Graduate Mathematical Economics Lecture 1

Fundamentals of Engineering Analysis (650163)

Linear Algebra (Review) Volker Tresp 2018

Fall 2016 MATH*1160 Final Exam

Reduction to the associated homogeneous system via a particular solution

(a) If A is a 3 by 4 matrix, what does this tell us about its nullspace? Solution: dim N(A) 1, since rank(a) 3. Ax =

1 Determinants. 1.1 Determinant

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

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

Components and change of basis

Lecture notes on Quantum Computing. Chapter 1 Mathematical Background

Transcription:

Lecture 01 Introduction & Matrix-Vector Multiplication Songting Luo Department of Mathematics Iowa State University MATH 562 Numerical Analysis II Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 1 / 14

Outline 1 Course Information 2 Matrix-Vector Multiplication Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 2 / 14

Course Description What is numerical analysis? numerical linear algebra? The study of algorithms for the problems of continuous mathematics. Topics: Solutions of linear equations. Matrix factorization and decomposition. Conditioning, stability, and efficiency. Computation of eigenvalues and eigenvectors. Solution of non-linear equations. Prerequisite/Co-requisite: Calculus, ODE, PDE, MATH 317 (Linear Algebra). Basic programming tools such as Matlab ( or GNU Octave). Required Textbook: Numerical Linear Algebra, by Lloyd N. Trefethen and David Bau, III, SIAM, 1997, ISBN 0-89871-361-7. Classpage (Syllabus): http://orion.math.iastate.edu/luos/teaching /MATH562 16SS/MATH562 16SS.html Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 3 / 14

Definition Matrix-vector product b Ax: b i nÿ a ij x j All entries belong to C, the field of complex numbers. The space of m-vectors is C m, and the space of m ˆ n matrices is C mˆn. The map x Ñ Ax is linear, which means that for any x, y P C n, and any α P C: Apx ` yq Ax ` Ay, j 1 Apαxq αax. Conversely, every linear map can be expressed as multiplication by a matrix. Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 4 / 14

Linear Combination Alternatively, matrix-vector product can be viewed as b Ax nÿ x j a j j 1 i.e., b is a linear combination of column vectors of A. Two different views of matrix-vector products: scalar operations: A acts on x to produce b: b i ř n j 1 a ijx j vector operations: x acts on A to produce b: b Ax ř n j 1 x ja j If A P C mˆn, Ax can be viewed as a linear mapping from C n to C m. Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 5 / 14

Matrix-Matrix Multiplication If A is l ˆ m and C is m ˆ n, then b AC is l ˆ n, with entries defined by mÿ b ij a ik c kj Written in columns, we have k 1 b j Ac j mÿ c kj a k k 1 In other word, each column of B is a linear combination of the columns of A. Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 6 / 14

Perspective: Vector Space Understanding matrix operations in terms of vector spaces Vector space spanned by a set of vectors is composed of linear combinations of these vectors It is closed under addition and scalar multiplication 0 is always a member of a subspace Space spanned by m-vectors is subspace of C m If S 1 and S 2 are two subspaces, then S 1 Ş S2 is a subspace, so is S 1 ` S 2, the space of sum of vectors from S 1 and S 2. (Note: is S 1 ` S 2 equivalent to S 1 Ť S2? ) Two subspaces S 1 and S 2 of C m are complementary subspaces of each other if S 1 ` S 2 C m and S 1 Ş S2 t0u. In other words, dimps 1 q ` dimps 2 q m and S 1 Ş S2 t0u Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 7 / 14

Range and Null Space Definition The range of a matrix A, written as rangepaq, is the set of vectors that can be expressed as Ax for some x. Theorem rangepaq is the space spanned by the columns of A. (Therefore, the range of A is also called the column space of A.) Definition The null space of A P C mˆn, written as nullpaq, is the set of vectors x that satisfy Ax 0. (Entries of x P nullpaq give coefficients of ř x i a i 0) Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 8 / 14

Rank Definition The column rank of a matrix is the dimension of its column space. The row rank is the dimension of the space spanned by its rows. Question: Can the column rank and the row rank be different? Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 9 / 14

Rank Definition The column rank of a matrix is the dimension of its column space. The row rank is the dimension of the space spanned by its rows. Question: Can the column rank and the row rank be different? Answer: No! We therefore simply say the rank of a matrix. Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 9 / 14

Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 9 / 14 Rank D Definition The column rank of a matrix is the dimension of its column space. The row rank is the dimension of the space spanned by its rows. Question: Can the column rank and the row rank be different? Answer: No! We therefore simply say the rank of a matrix. Question: Given A P C mˆn, what is dimpnullpaqq ` rankpaq equal to?

Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 9 / 14 Rank D Definition The column rank of a matrix is the dimension of its column space. The row rank is the dimension of the space spanned by its rows. Question: Can the column rank and the row rank be different? Answer: No! We therefore simply say the rank of a matrix. Question: Given A P C mˆn, what is dimpnullpaqq ` rankpaq equal to? Answer: n (Rank-nullity theorem)

Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 10 / 14 Transpose and Adjoint D Transpose of A, denoted by A T, is the matrix B with b ij a ji Adjoint or Hermitian conjugate, denoted by A or A H, is the matrix B with b ij ā ji Note that: pabq T B T A T and pabq B A A matrix A is symmetric if A A T. It is Hermitian if A A. A matrix A is skew-symmetric if A A T. It is skew-hermitian if A A. Diagonal matrix, Upper (Lower) triangular matrix, etc..

Definition D A matrix has full rank if it has the maximal possible rank, i.e., mintm, nu Theorem A matrix A P C mˆn with m ě n has full rank if and only if it maps no two distinct vectors to the same vector. Proof. pñq Column vectors of A forms a basis of rangepaq, so every b P rangepaq has a unique linear expansion in terms of the columns of A. pðq If A does not have full rank, then its column vectors are linear dependent, so its vectors do not have a unique linear combination. Definition A nonsingular or invertible matrix is a square matrix of full rank. Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 11 / 14

Inverse Definition D Given a nonsingular matrix A, its inverse is written as A 1, and AA 1 A 1 A I Note that pabq 1 pa 1 q pa q 1, and we use A as a shorthand for it B 1 A 1 Theorem The following conditions are equivalent: (a) A has an inverse A 1 (b) rankpaq is m (c) rangepaq is C m (d) nullpaq is t0u (e) 0 is not an eigenvalue of A (f) 0 is not a singular value of A (g) detpaq 0 Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 12 / 14

Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 13 / 14 Matrix Inverse Times a Vector D When writing x A 1 b, it means x is the solution of Ax b In other words, A 1 b is the vector of coefficients of the expansion of b in the basis of columns of f A. Multiplying b by A 1 is a change of basis operations to ta 1, a 2,..., a m u from te 1, e 2,..., e m u Multiplying A 1 b by A is a change of basis operations to te 1, e 2,..., e m u from ta 1, a 2,..., a m u.

Songting Luo ( Department of Mathematics Iowa State University[0.5in] MATH562 MATH 562 Numerical Analys 14 / 14 Rank-1 Matrices Full-rank matrices are important. D Another interesting special case is rank-1 matrices. A matrix A is rank-1 if it can be written as A uv, where u and v are nonzero vectors uv is called the outer product of the two vectors, as opposed to the inner product u v