A Review of Linear Algebra

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

Some notes on Linear Algebra. Mark Schmidt September 10, 2009

MAT Linear Algebra Collection of sample exams

Conceptual Questions for Review

Review of Some Concepts from Linear Algebra: Part 2

(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 =

Review problems for MA 54, Fall 2004.

LINEAR ALGEBRA 1, 2012-I PARTIAL EXAM 3 SOLUTIONS TO PRACTICE PROBLEMS

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

Linear Algebra Primer

Math 310 Final Exam Solutions

Mathematical foundations - linear algebra

MATH 304 Linear Algebra Lecture 34: Review for Test 2.

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

Applied Linear Algebra in Geoscience Using MATLAB

Linear Algebra in Actuarial Science: Slides to the lecture

Maths for Signals and Systems Linear Algebra in Engineering

Linear Algebra Formulas. Ben Lee

MATH 31 - ADDITIONAL PRACTICE PROBLEMS FOR FINAL

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

Review of some mathematical tools

5.) For each of the given sets of vectors, determine whether or not the set spans R 3. Give reasons for your answers.

There are six more problems on the next two pages

Linear Algebra, part 3 QR and SVD

Stat 159/259: Linear Algebra Notes

Problem Set (T) If A is an m n matrix, B is an n p matrix and D is a p s matrix, then show

Ir O D = D = ( ) Section 2.6 Example 1. (Bottom of page 119) dim(v ) = dim(l(v, W )) = dim(v ) dim(f ) = dim(v )

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

ANSWERS. E k E 2 E 1 A = B

Linear Algebra Review. Vectors

PRACTICE FINAL EXAM. why. If they are dependent, exhibit a linear dependence relation among them.

UNIT 6: The singular value decomposition.

33AH, WINTER 2018: STUDY GUIDE FOR FINAL EXAM

LINEAR ALGEBRA SUMMARY SHEET.

Math Linear Algebra Final Exam Review Sheet

Cheat Sheet for MATH461

I. Multiple Choice Questions (Answer any eight)

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

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

. = V c = V [x]v (5.1) c 1. c k

Lecture: Linear algebra. 4. Solutions of linear equation systems The fundamental theorem of linear algebra

Example Linear Algebra Competency Test

Chapter 3 Transformations

Eigenvalues and Eigenvectors A =

Basic Elements of Linear Algebra

18.06SC Final Exam Solutions

Linear Algebra, part 3. Going back to least squares. Mathematical Models, Analysis and Simulation = 0. a T 1 e. a T n e. Anna-Karin Tornberg

Numerical Linear Algebra

Solution of Linear Equations

Eigenvalues and Eigenvectors

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

A Brief Outline of Math 355

CS 143 Linear Algebra Review

MATH 1120 (LINEAR ALGEBRA 1), FINAL EXAM FALL 2011 SOLUTIONS TO PRACTICE VERSION

Pseudoinverse & Moore-Penrose Conditions

1. Select the unique answer (choice) for each problem. Write only the answer.

Linear Algebra Highlights

Lecture notes: Applied linear algebra Part 1. Version 2

TBP MATH33A Review Sheet. November 24, 2018

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

Linear Algebra- Final Exam Review

HOMEWORK PROBLEMS FROM STRANG S LINEAR ALGEBRA AND ITS APPLICATIONS (4TH EDITION)

MA 265 FINAL EXAM Fall 2012

MATH 22A: LINEAR ALGEBRA Chapter 4

Elementary linear algebra

q n. Q T Q = I. Projections Least Squares best fit solution to Ax = b. Gram-Schmidt process for getting an orthonormal basis from any basis.

1. General Vector Spaces

6. Orthogonality and Least-Squares

7. Symmetric Matrices and Quadratic Forms

MATH 23a, FALL 2002 THEORETICAL LINEAR ALGEBRA AND MULTIVARIABLE CALCULUS Solutions to Final Exam (in-class portion) January 22, 2003

