Matrix Intuition

Vector and Matrix Intuition.

Wrong intuition means the first step is already wrong.

Many people have the wrong intuition about the equation y = W @ x. They intuitively think that vector x and vector y are the same kind of thing — just "vectors". This intuition is wrong. It is as laughable as treating a cat and a dog as the same animal just because they are both pets.

A vector has two defining features: direction and length. Therefore, if the direction changes, it is a completely different vector — like two entirely different species.

We must intuitively realize that y = W @ x is exactly like turning a cat into a dog. Only with this correct intuition can you truly begin your journey into machine learning and deep learning.

Matrix transformation animation

The Wrong Intuition

People think y = W @ x means x and y are the "same kind of thing." Wrong. A vector has direction and length. Changing its direction changes its species — it's like turning a cat into a dog. That is the true intuition behind every matrix transformation.

The Math Behind the Magic

Change of Basis

How exactly does a matrix turn a cat into a dog? The answer is a change of basis.

A vector is just a set of coordinates pointing to specific directions (basis vectors \(e_1, e_2, e_3\)). When we multiply by a matrix \(W\), we are essentially defining a new set of basis vectors (\(w_1, w_2, w_3\)).

The input \(X\) (the cat) is measured using the old basis. The output \(Y\) (the dog) is the exact same data, but measured using the new basis. The matrix doesn't just "crunch numbers" — it completely redefines the coordinate system.

Many people do not have an intuitive understanding of y = W @ x, and I believe that the process of W @ x can be derived from the definition of x itself, as shown in the image on the right. For more interesting content, please follow "Learn Linear Algebra in Three Days."

Change of basis from e to w
New Book · No Proofs · Code-First

Linear Algebra
in 3 Days

Linear Algebra in 3 Days takes Archimedes' famous saying, "Give me a fulcrum, and I shall move the earth" as its learning philosophy and proposes a fast path to mastering linear algebra: use vectors as the fulcrum to lift the entire subject.

At the beginning of the book, the author likens the imperceptible differences between two vectors to the differences between cats and dogs, helping readers build an intuitive understanding of vectors. The author then starts from the definition of a vector and, through basis-change operations, lets readers grasp the intuitive meaning of matrix multiplication. At the same time, using the vivid metaphor of "a kitten turning into a puppy", the author introduces the three cases of linear transformation of vectors, thereby setting the stage for the appearance of eigenvectors.

This book takes vectors as its starting point and progresses from the shallow to the deep, layer by layer, connecting the core knowledge points of linear algebra into a coherent whole. 3Blue1Brown's Essence of Linear Algebra lets everyone appreciate the geometric intuition of linear algebra and has rescued a large number of beginners intimidated by formulas—but after watching it, you have pictures in your head yet no structure in your hands. You know that a matrix is a transformation—and then what? Vector spaces, rank, null space, orthogonality, eigendecomposition—these concepts are scattered within geometric intuition, and you lack an architectural diagram that strings them together. Learn Linear Algebra in Three Days fills exactly this gap: with a clear main thread and a well-defined structure, it makes immediately clear to the reader what relationship this concept has to that one, which is the root, which is the branch, and which is merely a leaf.

1503+ Readers subscribed
3 Days
30 Core concepts
Linear Algebra in 3 Days Book Cover

Why I Wrote This Book

Learning linear algebra is a "nightmare" for many students in science and engineering, computer science, economics, and even the humanities who are transitioning into data science. The pain point often lies not in how difficult the calculations are, but in the discontinuity in ways of thinking and the piling up of abstract concepts.

Linear algebra often begins by piling up a large number of new symbols and definitions: vector spaces, linear independence, bases, dimension, rank, kernel... Beginners can often recite the definitions, yet have no idea what these concepts "are saying." The pain point in learning is that definitions can be repeated, but intuition cannot be built, which leaves students with no choice but to memorize subsequent theorems by rote.

