ArticleslgStudy

mathematics

Gram–Schmidt process

Gram–Schmidt process is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Gram–Schmidt process rather than just read about it. In short: In mathematics, particularly linear algebra and numerical analysis, the Gram–Schmidt process or Gram-Schmidt algorithm is a way of finding a set of two or more vectors that are perpendicular to each other. By technical definition, it is a method of constructing an orthonormal basis from a set of vectors in an inner product space, most commonly the Euclidean space R n {\displaystyle \mathbb {R} ^{n}} equipped with th…

Gram–Schmidt process — main illustration
Gram–Schmidt process — illustration

Key takeaways

  • Gram–Schmidt process belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Gram–Schmidt process to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Gram–Schmidt process from memory before moving on to harder problems.

Reference excerpt

In mathematics, particularly linear algebra and numerical analysis, the Gram–Schmidt process or Gram-Schmidt algorithm is a way of finding a set of two or more vectors that are perpendicular to each other. By technical definition, it is a method of constructing an orthonormal basis from a set of vectors in an inner product space, most commonly the Euclidean space R n {\displaystyle \mathbb {R} ^{n}} equipped with the standard inner product. The Gram–Schmidt process takes a finite, linearly independent set of vectors S = { v 1 , … , v k } {\displaystyle S=\{\mathbf {v} _{1},\ldots ,\mathbf {v} _{k}\}} for k ≤ n and generates an orthogonal set S ′ = { u 1 , … , u k } {\displaystyle S'=\{\mathbf {u} _{1},\ldots ,\mathbf {u} _{k}\}} that spans the same k {\displaystyle k} -dimensional subspace of R n {\displaystyle \mathbb {R} ^{n}} as S {\displaystyle S} . The method is named after Jørgen Pedersen Gram and Erhard Schmidt, but Pierre-Simon Laplace had been familiar with it before Gram and Schmidt. In the theory of Lie group decompositions, it is generalized by the Iwasawa decomposition. The application of the Gram–Schmidt process to the column vectors of a full column rank matrix yields the QR decomposition (it is decomposed into an orthogonal and a triangular matrix).

Description

The vector projection of a vector v {\displaystyle \mathbf {v} } on a nonzero vector u {\displaystyle \mathbf {u} } is defined as

proj u ⁡ ( v ) = ⟨ v , u ⟩ ⟨ u , u ⟩ u , {\displaystyle \operatorname {proj} _{\mathbf {u} }(\mathbf {v} )={\frac {\langle \mathbf {v} ,\mathbf {u} \rangle }{\langle \mathbf {u} ,\mathbf {u} \rangle }}\,\mathbf {u} ,}

where ⟨ v , u ⟩ {\displaystyle \langle \mathbf {v} ,\mathbf {u} \rangle } denotes the dot product of the vectors u {\displaystyle \mathbf {u} } and v {\displaystyle \mathbf {v} } . This means that proj u ⁡ ( v ) {\displaystyle \operatorname {proj} _{\mathbf {u} }(\mathbf {v} )} is the orthogonal projection of v {\displaystyle \mathbf {v} } onto the line spanned by u {\displaystyle \mathbf {u} } . If u {\displaystyle \mathbf {u} } is the zero vector, then proj u ⁡ ( v ) {\displaystyle \operatorname {proj} _{\mathbf {u} }(\mathbf {v} )} is defined as the zero vector. Given k {\displaystyle k} nonzero linearly-independent vectors v 1 , … , v k {\displaystyle \mathbf {v} _{1},\ldots ,\mathbf {v} _{k}} the Gram–Schmidt process defines the vectors u 1 , … , u k {\displaystyle \mathbf {u} _{1},\ldots ,\mathbf {u} _{k}} as follows:

… excerpt ends here. Continue reading the full article.

Illustrations

Gram–Schmidt process: The first two steps of the Gram–Schmidt process
The first two steps of the Gram–Schmidt process
Gram–Schmidt process: The modified Gram-Schmidt process being executed on three linearly independent, non-orthogonal vectors of a basis for 
  
    
      
        
          
            R
          
          
            3
          
        
      
    
    {\displaystyle \mathbb {R} ^{3}}
  
. Click on image for details. Modification is explained in the Numerical Stability section of this article.
The modified Gram-Schmidt process being executed on three linearly independent, non-orthogonal vectors of a basis for R 3 {\displaystyle \mathbb {R} ^{3}} . Click on image for details. Modification is explained in the Numerical Stability section of this article.

Worked examples

Example 1 — a first encounter with Gram–Schmidt process

Start with the simplest possible case. Write down what Gram–Schmidt process claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Gram–Schmidt process before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Gram–Schmidt process ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Gram–Schmidt process

In research
Gram–Schmidt process appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Gram–Schmidt process in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Gram–Schmidt process is common in secondary-school and first-year university syllabi. It links to neighbouring topics Functional analysis, Linear algebra, so understanding it makes those chapters shorter.
In everyday life
Look for Gram–Schmidt process outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Gram–Schmidt process” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Gram–Schmidt process in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Gram–Schmidt process means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Gram–Schmidt process out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Gram–Schmidt process in simple terms?

In mathematics, particularly linear algebra and numerical analysis, the Gram–Schmidt process or Gram-Schmidt algorithm is a way of finding a set of two or more vectors that are perpendicular to each other. By technical definition, it is a method of constructing an orthonormal basis from a set of ve…

Why does Gram–Schmidt process matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Gram–Schmidt process?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Gram–Schmidt process.

Tags

  • Functional analysis
  • Linear algebra

Keep exploring