Knowledge Discovery and Data Mining 1 (VO) ( )

Exam questions with full solutions

forms Christopher Engström November 14, 2014 MAA704: Matrix factorization and canonical forms Matrix properties Matrix factorization Canonical forms

Online Exercises for Linear Algebra XM511

Problem # Max points possible Actual score Total 120

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

orthogonal relations between vectors and subspaces Then we study some applications in vector spaces and linear systems, including Orthonormal Basis,

MATH 369 Linear Algebra

homogeneous 71 hyperplane 10 hyperplane 34 hyperplane 69 identity map 171 identity map 186 identity map 206 identity matrix 110 identity matrix 45

Chapter 7. Canonical Forms. 7.1 Eigenvalues and Eigenvectors

2 Determinants The Determinant of a Matrix Properties of Determinants Cramer s Rule Vector Spaces 17

MATH 304 Linear Algebra Lecture 20: The Gram-Schmidt process (continued). Eigenvalues and eigenvectors.

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

The Jordan Normal Form and its Applications

MATH 304 Linear Algebra Lecture 23: Diagonalization. Review for Test 2.

a 11 a 12 a 11 a 12 a 13 a 21 a 22 a 23 . a 31 a 32 a 33 a 12 a 21 a 23 a 31 a = = = = 12

Lecture 23: 6.1 Inner Products

Math 115A: Homework 5

Lecture 2: Linear Algebra Review

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

Linear Algebra Massoud Malek

Linear Algebra in A Nutshell

AMS526: Numerical Analysis I (Numerical Linear Algebra)

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Computational Methods. Eigenvalues and Singular Values

B553 Lecture 5: Matrix Algebra Review

BASIC ALGORITHMS IN LINEAR ALGEBRA. Matrices and Applications of Gaussian Elimination. A 2 x. A T m x. A 1 x A T 1. A m x

Econ Slides from Lecture 7

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

NATIONAL UNIVERSITY OF SINGAPORE MA1101R

Transcription:

A Review of Linear Algebra Mohammad Emtiyaz Khan CS,UBC A Review of Linear Algebra p.1/13

Basics Column vector x R n, Row vector x T, Matrix A R m n. Matrix Multiplication, (m n)(n k) m k, AB BA. Transpose A T, (AB) T = B T A T, Symmetric A = A T Inverse A 1, doesn t exist always, (AB) 1 = B 1 A 1. x T x is a scalar, xx T is a matrix. Ax = b, three ways of expressing: n j=1 a ijx j = b j, j r T j x = b j, j, where r j is j th row. x 1 a 1 + x 2 a 2 +... + x n a n = b (Linear Combination, l.c.) System of equations : Non-singular (unique solution), singular (no solution, infinite solution). A Review of Linear Algebra p.2/13

