Chapter 4

Geometry

Length, distance, angles, orthogonality, projection, subspaces, and embedding geometry.

What this chapter does

Geometry gives algebra a picture. This chapter turns coordinates into points, directions, distances, projections, boundaries, and neighborhoods so model representations feel inspectable instead of abstract.

Lessons

Read these in order.

Start with the chapter introduction, then move through the topic lessons. The order is chosen so each page can reuse ideas from the pages before it.

  1. 01
    Introduction

    Why geometry gives algebra a picture for machine learning.

  2. 02
    Points, Directions, and Coordinate Systems

    How coordinates name locations and movements in a space.

  3. 03
    Length, Distance, and Spheres

    Length for one vector, distance between points, and fixed-radius regions.

  4. 04
    Angles and Orthogonality

    Angles, zero dot products, and directions that do not overlap.

  5. 05
    Projection and Components

    How much of a vector lies along a chosen direction.

  6. 06
    Lines and Hyperplanes

    Boundaries written as dot products with a normal vector.

  7. 07
    Bases and Coordinate Systems

    Basis directions as the frame that gives coordinates meaning.

  8. 08
    Subspaces

    Smaller spaces that stay stable under addition and scaling.

  9. 09
    Decision Boundaries

    How classifiers divide representation space into regions.

  10. 10
    Embedding Geometry

    Neighborhoods, directions, and boundaries in learned vector spaces.

  11. 11
    High-Dimensional Intuition

    How to use low-dimensional pictures without over-trusting them.

Before moving on

  • Connect algebraic operations to geometric meaning.
  • Choose the right picture for points, directions, boundaries, and subspaces.
  • Read model representations as points and directions.
  • Use boundaries, projections, and subspaces to inspect ML computations.

Where this leads

  • Linear Systems and Decompositions
  • Deep Learning

Chapter progress