The Second Undergraduate Level Course in Linear Algebra

Similar documents
Linear Algebra Review. Vectors

Applied Linear Algebra I Review page 1

Chapter 6. Orthogonality

SALEM COMMUNITY COLLEGE Carneys Point, New Jersey COURSE SYLLABUS COVER SHEET. Action Taken (Please Check One) New Course Initiated

LINEAR ALGEBRA. September 23, 2010

x = + x 2 + x

The Singular Value Decomposition in Symmetric (Löwdin) Orthogonalization and Data Compression

by the matrix A results in a vector which is a reflection of the given

Lecture 5: Singular Value Decomposition SVD (1)

Recall that two vectors in are perpendicular or orthogonal provided that their dot

Similarity and Diagonalization. Similar Matrices

Mean value theorem, Taylors Theorem, Maxima and Minima.

Orthogonal Diagonalization of Symmetric Matrices

Similar matrices and Jordan form

Au = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively.

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued).

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

CS3220 Lecture Notes: QR factorization and orthogonal transformations

Inner Product Spaces and Orthogonality

1 Introduction to Matrices

Recall the basic property of the transpose (for any A): v A t Aw = v w, v, w R n.

1 VECTOR SPACES AND SUBSPACES

Nonlinear Iterative Partial Least Squares Method

LINEAR ALGEBRA W W L CHEN

Linear Algebra Done Wrong. Sergei Treil. Department of Mathematics, Brown University

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013

MAT 242 Test 3 SOLUTIONS, FORM A

[1] Diagonal factorization

MAT188H1S Lec0101 Burbulla

Linear Algebra Done Wrong. Sergei Treil. Department of Mathematics, Brown University

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

3 Orthogonal Vectors and Matrices

Eigenvalues and Eigenvectors

Lecture notes on linear algebra

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices

x1 x 2 x 3 y 1 y 2 y 3 x 1 y 2 x 2 y 1 0.

Numerical Analysis Lecture Notes

Bindel, Spring 2012 Intro to Scientific Computing (CS 3220) Week 3: Wednesday, Feb 8

MATH2210 Notebook 1 Fall Semester 2016/ MATH2210 Notebook Solving Systems of Linear Equations... 3

Section Inner Products and Norms

Math 550 Notes. Chapter 7. Jesse Crawford. Department of Mathematics Tarleton State University. Fall 2010

is in plane V. However, it may be more convenient to introduce a plane coordinate system in V.

Problem Set 5 Due: In class Thursday, Oct. 18 Late papers will be accepted until 1:00 PM Friday.

Name: Section Registered In:

Examination paper for TMA4115 Matematikk 3

( ) which must be a vector

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix.

Factorization Theorems

Orthogonal Projections

MATH APPLIED MATRIX THEORY

x + y + z = 1 2x + 3y + 4z = 0 5x + 6y + 7z = 3

ISOMETRIES OF R n KEITH CONRAD

1 Sets and Set Notation.

QUALITY ENGINEERING PROGRAM

Mehtap Ergüven Abstract of Ph.D. Dissertation for the degree of PhD of Engineering in Informatics

Numerical Methods I Eigenvalue Problems

Content. Chapter 4 Functions Basic concepts on real functions 62. Credits 11

MAT 242 Test 2 SOLUTIONS, FORM T

APPM4720/5720: Fast algorithms for big data. Gunnar Martinsson The University of Colorado at Boulder

5. Orthogonal matrices

University of Lille I PC first year list of exercises n 7. Review

Chapter 17. Orthogonal Matrices and Symmetries of Space

3. Let A and B be two n n orthogonal matrices. Then prove that AB and BA are both orthogonal matrices. Prove a similar result for unitary matrices.

Review Jeopardy. Blue vs. Orange. Review Jeopardy

Elementary Linear Algebra

Matrices and Linear Algebra

Lectures notes on orthogonal matrices (with exercises) Linear Algebra II - Spring 2004 by D. Klain

ALGEBRAIC EIGENVALUE PROBLEM

Linear Algebra: Determinants, Inverses, Rank