2 1 1 4 6 0 2 7 2 2 1 1 0 8 2 0 0 1 LU factorization x 1 x 2 x 3 x 1 x 2 x 3 = = }{{} U 1 1 1 1 1 1 1 1 }{{}}{{} E F 5 2 9 5 12 2 1 2 1 Ax = b Ux = EFGb } 1 {{ 1 } G, L = G 1 F 1 E 1 A Review of Linear Algebra p.3/13

LU factorization (First non-singular case) If no row exchanges are required, then A = LU (unique). Solve Lc = b, then Ux = c Another form A = LDU. (Second non-singular case) There exist a permutation matrix P that reorders the rows, so that PA = LU. (Singular Case) No such P exist. (Cholesky Decomposition) If A is symmetric, and A = LU can be found without any row exchanges, then A = LL T (also called square root of a matrix). (proof). Positive Definite matrix always have a Cholesky decompostion. A Review of Linear Algebra p.4/13

Vector Space, Subspace and Matrix (Real Vector Space) A set of vectors" with rules for vector addition and multiplication by real numbers. E.g. R 1,R 2,...,R, Hilbert Space. (8 conditions) Includes an identity vector and zero vector, closed under addition and multiplication etc. etc. (Subspace) Subset of a vector space, closed under addition and multiplication (should contain zero). Subspace spanned" by a matrix (Outline the concept) 1 0 b 1 x 1 5 + x 2 4 = b 2 2 4 b 3 A Review of Linear Algebra p.5/13

Linear Independence, Basis, Dimension (Linear Independence, l.i.) If x 1 a 1 + x 2 a 2 +... + x n a n only happens when x 1 = x 2 =... = 0, {a k } are called linearly independent. A set of n vectors in R m are not l.i. if n > m (proof). (Span) If every vector v in V can be expressed as a l.c. of {a k }, then {a k } are said to span V. (Basis) {a k } are called basis of V if they are l.i. and span V (Too many and unique) (Dimension) Number of vectors in any basis is called dimension (and is same for all basis). A Review of Linear Algebra p.6/13

Four Fundamental Spaces Fundamental Theorem of Linear Algebra I 1. R(A) = Column Space of A; l.c. of columns; dim r. 2. N(A) = Nullspace of A; All x : Ax = 0; dim n r. 3. R(A T ) = Row space of A; l.c. of rows; dim r. 4. N(A T ) = Left nullspace of A; All y : A T y = 0; dim m r. (Rank) r is called rank of the matrix. Inverse exist iff rank is as large as possible. Question: Rank of uv T A Review of Linear Algebra p.7/13

Orthogonality (Norm) x 2 = x T x = x 2 1 +... + x2 n (Inner Product) x T y = x 1 y 1 +... + x n y n (Orthogonal) x T y = 0 Orthogonal l.i. (proof). (Orthonormal basis) Orthogonal vectors with norm =1 (Orthogonal Subspaces) V W if v w, v V,w W (Orthogonal Complement) The space of all vectors orthogonal to V denoted as V. The row space is orthogonal to the nullspace (in R n ) and the column space is orthogonal to the left nullspace (in R m ).(proof). A Review of Linear Algebra p.8/13

Finally... Fundamental Theorem of Linear Algebra II 1. R(A T ) = N(A) 2. R(A) = N(A T ) Any vector can be expressed as (1) (2) x = x 1 b 1 +... + x r b }{{} r x r = x r + x n +x r+1 b r+1 +... + x n b n }{{} x n Every matrix transforms its row space to its column space (Comments about pseudo-inverse and invertibility) A Review of Linear Algebra p.9/13

Gram-Schmidt Orthogonalization (Projection) of b on a is at b a T a a, for unit vector (at b)a (Schwartz Inequality) a T b a b (Orthogonal Matrix)Q = [q 1...q n ], Q T Q = I. (proof). (Length preservation) Qx = x (proof). Given vectors {a k }, construct orthogonal vectors{q k } 1. q 1 = a 1 / a 1 2. for each j, a j = a j (q T 1 a j)q 1... (q T j 1 a j)q j 1 3. q j = a j / a j QR Decomposition (Example) A Review of Linear Algebra p.10/13

Eigenvalues and Eigenvectors (Invariance)Ax = λx. (Characteristics Equation) (A λi)x = 0 (Nullspace) λ 1 +... + λ n = a 11 +... + a nn. λ 1...λ n = det(a). (A = SΛS 1 ) Suppose there exist n linear independent eigenvectors for A. If S is the matrix whose columns are those independent vectors, then A = SΛS 1 where Λ = diag(λ 1,...,λ n ). Diagonalizability is concerned with eigenvectors, and invertibility is concerned with eigenvalues. (Real symmetric matrix) Eigenvectors are orthogonal. So A = QΛQ T. (Spectral Theorem) A Review of Linear Algebra p.11/13

Singular Value Decomposition Any matrix can be factorized as A = UΣV T. Insightful? Finish. A Review of Linear Algebra p.12/13

Finish Thanks to Maria (Marisol Flores Gorrido) for helping me with this tutorial. A Review of Linear Algebra p.13/13