Chapter 2. Orientation

There are two things that I’d like every student to know before diving into the actual math.

In Section 2.3 we give a high-level roadmap, and in Section 2.4 we mention some conventions used in this book.

§2.1 Develop instincts, then use them

My favorite quote from the preface of a math textbook comes from Tom Leinster’s Basic Category Theory, which is a branch of math you might see later. Here’s the quote (emphasis mine):

As for the exercises, I join every other textbook author in exhorting you to do them; but there is a further important point. In subjects such as number theory and combinatorics, some questions are simple to state but extremely hard to answer. Basic category theory is not like that. To understand the question is very nearly to know the answer. In most of the exercises, there is only one possible way to proceed. So, if you are stuck on an exercise, a likely remedy is to go back through each term in the question and make sure that you understand it in full. Take your time. Understanding, rather than problem solving, is the main challenge of learning category theory.

The first thing to know about linear algebra is that the same kind of advice applies for us:

Idea
Basic linear algebra works a lot like Leinster’s quote. Understanding, rather than problem solving, is the main challenge.

To elaborate on this, in linear algebra, the following heuristics often help:

  1. Theorem statements will often “seem” true. That is, if you have done enough concrete examples, the theorem will often be describing something you instinctively know, even if you cannot immediately articulate why.

  2. The proofs will generally not require any “trick”, or idea coming from thin air. Rather, the proofs are generally carried out by carefully unwinding definitions and translating intuition into formal language. Good bookkeeping will be much more important than ingenuity.

This is not true for a lot of other places in undergraduate math. (For example, I would say it’s not true for multivariable calculus, or real analysis, or number theory, or combinatorics.)

To make this concrete, let’s give an example that is familiar to you: systems of linear equations. Consider the following three systems of equations, where the numbers have been chosen randomly1.

System 1System 2System 3
31𝑎+41𝑏+59𝑐=2653𝑎+89𝑏+79𝑐=3238𝑝+46𝑞+26𝑟=4338𝑝+32𝑞+79𝑟=5028𝑝+84𝑞+19𝑟=7169𝑥+39𝑦+93𝑧=7510𝑥+58𝑦+20𝑧=9749𝑥+44𝑦+59𝑧=237𝑥+81𝑦+64𝑧=6

If you follow what you learned in high school algebra (or just ask a computer) it can tell you the answers. However, even before reaching for paper and pencil, you may already know what you expect to happen:

  1. There are fewer variables than equations, so very likely there will be infinitely many solutions.
  2. The number of variables matches the number of equations, so very likely there will be exactly one solution.
  3. There are more variables than equations, so very likely there will be no solutions at all.

At the moment, you probably don’t have a way to say exactly what “very likely” means, or exactly why you already have these suspicions. But you may find that some “common sense” has already taken hold in your head: there must be some relation between the number of equations and the number of unknowns. We can thus summarize this section by saying:

Goal
One major goal of basic linear algebra is to make this “common sense” precise.

Linear algebra will give you a linguistic framework which will allow you to describe what you often already unconsciously know.2 It does this by giving you a toolbox of new vocabulary and theorem statements that pin these instincts into place. For example, you will soon be able to replace the words “very likely” with “has full rank” (Section 9.6), or reason in terms of dimensions (Section 3.4). But even though your instructor may ask you to prove things, or apply vocabulary that is new to you, you must never lose sight of common sense. Develop instincts, then use them.

§2.2 Wishlist-based definitions

In high school, you often saw concrete definitions of the shape “[new term] is [this thing]”. For example,

… and so on.

As you progress further in mathematics, you will increasingly often replace “is” with “satisfying”. Rather than concrete definitions like in high school, your professors will instead tell you a wishlist of properties, and any object that passes the wishlist is covered by the definition.3

For example, in just a moment (Section 3.1), we’re going to write the following:

A vector space 𝑉 is defined as any collection of objects (called “vectors”) obeying two axioms:

This is the first of many wishlist-based definitions you’ll see. Rather than say, “a vector space is [specific concrete object]”, we instead said “a vector space is anything which satisfies [two axioms]”. In other words, we come up with a wishlist of the properties that we can use, without telling you necessarily how the object is built. Then, when we prove a theorem about our vector space, it will automatically apply in every situation where our axioms are satisfied. The wishlist approach allows us to cover more ground than if we were confined to only predefined vector spaces like ℝ𝑛.

This isn’t the approach many other undergraduate textbooks take. A lot of them think of a vector space as just ℝ𝑛, or at best subspaces of ℝ𝑛, and mention the idea of a general vector space as a small aside. We won’t do so; our vector spaces will be abstract from the beginning.

§2.3 An roadmap of this book

This book is divided into five phases.

§2.4 Conventions used in this book

§2.4.1 Variable names

For variable names:

§2.4.2 Notations

The sets ℝ, ℚ, ℂ denotes the set of real numbers, rational numbers, and complex numbers.

The symbol ≔, borrowed from computer science, means “is defined as”.

When we discuss ℝ𝑛, we always consider the elements as column vectors; the notation

(𝑥1⋮𝑥𝑛)

is most accurate. However, this uses up a lot of space, so we also permit the shorter version

⟨𝑥1,…,𝑥𝑛⟩≔(𝑥1⋮𝑥𝑛)

(note the use of angle brackets).

The vectors 𝐞1, 𝐞2, …, 𝐞𝑛 always specifically refer to the standard basis vectors for ℝ𝑛:

𝐞1≔(10⋮0),𝐞2≔(01⋮0),…,𝐞𝑛≔(00⋮𝑛).

For the zero vector, we use the notation 𝟎.

§2.4.3 Set theory notation

TODO. Explain ∈
TODO. Explain set builder notation

§2.4.4 Polynomials

The notation ℙ𝑛 refers to the set of single-variable real polynomials in 𝑥 of degree at most 𝑛. For example,

ℙ2≔{𝑎𝑥2+𝑏𝑥+𝑐|𝑎,𝑏,𝑐∈ℝ}

refers to the set of polynomials which are at most degree 2. This notation is slightly non-standard, but we will use it a lot.

If we need to refer to the space of all polynomials, with no constraints on the degree, we instead write ℝ[𝑥]. You could think of this as ℙ∞ if you wanted, but ℝ[𝑥] is the more common notation.

  1. 1Just kidding they’re actually the digits of 𝜋.
  2. 2Linguistics provides another example of a situation where your brain instinctively knows things that you haven’t consciously realized. Here are two examples that would make sense to native English speakers:

    • Suppose you want to insert the expletive “fucking” into “Massachusetts”. Even though I’m sure your parents or teachers never taught you how to do this, you still know the correct insertion is “Massa-fucking-chusetts”, rather than, say, “Ma-fucking-ssachusetts” or “Massachu-fucking-setts”. (This example is taken from MIT’s Introduction to Linguistics course, 24.900.)

    • Another example from https://zompist.com/kitlong.html on phonetic restrictions: “Every language has a series of constraints on what possible words can occur in the language. For instance, as an English speaker you know somehow that blick and drass are possible words, though they don’t happen to exist, but vlim and mtar couldn’t possibly be English.” This is despite the fact you were never taught what the English constraints are.

  3. 3If you’ve written code before, one possible analogy is “mathematical API”. For example, suppose I run an online school, and I’m using Stripe API to handle credit card payments. Stripe’s documentation makes me some promises like, when I call redirectToCheckout in this way, this will happen. Importantly, I never know nor care how Stripe’s server is written. I only care about the promises made by the documentation; the exact details of Stripe’s inner workings become irrelevant.