The biggest pain point in linear algebra is that the "symbols—geometry—applications" triad is not connected. Students are forced to memorize and calculate at the purely symbolic level, with neither intuitive support nor motivational drive, while also facing a high-density, strongly cumulative course pace. The key to alleviating this usually lies in: building geometric intuition as early as possible (using 2D/3D visualization). It is recommended to pair this with 3Blue1Brown's "Essence of Linear Algebra" video series; building geometric intuition first is crucial.

However, I believe that building geometric intuition alone is not enough for learning linear algebra, because linear algebra has too many concepts that define one another, forming cycles. Students also need to build an architectural intuition that traces things back to their roots. To this end, I propose a learning method based on extraction-based cognitive pruning and assimilation strategies, and guided by this idea, I wrote Learn Linear Algebra in Three Days.

The Learning Method

This book isn't just a collection of formulas. It's built on a specific learning strategy: Extraction-Based Cognitive Pruning and Assimilation.

Specifically, the approach is as follows: In the first step, firmly grasp a few key pieces of knowledge, discard non-core knowledge, thoroughly master these key knowledge points, and then repeatedly review these few key knowledge points in the mind. In the second step, when encountering other new knowledge, evaluate it: if it can be associated with the key knowledge, then it is also classified as key knowledge in the mind; if it cannot be associated, then it is discarded from consciousness. Ultimately, by retaining a few key knowledge points, the entire subject of linear algebra is connected together.

✂️

Cognitive Pruning

This concept corresponds to the "discarding the non-core" part. It refers to the brain deliberately "erasing" concepts that are weakly generalized or unnecessary in order to reduce cognitive load, similar to "reading a book down to its essence." Your actively discarding knowledge that cannot be associated is precisely this pruning process.

🧠

Extraction

This concept corresponds to "repeatedly reviewing these key knowledge points in the mind." It refers to actively recalling information from memory rather than passively rereading it, and it is one of the most robust methods for strengthening memory.

🧬

Assimilation

This concept corresponds to the "classifying new knowledge as key knowledge" part. It refers to establishing substantive connections between new information and appropriate existing ideas in one's cognitive structure; if such connections cannot be established, the new knowledge is difficult to retain meaningfully. Your principle of keeping what can be associated and discarding what cannot is based precisely on whether assimilation can occur.

Who this book is for

✅ Read this if you

  • Have a deadline and need linear algebra fast
  • Studied it before but it's still fragmented
  • Need the math for ML
  • Got burned by textbooks

❌ Skip this if you

  • Need rigorous proofs
  • Want a full textbook
  • Have zero math background
  • Want a workbook
  • Expect mastery in 3 days

Frequently Asked Questions

Does "3 days" mean I'll master linear algebra?

No. 3 days gets you a usable framework and the ability to read and use linear algebra without getting lost. Mastery comes from practice after that.

What's inside

Three days, twelve concepts. Each day ends with something you can run.

D1

Intuition for Vectors

Starting from "distinguishing cats from dogs", analogizing the differences between vectors to the intuitive distinction between cats and dogs.

D1

Intuition for Matrices

From arrangements of numbers to combinations of basis vectors, from confusion to clarity.

D1

Vectors and Matrices in Deep Learning

The data input to large models (text, image features) is essentially a huge vector, and the weights of each layer of a neural network in the model are a matrix.

D1

Three Types of Linear Transformations of Vectors

A vector consists of 2 elements, and its linear transformation corresponds to 3 outcomes — this is the fulcrum of linear algebra.

D1

Deeply Understanding the Coordinates of a Vector

The same vector has different coordinates in different coordinate systems; guide everyone to understand three common coordinate systems.

D1

Intuitive Understanding of Eigenvectors

Starting from a kitten's birthday party, correct everyone's perspective on understanding eigenvectors.

D1

The Packaging Operation of Eigenvectors

Through the packaging operation of eigenvectors, guide everyone to appreciate the geometric intuition of matrix spaces.

D1

Interpretation of the Properties of Eigenvectors

