How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors...

66
Algebra davidad Relations Labels Composing Joining Inverting Commuting Linearity Fields “Linear” defined Vectors Matrices Tensors Subspaces Image & Coimage Kernel & Cokernel Decomposition Singular Value Decomposition Fundamental Theorem of Linear Algebra CP decomposition How I Think About Math Part I: Linear Algebra David Dalrymple [email protected] March 6, 2014

Transcript of How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors...

Page 1: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

How I Think About MathPart I: Linear Algebra

David [email protected]

March 6, 2014

Page 2: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Chapter 1: Relations

1 RelationsLabelsComposingJoiningInvertingCommuting

2 LinearityFields“Linear” definedVectorsMatricesTensors

3 SubspacesImage & CoimageKernel & Cokernel

4 DecompositionSingular Value DecompositionFundamental Theorem of Linear AlgebraCP decomposition

Page 3: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simple relation

Relations are a generalization of functions; they’re actually more like constraints.Here’s an example:

x 2 · y

Page 4: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simple relation

Relations are a generalization of functions; they’re actually more like constraints.Here’s an example:

x 2 · y

This might be more familiar to you as the equation:

y(x) = 2 · x

Page 5: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simple relation

Relations are a generalization of functions; they’re actually more like constraints.Here’s an example:

3 2 · 6

This might be more familiar to you as the equation:

6= 2 · 3

Page 6: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simple relation

Relations are a generalization of functions; they’re actually more like constraints.Here’s an example:

2.5 2 · 5

This might be more familiar to you as the equation:

5= 2 · 2.5

Page 7: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simple relation

Relations are a generalization of functions; they’re actually more like constraints.Here’s an example:

0 2 · 0

This might be more familiar to you as the equation:

0= 2 · 0

Page 8: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simple relation

Relations are a generalization of functions; they’re actually more like constraints.Here’s an example:

x 2 · y

This might be more familiar to you as the equation:

y(x) = 2 · x

Page 9: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simple relation

Relations are a generalization of functions; they’re actually more like constraints.Here’s an example:

x 2 · y

Really, the directional annotations on the arrows are just that: annotations.

This might be more familiar to you as the equation:

y(x) = 2 · x

Page 10: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simple relation

Relations are a generalization of functions; they’re actually more like constraints.Here’s an example:

x 2 · y

Really, the directional annotations on the arrows are just that: annotations. Only thedirectionality of the operator “2 ·” is significant.

This might be more familiar to you as the equation:

y(x) = 2 · x

Page 11: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simple relation

Relations are a generalization of functions; they’re actually more like constraints.Here’s an example:

x 2 · y

Really, the directional annotations on the arrows are just that: annotations. Only thedirectionality of the operator “2 ·” is significant.

This might be more familiar to you as the equation:

y(x) = 2 · x

Analogously, writing y(x) is just politics: “x gets to tell y what to do!”

Page 12: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simple relation

Relations are a generalization of functions; they’re actually more like constraints.Here’s an example:

x 2 · y

Really, the directional annotations on the arrows are just that: annotations. Only thedirectionality of the operator “2 ·” is significant.

This might be more familiar to you as the equation:

y(x) = 2 · x

Analogously, writing y(x) is just politics: “x gets to tell y what to do!”It can be useful to sequence computations hierarchically, but in the Platonic idealworld of mathematics,

Page 13: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simple relation

Relations are a generalization of functions; they’re actually more like constraints.Here’s an example:

x 2 · y

Really, the directional annotations on the arrows are just that: annotations. Only thedirectionality of the operator “2 ·” is significant.

This might be more familiar to you as the equation:

y= 2 · x

Analogously, writing y(x) is just politics: “x gets to tell y what to do!”It can be useful to sequence computations hierarchically, but in the Platonic idealworld of mathematics, all variables are equal.

Page 14: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simple relation

Relations are a generalization of functions; they’re actually more like constraints.Here’s an example:

x 2 · y

Really, the directional annotations on the arrows are just that: annotations. Only thedirectionality of the operator “2 ·” is significant.

This might be more familiar to you as the equation:

