[Notes from Linear Algebra Done Right | Chapter 1]

𝐅 stands for either 𝐑 or 𝐂.

  • → real numbers
  • → complex numbers

Scalars

A scalar is a single number.

An element of is called a scalar.

In

then are the three scalar coordinates of .


Lists : A list of length 𝑛 is an ordered collection of 𝑛 elements. Two lists are equal if and only if they have the same length and the same elements in the same order.

Every list has a finite, nonnegative integer length.

A list of length can be written as:

Another name for a list of length is an -tuple.

Lists care about order and repetition, sets do not.

For example:

because the order is different.

Also:

We already know:

and

To generalize this to any dimension, we need the idea of a list.

is the set of all lists of length whose elements are scalars from .

So if:

then is simply a list of 5 real-number scalars:


Vectors

means that is an ordered list of scalars.

Example:

where:


Vector Addition

Vectors are added component-wise:

The vectors must belong to the same .

So:

is not defined.


Scalar Multiplication

For a scalar :

Scalar zero

Zero vector

This is the zero vector in .

It has coordinates, all equal to the scalar .

For example:

Here the must be the zero vector, because adding a vector and a scalar is not defined.

Additive Inverse

For:

we define:

such that:


A field is a set containing at least two distinct elements called 0 and 1, along with operations of addition and multiplication while satisfying all properties commutativity, associativity, identities, inverses, and distributivity.

𝐑 and 𝐂 are fields


Vector Space

FORMALLY A vector space over the field is a set of vectors together with two operations:

  • Vector addition : Add two vectors to get another vector.
  • Scalar multiplication Multiply a vector by a real number (scalar).

An addition on is an operation that takes any two vectors and produces another vector in :

So:


Scalar Multiplication

A scalar multiplication on takes a scalar and a vector and produces another vector in :

So:


A vector space is a set where we can:

  1. add two vectors
  2. multiply a vector by a scalar and these operations obey a specific set of rules called the vector space axioms

These are the vector-space axioms.

PropertyRule
Commutativity
Associativity
Scalar associativity
Additive identity
Additive inverse
Multiplicative identity
Distributivity
Distributivity

Examples of Vector Spaces

The simplest possible vector space is:

It contains exactly one vector: the zero vector.

It still satisfies all the vector-space axioms.


— Infinite Sequences

is the set of all infinite sequences of elements of :


— Functions as Vectors

If is a set, then:

So is the set of all -valued functions defined on . It lets linear algebra work with functions, not just numerical lists.

The functions themselves are the vectors.

Example:

The elements of the vector space are real-valued functions on , not lists.


In :

is a vector.

But in , a function is a vector.

For example:

can be a vector.

as:

all possible ways of assigning a scalar from to every element of .

Then:

  • →
  • →
  • → functions on

In general, a vector space is an abstract structure whose elements might be lists, functions, matrices, polynomials, or other mathematical objects.


Elements of a vector space are called vectors or points.

A vector does not have to look like . Depending on the vector space, a vector could be:

  • A column of numbers:
  • A matrix:
  • A polynomial:
  • A function:

Uniqueness of the additive identity

  • A vector space has exactly one zero vector.

Uniqueness of the additive inverse

  • Every vector has exactly one additive inverse.

Multiplying any vector by the scalar zero gives the zero vector.


Subspaces

A subspace is a subset of a vector space that is itself a vector space, using the same:

  • zero vector
  • addition
  • scalar multiplication

as the original vector space.

If:

then is a subspace of if is itself a vector space under the operations inherited from .

A subset is a subspace iff these three conditions hold:

  • Contains the zero vector
  • Closed under addition

For every :

  • Closed under scalar multiplication

For every and :

If all three are true:


Sums of Subspaces

The union of two subspaces is generally not a subspace.

Instead, linear algebra uses the sum of subspaces.

If are subspaces of , their sum is:

Example in

Let:

and:

Then:

Therefore:

So combining the two subspaces gives the entire -plane inside .

Example in

To show equality, every vector of the form must be expressible as .

Indeed:

where:


The sum of subspaces is itself a subspace:


Direct Sums

Suppose are subspaces of .

Every vector in their sum can be written as

                v = (3,5,7)
                     ↓
         ┌───────────┼───────────┐
         ↓           ↓           ↓
   v₁ = (3,0,0) v₂ = (0,5,0) v₃ = (0,0,7)
         V₁          V₂          V₃
      x-axis       y-axis       z-axis

if every vector in has exactly one representation

We write:

The means: the sum is direct / representations are unique.


Example: direct sum in

Every vector can be written as

This representation is unique.

Therefore:


How to test a direct sum

A sum is direct iff the zero vector has only the trivial representation.

where .


Direct sum of two subspaces

For two subspaces there is an especially useful test:

Note

Pairwise trivial intersections are sufficient for a direct sum of two subspaces, but NOT sufficient when there are three or more subspaces.