Linear Algebra II: linear combinations & matrices Math Tools - - PowerPoint PPT Presentation

linear algebra ii linear combinations matrices
SMART_READER_LITE
LIVE PREVIEW

Linear Algebra II: linear combinations & matrices Math Tools - - PowerPoint PPT Presentation

Linear Algebra II: linear combinations & matrices Math Tools for Neuroscience (NEU 314) Fall 2016 Jonathan Pillow Princeton Neuroscience Institute & Psychology. Lecture 3 (Thursday 9/22) accompanying notes/slides Linear


slide-1
SLIDE 1

Math Tools for Neuroscience (NEU 314) Fall 2016 Jonathan Pillow

Princeton Neuroscience Institute & Psychology. accompanying notes/slides Lecture 3
 (Thursday 9/22)

Linear Algebra II: 
 linear combinations & matrices

slide-2
SLIDE 2

Linear algebra

“Linear algebra has become as basic and as applicable as calculus, and fortunately it is easier.”

  • Glibert Strang, Linear algebra and its applications
slide-3
SLIDE 3

today’s topics

  • linear projection (review)
  • orthogonality (review)

  • linear combination
  • linear independence / dependence
  • matrix operations: transpose, multiplication, inverse

Did not get to:

  • vector space
  • subspace
  • basis
  • orthonormal basis
slide-4
SLIDE 4

Linear Projection Exercise

w = [2,2] v1 = [2,1] v2 = [5,0] Compute: Linear projection of w onto lines defined by v1 and v2

slide-5
SLIDE 5

linear combination

1

v

2

v

3

v

  • scaling and summing applied to a group of vectors
  • a group of vectors is linearly

dependent if one can be written as a linear combination of the others

  • otherwise, linearly independent
slide-6
SLIDE 6

matrices

n × m matrix

m column vectors can think of it as:

c1 cm

r1 rn

  • r

n row vectors

slide-7
SLIDE 7

matrix multiplication

One perspective: dot product with each row:

slide-8
SLIDE 8

matrix multiplication

Other perspective: linear combination of columns

v1 vm

  • • •

c1 cm u1 un

  • • •

c1 c2 cm v1• + v2• + … + vm• =

slide-9
SLIDE 9

transpose

  • flipping around the diagonal

1 4 7 2 5 8 3 6 9 T = 1 2 3 4 5 6 7 8 9 1 4 2 5 3 6 T = 1 2 3 4 5 6 square matrix non-square

  • transpose of a product
slide-10
SLIDE 10

inverse

  • If A is a square matrix, its inverse A-1 (if it exists) obeys
  • inverse of a product