<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="m10561">
  <name>Inner Product Spaces</name>
  <metadata>
  <md:version>2.3</md:version>
  <md:created>2002/04/10</md:created>
  <md:revised>2002/04/12</md:revised>
  <md:authorlist>
      <md:author id="dbw">
      <md:firstname>Doug</md:firstname>
      
      <md:surname>Williams</md:surname>
      <md:email>dbw@ece.gatech.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="dbw">
      <md:firstname>Doug</md:firstname>
      
      <md:surname>Williams</md:surname>
      <md:email>dbw@ece.gatech.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  

  <md:abstract>(Blank Abstract)</md:abstract>
</metadata>

  <content>
    <section id="innerproduct">
      <name>Inner Product Spaces</name>

    <para id="para1">
	Inner Product Spaces

	We have seen that linear vector spaces provide a useful
	framework for describing a broad range of classes of signals,
	both discrete-time and continuous-time.  The notions of vector
	length and distances between vectors were introduced with the
	concept of normed linear vector spaces
	(<foreign>i.e.</foreign>, linear vector spaces with a norm).
	However, optimization and signal approximation are still
	problematic in many normed linear spaces, as, in general, the
	solution may not be unique and it may be difficult to find the
	solution(s).
      </para>

      <para id="par2">
	Consider the vector space
	<m:math>
	  <m:ci>
	    <m:msub>
	      <m:mi>ℝ</m:mi>
	      <m:mn>3</m:mn>
	    </m:msub>
	  </m:ci>
	</m:math> with the Euclidean norm
	
	<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#norm"/>
	      <m:ci>x</m:ci>
	    </m:apply>
	    <m:apply>
	      <m:power/>
	      <m:apply>
		<m:plus/>
		<m:ci>
		  <m:msubsup>
		    <m:mi>x</m:mi>
		    <m:mn>1</m:mn>
		    <m:mn>2</m:mn>
		  </m:msubsup>
		</m:ci>
		<m:ci>
		  <m:msubsup>
		    <m:mi>x</m:mi>
		    <m:mn>2</m:mn>
		    <m:mn>2</m:mn>
		  </m:msubsup>
		</m:ci>
		<m:ci>
		  <m:msubsup>
		    <m:mi>x</m:mi>
		    <m:mn>3</m:mn>
		    <m:mn>2</m:mn>
		  </m:msubsup>
		</m:ci>
	      </m:apply>
	      <m:apply>
		<m:divide/>
		<m:cn>1</m:cn>
		<m:cn>2</m:cn>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>.  This
	three-dimensional normed linear space, unlike many of the normed linear
	spaces we have seen, has many of the properties that we expect from
	everyday 3-D life:
	<list id="list1">
	  <item>The unit sphere (<foreign>i.e.</foreign>, all vectors
	  <m:math><m:ci type="vector">x</m:ci></m:math> such that
	    <m:math>
	      <m:apply>
		<m:eq/>
		<m:apply>
		  <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#norm"/>
		  <m:ci>x</m:ci>
		</m:apply>
		<m:cn>1</m:cn>
	      </m:apply>
	    </m:math>) is round.
	  </item>
	  <item>Any subspace (<foreign>i.e.</foreign>, plane or line)
	    has a unique closest point to any element <m:math><m:ci type="vector">s</m:ci></m:math> in
	    <m:math display="inline">
	      <m:ci>
		<m:msub>
		  <m:mi>ℝ</m:mi>
		  <m:mn>3</m:mn>
		</m:msub>
	      </m:ci>
	    </m:math>.
	  </item>
	</list>

	Practical experience indicates that the line from <m:math display="inline"><m:ci type="vector">s</m:ci></m:math> to the
	best approximation
	<m:math>
	  <m:ci type="vector">
	    <m:mover>
	      <m:mi>s</m:mi>
	      <m:mo>̂</m:mo>
	    </m:mover>
	  </m:ci>
	</m:math> in the subspace
	<m:math display="inline">
	  <m:ci>
	    <m:msub>
	      <m:mi>Φ</m:mi>
	      <m:mn>2</m:mn>
	    </m:msub>
	  </m:ci>
	</m:math> is
	perpendicular to the plane  
	<m:math display="inline">
	  <m:ci>
	    <m:msub>
	      <m:mi>Φ</m:mi>
	      <m:mn>2</m:mn>
	    </m:msub>
	  </m:ci>
	</m:math>.  Normed linear spaces do not have the necessary
	structure to handle the concepts of orthogonality or angles
	between vectors.  However,
	<m:math display="inline">
	  <m:ci>
	    <m:msub>
	      <m:mi>ℝ</m:mi>
	      <m:mn>3</m:mn>
	    </m:msub>
	  </m:ci>
	</m:math> with the Euclidean norm turns out to be one example
	of an inner product space, and it is possible to define
	orthogonality in inner product spaces.
      </para>

      <para id="innerparablah">
	<definition id="innerproductdef">
	  <term>Inner Product</term>
	  <meaning>In a complex linear space
	    <m:math><m:ci>S</m:ci></m:math> an inner product 
	    <m:math>
	      <m:apply>
		<m:scalarproduct/>
		<m:ci type="vector">x</m:ci>
		<m:ci type="vector">y</m:ci>
	      </m:apply>
	    </m:math> assigns a complex number to any pair of elements
	    <m:math>
	      <m:apply>
		<m:in/>
		<m:set>
		  <m:ci type="vector">x</m:ci>
		  <m:ci type="vector">y</m:ci>
		</m:set>
		<m:ci>S</m:ci>
	      </m:apply>
	    </m:math>.
	  </meaning>
	</definition>
	The inner product must satisfy the following three conditions:
	<list id="innerlist" type="enumerated">
	  <item>
	    <m:math>
	      <m:apply>
		<m:eq/>
		<m:apply>
		  <m:scalarproduct/>
		  <m:ci type="vector">x</m:ci>
		  <m:ci type="vector">y</m:ci>
		</m:apply>
		<m:apply>
		  <m:conjugate/>
		  <m:apply>
		    <m:scalarproduct/>
		    <m:ci type="vector">y</m:ci>
		    <m:ci type="vector">x</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:math>
	  </item>
	  <item>
	    For any complex scalars <m:math><m:ci>a</m:ci></m:math>,
	    <m:math><m:ci>b</m:ci></m:math>,
	    <m:math display="block">
	      <m:apply>
		<m:eq/>
		<m:apply>
		  <m:scalarproduct/>
		  <m:apply>
		    <m:plus/>
		    <m:apply>
		      <m:times/>
		      <m:ci type="scalar">a</m:ci>
		      <m:ci type="vector">x</m:ci>
		    </m:apply>
		    <m:apply>
		      <m:times/>
		      <m:ci type="scalar">b</m:ci>
		      <m:ci type="vector">y</m:ci>
		    </m:apply>
		  </m:apply>
		  <m:ci type="vector">z</m:ci>
		</m:apply>
		<m:apply>
		  <m:plus/>
		  <m:apply>
		    <m:times/>
		    <m:ci type="scalar">a</m:ci>
		    <m:apply>
		      <m:scalarproduct/>
		      <m:ci type="vector">x</m:ci>
		      <m:ci type="vector">z</m:ci>
		    </m:apply>
		  </m:apply>
		  <m:apply>
		    <m:times/>
		    <m:ci type="scalar">b</m:ci>
		    <m:apply>
		      <m:scalarproduct/>
		      <m:ci type="vector">y</m:ci>
		      <m:ci type="vector">z</m:ci>
		    </m:apply>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:math>
	  </item>
	  <item>
	    <m:math>
	      <m:apply>
		<m:leq/>
		<m:apply>
		  <m:scalarproduct/>
		  <m:ci type="vector">x</m:ci>
		  <m:ci type="vector">x</m:ci>
		</m:apply>
		<m:cn>0</m:cn>
	      </m:apply>
	    </m:math> and 
	    <m:math>
	      <m:apply>
		<m:ci><m:mo>⇔</m:mo></m:ci>
		<m:apply>
		  <m:eq/>
		  <m:apply>
		    <m:scalarproduct/>
		    <m:ci type="vector">x</m:ci>
		    <m:ci type="vector">x</m:ci>
		  </m:apply>
		  <m:cn>0</m:cn>
		</m:apply>
		<m:apply>
		  <m:eq/>
		  <m:ci type="vector">x</m:ci>
		  <m:cn>0</m:cn>
		</m:apply>
	      </m:apply>
	    </m:math>.
	  </item>
	</list>
      </para>

	<example id="ex1">
	  <para id="example1para">
	    In 
	    <m:math>
	      <m:ci>
		<m:msub>
		  <m:mi>ℝ</m:mi>
		  <m:mi>N</m:mi>
		</m:msub>
	      </m:ci>
	    </m:math>, the usual dot product
	    <m:math display="block">
	      <m:apply>
		<m:eq/>
		<m:apply>
		  <m:scalarproduct/>
		  <m:ci type="vector">x</m:ci>
		  <m:ci type="vector">y</m:ci>
		</m:apply>
		<m:apply>
		  <m:sum/>
		  <m:bvar>
		    <m:ci>k</m:ci>
		  </m:bvar>
		  <m:lowlimit>
		    <m:cn>0</m:cn>
		  </m:lowlimit>
		  <m:uplimit>
		    <m:ci>N</m:ci>
		  </m:uplimit>
		  <m:apply>
		    <m:times/>
		    <m:ci>
		      <m:msub>
			<m:mi>x</m:mi>
			<m:mi>k</m:mi>
		      </m:msub>
		    </m:ci>
		    <m:apply>
		      <m:conjugate/>
		      <m:ci>
			<m:msub>
			  <m:mi>y</m:mi>
			  <m:mi>k</m:mi>
			</m:msub>
		      </m:ci>
		    </m:apply>
		  </m:apply>
		</m:apply>
		<m:apply>
		  <m:times/>
		  <m:apply>
		    <m:diff/>
		    <m:ci type="vector">y</m:ci>
		  </m:apply>
		  <m:ci type="vector">x</m:ci>
		</m:apply>
	      </m:apply>
	    </m:math> is one possible inner product.
	  </para>
	</example>

	<example id="ex2">
	  <para id="examplepara2">
	    For complex-valued continuous-time signals in 
	    <m:math>
	      <m:ci>C</m:ci>
	      <m:interval>
		<m:ci>a</m:ci>
		<m:ci>b</m:ci>
	      </m:interval>
	    </m:math>
	    
	    <m:math display="block">
	      <m:apply>
		<m:eq/>
		<m:apply>
		  <m:scalarproduct/>
		  <m:ci type="vector">x</m:ci>
		  <m:ci type="vector">y</m:ci>
		</m:apply>
		<m:apply>
		  <m:int/>
		  <m:bvar>
		    <m:ci>t</m:ci>
		  </m:bvar>
		  <m:lowlimit>
		    <m:ci>a</m:ci>
		  </m:lowlimit>
		  <m:uplimit>
		    <m:ci>b</m:ci>
		  </m:uplimit>
		  <m:apply>
		    <m:times/>
		    <m:apply>
		      <m:ci type="fn">x</m:ci>
		      <m:ci>t</m:ci>
		    </m:apply>
		    <m:apply>
		      <m:conjugate/>
		      <m:apply>
			<m:ci type="fn">y</m:ci>
			<m:ci>t</m:ci>
		      </m:apply>
		    </m:apply>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:math>
	    is the most common inner product.
	  </para>
	</example>
      

    </section>
  </content>
  
</document>
