Definition:

  • Use the idea of Euclidean Projection on a line
  • The basic idea is to first orthogonalize each vector w.r.t. previous ones; then normalize result to have norm one.

  • Given a set of vectors that are Linear Independence
  1. Let
  2. normalized
  3. remove in vector
  4. normalized
  5. remove in vector
  6. normalized
  • If at step i, we find , meaning that vector is linearly dependence, then we directly jump at the next step