y= 2 · x

Analogously, writing y(x) is just politics: “x gets to tell y what to do!”It can be useful to sequence computations hierarchically, but in the Platonic idealworld of mathematics, all variables are equal have equal standing.

Page 15: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simpler relation

x y

Page 16: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simpler relation

x y

You might better know this relation as

y= x

Page 17: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simpler relation

3 3

You might better know this relation as

3= 3

Page 18: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simpler relation

2 2

You might better know this relation as

2= 2

Page 19: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simpler relation

0 0

You might better know this relation as

0= 0

Page 20: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A simpler relation

x y

You might better know this relation as

y= x

Page 21: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A word about labels

x 2 · y

• Like the arguments of a subroutine, the labels of a relation are just a convenient“interface” for connecting it to a context or environment.

Page 22: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

A word about labels

x 2 · y

• Like the arguments of a subroutine, the labels of a relation are just a convenient“interface” for connecting it to a context or environment.

• If a label isn’t serving that purpose, we can remove it.

Page 23: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Composing two relations

2 · 1+

Page 24: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Composing two relations

2 · 1+

This is way easier than composing functions.

Page 25: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Composing two relations

2 · 1+

This is way easier than composing functions.

We just stick them together.

Page 26: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Composing two relations

2 · 1+

This is way easier than composing functions.

We just stick them together.

Sticking relations together like this will always give you a relation.

Page 27: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Joined Relations

What does this mean?

x

z

y

Page 28: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Joined Relations

What does this mean?

x

z

y

You could think of it as:

Page 29: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Joined Relations

What does this mean?

x

z

y

You could think of it as:

x= y

x= z

Page 30: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Joined Relations

What does this mean?

x

z

y

You could think of it as:

x= y

x= zor

y= x

y= z

Page 31: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Joined Relations

What does this mean?

x

z

y

You could think of it as:

x= y

x= zor

y= x

y= zor

x= z

z= y

Page 32: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Joined Relations

What does this mean?

x

z

y

You could think of it as:

x= y

x= zor

y= x

y= zor

x= z

z= y

They’re all the same! But with complex joins, this is easier to see in pictures.

Page 33: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Joined Relations

What does this mean?

x

z

y

You could think of it as:

x= y

x= zor

y= x

y= zor

x= z

z= y

They’re all the same! But with complex joins, this is easier to see in pictures.Relations with more than two “sides” (like this) are sometimes called

systems of equations.

But I find a single 3-sided relation more intuitive than a “system” of two equations.

Page 34: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

x 2 · y

y 0.5 · x

Page 35: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

x 2 · y

y 0.5 · x

Note: This is like the system of equations

y= 2 · x

x= 0.5 · y

Page 36: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

x 2 · y

y 0.5 · x

Page 37: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

x 2 · y

y 0.5 · x

• We can turn the bottom diagram around,

Page 38: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

x 2 · y

x 0.5 · y

• We can turn the bottom diagram around, like so.

Page 39: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

x 2 · y

x 0.5 · y

• We can turn the bottom diagram around, like so.

• Of course, x= x and y= y,

Page 40: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

x 2 · y

x 0.5 · y

• We can turn the bottom diagram around, like so.

• Of course, x= x and y= y, so we can join those relations in.

Page 41: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

x 2 · y

x 0.5 · y

• We can turn the bottom diagram around, like so.

• Of course, x= x and y= y, so we can join those relations in.

• But we can remove redundant labels,

Page 42: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

2 ·

0.5 ·

x y

• We can turn the bottom diagram around, like so.

• Of course, x= x and y= y, so we can join those relations in.

• But we can remove redundant labels, like so.

Page 43: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

2 ·

0.5 ·

x y

• We can turn the bottom diagram around, like so.

• Of course, x= x and y= y, so we can join those relations in.

• But we can remove redundant labels, like so. Since we’re just going to transformy back into x anyway,

Page 44: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

2 ·

0.5 ·

x y

• We can turn the bottom diagram around, like so.

• Of course, x= x and y= y, so we can join those relations in.

• But we can remove redundant labels, like so. Since we’re just going to transformy back into x anyway, we don’t even need a name for it.

