engineersCode / EngComp4_landlinear

Using computational thinking to get deep insights on the foundations of linear algebra
http://go.gwu.edu/engcomp4
112 stars 72 forks source link

Comments on lesson 1 and 2 #3

Open ncclementi opened 5 years ago

ncclementi commented 5 years ago

@tingyu66 and @labarba here are my comments on the lessons so far.

General comments:

01 Transform all the vectors (it is quite long)

You can recommend them to use ?plot_vector for guidance, although those docstrings should be improved, specially the description of tails, it's not clear if it's a list or what data structure.

tails: tail's coordinates of each vector

"Two operations are the foundation of everything:" of everything? I'd say something like:

"A vector space (or linear space) is a group of vectors with two operations:"

When plotting vector addition we do:

a = numpy.array((-2,1))
b = numpy.array((1,-3))
origin = numpy.array((0,0))

Why are we using tuples inside the numpy.array() I believe it makes since we are no changing its values, but we haven't explained this. Until now students have always seen the square brackets syntax numpy.array([a,b])

The grey of the grids in the 2d plots is a bit dark, and in this case looks like the scaled vector is a vector that starts at the head of the original. I'd put an alpha on that grey, or a less dark grey.

The end of the first sentences sounds weird.

Possible small exercise: After "For any vector, its components are the scalars we need to multiply the basis vectors by to generate it. For example:"

You can add an exercise that ask to write in the same way the vector [a, b] so they generalize the idea.

for in range(30): --> using for the iterator, you should explain this!!!



- Definition: A basis for a vector space is a set of linearly independent 
vectors that span that space.

We haven't defined what is linearly independent (in a set of vectors if no 
vector in the set can be defined as a linear combination of others) 

- What's a matrix?

"We can use the NumPy `dot()` method to multiply the matrix A  and the vector
c :" why don't we use `@` since the beginning, I think that `dot()` can be 
confused with dot product concept.

- In the Try it says: "Create a  2×2  matrix of your choosing (as a NumPy array 
of the row list)," I don't understand the parenthesis, what are we trying to 
say?

- [x] Add "What we've learned" section can be useful.

### No comments on lesson 2 in particular. 
tingyu66 commented 5 years ago

Comments on 03/22:

Homework ideas Lesson 1:

jay-hennen commented 5 years ago

Lesson 2: