<?xml version="1.0" encoding="UTF-8"?>

<record version="8" id="8611">
 <title>proof of Gram-Schmidt orthogonalization procedure</title>
 <name>ProofOfGramSchmidtOrthogonalizationProcedure</name>
 <created>2006-12-10 16:56:41</created>
 <modified>2006-12-25 10:06:37</modified>
 <type>Proof</type>
<parent id="1216">Gram-Schmidt orthogonalization</parent>
 <selfproof>0</selfproof>
 <creator id="6075" name="rspuzio"/>
 <author id="14155" name="azdbacks4234"/>
 <classification>
	<category scheme="msc" code="65F25"/>
 </classification>
 <defines>
	<concept>Gram-Schmidt orthogonalization</concept>
 </defines>
 <synonyms>
	<synonym concept="proof of Gram-Schmidt orthogonalization procedure" alias="Gram-Schmidt"/>
	<synonym concept="proof of Gram-Schmidt orthogonalization procedure" alias="orthogonalization"/>
 </synonyms>
 <related>
	<object name="GramSchmidtOrthogonalization"/>
	<object name="ExampleOfGramSchmidtOrthogonalization"/>
	<object name="InnerProductSpace"/>
	<object name="InnerProduct"/>
	<object name="QRDecomposition"/>
	<object name="NormedVectorSpace"/>
	<object name="Orthogonal"/>
	<object name="OrthogonalVectors"/>
	<object name="Basis"/>
	<object name="Span"/>
	<object name="LinearIndependence"/>
	<object name="Orthonormal"/>
	<object name="OrthonormalBasis"/>
 </related>
 <keywords>
	<term>orthogonal</term>
	<term>orthonormal</term>
	<term>basis</term>
	<term>inner product space</term>
	<term>inner product</term>
 </keywords>
 <preamble>% this is the default PlanetMath preamble.  as your knowledge
% of TeX increases, you will probably want to edit this, but
% it should be fine as is for beginners.

% almost certainly you want these
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amsthm}

% used for TeXing text within eps files
%\usepackage{psfrag}
% need this for including graphics (\includegraphics)
%\usepackage{graphicx}
% for neatly defining theorems and propositions
%\usepackage{amsthm}
% making logically defined graphics
%\usepackage{xypic}

% there are many more packages, add them here as you need them

% define commands here
\theoremstyle{plain}
\newtheorem*{thm}{Theorem}
\newtheorem*{lem}{Lemma}
\newtheorem*{cor}{Corollary}

\DeclareMathOperator{\spn}{Span}

</preamble>
 <content>Note that, while we state the following as a theorem for the sake of logical completeness and to establish notation, our definition of Gram-Schmidt orthogonalization is wholly equivalent to that given in the defining entry.