The calculation steps for solving eigenvectors, and understanding the properties of eigenvectors.

D1

Eigendecomposition of Matrices

Understand the eigendecomposition of matrices, laying the groundwork for subsequent data compression.

D1

Interpretation of the PageRank algorithm

Eigenvectors themselves have their own body of knowledge, and in the real world, eigenvectors also play a huge role.

D2

Unilinear and bilinear

The bilinear problem is the origin of SVD.

D2

Geometric intuition of SVD

SVD decomposes the complex linear transformation represented by a general matrix into a composition of three simple operations: rotation → scaling along the coordinate axes → rotation.

D2

Redemption of a messy matrix

A matrix looks "messy" only because it appears complex relative to the standard coordinate system, but when viewed in the two special coordinate systems V and U, it is simply a diagonal matrix Σ, with the singular values lying exactly on its diagonal.

D2

From eigenvectors to SVD

Eigenvectors and SVD are not two isolated pieces of knowledge, but rather two answers to the same question.

D2

Rank of a matrix

The rank of a matrix measures how much "truly" useful information a matrix contains.

D2

Low-rank decomposition techniques for large models

With their elegant mathematical principles and remarkable practical effectiveness, low-rank decomposition techniques have become the core cornerstone of efficient fine-tuning and compression for current large models.

D2

Description of space

A matrix is a transformation of space, and an orthogonal basis is the reference for describing space. What a matrix looks like under an orthogonal basis depends on which set of orthogonal bases you choose.

D2

Decoding symmetric matrices

Symmetric matrices (real symmetric matrices) are the class of matrices with the best properties in linear algebra.

D2

...

......

D2

...

......

D2

Origin and definition of the determinant

The early prototype of the determinant emerged in the era of Leibniz and Cramer, when it was used to represent the denominator of the solution to a system of linear equations.

D2

Qualitative analysis of the determinant

The determinant is only divided into two cases: equal to zero and not equal to zero.

D2

Determinant of a square matrix

An invertible square matrix is analogous to a nonzero real number, while a non-invertible square matrix is analogous to zero.

D2

Relationship between matrix invertibility and the determinant

The determinant is a "scaling factor"; as long as it doesn't flatten the space (the factor is not 0), you can retrace your steps back (it is invertible).

Read a free chapter

Get Day 1 — Intuition for Vectors - Analogize the difference between vectors to the intuitive distinction between cats and dogs.

Matrix transformation animation

Early readers

“No proofs. Just code and intuition. Exactly what I needed to stop feeling lost in papers.”

Lena Fischer Software Engineer

“The SVD day alone was worth the price. I had read about it three times before, but this made it click.”

Tom Becker Data Scientist

“Three days, and I finally understand what a matrix does. I wish I had this before my first deep learning course.”

Rachel Kim ML Beginner

Linear Algebra in 3 Days

From zero to intuition — the matrix math you need for AI

  • 📘 30 chapters, ~90 pages PDF
  • 💻 40+ PyTorch code examples
  • 📐 Visual intuition, no proofs
  • 🔄 Free lifetime updates
  • 📄 Bonus: one-page linear algebra cheat sheet
$29.90 $39.90

Launch price — limited time

Buy Now

30-day money-back guarantee

Reader comments

Short notes from readers. Comments appear after review. Your email is optional and will never be shown publicly.

No comments yet. Be the first.

Flynn Wang

About the author

Hi, I'm Flynn Wang. I write about the math behind modern AI — the parts that actually matter when you're building with transformers, LLMs, and robots. No proofs, no gatekeeping. Just intuition, code, and the shortest path to understanding.

My representative work is: Linear Algebra in Three Days. It targets students who don't want to fail their final exams — it's a linear algebra crash course first-aid kit. It's also aimed at programmers who want to learn AI but are held back by math. It skips tedious proofs and focuses on "intuition and visualization."

🚧

Book Upgrade in Progress

We are currently upgrading the book and payment system to serve you better. Please check back later to purchase. Thank you for your attention and support!