The interactive film is in the book's Companion

Play it, pause it, turn it and drag it with Mathematics for AI and Machine Learning.

Get the book

Gram–Schmidt, One Vector at a Time

Chapter 1 · Mathematics for AI and Machine Learning · Beginner · 1:31

A narrated live film: three vectors become an orthonormal basis step by step; turn the 3D view to check the right angles.

Narration

Let's run Gram Schmidt on three vectors, one one zero, one zero one, and zero one one. The grey arrows are v zero, v one, and v two: independent, but not perpendicular.

Step zero. The first vector shrinks to length one, and becomes the blue arrow e zero.

The rest of the narration is in the book's Companion.

More from Chapter 1

Interactive1:30Span and Independence: When the Dimension JumpsChapter 1Preview1:42Projection onto a Line: the Closest PointChapter 1Preview1:42Norms as Cones: the Unit Ball Is a SliceChapter 1Preview1:36The Parallelogram Law: Which Norms Come from an Inner ProductChapter 1Preview1:31The Outer Product: All of Space onto One LineChapter 1Preview1:29Cauchy-Schwarz: a Shadow Is Never Longer than the StickChapter 1Preview1:43Layer Normalization: Project, Then RescaleChapter 1