Page 45: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

2 ·

0.5 ·

x y

• We can turn the bottom diagram around, like so.

• Of course, x= x and y= y, so we can join those relations in.

• But we can remove redundant labels, like so. Since we’re just going to transformy back into x anyway, we don’t even need a name for it.

• The meaning is still imprecise.

Page 46: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

2 ·

3 ·

x= 0 y

• We can turn the bottom diagram around, like so.

• Of course, x= x and y= y, so we can join those relations in.

• But we can remove redundant labels, like so. Since we’re just going to transformy back into x anyway, we don’t even need a name for it.

• The meaning is still imprecise. Even this is valid if x happens to be 0.

Page 47: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

2 ·

0.5 ·

x y

• We can turn the bottom diagram around, like so.

• Of course, x= x and y= y, so we can join those relations in.

• But we can remove redundant labels, like so. Since we’re just going to transformy back into x anyway, we don’t even need a name for it.

• The meaning is still imprecise. This diagram isn’t just true for some x...

Page 48: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

2 ·

0.5 ·

x y

• We can turn the bottom diagram around, like so.

• Of course, x= x and y= y, so we can join those relations in.

• But we can remove redundant labels, like so. Since we’re just going to transformy back into x anyway, we don’t even need a name for it.

• The meaning is still imprecise. This diagram isn’t just true for some x... it’s truefor any x that is a “real” number,

Page 49: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

2 ·

0.5 ·

R x y

• We can turn the bottom diagram around, like so.

• Of course, x= x and y= y, so we can join those relations in.

• But we can remove redundant labels, like so. Since we’re just going to transformy back into x anyway, we don’t even need a name for it.

• The meaning is still imprecise. This diagram isn’t just true for some x... it’s truefor any x that is a “real” number, which we show like this.

Page 50: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “multiplication by 0.5 is the inverse of multiplication by 2.”

2 ·

0.5 ·

R x y

• We can turn the bottom diagram around, like so.

• Of course, x= x and y= y, so we can join those relations in.

• But we can remove redundant labels, like so. Since we’re just going to transformy back into x anyway, we don’t even need a name for it.

• The meaning is still imprecise. This diagram isn’t just true for some x... it’s truefor any x that is a “real” number, which we show like this.

Page 51: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

An example inverse

Let’s write “A−1 is the inverse of A over R.”

A

A−1

R x y

• We can turn the bottom diagram around, like so.

• Of course, x= x and y= y, so we can join those relations in.

• But we can remove redundant labels, like so. Since we’re just going to transformy back into x anyway, we don’t even need a name for it.

• The meaning is still imprecise. This diagram isn’t just true for some x... it’s truefor any x that is a “real” number, which we show like this.

Page 52: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Commutativity

If we can reverse the order of two operators and get equal results,we say that they commute.

1+ 2+

Page 53: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Commutativity

If we can reverse the order of two operators and get equal results,we say that they commute.

1+ 2+

2+ 1+

=

Page 54: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Commutativity

If we can reverse the order of two operators A and B and get equal results,we say that A and B commute.

A B

Page 55: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Commutativity

If we can reverse the order of two operators A and B and get equal results,we say that A and B commute.

A B

B A

=

Page 56: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Commutativity

If we can reverse the order of two operators A and B and get equal results,we say that A and B commute. We can express “A and B commute” like this:

A B

B A

Page 57: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Page 58: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

What is “Linear”?

Page 59: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Page 60: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Page 61: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Page 62: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Page 63: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Page 64: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Page 65: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition

Page 66: How I Think About Math Part I: Linear Algebra › assets › 20140306.pdf · Matrices Tensors Subspaces Image& Coimage Kernel &Cokernel Decomposition Singular Value Decomposition

Algebra

davidad

Relations

Labels

Composing

Joining

Inverting

Commuting

Linearity

Fields

“Linear” defined

Vectors

Matrices

Tensors

Subspaces

Image & Coimage

Kernel & Cokernel

Decomposition

Singular ValueDecomposition

Fundamental Theoremof Linear Algebra

CP decomposition