Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

permutation matrix

The identity matrix with its rows reordered; used to record row swaps.

A permutation matrix P is the identity matrix with its rows reordered — equivalently, a square matrix with exactly one 1 in every row and column. Left-multiplying PA reorders A's rows the same way. Every permutation matrix is invertible with P^{-1}=P^{\mathsf T}. Recording every swap elimination needs up front gives the fully general factorization PA=LU.

Read the full section →
Graph settings

Calculator