\begin{thm}
\emph{(Gram-Schmidt Orthogonalization)}
Let $\{\mathbf{u_k}\}_{k=1}^n$ be a basis for an inner product space $V$ with inner product $\big&lt;,\big&gt;$. Define $\mathbf{v_1}=\tfrac{\mathbf{u_1}}{\mid\mid\mathbf{u_1}\mid\mid}$ and $\{\mathbf{m_k}\}_{k=2}^n$ recursively by 
\begin{equation}
\mathbf{m_k}=\mathbf{u_k}-\big&lt;\mathbf{u_k},\mathbf{v_1}\big&gt;\mathbf{v_1}-
\big&lt;\mathbf{u_k},\mathbf{v_2}\big&gt;\mathbf{v_2}-\ldots
-\big&lt;\mathbf{u_k},\mathbf{v_{k-1}}\big&gt;\mathbf{v_{k-1}}\text{,}
\end{equation}
where $\mathbf{v_k}=\tfrac{\mathbf{m_k}}{\mid\mid\mathbf{m_k}\mid\mid}$ for $2\leq k\leq n$. Then $\{\mathbf{v_k}\}_{k=1}^n$ is an orthonormal basis for $V$. 
\end{thm}
\begin{proof}
We proceed by induction on $n$. In the case $n=1$, we suppose 
$\{\mathbf{u_k}\}_{k=1}^n=\{\mathbf{u_k}\}_{k=1}^1=\mathbf{u_1}$ is a basis for the inner product space $V$. Letting $\mathbf{v_1}=\tfrac{\mathbf{u_1}}{\mid\mid\mathbf{u_1}\mid\mid}$, it is clear that $\mathbf{v_1}\in \spn\big(\mathbf{u_1}\big)$, whence it follows that $\spn\big(\mathbf{v_1}\big)=\spn\big(\mathbf{u_1}\big)=V$. Thus $\mathbf{v_1}$ is an orthonormal basis for $V$, and the result holds for $n=1$. Now let $n\geq 1\in\mathbb{N}$, and suppose the result holds for arbitrary $n$. Let $\{\mathbf{u_k}\}_{k=1}^{n+1}$ be a basis for an inner product space $V$. By the inductive hypothesis we may use $\{\mathbf{u_k}\}_{k=1}^n$ to construct an orthonormal set of vectors $\{\mathbf{v_k}\}_{k=1}^n$ such that $\spn\big(\{\mathbf{v_k}\}_{k=1}^n\big)=\spn\big(\{\mathbf{u_k}\}_{k=1}^n\big)$. In accordance with the procedure outlined in the statement of the theorem, let $\mathbf{m_{n+1}}$ be defined as
\begin{equation*}
\mathbf{u_{n+1}}-
\big&lt;\mathbf{u_{n+1}},\mathbf{v_1}\big&gt;\mathbf{v_1}
-\big&lt;\mathbf{u_{n+1}},\mathbf{v_2}\big&gt;\mathbf{v_2}
-\ldots
-\big&lt;\mathbf{u_{n+1}},\mathbf{v_n}\big&gt;\mathbf{v_n}
=\mathbf{u_{n+1}}-\sum\limits_{i=1}^n \big&lt;\mathbf{u_{n+1}},\mathbf{v_i}\big&gt;\mathbf{v_i}\text{.}
\end{equation*}
First we show that the vectors $\mathbf{v_1},\mathbf{v_2},\ldots,\mathbf{v_n},\mathbf{m_{n+1}}$ are mutually orthogonal.
Consider the inner product of 
$\mathbf{m_{n+1}}$ with $\mathbf{v_j}$ for $1\leq j\leq n$. By construction, we have
\begin{equation*}
\big&lt;\mathbf{m_{n+1}},\mathbf{v_j}\big&gt;=\biggl&lt;\mathbf{u_{n+1}}
-\sum_{i=1}^n\big&lt;\mathbf{u_{n+1}},
\mathbf{v_i}\big&gt;\mathbf{v_i},\mathbf{v_j}\biggr&gt;
=\big&lt;\mathbf{u_{n+1}},\mathbf{v_j}\big&gt;
-\biggl&lt;\sum\limits_{i=1}^n\big&lt;\mathbf{u_{n+1}},\mathbf{v_i}\big&gt;
\mathbf{v_i},\mathbf{v_j}\biggr&gt;\text{.}
\end{equation*}
Now since $\{\mathbf{v_k}\}_{k=1}^n$ is an orthonormal set of vectors, whence
$\big&lt;\mathbf{v_i},\mathbf{v_j}\big&gt;=\delta_{ij}$, each term in the summation on the right-hand side of the preceding equation will vanish except for the term where $i=j$. Thus by this and the preceding equation, we have
\begin{multline*}
\big&lt;\mathbf{m_{n+1}},\mathbf{v_j}\big&gt;
=\big&lt;\mathbf{u_{n+1}},\mathbf{v_j}\big&gt;
-\biggl&lt;\sum\limits_{i=1}^n\big&lt;\mathbf{u_{n+1}},\mathbf{v_i}\big&gt;
\mathbf{v_i},\mathbf{v_j}\biggr&gt;
=\big&lt;\mathbf{u_{n+1}},\mathbf{v_j}\big&gt;
-\biggl&lt;\big&lt;\mathbf{u_{n+1}},\mathbf{v_j}\big&gt;\mathbf{v_j},\mathbf{v_j}\biggr&gt;\\
=\big&lt;\mathbf{u_{n+1}},\mathbf{v_j}\big&gt;
-\big&lt;\mathbf{u_{n+1}},\mathbf{v_{j}}\big&gt;\big&lt;\mathbf{v_j},\mathbf{v_j}\big&gt;
=\big&lt;\mathbf{u_{n+1}},\mathbf{v_{j}}\big&gt;
-\big&lt;\mathbf{u_{n+1}},\mathbf{v_{j}}\big&gt;
=0\text{.}
\end{multline*}
Thus $\mathbf{m_{n+1}}$ is orthogonal to $\mathbf{v_j}$ for $1\leq j\leq n$, so we may take $\mathbf{v_{n+1}}=\tfrac{\mathbf{m_{n+1}}}{\mid\mid\mathbf{m_{n+1}}\mid\mid}$ to have $\{\mathbf{v_k}\}_{k=1}^{n+1}$ an orthonormal set of vectors. Finally we show that $\{\mathbf{v_k}\}_{k=1}^{n+1}$ is a basis for $V$. 
By construction, each $\mathbf{v_k}$ is a linear combination of the vectors $\{\mathbf{u_k}\}_{k=1}^{n+1}$, so we have $n+1$ orthogonal, hence linearly independent vectors in the $n+1$ dimensional space $V$, from which it follows that $\{\mathbf{v_k}\}_{k=1}^{n+1}$ is a basis for $V$. Thus the result holds for $n+1$, and by the principle of induction, for all $n$. 
\end{proof}</content>
</record>
