This will be my summary for: “Introduction to Linear Algebra - Gilbert Strang”.

1. Vectors and Matrices

Linear algebra is about vectors and matrices. These are the basic objects that we can add, subtract and multiply (when there shapes match).

1.1 Vectors and Linear Combinations

Linear Algebra begins with vectors and their linear combinations . This takes you to two or more dimensions.

Linear combinations use two basic operations: 1) Scalar multiplication Scaling and 2) Adding vectors Addition.

The concept of linear combinations opens up two key questions:

  1. Describe all the combinations. Which space do they fill?
  2. Find the values for the coefficients which produce a specific combinations.

In we can answer these questions quite simply:

  1. for all c fills an infinite line in the xy-plane. If w happens to be on that line, then combining linear combinations of v and w won’t “escape” that line. If w is independent of v then the entire xy-plane can be reached as a linear combination of v and w.
  2. Two equations and two variables → go solve them.

1.2 Lengths and Angles from Dot Products

Dot Products

One of the most useful multiplications of vectors is the dot product. The dot product (aka inner product) of a two vectors is (See Dot Product (Scalar Product))

The dot product tells us the squared length: .

Length/Magnitude

The length (aka magnitude) of a vector is (See Why Does Squaring and Taking the Square Root Give the Length?). A diagonal in n dimensions has the length .

Unit Vector

We use the words unit vector are used when the length of a vector = 1. Otherwise: gives us the unit vector. (See: Unit Vectors)

For example, and . Notice that is a unit vector because .

Perpendicular Vectors

Suppose the angle between v and w is 90°. It’s cosine is zero. for perpendicular vectors.

Then we can use the Pythagorean Theorem and deduce that must be 0. The formula is saying take the hypotenuse which is . Now take the length of that and square it. This must be equal to the individual side lengths (vector magnitudes) squared summed up. Expanding the formula reveals that the terms all need to be zero.

Cosine of the angle: Let us take the unit vectors and then . We’ll try to connect the dot product to the angle between vectors.

Angle Between Two Vectors

Let the unit vectors and Then we have (Using trigonometric identities).