linear algebra iii vector spaces
play

Linear Algebra III: vector spaces Math Tools for Neuroscience (NEU - PowerPoint PPT Presentation

Linear Algebra III: vector spaces Math Tools for Neuroscience (NEU 314) Fall 2016 Jonathan Pillow Princeton Neuroscience Institute & Psychology. Lecture 4 (Tuesday 9/27) accompanying notes/slides Outline Last time: linear


  1. Linear Algebra III: vector spaces Math Tools for Neuroscience (NEU 314) Fall 2016 Jonathan Pillow Princeton Neuroscience Institute & Psychology. Lecture 4 
 (Tuesday 9/27) accompanying notes/slides

  2. Outline Last time: • linear combination • linear independence / dependence • matrix operations: transpose, multiplication, inverse Topics: • matrix equations • vector space, subspace • basis, orthonormal basis • orthogonal matrix • rank • row space / column space • null space • change of basis

  3. inverse • If A is a square matrix, its inverse A -1 (if it exists) satisfies: “the identity” (eg., for 4 x 4)

  4. The identity matrix for any vector “the identity” (eg., for 4 x 4)

  5. two weird tricks • transpose of a product • inverse of a product

  6. (Square) Matrix Equation assume (for now) square and invertible left-multiply both sides by inverse of A:

  7. vector space & basis • vector space - set of all points that can be obtained by linear combinations some set of vectors • basis - a set of linearly independent vectors that generate (through linear combinations) all points in a vector space v 2 v 2 v v 1 1 v 1 1D vector space Two di ff erent bases for the ( subspace of R 2 ) same 2D vector space

  8. span - to generate via linear combination • vector space - set of all points that can be spanned by some set of vectors • basis - a set of vectors that can span a vector space v 2 v 2 v v 1 1 v 1 1D vector space Two di ff erent bases for the ( subspace of R 2 ) same 2D vector space

  9. orthonormal basis • basis composed of orthogonal unit vectors v 2 v 2 v 1 v 1 • Two di ff erent orthonormal bases for the same vector space

  10. Orthogonal matrix • Square matrix whose columns (and rows) form an orthonormal basis (i.e., are orthogonal unit vectors) Properties: length- preserving

  11. Orthogonal matrix • 2D example: rotation matrix ^ e 2 ( ) Ο = ^ e 1 ^ ( 1 e ) Ο ^ ( 2 e ) Ο cos θ sin θ ] [ e .g . Ο = sin θ cos θ

  12. Rank • the rank of a matrix is equal to • # of linearly independent columns • # of linearly independent rows (remarkably, these are always the same) equivalent definition: • the rank of a matrix is the dimensionality of the vector space spanned by its rows or its columns rank(A) ≤ min(m,n) for an m x n matrix A : (can’t be greater than # of rows or # of columns)

  13. column space of a matrix W: n × m matrix … vector space spanned by the c 1 c m columns of W • these vectors live in an n-dimensional space, so the column space is a subspace of R n

  14. row space of a matrix W: n × m matrix r 1 vector space spanned by the … rows of W r n • these vectors live in an m-dimensional space, so the column space is a subspace of R m

  15. null space of a matrix W: n × m matrix r 1 • the vector space consisting of all vectors that are orthogonal to … the rows of W r n • equivalently: the null space of W is the vector space of all vectors x such that Wx = 0. • the null space is therefore entirely orthogonal to the row space of a matrix. Together, they make up all of R m.

  16. null space of a matrix W: v 1 W = ( ) e c a p 1 s v r y o b t n c u e d l e v l n s D n p 1 a a p c s e v basis for null space 1

  17. Change of basis • Let B denote a matrix whose columns form an orthonormal basis for a vector space W Vector of projections of v along each basis vector

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend