Gram-Schmidt orthogonalization: Difference between revisions
imported>Hendra I. Nurdin (Start of article -- to be continued) |
mNo edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{subpages}} | |||
In [[mathematics]], especially in [[linear algebra]], Gram-Schmidt orthogonalization is a sequential procedure or [[algorithm]] for constructing a set of mutually orthogonal [[vector space|vectors]] from a given set of [[linear independence|linearly independent]] vectors. Orthogonalization is important in diverse applications in mathematics and the applied sciences because it can often simplifiy calculations or computations by making it possible, for instance, to do the calculation in a ''recursive'' manner. | In [[mathematics]], especially in [[linear algebra]], Gram-Schmidt orthogonalization is a sequential procedure or [[algorithm]] for constructing a set of mutually orthogonal [[vector space|vectors]] from a given set of [[linear independence|linearly independent]] vectors. Orthogonalization is important in diverse applications in mathematics and the applied sciences because it can often simplifiy calculations or computations by making it possible, for instance, to do the calculation in a ''recursive'' manner. | ||
Line 8: | Line 9: | ||
implies that <math>a_1=a_2=\ldots=a_n=0</math>. The Gram-Schmidt orthogonalization procedure constructs, in a sequential manner, a new [[sequence]] of vectors <math>y_1,y_2,\ldots,y_n \in X </math> such that: | implies that <math>a_1=a_2=\ldots=a_n=0</math>. The Gram-Schmidt orthogonalization procedure constructs, in a sequential manner, a new [[sequence]] of vectors <math>y_1,y_2,\ldots,y_n \in X </math> such that: | ||
::<math> \langle y_i,y_j \rangle = 0 \,\, {\rm whenever\,} i \neq j \quad (1)</math> | ::<math> \langle y_i,y_j \rangle = 0 \,\, {\rm whenever\,} i \neq j. \quad (1)</math> | ||
The vectors <math>y_1,y_2,\ldots,y_n \in X </math> satisfying (1) are said to be ''orthogonal''. | The vectors <math>y_1,y_2,\ldots,y_n \in X </math> satisfying (1) are said to be ''orthogonal''. | ||
Line 16: | Line 17: | ||
:'''Set''' <math>y_1 = x_1</math> | :'''Set''' <math>y_1 = x_1</math> | ||
::'''For''' ''i'' = 2 to n, | ::'''For''' ''i'' = 2 to n, | ||
::: <math> y_i=x_i - \langle x_i,y_{ | ::: <math> y_i=x_i - \sum_{j=1}^{i-1}\langle x_i,y_{j} \rangle \frac{y_{j}}{\langle y_{j},y_{j}\rangle} </math> | ||
::'''End''' | ::'''End''' | ||
Line 24: | Line 25: | ||
==Further reading== | ==Further reading== | ||
#H. Anton and C. Rorres, ''Elementary Linear Algebra with Applications'' (9 ed.), Wiley, 2005. | #H. Anton and C. Rorres, ''Elementary Linear Algebra with Applications'' (9 ed.), Wiley, 2005.[[Category:Suggestion Bot Tag]] |
Latest revision as of 11:00, 23 August 2024
In mathematics, especially in linear algebra, Gram-Schmidt orthogonalization is a sequential procedure or algorithm for constructing a set of mutually orthogonal vectors from a given set of linearly independent vectors. Orthogonalization is important in diverse applications in mathematics and the applied sciences because it can often simplifiy calculations or computations by making it possible, for instance, to do the calculation in a recursive manner.
The Gram-Schmidt orthogonalization algorithm
Let X be an inner product space over the sub-field of real or complex numbers with inner product , and let be a collection of linearly independent elements of X. Recall that linear independence means that
implies that . The Gram-Schmidt orthogonalization procedure constructs, in a sequential manner, a new sequence of vectors such that:
The vectors satisfying (1) are said to be orthogonal.
The Gram-Schmidt orthogonalization algorithm is actually quite simple and goes as follows:
- Set
- For i = 2 to n,
- End
- For i = 2 to n,
It can easily be checked that the sequence constructed in such a way will satisfy the requirement (1).
Further reading
- H. Anton and C. Rorres, Elementary Linear Algebra with Applications (9 ed.), Wiley, 2005.