Section 5.3. Section 5.3. u m ] l jj. = l jj u j + + l mj u m. v j = [ u 1 u j. l mj

Least-Squares Intersection of Lines

17. Inner product spaces Definition Let V be a real vector space. An inner product on V is a function

Modélisation et résolutions numérique et symbolique

Mathematics (MAT) MAT 061 Basic Euclidean Geometry 3 Hours. MAT 051 Pre-Algebra 4 Hours

Linearly Independent Sets and Linearly Dependent Sets

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set.

UNIVERSITY OF PUNE, PUNE BOARD OF STUDIES IN MATHEMATICS SYLLABUS

The Characteristic Polynomial

The Geometry of Polynomial Division and Elimination

More than you wanted to know about quadratic forms

9 MATRICES AND TRANSFORMATIONS

Inner product. Definition of inner product

Lecture 1: Schur s Unitary Triangularization Theorem

4 MT210 Notebook Eigenvalues and Eigenvectors Definitions; Graphical Illustrations... 3

18.06 Problem Set 4 Solution Due Wednesday, 11 March 2009 at 4 pm in Total: 175 points.

AMS526: Numerical Analysis I (Numerical Linear Algebra)

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

Numerical Methods I Solving Linear Systems: Sparse Matrices, Iterative Methods and Non-Square Systems

u = [ 2 4 5] has one row with three components (a 3 v = [2 4 5] has three rows separated by semicolons (a 3 w = 2:5 generates the row vector w = [ 2 3

Introduction to Matrix Algebra

Linear Algebraic Equations, SVD, and the Pseudo-Inverse

Chapter 7. Lyapunov Exponents. 7.1 Maps

Solving Simultaneous Equations and Matrices

Solutions to Math 51 First Exam January 29, 2015

Math 215 HW #6 Solutions

Math 115A HW4 Solutions University of California, Los Angeles. 5 2i 6 + 4i. (5 2i)7i (6 + 4i)( 3 + i) = 35i + 14 ( 22 6i) = i.

Matrices and Linear Algebra

Transcription:

The Second Undergraduate Level Course in Linear Algebra University of Massachusetts Dartmouth Joint Mathematics Meetings New Orleans, January 7, 11

Outline of Talk Linear Algebra Curriculum Study Group (LACSG) Recommendations LACSG recommended first course topics Core topics for a second course Numerical Linear Algebra Undergraduate explorations and research in linear algebra

Linear Algebra Curriculum Study Group Organizers: David Carlson, Charles R. Johnson, David C. Lay, and Duane Porter The William and Mary Workshop Panel: Glenn Adamson, Paul Bengtson, James Bunch, David Carlson, Jane Day, Guershon Harel, Roger Horn

LACSG Recommendations 1. The syllabus must respond to the client disciplines.

LACSG Recommendations 1. The syllabus must respond to the client disciplines. 2. The first course should be matrix oriented.

LACSG Recommendations 1. The syllabus must respond to the client disciplines. 2. The first course should be matrix oriented. 3. Faculty should consider the needs and interests of students.

LACSG Recommendations 1. The syllabus must respond to the client disciplines. 2. The first course should be matrix oriented. 3. Faculty should consider the needs and interests of students. 4. Faculty should use technology.

LACSG Recommendations 1. The syllabus must respond to the client disciplines. 2. The first course should be matrix oriented. 3. Faculty should consider the needs and interests of students. 4. Faculty should use technology. 5. At least one follow-up course should be required.

The LACSG Core Course Topics Core topics 1. Matrix Addition and Multiplication 2. Systems of Linear Equations 3. Determinants 4. Properties of R n 5. Eigenvalues and Eigenvectors 6. More on Orthogonality 7. Supplementary Topics

1. Matrix Addition and Multiplication matrix addition scalar multiplication matrix multiplication transposition associativity of matrix multiplication operations with partitioned matrices

2. Systems of Linear Equations Gaussian elimination elementary matrices echelon and reduced row echelon form existence and uniqueness of solutions matrix inverses row reduction interpreted as LU-factorization

3. Determinants cofactor expansion determinants and row operations det AB = det A det B Cramer s Rule

4. Properties of R n linear combinations: linear dependence and independence bases of R n subspaces of R n : spanning set, basis, dimension, row space and column space, null space matrices of linear transforms rank: row rank=column rank, products, connections with invertible submatrices systems of equations revisited: solution theory, rank+nullity=number of columns inner product: length and orthogonality, orthogonal /orthonormal sets and bases, orthogonal matrices

5. Eigenvalues and Eigenvectors the equation Ax = λx characteristic polynomial and identification of some of its coefficients (trace and determinant), algebraic multiplicity of eigenvalues eigenspaces, geometric multiplicity similarity: distinct eigenvalues and diagonalization symmetric matrices: orthogonal diagonalization, quadratic forms

6. More on Orthogonality orthogonal projection onto a subspace: Gram-Schmidt orthogonalization and interpretation as a QR factorization the least square solutions of inconsistent linear systems, with applications to data-fitting

7. Supplementary Topics computational experience abstract vector spaces linear transforms positive definite matrices reduction of a symmetric matrix by congruence singular value decomposition matrix norms

LACSG Recommendations Revisited 1. The syllabus must respond to the client disciplines. 2. The first course should be matrix oriented. 3. Faculty should consider the needs and interests of students. 4. Faculty should use technology. 5. At least one follow-up course should be required. There has been considerable progress with regards to the first four LACSG recommendations. Evidence of this comes from comparing the textbooks used today with those of years ago.

Challenges for the Future Challenge to cover the entire LACSG core curriculum in a single one semester course. At some universities this challenge has been increasing in recent years. The Supplementary Topics (Unit 7) are generally deferred to a second course. At many universities second courses are offered but not required.

Core topics for the second course Abstract vector spaces: function spaces and inner products Special classes of matrices: orthogonal and unitary, Hermitian, normal, positive definite. Singular value decomposition and other matrix factorizations Matrix norms The matrix exponential

A Numerical Linear Algebra Course Matrix norms and condition numbers Numerical algorithms for linear systems, least squares problems, and eigenvalue problems Numerical rank and the singular value decomposition Householder transformations Modified Gram-Schmidt process Sparse matrices and Krylov subspaces

Projects oriented courses Students work in teams on exploration/research projects Student develop MATLAB code for their projects Examples of projects Computer animation Applications to coordinate metrology Digital imaging applications

Computer animation Contractions, dilations, rotations, and translations are carried as matrix multiplications. Homogeneous coordinate system x 1 1 0 a x = x 2, A = 0 1 b 1 0 0 1, Ax = x 1 + a x 2 + b 1

Computer animation Project make stick figure walk across screen 3 2 1 0 1 2 3 2 0 2 4 6 8 10 12 press any key to start Design video game Meteor

Meteor video game >> help meteor Key(s) Left arrow or j Up arrow or k Right arrow or l Down arrow or ; Spacebar f h p Escape Action Rotate ship counterclockwise 15 degrees Thrust forward Rotate ship clockwise 15 degrees Apply air brakes Fire shot Flip ship (Turn ship 1 degrees) Send ship to the home (start) position Pause the game Quit the game

Meteor game description Each meteoroid is worth points. The speed and direction of each meteoroid are randomly chosen. As levels are completed, the nominal meteoroid speed increases proportionally. After level 2, the deploy time (how long before a new meteoroid is visible) and the number of meteoroids per level are held constant.

Coordinate Metrology Problems Write MATLAB program to fit a circle to data points Find the line that gives the best geometric (or orthogonal) fit to data points Find the best rectangular fit to a set of points. Other types of geometric fits

Output from Circlefit MATLAB function 3 2.5 2 1.5 1 0.5 0 0.5 1 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 center (2.0432,1.0596), radius 1.5111

Finding the line that gives best geometric fit to m data points Equation of line: c 1 + c 2 x + c 3 y = 0 with c2 2 + c2 3 = 1 Let r i = c 1 + c 2 x i + c 3 y i i = 1... m Find c 1, c 2, c 3 to minimize r 2 subject to c2 2 + c2 3 = 1. If A = [e x y] then r = Ac

Solution using QR and SVD factorizations If A = QR then where r 2 = Ac 2 = QRc 2 = Rc 2 = R 1 c 2 R 1 c = r 11 c 1 + r 12 c 2 + r 13 c 3 r 22 c 2 + r 23 c 3 r 33 c 3 To minimize R 1 c 2 subject to c2 2 + c2 3 = 1, let UΣV T be the singular value decomposition of [ ] r22 r R 2 = 23, r 33 set (c 2, c 3 ) = v T 2 and then solve for c 1.

Fitting Parallel and Perpendicular lines Given two data sets (x i, y i ), i = 1,..., m and (x i, y i ), i = m + 1,..., m + k Parallel lines: Set r i = c 1 + 0c 2 + c 3 x i + c 4 y i i = 1,..., m r i = 0c 1 + c 2 + c 3 x i + c 4 y i i = m + 1,..., m + k Perpendicular lines: Set r i = c 1 + 0c 2 + c 3 x i + c 4 y i i = 1,..., m r i = 0c 1 + c 2 + c 3 y i c 4 x i i = m + 1,..., m + k Solve for c 1, c 2, c 3, c 4 using QR and SVD factorizations.

Fitting rectangles Given 4 data sets each with m points. Set r i = c 1 + 0c 2 + 0c 3 + 0c 4 + c 5 x i + c 6 y i i = 1,..., m r i = 0c 1 + c 2 + 0c 3 + 0c 4 + c 5 y i c 6 x i i = m + 1,..., 2m r i = 0c 1 + 0c 2 + c 3 + 0c 4 + c 5 x i + c 6 y i i = 2m + 1,..., 3m r i = 0c 1 + 0c 2 + 0c 3 + c 4 + c 5 y i c 6 x i i = 3m + 1,..., 4m Solve for c 1, c 2, c 3, c 4, c 5, c 6 using QR and SVD factorizations. Determine the 4 points where the perpendicular lines intersect.

Plot of Rectangle Fit 3.5 3 2.5 2 1.5 0.5 1 1.5 2 2.5 3 3.5

SVD Image compression A black and white picture can be represented as a single m n matrix A with integer entries representing the grey levels of the pixels of the image. SVD compression of image (low rank approximation of A) Singular value decomposition: A = UΣV T, Σ = diag(σ 1,..., σ n ) and U T U = I m, V T V = I n Singular values: σ 1 σ 2... σ n 0 Best rank k approximation to A is σ 1 u 1 v T 1 + + σ ku k v T k

7. SVD Compr. (1/128) abs(original approximated) 10 6 Singular Values (Log Scale) 10 4 10 2 10 0 10 2 0 50 150

8. SVD Compr. (3/128) abs(original approximated) 10 6 Singular Values (Log Scale) 10 4 10 2 10 0 10 2 0 50 150

9. SVD Compr. (5/128) abs(original approximated) 10 6 Singular Values (Log Scale) 10 4 10 2 10 0 10 2 0 50 150

10. SVD Compr. (7/128) abs(original approximated) 10 6 Singular Values (Log Scale) 10 4 10 2 10 0 10 2 0 50 150

11. SVD Compr. (9/128) abs(original approximated) 10 6 Singular Values (Log Scale) 10 4 10 2 10 0 10 2 0 50 150

12. SVD Compr. (13/128) abs(original approximated) 10 6 Singular Values (Log Scale) 10 4 10 2 10 0 10 2 0 50 150

13. SVD Compr. (17/128) abs(original approximated) 10 6 Singular Values (Log Scale) 10 4 10 2 10 0 10 2 0 50 150

14. SVD Compr. (21/128) abs(original approximated) 10 6 Singular Values (Log Scale) 10 4 10 2 10 0 10 2 0 50 150

15. SVD Compr. (25/128) abs(original approximated) 10 6 Singular Values (Log Scale) 10 4 10 2 10 0 10 2 0 50 150

SVD Image compression Color Images A color image can be represented using three m n matrices A 1, A 2, A 3. Project: Compare 2 approaches to SVD compression Method 1: Do svd compression to all 3 matrices Method 2: Do svd compression on a single 3m n block matrix. W = A 1 A 2 A 3 Compare quality of images and computational efficiency of methods

Conclusions One undergraduate course in linear algebra is not enough. Many important topics get left out of the first course. A second course is necessary to reinforce material from the first course. The first course ends just before one gets to the most interesting and useful topics. Linear algebra is an ideal subject for undergraduate research and explorations.