<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="HTMLFiles/pmathml.xsl"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
        "HTMLFiles/xhtml-math11-f.dtd">

<!-- Created by Wolfram Mathematica 7.0 : www.wolfram.com -->

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <title>
  linearAlgebraNotes
 </title>
 <link href="HTMLFiles/Default.css" rel="stylesheet" type="text/css" />
</head>

<body style="font-size: 125%;">

<p class="Title">
 Linear Algebra Notes
</p>



<p class="Text">
 By Xah Lee.<br />Document Created: 1998/03/03.<br />Last Modified: 1998/07<br /> http://xahlee.org/PageTwo_dir/more.html<br />
</p>



<p class="Subtitle">
 1 System of Linear Equations
</p>



<p class="Subsection">
 Solutions to a system of linear equations
</p>



<p class="Text">
 There are only 3 possiblilities regarding the solutions to a system of linear equations:<br />&bull; No solution.<br />&bull; Exactly one solution.<br />&bull; Infinitely many solutions.
</p>



<p class="Input">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <semantics>
  <annotation-xml encoding='MathML-Presentation' />
 </semantics>
</math>
</p>

<p class="Subsection">
 Definition: Echelon Form, Reduced Echelon form, and Pivot Positions.
</p>



<p class="Text">
 A leading entry of a row refers to the leftmost nonzero entry (in a nonzero row).<br />A rectangular matrix is in <span style='font-weight: bold;'>echelon form</span> if it has the following two properties:<br />1. All nonzero rows are above any rows of all zeros.<br />2. If the leading entry of row n is in column m, then the leading entry for row n+1 must be in column m+1 or greater.
</p>



<p class="Text">
 If a matrix in echelon form satisfies the following additional conditions, then it is in <span style='font-weight: bold;'>reduced echelon</span> form:<br />1. The leading entry in each nonzero row is 1.<br />2. Each leading 1 is the only nonzero entry in its column.
</p>



<p class="Text">
 The leading entries of a matrix in echelon form are called <span style='font-weight: bold;'>Pivot Positions</span>.
</p>



<p class="Subsection">
 Existence and Uniqueness Theorem
</p>



<p class="Text">
 &bull; Each matrix is row equivalent to one and only one reduced echelon matrix.(&dagger;<br />proof in Appendix)<br />&bull; A linear system is consistent iff the rightmost column of the augmented matrix is not a pivot column, that is, iff an echelon form of the augmented matrix has no row of the form [0 ... 0 b] with b nonzero.<br />&bull; If a linear system is consistent, then the solution set contains either (1) a unique solution, when there are no free variables, or (2) infinitely many solutions, when there is at least one free variable.
</p>



<p class="Text">
 by Xah: I like to see a (formal) proof of this.
</p>



<p class="Subtitle">
 2 Vectors and Matrix Equations
</p>



<p class="Subsection">
 Span
</p>



<p class="Text">
 If <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mover>
    <mi>a</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mn>1</mn>
  </msub>
  <mo>,</mo>
  <mo>...</mo>
  <mo>,</mo>
  <msub>
   <mover>
    <mi>a</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mi>n</mi>
  </msub>
 </mrow>
</math></span></span> are vectors in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span> and <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mi>x</mi>
   <mn>1</mn>
  </msub>
  <mo>,</mo>
  <mo>...</mo>
  <mo>,</mo>
  <msub>
   <mi>x</mi>
   <mi>n</mi>
  </msub>
 </mrow>
</math></span></span> are scalars, then Span[<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span>] := <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mrow>
     <msub>
      <mi>x</mi>
      <mn>1</mn>
     </msub>
     <mo>&InvisibleTimes;</mo>
     <msub>
      <mover>
       <mi>a</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mn>1</mn>
     </msub>
    </mrow>
    <mo>+</mo>
   </mrow>
   <mo>...</mo>
  </mrow>
  <mo>+</mo>
  <mrow>
   <msub>
    <mi>x</mi>
    <mi>n</mi>
   </msub>
   <mo>&InvisibleTimes;</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
 </mrow>
</math></span></span>.
</p>



<p class="Text">
 Span[<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span>] is a subset of <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span>.<br />If Span[<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span>]==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span>, we say the set of vectors <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> spans <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span>.
</p>



<p class="Subsection">
 Definition of A.<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>
</p>



<p class="Text">
 If A is an m &times; n matrix, with columns <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mover>
    <mi>a</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mn>1</mn>
  </msub>
  <mo>,</mo>
  <mo>...</mo>
  <mo>,</mo>
  <msub>
   <mover>
    <mi>a</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mi>n</mi>
  </msub>
 </mrow>
</math></span></span>, and <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>, then the vector A.<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is defined to be <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <munderover>
   <mo>&Sum;</mo>
   <mrow>
    <mi>i</mi>
    <mo>=</mo>
    <mn>1</mn>
   </mrow>
   <mi>n</mi>
  </munderover>
  <mrow>
   <msub>
    <mi>x</mi>
    <mi>i</mi>
   </msub>
   <mo>&InvisibleTimes;</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>i</mi>
   </msub>
  </mrow>
 </mrow>
</math></span></span>.
</p>



<p class="Subsection">
 Equivalent equations
</p>



<p class="Text">
 Given an m &times; n matrix A, with columns <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mover>
    <mi>a</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mn>1</mn>
  </msub>
  <mo>,</mo>
  <mo>...</mo>
  <mo>,</mo>
  <msub>
   <mover>
    <mi>a</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mi>n</mi>
  </msub>
 </mrow>
</math></span></span> and given <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>b</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span>, the following equations all denote the same thing.<br />&bull; The matrix equation <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mover>
   <mi>b</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span><br />&bull; the vector equation <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <munderover>
    <mo>&Sum;</mo>
    <mrow>
     <mi>i</mi>
     <mo>=</mo>
     <mn>1</mn>
    </mrow>
    <mi>n</mi>
   </munderover>
   <mrow>
    <msub>
     <mi>x</mi>
     <mi>i</mi>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mover>
      <mi>a</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mi>i</mi>
    </msub>
   </mrow>
  </mrow>
  <mo>&Equal;</mo>
  <mover>
   <mi>b</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> <br />&bull; the system of linear equations whose augmented matrix is <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <mrow>
    <msub>
     <mover>
      <mi>a</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>1</mn>
    </msub>
    <mo>...</mo>
   </mrow>
   <mo>&InvisibleTimes;</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>b</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span>
</p>



<p class="Subsection">
 Equivalent Statements
</p>



<p class="Text">
 Let A be a m &times; n matrix. Then the following statements are logically equivalent.<br />&bull; For each b in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span>, the equation <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mover>
   <mi>b</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> is consistent.<br />&bull; The columns of A span <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span>.<br />&bull; A has a pivot position in every row.
</p>



<p class="Text">
 By Xah: They are simply logically equivalent statements. Whether they are true is another matter. For (3), think of A as a set of vectors, and a pivot in every row means this set contain all the basis vectors in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span>, thus it span <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span>. It is not sufficient if A has a pivot position in every column. Example: <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>a</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mn>1</mn>
 </msub>
</math></span></span> := {1,0,0}, <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>a</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mn>2</mn>
 </msub>
</math></span></span> := {0,1,0} does not span <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mn>3</mn>
 </msup>
</math></span></span>.
</p>



<p class="Subsection">
 Distribution Property of Vectors
</p>



<p class="Text">
 If A is an m &times; n matrix, <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> and <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>v</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> are vectors in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>, and c is a scalar, then<br />&bull; <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mo>+</mo>
     <mover>
      <mi>v</mi>
      <mo>&RightVector;</mo>
     </mover>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mrow>
    <mi>A</mi>
    <mo>&InvisibleTimes;</mo>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
   <mo>+</mo>
   <mrow>
    <mi>A</mi>
    <mo>&InvisibleTimes;</mo>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
  </mrow>
 </mrow>
</math></span></span><br />&bull; <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mi>c</mi>
     <mo>&InvisibleTimes;</mo>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mi>c</mi>
   <mo>&InvisibleTimes;</mo>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mi>A</mi>
     <mo>&InvisibleTimes;</mo>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
 </mrow>
</math></span></span>
</p>



<p class="Subsection">
 A Theorem on Homogeneous Equation
</p>



<p class="Text">
 A system of linear equations is said to be homogeneous if it can be written in the form <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mtext> </mtext>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>. The homogeneous system <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mtext> </mtext>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> has a nonzero solution iff the system has at least one free variable.
</p>



<p class="SmallText">
 by Xah: This is so because a consistant system either has one unique solution or infinite number of solutions. For the latter, there must be a free variable.
</p>



<p class="Text">
 Suppose the equation <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mtext> </mtext>
  <mover>
   <mi>b</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> is consistent for some given b, and let <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>p</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> be a solution. Then the solution set of <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mtext> </mtext>
  <mover>
   <mi>b</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> is the set of all vectors of the form <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>p</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>+</mo>
  <msub>
   <mover>
    <mi>v</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mi>h</mi>
  </msub>
 </mrow>
</math></span></span> where <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>v</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mi>h</mi>
 </msub>
</math></span></span> is any solution of the homogeneous equation <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mtext> </mtext>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>.
</p>



<p class='Text' style='text-align: left;'>
 Proof by Xah: We have<br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>p</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>&Equal;</mo>
  <mover>
   <mi>b</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> and <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>h</mi>
   </msub>
  </mrow>
  <mo>&Equal;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span><br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mi>A</mi>
    <mo>&InvisibleTimes;</mo>
    <mover>
     <mi>p</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
   <mo>+</mo>
   <mrow>
    <mi>A</mi>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mover>
      <mi>v</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mi>h</mi>
    </msub>
   </mrow>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mover>
    <mi>b</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>+</mo>
   <mover>
    <mn>0</mn>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>&Equal;</mo>
  <mover>
   <mi>b</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span><br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mover>
      <mi>p</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mo>+</mo>
     <msub>
      <mover>
       <mi>v</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mi>h</mi>
     </msub>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
  <mo>&Equal;</mo>
  <mover>
   <mi>b</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span><br />thus <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>(</mo>
  <mrow>
   <mover>
    <mi>p</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>+</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>h</mi>
   </msub>
  </mrow>
  <mo>)</mo>
 </mrow>
</math></span></span> is a solution to <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mtext> </mtext>
  <mover>
   <mi>b</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> .<br />Now we show that there can be no solution other than <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>(</mo>
  <mrow>
   <mover>
    <mi>p</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>+</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>h</mi>
   </msub>
  </mrow>
  <mo>)</mo>
 </mrow>
</math></span></span>. Suppose <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>c</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is a solution to <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mtext> </mtext>
  <mover>
   <mi>b</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>. Then<br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>c</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mtext> </mtext>
  <mover>
   <mi>b</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span><br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mi>A</mi>
    <mo>&InvisibleTimes;</mo>
    <mover>
     <mi>c</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
   <mo>-</mo>
   <mrow>
    <mi>A</mi>
    <mo>&InvisibleTimes;</mo>
    <mover>
     <mi>p</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
  </mrow>
  <mo>&Equal;</mo>
  <mtext> </mtext>
  <mrow>
   <mover>
    <mi>b</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>-</mo>
   <mover>
    <mi>b</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>&Equal;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span><br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mover>
      <mi>c</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mo>-</mo>
     <mover>
      <mi>p</mi>
      <mo>&RightVector;</mo>
     </mover>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
  <mo>&Equal;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span><br />This shows that <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mo>(</mo>
   <mrow>
    <mover>
     <mi>c</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>-</mo>
    <mover>
     <mi>p</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
   <mo>)</mo>
  </mrow>
  <mo>&Equal;</mo>
  <msub>
   <mover>
    <mi>v</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mi>h</mi>
  </msub>
 </mrow>
</math></span></span> for some <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>v</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mi>h</mi>
 </msub>
</math></span></span> <br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mo>(</mo>
   <mrow>
    <mover>
     <mi>c</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>-</mo>
    <mover>
     <mi>p</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
   <mo>)</mo>
  </mrow>
  <mo>&Equal;</mo>
  <msub>
   <mover>
    <mi>v</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mi>h</mi>
  </msub>
 </mrow>
</math></span></span> <br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>c</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>&Equal;</mo>
  <mrow>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>h</mi>
   </msub>
   <mo>+</mo>
   <mover>
    <mi>p</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
 </mrow>
</math></span></span><br />End of proof.
</p>



<p class="Subsection">
 Definition of Linearly Dependence
</p>



<p class="Text">
 A set of vectors <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> in vector space V is said to be linearly independent if the vector equation<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <munderover>
   <mo>&Sum;</mo>
   <mrow>
    <mi>i</mi>
    <mo>=</mo>
    <mn>1</mn>
   </mrow>
   <mi>n</mi>
  </munderover>
  <mrow>
   <msub>
    <mi>x</mi>
    <mi>i</mi>
   </msub>
   <mo>&InvisibleTimes;</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>i</mi>
   </msub>
  </mrow>
 </mrow>
</math></span></span>==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span><br />has only the trivial solution <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>x</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>&Equal;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>. Otherwise, the set is said to be linearly dependent.
</p>



<p class="Subsection">
 Characterization of Linearly Dependent Sets
</p>



<p class="Text">
 &bull; A set S := <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> of two or more vectors is linearly dependent iff at least one of the vectors in S is a linear combination of the others.<br />&bull; Any set <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span> is linearly dependent if n &gt; m.<br />&bull; If a set S := <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span> contains the zero vector, then the set is linearly dependent.
</p>



<p class="Text">
 <span style='font-weight: bold;'>Problem: </span>Given a set of vectors with one element a linear combination of others. How to determine which one and its linear combination? In general, given a set of vectors, how to determine which vector can be written as a linear combination of which vectors, and which cannot.
</p>



<p class="Text">
 Solution:<br />Solve the equation<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mrow>
     <mrow>
      <msub>
       <mi>x</mi>
       <mn>1</mn>
      </msub>
      <mo>&InvisibleTimes;</mo>
      <msub>
       <mover>
        <mi>a</mi>
        <mo>&RightVector;</mo>
       </mover>
       <mn>1</mn>
      </msub>
     </mrow>
     <mo>+</mo>
    </mrow>
    <mo>...</mo>
   </mrow>
   <mo>+</mo>
   <mrow>
    <msub>
     <mi>x</mi>
     <mi>n</mi>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mover>
      <mi>a</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mi>n</mi>
    </msub>
   </mrow>
  </mrow>
  <mo>&Equal;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span><br />then isolate any term <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>a</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mi>k</mi>
 </msub>
</math></span></span> to one side shows its dependence relationship. If <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mi>k</mi>
  </msub>
  <mo>&Equal;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>, then it shows the vector <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>a</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mi>k</mi>
 </msub>
</math></span></span> is not a linear combination of other vectors in the set. If <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mi>k</mi>
  </msub>
  <mo>&Equal;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> for all k, it agrees with the definition of linearly independent set, no vector is a linear combination of other vectors.
</p>



<p class="Section">
 2.5 Intro to Linear Transformation
</p>



<p class="Subsection">
 Linear Transformation
</p>



<p class="Text">
 A transformation (or mapping) T is linear if<br />&bull; <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>T</mi>
   <mo>[</mo>
   <mrow>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>+</mo>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
   <mo>]</mo>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mrow>
    <mi>T</mi>
    <mo>[</mo>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>]</mo>
   </mrow>
   <mo>+</mo>
   <mrow>
    <mi>T</mi>
    <mo>[</mo>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>]</mo>
   </mrow>
  </mrow>
 </mrow>
</math></span></span> for all <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>, <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>v</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in the domain of T.<br />&bull; <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>T</mi>
   <mo>[</mo>
   <mrow>
    <mi>c</mi>
    <mo>&InvisibleTimes;</mo>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
   <mo>]</mo>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mi>c</mi>
   <mo>&InvisibleTimes;</mo>
   <mrow>
    <mi>T</mi>
    <mo>[</mo>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>]</mo>
   </mrow>
  </mrow>
 </mrow>
</math></span></span> for all <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> and all scalars c.
</p>



<p class="Text">
 Theorem: For any linear transformation T, <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>T</mi>
   <mo>[</mo>
   <mover>
    <mn>0</mn>
    <mo>&RightVector;</mo>
   </mover>
   <mo>]</mo>
  </mrow>
  <mo>&Equal;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>. <br />(this does not mean that <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>T</mi>
   <mo>[</mo>
   <mover>
    <mi>a</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>]</mo>
  </mrow>
  <mo>&NotEqual;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> for any <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>a</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>&NotEqual;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>.
</p>



<p class="Subsection">
 Stardard Matrix of Linear Transformation
</p>



<p class="Text">
 Let T: <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msup>
   <mi mathvariant='double-struck'>R</mi>
   <mi>n</mi>
  </msup>
  <mo>&rightarrow;</mo>
  <msup>
   <mi mathvariant='double-struck'>R</mi>
   <mi>m</mi>
  </msup>
 </mrow>
</math></span></span> be a linear transformation. Then there exists a unique matrix A such that<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>T</mi>
   <mo>[</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>]</mo>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
 </mrow>
</math></span></span> for all <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>, and<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mi>A</mi>
  <mo>&Equal;</mo>
  <mrow>
   <mo>{</mo>
   <mrow>
    <mrow>
     <mi>T</mi>
     <mo>[</mo>
     <msub>
      <mover>
       <mi>e</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mn>1</mn>
     </msub>
     <mo>]</mo>
    </mrow>
    <mo>,</mo>
    <mo>...</mo>
    <mo>,</mo>
    <mrow>
     <mi>T</mi>
     <mo>[</mo>
     <msub>
      <mover>
       <mi>e</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mi>n</mi>
     </msub>
     <mo>]</mo>
    </mrow>
   </mrow>
   <mo>}</mo>
  </mrow>
 </mrow>
</math></span></span><br />where <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>e</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mi>i</mi>
 </msub>
</math></span></span> is the ith column of of the identity matrix I<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mi>n</mi>
 </msub>
</math></span></span>.<br />A is called the standard matrix for the linear transformation T.
</p>



<p class="Text">
 (Proof in D.C.Lay 2.6 p.80. Good.)<br />With this theorem, we could say that every linear transformation from <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span> to <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span> is a matrix transformation, and it's easy to prove that every matrix transformation is linear (see D.C.Lay 2.2 p.52. The one-to-one correspondence of A <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> and T[x] is indicated in the book also. see 2.6, excercise 33, p.85. Easy.)<br />Note, in this theorem, one may think it will have problems when n &ne; m. Not so. Because note that T[<span style='font-weight: bold;'>e</span>] will return a vector in dimension m.
</p>



<p class="Subsection">
 Onto and one-to-one mapping
</p>



<p class="Text">
 &bull; A mapping T:<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msup>
   <mi mathvariant='double-struck'>R</mi>
   <mi>n</mi>
  </msup>
  <mo>&rightarrow;</mo>
  <msup>
   <mi mathvariant='double-struck'>R</mi>
   <mi>m</mi>
  </msup>
 </mrow>
</math></span></span> is said to be onto <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span> if each <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>b</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span> is the image of at least one <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>.<br />&bull; A mapping T: <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msup>
   <mi mathvariant='double-struck'>R</mi>
   <mi>n</mi>
  </msup>
  <mo>&rightarrow;</mo>
  <msup>
   <mi mathvariant='double-struck'>R</mi>
   <mi>m</mi>
  </msup>
 </mrow>
</math></span></span> is said to be one-to-one if each <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>b</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span> is the image of at most one <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>.
</p>



<p class="Text">
 Let T: <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msup>
   <mi mathvariant='double-struck'>R</mi>
   <mi>n</mi>
  </msup>
  <mo>&rightarrow;</mo>
  <msup>
   <mi mathvariant='double-struck'>R</mi>
   <mi>m</mi>
  </msup>
 </mrow>
</math></span></span> be a linear transformation and let A be the standard matrix for T. Then,<br />&bull; T maps <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span> onto <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span> iff the columns of A span <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span>.<br />&bull; T is one-to-one iff the columns of A are linearly independent.
</p>



<p class="Subtitle">
 3 Matrix Algebra
</p>



<p class="Section">
 3.1 Matrix Operations
</p>



<p class="Subsection">
 Multiplication of Matrices
</p>



<p class="Text">
 If A is an m &times; n matrix, and if B is an n &times; p matrix, then<br />&nbsp;&nbsp;&nbsp;&nbsp;A &otimes; B := <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <mrow>
    <mi>A</mi>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mover>
      <mi>b</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>1</mn>
    </msub>
   </mrow>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <mrow>
    <mi>A</mi>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mover>
      <mi>b</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mi>p</mi>
    </msub>
   </mrow>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span>.
</p>



<p class="Text">
 <span style='font-weight: normal;'>Motivaton for the definition:<br />We want the product </span>A&otimes;B to have the property <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mo>(</mo>
    <mi>AB</mi>
    <mo>)</mo>
   </mrow>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mi>B</mi>
     <mo>&InvisibleTimes;</mo>
     <mover>
      <mi>x</mi>
      <mo>&RightVector;</mo>
     </mover>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
 </mrow>
</math></span></span>.<br />Now,<span style='font-weight: normal;'><br /></span><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>.</mo>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mi>B</mi>
     <mo>.</mo>
     <mover>
      <mi>x</mi>
      <mo>&RightVector;</mo>
     </mover>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mi>A</mi>
   <mo>.</mo>
   <mrow>
    <mo>(</mo>
    <mrow>
     <munderover>
      <mo>&Sum;</mo>
      <mrow>
       <mi>i</mi>
       <mo>=</mo>
       <mn>1</mn>
      </mrow>
      <mi>p</mi>
     </munderover>
     <mrow>
      <msub>
       <mi>x</mi>
       <mi>i</mi>
      </msub>
      <mo>&InvisibleTimes;</mo>
      <msub>
       <mover>
        <mi>b</mi>
        <mo>&RightVector;</mo>
       </mover>
       <mi>i</mi>
      </msub>
     </mrow>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <munderover>
    <mo>&Sum;</mo>
    <mrow>
     <mi>i</mi>
     <mo>=</mo>
     <mn>1</mn>
    </mrow>
    <mi>p</mi>
   </munderover>
   <mrow>
    <mi>A</mi>
    <mo>.</mo>
    <mrow>
     <mo>(</mo>
     <mrow>
      <msub>
       <mi>x</mi>
       <mi>i</mi>
      </msub>
      <mo>&InvisibleTimes;</mo>
      <msub>
       <mover>
        <mi>b</mi>
        <mo>&RightVector;</mo>
       </mover>
       <mi>i</mi>
      </msub>
     </mrow>
     <mo>)</mo>
    </mrow>
   </mrow>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <munderover>
    <mo>&Sum;</mo>
    <mrow>
     <mi>i</mi>
     <mo>=</mo>
     <mn>1</mn>
    </mrow>
    <mi>p</mi>
   </munderover>
   <mrow>
    <mo>(</mo>
    <mrow>
     <msub>
      <mi>x</mi>
      <mi>i</mi>
     </msub>
     <mo>&InvisibleTimes;</mo>
     <mrow>
      <mo>(</mo>
      <mtext> </mtext>
      <mrow>
       <mi>A</mi>
       <mo>.</mo>
       <msub>
        <mover>
         <mi>b</mi>
         <mo>&RightVector;</mo>
        </mover>
        <mi>i</mi>
       </msub>
      </mrow>
      <mo>)</mo>
     </mrow>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
 </mrow>
</math></span></span><br /><br />Note that A[x]+A[y]==A[x+y].
</p>



<p class="Text">
 The <span style='font-weight: bold;'>power</span> of A is defined by<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msup>
   <mi>A</mi>
   <mi>k</mi>
  </msup>
  <mo>:=</mo>
  <mrow>
   <mi>I</mi>
   <mo>*</mo>
   <mrow>
    <mi>Product</mi>
    <mo>[</mo>
    <mrow>
     <mi>A</mi>
     <mo>,</mo>
     <mrow>
      <mo>{</mo>
      <mi>n</mi>
      <mo>}</mo>
     </mrow>
    </mrow>
    <mo>]</mo>
   </mrow>
  </mrow>
 </mrow>
</math></span></span>, in particular <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mn>0</mn>
 </msup>
</math></span></span>==I.
</p>



<p class="Text">
 By the definition of matrix multiplication, it follows that the<br />&nbsp;&nbsp;&nbsp;&nbsp;ith row of (A B)==(ith row of A) times (the matrix B)<br />Note that the (ith row of A) is a 1 by n matrix.
</p>



<p class="Subsection">
 Transposition of Matrices
</p>



<p class="Text">
 The transpose of A is the n &times; m matrix, denoted by <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span>, whose columns are the corresponding rows of A.
</p>



<p class="Text">
 Note: We can also define Transpose as follows: The transpose of a n &times; m matrix A is a m &times; n matrix <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span> such that Dot[A <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>, y]==Dot[<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span> y, <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>]. For example, suppose we have A := {{a,b},{c,d}}. Then Dot[A <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>, y] is then <br />(a x1 + b x2) y1 + (c x1 + d x2) y2<br />To evalute Dot[<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span> y, <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>], we note that it differs from Dot[A <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>, y] only by the position of the pairs {b,c}, {x1,y1}, {x2,y2} in the final product. So make a switch to get <br />(a y1 + c y2) x1 + (b y1 + d y2) x2<br />Both of them expands to<br />a x1 y1 + c x1 y2 + b x2 y1 + d x2 y2
</p>



<p class="Text">
 This can be expressed and tested in <span style='font-style: italic;'>Mathematica</span> as
</p>



<p class="Input">
 <img src="HTMLFiles/linearAlgebraNotes_1.gif" alt="linearAlgebraNotes_1.gif" width="448" height="107" style="vertical-align:middle" />
</p>

<p class="Input">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mrow>
     <mo>(</mo>
     <mrow>
      <mi>A</mi>
      <mo>.</mo>
      <mi>vx</mi>
     </mrow>
     <mo>)</mo>
    </mrow>
    <mo>.</mo>
    <mi>vy</mi>
   </mrow>
   <mo>-</mo>
   <mrow>
    <mrow>
     <mo>(</mo>
     <mrow>
      <mrow>
       <mi>Transpose</mi>
       <mo>@</mo>
       <mi>A</mi>
      </mrow>
      <mo>.</mo>
      <mi>vy</mi>
     </mrow>
     <mo>)</mo>
    </mrow>
    <mo>.</mo>
    <mi>vx</mi>
   </mrow>
  </mrow>
  <mo>//</mo>
  <mi>Simplify</mi>
 </mrow>
</math>
</p>

<p class="Output">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mn>0</mn>
</math>
</p>

<p class="Subsection">
 Properties of Matrix Multiplication
</p>



<p class="Text">
 Let A be m &times; n matrix and let B and C have sizes for which the indicated sums and products are defined. Let r be any scalar.<br />&nbsp;&nbsp;&nbsp;&nbsp;1.&nbsp;&nbsp;&nbsp;&nbsp;A (B C)==(A B) C<br />&nbsp;&nbsp;&nbsp;&nbsp;2.&nbsp;&nbsp;&nbsp;&nbsp;A (B + C)==A B + A C<br />&nbsp;&nbsp;&nbsp;&nbsp;3.&nbsp;&nbsp;&nbsp;&nbsp;(B + C) A==B A + C A<br />&nbsp;&nbsp;&nbsp;&nbsp;4.&nbsp;&nbsp;&nbsp;&nbsp;r (A B)==(r A) B==A (r B)<br />&nbsp;&nbsp;&nbsp;&nbsp;5.&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <msub>
    <mi>I</mi>
    <mi>m</mi>
   </msub>
   <mo>**</mo>
   <mi>A</mi>
  </mrow>
  <mo>&Equal;</mo>
  <mi>A</mi>
  <mo>&Equal;</mo>
  <mrow>
   <mi>A</mi>
   <mo>**</mo>
   <msub>
    <mi>I</mi>
    <mi>n</mi>
   </msub>
  </mrow>
 </mrow>
</math></span></span> <br />&nbsp;&nbsp;&nbsp;&nbsp;6.&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msup>
   <mrow>
    <mo>(</mo>
    <msup>
     <mi>A</mi>
     <mi>T</mi>
    </msup>
    <mo>)</mo>
   </mrow>
   <mi>T</mi>
  </msup>
  <mo>==</mo>
  <mi>A</mi>
 </mrow>
</math></span></span><br />&nbsp;&nbsp;&nbsp;&nbsp;7.&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msup>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mi>A</mi>
     <mo>+</mo>
     <mi>B</mi>
    </mrow>
    <mo>)</mo>
   </mrow>
   <mi>T</mi>
  </msup>
  <mo>==</mo>
  <mrow>
   <msup>
    <mi>A</mi>
    <mi>T</mi>
   </msup>
   <mo>+</mo>
   <msup>
    <mi>B</mi>
    <mi>T</mi>
   </msup>
  </mrow>
 </mrow>
</math></span></span><br />&nbsp;&nbsp;&nbsp;&nbsp;8.&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msup>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mi>r</mi>
     <mo>&InvisibleTimes;</mo>
     <mi>A</mi>
    </mrow>
    <mo>)</mo>
   </mrow>
   <mi>T</mi>
  </msup>
  <mo>==</mo>
  <mrow>
   <mi>r</mi>
   <mo>&InvisibleTimes;</mo>
   <msup>
    <mi>A</mi>
    <mi>T</mi>
   </msup>
  </mrow>
 </mrow>
</math></span></span><br />&nbsp;&nbsp;&nbsp;&nbsp;9.&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msup>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mi>A</mi>
     <mo>&InvisibleTimes;</mo>
     <mi>B</mi>
    </mrow>
    <mo>)</mo>
   </mrow>
   <mi>T</mi>
  </msup>
  <mo>==</mo>
  <mrow>
   <msup>
    <mi>B</mi>
    <mi>T</mi>
   </msup>
   <mo>&InvisibleTimes;</mo>
   <msup>
    <mi>A</mi>
    <mi>T</mi>
   </msup>
  </mrow>
 </mrow>
</math></span></span>
</p>



<p class="SmallText">
 Proofs in D.C.Lay 3.1. Need to see the proof of 9.
</p>



<p class="Text">
 My theorem: <br />Let A be a square matrix and D be a triangular matrix (a matrix with diagonal values and rest zero.)<br />A D==(D <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span>)^T.<br />D A==(<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span> D)^T<br />Note, D is a diagonal matrix. The difference of A D and D A is that D A is like A D except the D comes from above A instead of on the right. Thus it is equals to D <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span>, but we need to transpose them back, so the theorem is A D==(D <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span>)^T.
</p>



<p class="Section">
 3.2 The Inverse of a Matrix
</p>



<p class="Subsection">
 Inverse of a Matrix
</p>



<p class="Text">
 Let A denote a matrix. The inverse of A is a matrix (written as <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>) such that<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>**</mo>
   <msup>
    <mi>A</mi>
    <mrow>
     <mo>-</mo>
     <mn>1</mn>
    </mrow>
   </msup>
  </mrow>
  <mo>==</mo>
  <mrow>
   <msup>
    <mi>A</mi>
    <mrow>
     <mo>-</mo>
     <mn>1</mn>
    </mrow>
   </msup>
   <mo>**</mo>
   <mi>A</mi>
  </mrow>
  <mo>==</mo>
  <mi>I</mi>
 </mrow>
</math></span></span><br />If <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span> exists, then we say that A is invertible.
</p>



<p class="Subsection">
 inverse of 2x2 matirx
</p>



<p class="Text">
 Let A := {{a,b},{c,d}}. If a d - b c==0, then A is not invertible, otherwise A is invertible and<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>==1/(a d - b c) {{d,-b},{-c,a}}
</p>



<p class="Text">
 My Proof:<br />Suppose the column vectors in A are linearly dependent, so that<br /><br />a==r b<br />c==r d<br /><br />for some r. Eliminate r we get a d - b c==0. So if this is true, then column vectors in A are linearly dependent, thus it A has no inverse. If a d - b c != 0, then the column vectors are not linearly dependent, so a inverse exist. In particular, it means the following two systems has solution:<br /><br />a x1 + b x2==1<br />c x1 + d x2==0<br /><br />and <br /><br />a y1 + b y2==0<br />c y1 + d y2==1<br /><br />We solve them by algebra to complete the proof.
</p>



<p class="Text">
 Question: Is there a square matrix M or N such that M A==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span> or A N==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span> for any square matrix A?<br />Answer: Not always, for example the matrix A=={{0,1},{0,0}}. If M or N exists, then<br />M==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span> <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>, N==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span> <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span>. <br />End of example.
</p>



<p class="Text">
 Question: We may think of transposition as a transformation of a one-to-one function of matrix, and the fixed point of this transformation is all the identity matrices. What is the geometric significance of transposition?
</p>



<p class="Text">
 To Do:<br />1) Show that identity matrix is unique. i.e. if E A==A or A E==A, then E==I.<br />2) Show, or find an example such that M B==N B, but M != N; B M==B N but M != N.<br />3) Show that for any matrix A, C such that A C==I, then C A==I.
</p>



<p class="Subsection">
 Theorem of Inverses
</p>



<p class="Text">
 &bull; If A is an invertible n &times; n matrix, then for each b in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>, the equation <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mtext> </mtext>
  <mover>
   <mi>b</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> has the unique solution <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span> b.<br />&bull; If A is an invertible matrix, then<br /> 1. (<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>)^-1==A<br /> 2. (<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span>)^-1==(<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>)^T <br />&bull; If A and B are n &times; n invertible matrices, then (A B) is also invertible, and (A B)^-1==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>B</mi>
  <mrow>
   <mrow>
    <mo>-</mo>
    <mn>1</mn>
   </mrow>
   <mtext> </mtext>
  </mrow>
 </msup>
</math></span></span><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span> <br />&bull; An n &times; n matrix A is invertible iff A is row equivalent to In, and in this case, any sequence of elementary row operations that reduces A to In also transforms In to <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>.
</p>



<p class="Text">
 To Do: Read the proof of this.
</p>



<p class="Text">
 My proof of one of the above (the rest is in the book):<br /> (<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span>)^-1==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mrow>
   <mo>(</mo>
   <msup>
    <mi>A</mi>
    <mrow>
     <mo>-</mo>
     <mn>1</mn>
    </mrow>
   </msup>
   <mo>)</mo>
  </mrow>
  <mi>T</mi>
 </msup>
</math></span></span> <br /> <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mo>(</mo>
    <msup>
     <mi>A</mi>
     <mi>T</mi>
    </msup>
    <mo>)</mo>
   </mrow>
   <mo>&InvisibleTimes;</mo>
   <msup>
    <mrow>
     <mo>(</mo>
     <msup>
      <mi>A</mi>
      <mi>T</mi>
     </msup>
     <mo>)</mo>
    </mrow>
    <mrow>
     <mo>-</mo>
     <mn>1</mn>
    </mrow>
   </msup>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mrow>
    <mo>(</mo>
    <msup>
     <mi>A</mi>
     <mi>T</mi>
    </msup>
    <mo>)</mo>
   </mrow>
   <mo>&InvisibleTimes;</mo>
   <msup>
    <mrow>
     <mo>(</mo>
     <msup>
      <mi>A</mi>
      <mrow>
       <mo>-</mo>
       <mn>1</mn>
      </mrow>
     </msup>
     <mo>)</mo>
    </mrow>
    <mi>T</mi>
   </msup>
  </mrow>
 </mrow>
</math></span></span><br /> I==(<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span>) (<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>)^T <br /> I^T==((<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span>) (<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>)^T)^T <br /> I==((<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>)^T)^T (<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span>)^T <br /> I==I<br />(this proof may be wrong, because it assumed (<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span>)^-1 exist outright.)
</p>



<p class="Section">
 3.3 Characterizations of Invertible Matrices
</p>



<p class="Subsection">
 The Invertible Matrix Theorem
</p>



<p class="Text">
 Let A be a square n &times; n matrix. The following statements are equivalent.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;A is an invertible matrix.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;A is row equivalent to the n &times; n identity matrix.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;A is a product of elementary matrices.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;The equation <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mtext> </mtext>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> has only the Zero-solution.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;The equation <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mtext> </mtext>
  <mover>
   <mi>b</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> has at least one solution for any b in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>. The equation <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mtext> </mtext>
  <mover>
   <mi>b</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> has a unique solution for any b in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;The columns of A form a linealy independent set.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;The columns of A span <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;The linear transformation T[x] := A <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>: <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msup>
   <mi mathvariant='double-struck'>R</mi>
   <mi>n</mi>
  </msup>
  <mo>&rightarrow;</mo>
  <msup>
   <mi mathvariant='double-struck'>R</mi>
   <mi>n</mi>
  </msup>
 </mrow>
</math></span></span> is one-to-one and onto.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;There is an n &times; n matrix C such that A C==I.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;There is an n &times; n matrix D such that D A==I.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span> is an invertible matrix.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;The columns of A forms a basis of <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;Col[A]==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;Dim[Col[A]]==n.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;Rank[A]==n<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;Nul[A]=={<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>}.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;Dim[Nul[A]]==0.<br />&bull;&nbsp;&nbsp;&nbsp;&nbsp;The number 0 is not an eigenvalue of A.
</p>



<p class="Subtitle">
 5 Vector spaces
</p>



<p class="Section">
 5.1 Vector Spaces and Subspaces
</p>



<p class="Subsection">
 Vector Space definition
</p>



<p class="Text">
 A Vector Space is a nonempty set V of objects, called vectors, on which are defined two operations, called addition and multiplication by scalars (real or complex), subject to the ten axioms listed below. The axioms must hold for all vectors <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>u</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>,</mo>
  <mover>
   <mi>v</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>, and <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>w</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in V and for all scalars c and d.<br />&nbsp;&nbsp;&nbsp;&nbsp;1.&nbsp;&nbsp;&nbsp;&nbsp;The sum of <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> and <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>v</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>, denoted by <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>u</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>+</mo>
  <mover>
   <mi>v</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>, is in V.<br />&nbsp;&nbsp;&nbsp;&nbsp;2.&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mover>
    <mi>u</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>+</mo>
   <mover>
    <mi>v</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mover>
    <mi>v</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>+</mo>
   <mover>
    <mi>u</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
 </mrow>
</math></span></span>.<br />&nbsp;&nbsp;&nbsp;&nbsp;3.&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mo>+</mo>
     <mover>
      <mi>v</mi>
      <mo>&RightVector;</mo>
     </mover>
    </mrow>
    <mo>)</mo>
   </mrow>
   <mo>+</mo>
   <mover>
    <mi>w</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mover>
    <mi>u</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>+</mo>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mover>
      <mi>v</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mo>+</mo>
     <mover>
      <mi>w</mi>
      <mo>&RightVector;</mo>
     </mover>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
 </mrow>
</math></span></span>.<br />&nbsp;&nbsp;&nbsp;&nbsp;4.&nbsp;&nbsp;&nbsp;&nbsp;There is a Zero vector <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in V such that <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mover>
    <mi>u</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>+</mo>
   <mover>
    <mn>0</mn>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>&Equal;</mo>
  <mover>
   <mi>u</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>.<br />&nbsp;&nbsp;&nbsp;&nbsp;5.&nbsp;&nbsp;&nbsp;&nbsp;For each <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in V there is a vector <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>-</mo>
  <mover>
   <mi>u</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> in V such that <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mover>
    <mi>u</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>+</mo>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mo>-</mo>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
  <mo>==</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>.<br />&nbsp;&nbsp;&nbsp;&nbsp;6.&nbsp;&nbsp;&nbsp;&nbsp;The scalar multiple of <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> by c, denoted by c <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>, is in V.<br />&nbsp;&nbsp;&nbsp;&nbsp;7.&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>c</mi>
   <mo>&InvisibleTimes;</mo>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mtext> </mtext>
     <mo>+</mo>
     <mtext> </mtext>
     <mover>
      <mi>v</mi>
      <mo>&RightVector;</mo>
     </mover>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
  <mo>==</mo>
  <mrow>
   <mrow>
    <mi>c</mi>
    <mo>&InvisibleTimes;</mo>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
   <mtext> </mtext>
   <mo>+</mo>
   <mtext> </mtext>
   <mrow>
    <mi>c</mi>
    <mo>&InvisibleTimes;</mo>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
  </mrow>
 </mrow>
</math></span></span>.<br />&nbsp;&nbsp;&nbsp;&nbsp;8.&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mi>c</mi>
     <mtext> </mtext>
     <mo>+</mo>
     <mtext> </mtext>
     <mi>d</mi>
    </mrow>
    <mo>)</mo>
   </mrow>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>u</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>==</mo>
  <mrow>
   <mrow>
    <mi>c</mi>
    <mo>&InvisibleTimes;</mo>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
   <mtext> </mtext>
   <mo>+</mo>
   <mtext> </mtext>
   <mrow>
    <mi>d</mi>
    <mo>&InvisibleTimes;</mo>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
  </mrow>
 </mrow>
</math></span></span>.<br />&nbsp;&nbsp;&nbsp;&nbsp;9.&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mrow>
     <mi>c</mi>
     <mo>&InvisibleTimes;</mo>
     <mrow>
      <mo>(</mo>
      <mrow>
       <mi>d</mi>
       <mo>&InvisibleTimes;</mo>
       <mover>
        <mi>u</mi>
        <mo>&RightVector;</mo>
       </mover>
      </mrow>
      <mo>)</mo>
     </mrow>
    </mrow>
    <mo>==</mo>
    <mrow>
     <mi>c</mi>
     <mo>&InvisibleTimes;</mo>
     <mi>d</mi>
    </mrow>
   </mrow>
   <mo>)</mo>
  </mrow>
  <mo>&InvisibleTimes;</mo>
  <mover>
   <mi>u</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>.<br />&nbsp;&nbsp;&nbsp;&nbsp;10.&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mn>1</mn>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>u</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>&Equal;</mo>
  <mover>
   <mi>u</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>.
</p>



<p class="Subsubsection">
 Alternative definition of a vector space
</p>



<p class="Text">
 Let K be a division ring. A vector space over K is an ordered triple {E,+,.} such that {E,+} is an abelian group and . is a function from K &times; E into E satisfying<br />&bull; <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>c</mi>
   <mo>.</mo>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mo>+</mo>
     <mover>
      <mi>v</mi>
      <mo>&RightVector;</mo>
     </mover>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mrow>
    <mi>c</mi>
    <mo>.</mo>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
   <mo>+</mo>
   <mrow>
    <mi>c</mi>
    <mo>.</mo>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
  </mrow>
 </mrow>
</math></span></span><br />&bull; <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mi>c</mi>
     <mo>+</mo>
     <mi>d</mi>
    </mrow>
    <mo>)</mo>
   </mrow>
   <mo>.</mo>
   <mover>
    <mi>u</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mrow>
    <mi>c</mi>
    <mo>.</mo>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
   <mo>+</mo>
   <mrow>
    <mi>c</mi>
    <mo>.</mo>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
  </mrow>
 </mrow>
</math></span></span><br />&bull; <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mi>c</mi>
     <mo>*</mo>
     <mi>d</mi>
    </mrow>
    <mo>)</mo>
   </mrow>
   <mo>.</mo>
   <mover>
    <mi>u</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mi>c</mi>
   <mo>.</mo>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mi>d</mi>
     <mo>.</mo>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
 </mrow>
</math></span></span><br />&bull; 1.<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>u</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>&Equal;</mo>
  <mover>
   <mi>u</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span><br />for all <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>, <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>v</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> &isin; E and all c, d &isin; K. Elements of E are called vectors, elements of K are called scalars, and . is called scalar multiplication.<br /><br />Similarly, {<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>,+,.} is a vector space over <span class="doublestruck">R</span> for each n &isin; <span class="doublestruck">N</span>.
</p>



<p class="Subsubsection">
 Corollaries
</p>



<p class="Text">
 The zero vector <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in any vector space is unique, and the vector -<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is unique for each <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in V, and <br />&nbsp;&nbsp;&nbsp;&nbsp;1.&nbsp;&nbsp;&nbsp;&nbsp;0*<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> <br />&nbsp;&nbsp;&nbsp;&nbsp;2.&nbsp;&nbsp;&nbsp;&nbsp;c*<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> <br />&nbsp;&nbsp;&nbsp;&nbsp;3.&nbsp;&nbsp;&nbsp;&nbsp;-<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>==(-1)*<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> 
</p>



<p class="Text">
 My Proof of -u==(-1)*u.<br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>==0 u (corollary 1)<br />0 u==(1-1) u (property of arithmetic)<br />(1-1) u==1 u + (-1) u&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;by axiom 8.<br />1 u + (-1) u==u + (-1) u&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;by axiom 10. Connection previous equation to get<br />u + (-1) u==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> <br />(-u) + u + (-1) u==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> + (-u)&nbsp;&nbsp;&nbsp;&nbsp;Add (-u) to both sides.<br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> + (-1) u==-u&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;by axiom 4 and 5.<br />(-1) u==-u 
</p>



<p class="Subsection">
 Subspace of a Vector Space
</p>



<p class="Text">
 A subspace of a vector space V is a subset H of V such that H is itself a vector space under the same operations of addition and scalar multiplication that are already defined on V.
</p>



<p class="Subsubsection">
 <span style='font-weight: bold;'>Subspace Test</span>
</p>



<p class="Text">
 A subset H of of vector space V is a subspace of V iff the following conditions are all satisfied:<br />&nbsp;&nbsp;&nbsp;&nbsp;1.&nbsp;&nbsp;&nbsp;&nbsp;The Zero vector of V is in H.<br />&nbsp;&nbsp;&nbsp;&nbsp;2.&nbsp;&nbsp;&nbsp;&nbsp;If <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> and <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>v</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> are in H, then <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>u</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>+</mo>
  <mover>
   <mi>v</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> is in H.<br />&nbsp;&nbsp;&nbsp;&nbsp;3.&nbsp;&nbsp;&nbsp;&nbsp;If <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is in H and c is any scalar, then c <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is in H.
</p>



<p class="Subsection">
 Spanning Set and Subspace
</p>



<p class="Text">
 Given <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mover>
    <mi>a</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mn>1</mn>
  </msub>
  <mo>,</mo>
  <mo>...</mo>
  <mo>,</mo>
  <msub>
   <mover>
    <mi>a</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mi>n</mi>
  </msub>
 </mrow>
</math></span></span> in a vector space V, the set Span[<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span>] is a subspace of V.<br />We call Span[<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span>] the subspace generated by <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span>. Given any subspace H of V, a spanning set for H is a set <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> in H such that H==Span[<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span>].
</p>



<p class="Section">
 5.2 Null Spaces, Column Spaces, and Linear Transformations
</p>



<p class="Subsection">
 Null Space
</p>



<p class="Text">
 Given an m &times; n matrix A, the null space of A (denoted Nul[A]) is the set of all solutions to the homogeneous equation <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>.</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>. In set notation,<br />&nbsp;&nbsp;&nbsp;&nbsp;Nul[A] := {<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>: <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span> and <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>.</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mtext> </mtext>
  <mo>&Equal;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>}<br />Nul[A] is the set of all <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span> that are mapped into the zero vector of <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span> by the linear transformaiton A.<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>.
</p>



<p class="Subsection">
 Column Space
</p>



<p class="Text">
 Given an m &times; n matrix A, the column space of A (denoted Col[A]) is the set of all linear combinations of the columns of A. In set notation,<br />&nbsp;&nbsp;&nbsp;&nbsp;Col[A] := {<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>b</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>: <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>b</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span> and <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>b</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>&Equal;</mo>
  <mrow>
   <mi>A</mi>
   <mo>.</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
 </mrow>
</math></span></span> for some <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>}
</p>



<p class="Text">
 Column space is just the range of a linear transformation.
</p>



<p class="Text">
 The null space of an m &times; n matrix A is a subspace of <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>.<br />The column space of an m &times; n matrix A is a subspace of <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>m</mi>
 </msup>
</math></span></span>.
</p>



<p class="Text">
 When talking about linear transformation, null space and column space are often called kernel and range respectively. Kernel is the set of <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> such that T[x]==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>, and range has the usual meaning for a function -- all possible outputs.
</p>



<p class="Section">
 5.3 Linearly Independent Sets; Bases
</p>



<p class="Subsection">
 definition: Linearly Independence
</p>



<p class="Text">
 A Set <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> of two or more vectors, with <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mover>
    <mi>v</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mn>1</mn>
  </msub>
  <mo>&NotEqual;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>, is linearly dependent iff some <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>v</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mi>j</mi>
 </msub>
</math></span></span> (with j &gt; 1) is a linear combination of the preceding vectors.
</p>



<p class="Text">
 We require <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mover>
    <mi>v</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mn>1</mn>
  </msub>
  <mo>&NotEqual;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> because, suppose we have an ordered set S := <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <mover>
    <mn>0</mn>
    <mo>&RightVector;</mo>
   </mover>
   <mo>,</mo>
   <mover>
    <mi>u</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span>. This is a linearly dependent set by definition, but there are no <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>v</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mi>j</mi>
 </msub>
</math></span></span> (with j &gt; 1) that is a linear combination of the preceding vectors, <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mover>
    <mi>v</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mn>1</mn>
  </msub>
  <mo>,</mo>
  <mo>...</mo>
  <mo>,</mo>
  <msub>
   <mover>
    <mi>v</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mrow>
    <mi>j</mi>
    <mo>-</mo>
    <mn>1</mn>
   </mrow>
  </msub>
 </mrow>
</math></span></span>; in other words, <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>u</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>&NotEqual;</mo>
  <mrow>
   <mi>c</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mn>0</mn>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
 </mrow>
</math></span></span>. On the other hand, if S := <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <mover>
    <mi>u</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>,</mo>
   <mover>
    <mn>0</mn>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span>, we have <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
  <mo>&Equal;</mo>
  <mrow>
   <mn>0</mn>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>u</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
 </mrow>
</math></span></span>, thus showing S is linearly dependent as the theorem dictates.
</p>



<p class="Text">
 Question: why can't the definition be that &quot;there are no vector that is a linear combination of two or more vectors in the set?&quot;
</p>



<p class="Subsection">
 definition: Basis of a Vector Space
</p>



<p class="Text">
 Let H be a subspace of a vector space V. Let B be a set of vectors in V. B is a basis for H if<br />&nbsp;&nbsp;&nbsp;&nbsp;1.&nbsp;&nbsp;&nbsp;&nbsp;B is a linearly independent set.<br />&nbsp;&nbsp;&nbsp;&nbsp;2.&nbsp;&nbsp;&nbsp;&nbsp;the subspace spanned by B is equal to H.
</p>



<p class="Text">
 Note: the set {<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>} do not have a basis because {<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>} is dependent by definition.
</p>



<p class="Text">
 &bull; Let <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mover>
    <mi>e</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mn>1</mn>
  </msub>
  <mo>,</mo>
  <mo>...</mo>
  <mo>,</mo>
  <msub>
   <mover>
    <mi>e</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mi>n</mi>
  </msub>
 </mrow>
</math></span></span> be the columns of the n &times; n identity matrix In. The set <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>e</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>e</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> is called the standard basis for <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>.
</p>



<p class="Subsection">
 The Spanning Set Theorem
</p>



<p class="Text">
 Let S := <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> be a set in vector space.<br />&bull; Suppose <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>v</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mi>k</mi>
 </msub>
</math></span></span> in S is a linear combination of the remaining vectors, and S2 is a set formed by removing the element <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>v</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mi>k</mi>
 </msub>
</math></span></span> from S, then Span[S]==Span[S2].<br />&bull; If Span[S] &ne; {<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>}, some subset of S is a basis for Span[S].<br />Note: S do not have a basis if S := {<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>}. That's why we require Span[S]&ne;{<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>} in the theorem.
</p>



<p class="Subsection">
 Basis of Col[A]
</p>



<p class="Text">
 The pivot columns of a matrix A forms a basis for Col[A].
</p>



<p class="Text">
 <span style='color: #FF0000;'>The following theorem is &quot;my own&quot;. It's incomplete. I need to complete the theorem statement and proof.</span>
</p>



<p class="Text">
 Let V and W be vector spaces, let T: V &rarr; W be a linear transformation, and let S:=<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>k</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> be a subset of V, and <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mi>S</mi>
  <mn>2</mn>
 </msub>
</math></span></span>:=<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <mrow>
    <mi>T</mi>
    <mo>[</mo>
    <msub>
     <mover>
      <mi>v</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>1</mn>
    </msub>
    <mo>]</mo>
   </mrow>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <mrow>
    <mi>T</mi>
    <mo>[</mo>
    <msub>
     <mover>
      <mi>v</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mi>k</mi>
    </msub>
    <mo>]</mo>
   </mrow>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span>.<br />&bull; If S is linearly dependent in V, then <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mi>S</mi>
  <mn>2</mn>
 </msub>
</math></span></span> is linearly dependent in W.<br />&bull; If <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mi>S</mi>
  <mn>2</mn>
 </msub>
</math></span></span> is linearly independent in V, then S is linearly dependent in W. ???<br />If T is one-to-one transformation, then<br />&bull; S is linearly dependent iff <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mi>S</mi>
  <mn>2</mn>
 </msub>
</math></span></span> is linearly dependent.<br />&bull; S is lineary independent iff <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mi>S</mi>
  <mn>2</mn>
 </msub>
</math></span></span> is linearly independent.
</p>



<p class="Text">
 My Proof:<br />Suppose S is linearly dependent. Whether S2 is linearly dependent depends on whether c1==c2==...==ck==0 is the only solution to the equation<br />c1 T[v1] + c2 T[v2] +... + ck T[vk]==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> iff<br />T[c1 v1] + T[c2 v2] +... + T[ck vk]==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> iff<br />T[c1 v1 + c2 v2 +... + ck vk]==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> iff<br />(c1 v1 + c2 v2 +... + ck vk==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> or T[b]==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> for some b &ne; <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>)<br />The theroems above easily follows from here.<br /><br />A vector equation of the form c1 v1 + c2 v2 +... + ck vk==b has either one solution, infinitely many solution, or no solution. Need to see a proof. To Do.
</p>



<p class="Section">
 5.4 Coordinate Systems
</p>



<p class="Subsection">
 theorem: The Unique representation
</p>



<p class="Text">
 Let B := <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'
    mathematica:form='TextForm'
    xmlns:mathematica='http://www.wolfram.com/XML/'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>b</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mtext> </mtext>
   <msub>
    <mover>
     <mi>b</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>2</mn>
   </msub>
   <mo>,</mo>
   <mtext> </mtext>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>b</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> be a basis for a vector space V. Then for each <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in V, there exists a unique set of scalars <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mi>c</mi>
   <mn>1</mn>
  </msub>
  <mo>,</mo>
  <mo>...</mo>
  <mo>,</mo>
  <msub>
   <mi>c</mi>
   <mi>n</mi>
  </msub>
 </mrow>
</math></span></span>, such that <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mover>
     <mi>x</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>&Equal;</mo>
    <mrow>
     <mrow>
      <msub>
       <mi>c</mi>
       <mn>1</mn>
      </msub>
      <mo>&InvisibleTimes;</mo>
      <msub>
       <mover>
        <mi>b</mi>
        <mo>&RightVector;</mo>
       </mover>
       <mn>1</mn>
      </msub>
     </mrow>
     <mo>+</mo>
    </mrow>
   </mrow>
   <mo>...</mo>
  </mrow>
  <mo>+</mo>
  <mrow>
   <msub>
    <mi>c</mi>
    <mi>n</mi>
   </msub>
   <mo>&InvisibleTimes;</mo>
   <msub>
    <mover>
     <mi>b</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
 </mrow>
</math></span></span>.
</p>



<p class="Text">
 Proof:<br />Suppose there are two representations x == Sum[ci*bi,{i,n}] and x == Sum[di*bi,{i,n}].<br />Subtract the equations we have<br />&nbsp;&nbsp;&nbsp;&nbsp;zeroVector == Sum[(ci-di)*bi,{i,n}]<br />Since all bi are linearly independent, thus all (ci-di) must be 0, which means ci==di for all i.
</p>



<p class="Subsection">
 Definition: Coordinates
</p>



<p class="Text">
 Suppose the set <span class="gothic">B</span> := <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'
    mathematica:form='TextForm'
    xmlns:mathematica='http://www.wolfram.com/XML/'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>b</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mtext> </mtext>
   <msub>
    <mover>
     <mi>b</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>2</mn>
   </msub>
   <mo>,</mo>
   <mtext> </mtext>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>b</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> is a basis for V and <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is in V. The Coordinates of <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> relative to the basis <span class="gothic">B</span> are the weights <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mi>c</mi>
   <mn>1</mn>
  </msub>
  <mo>,</mo>
  <mo>...</mo>
  <mo>,</mo>
  <msub>
   <mi>c</mi>
   <mi>n</mi>
  </msub>
 </mrow>
</math></span></span> such that <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mtext> </mtext>
  <mrow>
   <mrow>
    <mrow>
     <mover>
      <mi>x</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mo>&Equal;</mo>
     <mrow>
      <mrow>
       <msub>
        <mi>c</mi>
        <mn>1</mn>
       </msub>
       <mo>&InvisibleTimes;</mo>
       <msub>
        <mover>
         <mi>b</mi>
         <mo>&RightVector;</mo>
        </mover>
        <mn>1</mn>
       </msub>
      </mrow>
      <mo>+</mo>
     </mrow>
    </mrow>
    <mo>...</mo>
   </mrow>
   <mo>+</mo>
   <mrow>
    <msub>
     <mi>c</mi>
     <mi>n</mi>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mover>
      <mi>b</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mi>n</mi>
    </msub>
   </mrow>
  </mrow>
 </mrow>
</math></span></span>.
</p>



<p class="Subsection">
 <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>x</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>&RightTeeArrow;</mo>
  <msub>
   <mrow>
    <mo>{</mo>
    <mover>
     <mi>x</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>}</mo>
   </mrow>
   <mi mathvariant='fraktur'>B</mi>
  </msub>
 </mrow>
</math></span></span> is one-to-one and onto
</p>



<p class="Text">
 Let <span class="gothic">B</span> := <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>b</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>b</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> be an ordered basis for a vector space V. Then the coordinate mapping <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>x</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>&RightTeeArrow;</mo>
  <msub>
   <mrow>
    <mo>{</mo>
    <mover>
     <mi>x</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>}</mo>
   </mrow>
   <mi mathvariant='fraktur'>B</mi>
  </msub>
 </mrow>
</math></span></span> is a one-to-one linear transformation from V onto <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>.
</p>



<p class="Section">
 5.5 The Dimension of a Vector Space
</p>



<p class="Subsection">
 Number of Vectors in Basis
</p>



<p class="Text">
 &bull; If a vector space V has a basis <span class="gothic">B</span>:=<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>b</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>b</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>n</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span>, then any set in V containing more than n vectors must be linearly dependent.<br />&bull; If a vector space V has a basis of n vectors, then every basis of V must consist of exactly n vectors.
</p>



<p class="Subsection">
 Dimension of V
</p>



<p class="Text">
 If V is spanned by a finite set, then V is said to be finite-dimensional, and the dimension of V, written as dim[V], is the number of vectors in a basis for V. The dimension of zero vector space {<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>} is defined to be zero. If V is not spanned by a finite set, then V is said to be infinite-dimensional.
</p>



<p class="Subsection">
 Linear Dependence, Span, Dimension and Basis
</p>



<p class="Text">
 &bull; Let H be a subspace of a finite-dimensional vector space V. Any linearly independent set in H can be expanded, if necessary, to a basis for H. Also, H is finite-dimensional and dim[H] &le; dim[V].<br />&bull; Let V be an n-dimensional vector space, n &ge; 1, and let S be a subset of V that contains exactly n elements. Then:<br />* If S is linearly independent, then S is a basis for V.<br />* If S spans V, then S is a basis for V.
</p>



<p class="Text">
 The dimension of Nul[A] is the number of free variables in the equation <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mtext> </mtext>
   <mo>.</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>&Equal;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>, and the dimension of Col[A] is the number of pivot columns in A.
</p>



<p class="Section">
 5.6 Rank
</p>



<p class="Subsection">
 Basis for Row Spaces
</p>



<p class="Text">
 If two matrices A and B are row equivalent, then their row spaces are the same. If B is in echelon form, the nonzore rows of B form a basis for the row space of A as well as B.
</p>



<p class="Subsection">
 Rank 
</p>



<p class="Text">
 The rank of A is the dimension of the column space of A.<br />The dimensions of the column space and the row space of an m &times; n matrix A are equal. This common dimension, the rank of A, also equals the number of pivot positions in A and satisfies the equation<br />&nbsp;&nbsp;&nbsp;&nbsp;Rank[A] + Dim[Nul[A]]==n
</p>



<p class="Subtitle">
 6 Eigenvectors and Eigenvalues
</p>



<p class="Section">
 6.1 Eigenvectors and Eigenvalues
</p>



<p class="Subsection">
 Eigenvector and Eigenvalue
</p>



<p class="Text">
 An eigenvector of an n &times; n matrix A is a nonzero vector <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> such that <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>.</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mi>&lambda;</mi>
   <mtext> </mtext>
   <mo>*</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
 </mrow>
</math></span></span> for some scalar &lambda;. A scalar &lambda; is called an eigenvalue of A if there is a vector <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>x</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>&NotEqual;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span> such that <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>.</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mi>&lambda;</mi>
   <mo>*</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
 </mrow>
</math></span></span>; such an <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is called an eigenvector corresponding to &lambda;.
</p>



<p class="Text">
 <span style='font-weight: bold;'>Eigenspace:</span><br />Suppose <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>.</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mi>&lambda;</mi>
   <mo>&InvisibleTimes;</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
 </mrow>
</math></span></span>, then<br /><span><span><img src="HTMLFiles/linearAlgebraNotes_2.gif" alt="linearAlgebraNotes_2.gif" width="115" height="46" style="vertical-align:middle" /></span></span><br />The null space of (A-&lambda; I) is called the eigenspace of A corresponding to &lambda;.
</p>



<p class="Subsection">
 triangular matrix and eigenvalue
</p>



<p class="Text">
 Let A be a triangular matrix. Then the eigenvalues of A are the entries on its main diagonal.
</p>



<p class="Text">
 Proof is easy. Look at the matrix (A-&lambda;*I). The column vectors in this matrix must be linearly independent, and the only way is for &lambda; to equal to some of the diagonal entries.
</p>



<p class="Subsection">
 Linear independence of engine vectors
</p>



<p class="Text">
 If <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mover>
    <mi>v</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mn>1</mn>
  </msub>
  <mo>,</mo>
  <mo>...</mo>
  <mo>,</mo>
  <msub>
   <mover>
    <mi>v</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mi>r</mi>
  </msub>
 </mrow>
</math></span></span> are eigenvectors that correspond to distinct eigenvalues <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mi>&lambda;</mi>
   <mn>1</mn>
  </msub>
  <mo>,</mo>
  <mo>...</mo>
  <mo>,</mo>
  <msub>
   <mi>&lambda;</mi>
   <mi>r</mi>
  </msub>
 </mrow>
</math></span></span> of an n &times; n matrix A, then the set <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>r</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> is linearly independent.
</p>



<p class='Text' style='line-height: 1.83333;'>
 Proof:<br />If <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>r</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> is linearly dependent, then there is a least index p such that <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>v</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mrow>
   <mi>p</mi>
   <mo>+</mo>
   <mn>1</mn>
  </mrow>
 </msub>
</math></span></span> is a linear combination preceding (linearly independent) vectors, and there exist scalars <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mi>c</mi>
   <mn>1</mn>
  </msub>
  <mo>,</mo>
  <mo>...</mo>
  <mo>,</mo>
  <msub>
   <mi>c</mi>
   <mi>n</mi>
  </msub>
 </mrow>
</math></span></span> such that<br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <munderover>
    <mo>&Sum;</mo>
    <mrow>
     <mi>i</mi>
     <mo>=</mo>
     <mn>1</mn>
    </mrow>
    <mi>p</mi>
   </munderover>
   <mrow>
    <msub>
     <mi>c</mi>
     <mi>i</mi>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mover>
      <mi>v</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mi>i</mi>
    </msub>
   </mrow>
  </mrow>
  <mo>==</mo>
  <msub>
   <mover>
    <mi>v</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mrow>
    <mi>p</mi>
    <mo>+</mo>
    <mn>1</mn>
   </mrow>
  </msub>
 </mrow>
</math></span></span>&nbsp;&nbsp;&nbsp;&nbsp;(*5*)<br />Multiplying both sides by A and using the fact that <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>A</mi>
   <mo>.</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>k</mi>
   </msub>
  </mrow>
  <mo>==</mo>
  <mrow>
   <msub>
    <mi>&lambda;</mi>
    <mi>k</mi>
   </msub>
   <mo>&InvisibleTimes;</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>k</mi>
   </msub>
  </mrow>
 </mrow>
</math></span></span> for each k, we obtain<br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <munderover>
    <mo>&Sum;</mo>
    <mrow>
     <mi>i</mi>
     <mo>=</mo>
     <mn>1</mn>
    </mrow>
    <mi>p</mi>
   </munderover>
   <mrow>
    <msub>
     <mi>c</mi>
     <mi>i</mi>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <mrow>
     <mi>A</mi>
     <mo>.</mo>
     <msub>
      <mover>
       <mi>v</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mi>i</mi>
     </msub>
    </mrow>
   </mrow>
  </mrow>
  <mo>==</mo>
  <mrow>
   <mi>A</mi>
   <mo>.</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mrow>
     <mi>p</mi>
     <mo>+</mo>
     <mn>1</mn>
    </mrow>
   </msub>
  </mrow>
 </mrow>
</math></span></span><br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <munderover>
    <mo>&Sum;</mo>
    <mrow>
     <mi>i</mi>
     <mo>=</mo>
     <mn>1</mn>
    </mrow>
    <mi>p</mi>
   </munderover>
   <mrow>
    <msub>
     <mi>c</mi>
     <mi>i</mi>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mi>&lambda;</mi>
     <mi>i</mi>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mover>
      <mi>v</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mi>i</mi>
    </msub>
   </mrow>
  </mrow>
  <mo>==</mo>
  <mrow>
   <msub>
    <mi>&lambda;</mi>
    <mrow>
     <mi>p</mi>
     <mo>+</mo>
     <mn>1</mn>
    </mrow>
   </msub>
   <mo>&InvisibleTimes;</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mrow>
     <mi>p</mi>
     <mo>+</mo>
     <mn>1</mn>
    </mrow>
   </msub>
  </mrow>
 </mrow>
</math></span></span>&nbsp;&nbsp;&nbsp;&nbsp;(*6*)<br />Multiplying both sides of (*5*) by <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mi>&lambda;</mi>
  <mrow>
   <mi>p</mi>
   <mo>+</mo>
   <mn>1</mn>
  </mrow>
 </msub>
</math></span></span> and subtracting the result from (*6*), we have<br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <munderover>
    <mo>&Sum;</mo>
    <mrow>
     <mi>i</mi>
     <mo>=</mo>
     <mn>1</mn>
    </mrow>
    <mi>p</mi>
   </munderover>
   <mrow>
    <msub>
     <mi>c</mi>
     <mi>i</mi>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <mrow>
     <mo>(</mo>
     <mrow>
      <msub>
       <mi>&lambda;</mi>
       <mi>i</mi>
      </msub>
      <mo>-</mo>
      <msub>
       <mi>&lambda;</mi>
       <mrow>
        <mi>p</mi>
        <mo>+</mo>
        <mn>1</mn>
       </mrow>
      </msub>
     </mrow>
     <mo>)</mo>
    </mrow>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mover>
      <mi>v</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mi>i</mi>
    </msub>
   </mrow>
  </mrow>
  <mo>==</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>&nbsp;&nbsp;&nbsp;&nbsp;(*7*)<br />Since <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>p</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> is linearly independent, the weights in (*7*) are all zero. But none of the factors <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>(</mo>
  <mrow>
   <msub>
    <mi>&lambda;</mi>
    <mi>i</mi>
   </msub>
   <mo>-</mo>
   <msub>
    <mi>&lambda;</mi>
    <mrow>
     <mi>p</mi>
     <mo>+</mo>
     <mn>1</mn>
    </mrow>
   </msub>
  </mrow>
 </mrow>
</math></span></span>) are zero, because the eigenvalues are distinct. Hence <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mi>c</mi>
  <mi>i</mi>
 </msub>
</math></span></span>==0 for i=1,...,p. But then (*5*) says that <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mover>
    <mi>v</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mrow>
    <mi>p</mi>
    <mo>+</mo>
    <mn>1</mn>
   </mrow>
  </msub>
  <mo>&Equal;</mo>
  <mover>
   <mn>0</mn>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>, which is impossible. Hence <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>r</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> cannot be linearly dependent and therefore must be linearly independent.
</p>



<p class="Section">
 6.2 The Characteristic Equation
</p>



<p class="Subsection">
 Determinant
</p>



<p class="Text">
 One way to define determinants is as follows: For an n &times; n matrix. We row reduce it to echelon form using the following methods: <br />* Replace a row by the linear combination of other rows.<br />* Interchange a row with another row.<br />(in particular, scaling of a row by itself is not allowed.)<br />The determinants of A is the product of the diagonal entries times <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mrow>
   <mo>(</mo>
   <mrow>
    <mo>-</mo>
    <mn>1</mn>
   </mrow>
   <mo>)</mo>
  </mrow>
  <mi>r</mi>
 </msup>
</math></span></span>, where r is the number of times we interchanged rows.
</p>



<p class="Text">
 If the matrix is not invertible, it will contain a 0 in its diagonal, and thus the determinant will be 0.
</p>



<p class="Text">
 If A is a 3 &times; 3 matrix, then Abs[Det[A]] is the volume of the parallelepiped defined by the column vectors of A.
</p>



<p class="Subsection">
 Properties of Determinants
</p>



<p class="Text">
 Let A and B be an n &times; n matrices.<br />&bull; A is invertible iff Det[A] &ne; 0<br />&bull; Det[A.B]==Det[A]*Det[B]<br />&bull; Det[<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span>]==Det[A]<br />&bull; If A is triangular, then Det[A] is the product of the entries on the main diagonal of A.<br />&bull; A row replacement operation on A does not change the determinant. A row interchange changes the sign of the determinant. A row scaling also scales the determinant by the same scalar factor.
</p>



<p class="Text">
 Proofs in D.C.Lay, chapter 4.
</p>



<p class="Subsection">
 characteristic polynomial
</p>



<p class="Text">
 The scalar equation Det[A - &lambda;*I]==0 is called the characteristic equation of A.
</p>



<p class="Text">
 A scalar &lambda; is an eigenvalue of an n &times; n matrix A iff &lambda; satisfies the characteristic equation Det[A - &lambda; I]==0.<br /><br />This is so because:<br />A.x==&lambda;*x<br />A.x-&lambda;*x==0<br />A.x-&lambda;*I.x==0<br />(A-&lambda;*I).x==0.
</p>



<p class="Subsection">
 similar matrixes
</p>



<p class="Text">
 If A and B are n &times; n matrices, then A is similar to B if there is an invertible matrix P such that <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <msup>
    <mi>P</mi>
    <mrow>
     <mo>-</mo>
     <mn>1</mn>
    </mrow>
   </msup>
   <mo>.</mo>
   <mi>A</mi>
   <mo>.</mo>
   <mi>P</mi>
  </mrow>
  <mo>&Equal;</mo>
  <mi>B</mi>
 </mrow>
</math></span></span>. (which implies A==P.B.P^-1)
</p>



<p class="Text">
 Xah's note: I think: in group theory, this idea is called conjucate class. i.e. two elements a and b are in the same conjucate class if there exist an element p, such that p^-1*a*p==b.
</p>



<p class="Subsection">
 theorem: similar matrixes has the same eigensystem
</p>



<p class="Text">
 If n &times; n matrices A and B are similar, then they have the same characteristic polynomial and hence the same eigenvalues.
</p>



<p class="Text">
 Proof: If B==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>P</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>.A.P, then<br /><span><span>B-&lambda;*I</span></span>==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <msup>
    <mi>P</mi>
    <mrow>
     <mo>-</mo>
     <mn>1</mn>
    </mrow>
   </msup>
   <mo>.</mo>
   <mi>A</mi>
   <mo>.</mo>
   <mi>P</mi>
  </mrow>
  <mo>-</mo>
  <mrow>
   <mi>&lambda;</mi>
   <mo>*</mo>
   <mrow>
    <msup>
     <mi>P</mi>
     <mrow>
      <mo>-</mo>
      <mn>1</mn>
     </mrow>
    </msup>
    <mo>.</mo>
    <mi>P</mi>
   </mrow>
  </mrow>
 </mrow>
</math></span></span>==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>P</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>.(A.P-&lambda;*P)==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>P</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>.(A-&lambda;*I).P<br />using the multiplicative property of determinants, we have<br />Det[B-&lambda;*I]==Det[<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>P</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>.(A-&lambda;*I).P]==Det[<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>P</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>]*Det[(A-&lambda;*I)]*Det[P]==Det[<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>P</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>]*Det[P]*Det[(A-&lambda;*I)]==Det[<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>P</mi>
  <mrow>
   <mo>-</mo>
   <mn>1</mn>
  </mrow>
 </msup>
</math></span></span>.P]*Det[(A-&lambda;*I)]==Det[(A-&lambda;*I)]
</p>



<p class="Text">
 Some common algorithms for estimating the eigenvalues of a matrix is based on the above theorem. They include QRDecomposition and Jacobi's method. See p.287 of David C.Lay.
</p>



<p class="Subsection">
 Diference equations and dynamic systems
</p>



<p class="Text">
 Eigensystem is the key to difference equations and dynamic systems. For example, we are given the vector sequence<br />&nbsp;&nbsp;&nbsp;&nbsp;f[0]:=<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>a</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span><br />&nbsp;&nbsp;&nbsp;&nbsp;f[n]:=A.f[n-1]<br /><br />This sequence can be written as<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>f</mi>
   <mo>[</mo>
   <mi>n</mi>
   <mo>]</mo>
  </mrow>
  <mo>:=</mo>
  <mrow>
   <msup>
    <mi>A</mi>
    <mi>n</mi>
   </msup>
   <mo>.</mo>
   <mover>
    <mi>a</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
 </mrow>
</math></span></span><br /><br />One can avoid the multiplication of matrices by using eigensystems. Suppose A is 2 &times; 2 and we have the eigensystems <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <mrow>
    <mo>{</mo>
    <mrow>
     <msub>
      <mi>&lambda;</mi>
      <mn>1</mn>
     </msub>
     <mo>,</mo>
     <msub>
      <mi>&lambda;</mi>
      <mn>2</mn>
     </msub>
    </mrow>
    <mo>}</mo>
   </mrow>
   <mo>,</mo>
   <mrow>
    <mo>{</mo>
    <mrow>
     <msub>
      <mover>
       <mi>u</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mn>1</mn>
     </msub>
     <mo>,</mo>
     <msub>
      <mover>
       <mi>u</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mn>2</mn>
     </msub>
    </mrow>
    <mo>}</mo>
   </mrow>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span>.<br /><br />Remember that A^n.x==&lambda;^n.x for eigensystem &lambda; and x.<br /><br />Write <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>a</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in terms of eigenvectors (this can be done since the eigenvectors forms a basis). Suppose we have <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>a</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>==</mo>
  <mrow>
   <mrow>
    <msub>
     <mi>c</mi>
     <mn>1</mn>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>1</mn>
    </msub>
   </mrow>
   <mo>+</mo>
   <mrow>
    <msub>
     <mi>c</mi>
     <mn>2</mn>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>2</mn>
    </msub>
   </mrow>
  </mrow>
 </mrow>
</math></span></span><br /><br />Now, <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>f</mi>
   <mo>[</mo>
   <mi>n</mi>
   <mo>]</mo>
  </mrow>
  <mo>==</mo>
  <mrow>
   <msup>
    <mi>A</mi>
    <mi>n</mi>
   </msup>
   <mo>.</mo>
   <mover>
    <mi>a</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>==</mo>
  <mrow>
   <msup>
    <mi>A</mi>
    <mi>n</mi>
   </msup>
   <mo>.</mo>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mrow>
      <msub>
       <mi>c</mi>
       <mn>1</mn>
      </msub>
      <mo>&InvisibleTimes;</mo>
      <msub>
       <mover>
        <mi>u</mi>
        <mo>&RightVector;</mo>
       </mover>
       <mn>1</mn>
      </msub>
     </mrow>
     <mo>+</mo>
     <mrow>
      <msub>
       <mi>c</mi>
       <mn>2</mn>
      </msub>
      <mo>&InvisibleTimes;</mo>
      <msub>
       <mover>
        <mi>u</mi>
        <mo>&RightVector;</mo>
       </mover>
       <mn>2</mn>
      </msub>
     </mrow>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
  <mo>==</mo>
  <mrow>
   <mrow>
    <msub>
     <mi>c</mi>
     <mn>1</mn>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <mrow>
     <msup>
      <mi>A</mi>
      <mi>n</mi>
     </msup>
     <mo>.</mo>
     <msub>
      <mover>
       <mi>u</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mn>1</mn>
     </msub>
    </mrow>
   </mrow>
   <mo>+</mo>
   <mrow>
    <msub>
     <mi>c</mi>
     <mn>2</mn>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <mrow>
     <msup>
      <mi>A</mi>
      <mi>n</mi>
     </msup>
     <mo>.</mo>
     <msub>
      <mover>
       <mi>u</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mn>2</mn>
     </msub>
    </mrow>
   </mrow>
  </mrow>
  <mo>==</mo>
  <mrow>
   <mrow>
    <msub>
     <mi>c</mi>
     <mn>1</mn>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <msubsup>
     <mi>&lambda;</mi>
     <mn>1</mn>
     <mi>n</mi>
    </msubsup>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>1</mn>
    </msub>
   </mrow>
   <mo>+</mo>
   <mrow>
    <msub>
     <mi>c</mi>
     <mn>2</mn>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <msubsup>
     <mi>&lambda;</mi>
     <mn>2</mn>
     <mi>n</mi>
    </msubsup>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>2</mn>
    </msub>
   </mrow>
  </mrow>
 </mrow>
</math></span></span><br />thus<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>f</mi>
   <mo>[</mo>
   <mi>n</mi>
   <mo>]</mo>
  </mrow>
  <mo>==</mo>
  <mrow>
   <mrow>
    <msub>
     <mi>c</mi>
     <mn>1</mn>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <msubsup>
     <mi>&lambda;</mi>
     <mn>1</mn>
     <mi>n</mi>
    </msubsup>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>1</mn>
    </msub>
   </mrow>
   <mo>+</mo>
   <mrow>
    <msub>
     <mi>c</mi>
     <mn>2</mn>
    </msub>
    <mo>&InvisibleTimes;</mo>
    <msubsup>
     <mi>&lambda;</mi>
     <mn>2</mn>
     <mi>n</mi>
    </msubsup>
    <mo>&InvisibleTimes;</mo>
    <msub>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>2</mn>
    </msub>
   </mrow>
  </mrow>
 </mrow>
</math></span></span><br />This is a closed form of f[n]. The closed form facilitate computation and analysis of the behavior of f[n]. We may use it to find Limit[f[n],n-&gt;Infinity].
</p>



<p class="Section">
 6.3 Diagonalization
</p>



<p class="Subsection">
 definition: Diagonalization
</p>



<p class="Text">
 A square matrix A is said to be diagonable if A is similiar to a diagonal matrix, that is, if A==P.D.P^-1 for some invertible matrix P and some diagonal matrix D.
</p>



<p class="Subsection">
 theorem: Diagonalization
</p>



<p class="Text">
 An n &times; n matrix A is diagonalizable iff A has n linealy independent eigenvectors.<br />If A==P.D.P^-1 where D is diagonal, then the diagonal entries of D are eigenvalues of A and the columns of P are the corresponding eigenvectors.
</p>



<p class="Text">
 Proof:<br />Let u1, u2,... be independent eigenvectors of A, and &lambda;1, &lambda;2,... be the corresponding eigen values.<br />We have<br />&nbsp;&nbsp;&nbsp;&nbsp;[A.u1 A.u2 ...]==[&lambda;1*u1 &lambda;2*u2 ...]&nbsp;&nbsp;&nbsp;&nbsp;(*1*)<br />which can be rewriten as<br />&nbsp;&nbsp;&nbsp;&nbsp;A.P==P.D<br />by the given definition of matrix P and D. Since ui are independent, P^-1 exist. Right multiply both sides by P^-1 we have<br />&nbsp;&nbsp;&nbsp;&nbsp;A==P.D.P^-1<br />This proves the half of first part of the theorem. Now, if given A==P.D.P^-1 for some P, D, we can use (*1*) to show that A.ui==ci*ui by equating columns. Now, since ui for all i are independent and none are zero vectors, it shows that ci are eigenvalues corresponding to the eigenvectors ui.<br />The second part of the theorem is also proven in the process.<br />End of proof.
</p>



<p class="Subsection">
 theorem
</p>



<p class="Text">
 Let A be an n &times; n matrix whose distinct eigenvalues are &lambda;_1,...,&lambda;_p. For k:=1,...,p, let B_k be a basis for the eigenspace corresponding to &lambda;_k. Let B be the union of B_1,...,B_p. Then B is linearly independent.
</p>



<p class="Text">
 Notes: recall that eigenspace of an eigenvalue &lambda; is defined to be all eigenvectors that has &lambda; as their eigenvalue. That is to say, an eigenvalue may have more than one linearly independent eigenvectors. The theorem does not say an n &times; n matrix will always have n eigenvectors. If only says that if A has n linearly independent eigenvectors, then A is diagonalizable.
</p>



<p class="Text">
 Proof: (need editing)<br />Suppose &lambda;_1,...,&lambda;_n are the distinct eigenvalues of matrix A. Suppose B_i are eigenvector bases corresponding to &lambda;_i and each B_i has dimensions Length[B_i].<br />Let s_i be :=Sum[c_i_j*B_i[[j]],{j,Length[B_i]}].<br />surfeit to say that if Sum[s_i,{i,n}]==zeroVector, then s_i==0 for all i. This is so because eigenspace of different eigenvalues has no intersection. Thus, the above implies all c_i_j==0 in<br />&nbsp;&nbsp;&nbsp;&nbsp;Sum[c_i_j*B_i[[j]],{j,Length[B_i]}]==zeroVector<br />Which inplies all c_i_j==0 in<br />&nbsp;&nbsp;&nbsp;&nbsp;Sum[(c_i_j*B_i[[j]]),{i,n},{j,Length[B_i]}]==zeroVector<br />Thus B is linearly independent.<br />--------------------------------<br />are all zero.<br />We know that c_j==0 in Sum[(c_j),B_i[[j]],{j,n}]==zeroVetor.<br /><br />Sum[Sum[(c_i_j*B_i[[j]]),{j,Length[B_i]}],{i,n}]<br /><br />Suppose b_i_m is an eigenvector in B_i.<br /><br />Sum[Plus@@(c_i_j*B_i),{i,n}]==zeroVector<br />and all c_i_j must be zero.<br />This means each of Plus@@(c_i_j*B_i)==zeroVector.
</p>



<p class="Section">
 6.4 Eigenvectors and Linear Transformation
</p>



<p class="Subsection">
 theorem: Diagonal Matrix Representation
</p>



<p class="Text">
 Suppose A:=P.D.P^-1, where D is a diagonal x &times; n matrix. If <span class="gothic">B</span> is the basis for <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span> formed from the columns of P, then D is the <span class="gothic">B</span>-matrix of the transformation <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>x</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>&RightTeeArrow;</mo>
  <mrow>
   <mi>A</mi>
   <mo>.</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
 </mrow>
</math></span></span>.
</p>



<p class="Text">
 Proof: (verbatim from the book. Needs editing.)<br />Denote the columns of P by b_1,...,b_n, so that B={b_1,...,b_n}, and P=[b_1 ... b_n]. In this case P is the change-of-coordinates matrix P_B discussed in Section 5.4, where<br />P[X]_B == x and [x]_B==(P^-1).x<br />If T[x]==A.x for x in R^n, then<br />[T]_B==[[T[b_1]]_B ... [T[b_n]]_B]<br />==[[A.b_1]_B ... [A.b_n]_B]<br />==[(P^-1).A.b_1 ... (P^-1).A.b_n]<br />==(P^-1).A.[b_1 ... b_n]<br />==(P^-1).A.P<br /><br />Since A==P.D.(P^-1), we have [T]_B==(P^-1).A.P==D.
</p>



<p class="Section">
 6.5 Complex Eigenvalues
</p>



<p class="Section">
 linear map of an abstract vector space (xah's note)
</p>



<p class="Text">
 To define a linear map T, we don't have to know the image of every element in V. We only need to know the image of a set of vectors that is a basis for V. This is so because the property of linear map that L[a+b]==L[a]+L[b] and L[&alpha;*a]==&alpha;*L[a]. In particular, every vector can be written as linear combinations of the basis vectors, thus we can find their image. (Greek letter denote scalars.)
</p>



<p class="Text">
 It is extremely convenient to find the isomorphism between an abstract linear space and the linear space in R^n, because the latter can be computed more easily, and linear map can be written as matrixes.
</p>



<p class="Text">
 The following describes the method of finding an isomophic vector space in R^n from a given abstract vector space.<br />Given a n dimentional linear space {V,+,*} over R^1. Suppose B is a basis. A linear mapping T is defined by specifying the images of basis vectors. i.e., we know the value of T[b[k]] for 1&lt;=k&lt;=n. Let us use B as the coordinate basis. We want to find the matrix A corresponding to T. Let {b[k]} denote the coordinates of b[k] with respect to basis B. Let {e[k]} denote the standard basis, that is: {e[1]}=={1,0,0,0,...}, {e[2]}={0,1,0,0,...}, etc. The coordinates of b[k] with respect to B is {e[k]}, i.e. {b[k]}=={e[k]}.<br />Now, the coordinates of T[{b[k]}] can be denoted as {T[{b[k]}]}.<br />Let x be a vector in R^n. x[i] be its ith coordinates. We can write x as Sum[x[i]*{e[i]},{i,1,n}]. Now,<br />&nbsp;&nbsp;&nbsp;&nbsp;T[x]==T[Sum[x[i]*{e[i]},{i,1,n}]]==Sum[x[i]*T[{e[i]}],{i,1,n}]<br />Thus we see that kth column of matrix A is {T[{b[k]}]}.
</p>



<p class="Subtitle">
 7 Orthogonality and Least-squares
</p>



<p class="Section">
 7.1 Inner Product, Length, And Orthogonality
</p>



<p class="Subsection">
 Inner product definition
</p>



<p class="Text">
 The inner product of vectors u and v in R^n is defined to be Sum[u[i]*v[i],{i,1,n}], where u[i] and v[i] are the elements in u and v.
</p>



<p class="Subsection">
 Properties of inner product
</p>



<p class="Text">
 Let u, v, and w be vectors in R^n, and let c be a scalar.<br />u.v==v.u<br />(u+v).w==u.w+v.w<br />(c*u).v==c(u.v)==u.(c.v)<br />u.u&gt;=0, and u.u = 0 iff u==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'
    mathematica:form='TraditionalForm'
    xmlns:mathematica='http://www.wolfram.com/XML/'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>.
</p>



<p class="Subsection">
 Length of a vector
</p>



<p class="Text">
 The length (or norm) of <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>v</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is the nonnegative scalar {|<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>v</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>|} defined by <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mo>&#62981;</mo>
   <mover>
    <mi>v</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>&#62982;</mo>
  </mrow>
  <mo>:=</mo>
  <msqrt>
   <mrow>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>.</mo>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
   </mrow>
  </msqrt>
 </mrow>
</math></span></span>
</p>



<p class="Subsection">
 Distance
</p>



<p class="Text">
 For <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>u</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> and <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>v</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>, the distance between them is defined to be {|<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>u</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>-</mo>
  <mover>
   <mi>v</mi>
   <mo>&RightVector;</mo>
  </mover>
 </mrow>
</math></span></span>|}.
</p>



<p class="Subsection">
 Orthogonality
</p>



<p class="Text">
 Two vectors u and v in R^n are orthogonal (to each other) if u.v==0.
</p>



<p class="Text">
 The motivation for this definion:<br />We want to look at vectors as lines in Euclidean space, and define orthogonality as being perpendicularity. Suppose u and v are vectors. They are orthogonal if the distance from u to v and u to -v are equal. Using Pythagorean theorem, the distance from u to v is<br />{|u-v|}=={|u|}^2 + {|v|}^2 - 2*u.v<br />The distance from u to -v is<br />{|u+v|}=={|u|}^2 + {|v|}^2 + 2*u.v<br />we see that they are equal iff u.v==0.
</p>



<p class="Subsubsection">
 Pythogorean Theorem
</p>



<p class="Text">
 Two vectors u and v are orthogonal iff {|u+v|}^2=={|u|}^2+{|v|}^2<br />(this follows directly from defitions)
</p>



<p class="Subsection">
 Orthogonal Complements
</p>



<p class="Text">
 Let W be a subspace of R^n, let z be a vector. If z is orthogonal to every vector in W, then z is said to be orthogonal to W. The set of vectors that are orthogonal to W is called the orthogonal complement of W, written as W^&perp; or &perp;[W].
</p>



<p class="Subsubsection">
 theorem: 
</p>



<p class="Text">
 A vector v is in &perp;[W] iff v is orthogonal to all vectors in a set that spans W.
</p>



<p class="Text">
 Proof:<br />Let {a1,...,an} be a set of basis vectors for a subspace W of R^n.<br />Given: v is orthogonal to ai for all i. This means ai.v==0 for all i.<br />We want to prove that v is orthogonal to any linear combinations af ai. This means<br />&nbsp;&nbsp;&nbsp;&nbsp;Sum[ci*ai,{i,n}].v==0<br />where ci are scalars. By properties of inner product, the equation is equivalent to<br />&nbsp;&nbsp;&nbsp;&nbsp;Sum[(ci*ai).v,{i,n}]==0<br />&nbsp;&nbsp;&nbsp;&nbsp;Sum[ci*(ai.v),{i,n}]==0<br />&nbsp;&nbsp;&nbsp;&nbsp;Sum[ci*0,{i,n}]==0<br />This proves half of the first statement.<br />If b.v==0 for all b in W, then it means<br />&nbsp;&nbsp;&nbsp;&nbsp;Sum[(ci*ai),{i,n}].v==0<br />by inner product property,<br />&nbsp;&nbsp;&nbsp;&nbsp;ci*ai.v==0 for all i.<br />&nbsp;&nbsp;&nbsp;&nbsp;ai.v==0<br />End of proof.
</p>



<p class="Subsubsection">
 dimensions of &perp;[W]
</p>



<p class="Text">
 Let W be any vector space. The dimension of &perp;[W] is 1.
</p>



<p class="Text">
 Proof:<br />Let x be a non-zero vector in W. Suppose b1, b2 are basis vectors in &perp;[W], thus &perp;[W] has dimension 2.<br />If follows that b1.x==0, b2.x==0, and (b1+b2).x==0. Combine the equations we have<br />&nbsp;&nbsp;&nbsp;&nbsp;(b1+b2).x==b1.x<br />For vectors u1,u2,v, u1.v==u2.v iff u1==u2, thus<br />&nbsp;&nbsp;&nbsp;&nbsp;b1+b2==b1<br />&nbsp;&nbsp;&nbsp;&nbsp;b2==zeroVector<br />but this cannot be because basis vectors cannot be zero vectors. Thus, b1 and b2 cannot be a basis for &perp;[W], and &perp;[W] cannnot have dimension 2. Similarly, if b1, b2, b3 are basis for &perp;[W], we can show that (b1+b2+b3)==b1, b2+b3==zeroVector, and this cannot be because b2 and b3 are independent. Similarly, &perp;[W] cannot have dimensions greater than 1.
</p>



<p class="Subsection">
 Theorem: Orthogonality, row space, null space, and column space
</p>



<p class="Text">
 Let A be an m &times; n matrix. Then the orthogonal complement of the row space of A is the nullspace of A, and the orthogonal complement of the column space of A is the nullspace of <span class="script">T</span>[A]. In symbols,<br />&perp;@Row[A]==Nul[A], &perp;@Col[A]==<span class="script">T</span>@Nul[A]
</p>



<p class="Subsubsection">
 Proof
</p>



<p class="Text">
 The row-column rule for computing A.x shows that if x is in Nul A, then x is orthogonal to each row of A (with the rows treated as vectors in R^n). Since the rows of A span the row space, x is orthogonal to Row A. Conversely, if x is orthogonal to Row A, then x is certainly orthogonal to the rows of A, and hence A.x==0. This proves the first statement. Thesecond statemenfollows from the first by replacing A with <span class="script">T</span>[A] and using the fact that Col[A]==<span class="script">T</span>@Row[A].
</p>



<p class="Section">
 7.2 Orthogonal Sets
</p>



<p class="Subsection">
 orthogonal set and linear independence
</p>



<p class="Text">
 A set of vectors {u1, ... ,up} in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span> is said to be an orthogonal set if each pair of distinct vectors from the set is orthogonal, that is, if ui.uj==0 whenever i&ne;j.
</p>



<p class="Text">
 If S=<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>p</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> is an orthogonal set of nonzero vectors in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>, then S is linearly independent.
</p>



<p class="Text">
 Proof:<br />We want to show that the only solution to the equation <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mn>0</mn>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> == <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <munderover>
   <mo>&Sum;</mo>
   <mrow>
    <mi>i</mi>
    <mo>=</mo>
    <mn>1</mn>
   </mrow>
   <mi>p</mi>
  </munderover>
  <mrow>
   <msub>
    <mi>c</mi>
    <mi>i</mi>
   </msub>
   <mo>&InvisibleTimes;</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>i</mi>
   </msub>
  </mrow>
 </mrow>
</math></span></span> is for <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mi>c</mi>
   <mi>i</mi>
  </msub>
  <mo>&Equal;</mo>
  <mn>0</mn>
 </mrow>
</math></span></span> for all i. Multiply both sides by <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>v</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mn>1</mn>
 </msub>
</math></span></span> to obtain<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mn>0</mn>
  <mo>&Equal;</mo>
  <mrow>
   <mover>
    <mn>0</mn>
    <mo>&RightVector;</mo>
   </mover>
   <mo>.</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mrow>
    <mo>(</mo>
    <mrow>
     <munderover>
      <mo>&Sum;</mo>
      <mrow>
       <mi>i</mi>
       <mo>=</mo>
       <mn>1</mn>
      </mrow>
      <mi>p</mi>
     </munderover>
     <mrow>
      <msub>
       <mi>c</mi>
       <mi>i</mi>
      </msub>
      <mo>*</mo>
      <mtext> </mtext>
      <msub>
       <mover>
        <mi>v</mi>
        <mo>&RightVector;</mo>
       </mover>
       <mi>i</mi>
      </msub>
     </mrow>
    </mrow>
    <mo>)</mo>
   </mrow>
   <mo>.</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
  </mrow>
 </mrow>
</math></span></span><br />by distribution property, we have<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mn>0</mn>
  <mo>&Equal;</mo>
  <mrow>
   <mo>(</mo>
   <mrow>
    <munderover>
     <mo>&Sum;</mo>
     <mrow>
      <mi>i</mi>
      <mo>=</mo>
      <mn>1</mn>
     </mrow>
     <mi>p</mi>
    </munderover>
    <mrow>
     <msub>
      <mi>c</mi>
      <mi>i</mi>
     </msub>
     <mo>*</mo>
     <mrow>
      <mo>(</mo>
      <mtext> </mtext>
      <mrow>
       <msub>
        <mover>
         <mi>v</mi>
         <mo>&RightVector;</mo>
        </mover>
        <mi>i</mi>
       </msub>
       <mo>.</mo>
       <msub>
        <mover>
         <mi>v</mi>
         <mo>&RightVector;</mo>
        </mover>
        <mn>1</mn>
       </msub>
      </mrow>
      <mo>)</mo>
     </mrow>
    </mrow>
   </mrow>
   <mo>)</mo>
  </mrow>
 </mrow>
</math></span></span><br />Since elements of S are pairwise orthogonal, their dot product is 0, thus we have<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mn>0</mn>
  <mo>&Equal;</mo>
  <mrow>
   <msub>
    <mi>c</mi>
    <mn>1</mn>
   </msub>
   <mo>*</mo>
   <mrow>
    <mo>(</mo>
    <mtext> </mtext>
    <mrow>
     <msub>
      <mover>
       <mi>v</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mn>1</mn>
     </msub>
     <mo>.</mo>
     <msub>
      <mover>
       <mi>v</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mn>1</mn>
     </msub>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
 </mrow>
</math></span></span><br />which shows that <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mi>c</mi>
  <mn>1</mn>
 </msub>
</math></span></span> is 0. Similarly, all other scalers must be 0. End of Proof.
</p>



<p class="Subsection">
 computing coordinates wrt a given orthogonal basis
</p>



<p class="Text">
 Let <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>p</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> be an orthogonal basis for a subspace W of <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>. Let <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>y</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> be a vector in W. The coordinates of <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>y</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> with respect to the basis is <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mi>Table</mi>
  <mo>[</mo>
  <mrow>
   <mrow>
    <mrow>
     <mo>(</mo>
     <mrow>
      <mover>
       <mi>y</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mo>.</mo>
      <msub>
       <mover>
        <mi>v</mi>
        <mo>&RightVector;</mo>
       </mover>
       <mi>i</mi>
      </msub>
     </mrow>
     <mo>)</mo>
    </mrow>
    <mo>/</mo>
    <mrow>
     <mo>(</mo>
     <mrow>
      <msub>
       <mover>
        <mi>v</mi>
        <mo>&RightVector;</mo>
       </mover>
       <mi>i</mi>
      </msub>
      <mo>.</mo>
      <msub>
       <mover>
        <mi>v</mi>
        <mo>&RightVector;</mo>
       </mover>
       <mi>i</mi>
      </msub>
     </mrow>
     <mo>)</mo>
    </mrow>
   </mrow>
   <mo>,</mo>
   <mrow>
    <mo>{</mo>
    <mrow>
     <mi>i</mi>
     <mo>,</mo>
     <mn>1</mn>
     <mo>,</mo>
     <mi>p</mi>
    </mrow>
    <mo>}</mo>
   </mrow>
  </mrow>
  <mo>]</mo>
 </mrow>
</math></span></span>.
</p>



<p class="Text">
 Proof:<br />we want to show that <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mi>c</mi>
   <mi>i</mi>
  </msub>
  <mo>&Equal;</mo>
  <mrow>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mover>
      <mi>y</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mo>.</mo>
     <msub>
      <mover>
       <mi>v</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mi>i</mi>
     </msub>
    </mrow>
    <mo>)</mo>
   </mrow>
   <mo>/</mo>
   <mrow>
    <mo>(</mo>
    <mrow>
     <msub>
      <mover>
       <mi>v</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mi>i</mi>
     </msub>
     <mo>.</mo>
     <msub>
      <mover>
       <mi>v</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mi>i</mi>
     </msub>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
 </mrow>
</math></span></span> is a solution to the equation <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>y</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>&Equal;</mo>
  <mrow>
   <munderover>
    <mo>&Sum;</mo>
    <mrow>
     <mi>i</mi>
     <mo>=</mo>
     <mn>1</mn>
    </mrow>
    <mi>p</mi>
   </munderover>
   <mrow>
    <msub>
     <mi>c</mi>
     <mi>i</mi>
    </msub>
    <mo>*</mo>
    <msub>
     <mover>
      <mi>v</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mi>i</mi>
    </msub>
   </mrow>
  </mrow>
 </mrow>
</math></span></span>.<br />To solve the equation, dot both sides by <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>v</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mn>1</mn>
 </msub>
</math></span></span>, we get<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mover>
    <mi>y</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>.</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mrow>
    <mo>(</mo>
    <mrow>
     <msub>
      <mi>c</mi>
      <mn>1</mn>
     </msub>
     <mo>*</mo>
     <msub>
      <mover>
       <mi>v</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mn>1</mn>
     </msub>
    </mrow>
    <mo>)</mo>
   </mrow>
   <mo>.</mo>
   <msub>
    <mover>
     <mi>v</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
  </mrow>
 </mrow>
</math></span></span><br />(most vector terms are eliminated because their dot product is zero)<br />Isolate <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mi>c</mi>
  <mn>1</mn>
 </msub>
</math></span></span> to solve one coordinate. Other coordinates can be solved similarly.
</p>



<p class="Subsection">
 orthonormal set
</p>



<p class="Text">
 A set {u1, ... ,up} is an orthonormal set if it is an orthogonal set of unit vectors.
</p>



<p class="Text">
 An m &times; n matrix U has orthonormal columns iff (<span class="script">T</span>@U).U==I.
</p>



<p class="Text">
 Proof: (See D.C.Lay)<br />The proof for the general matrix is tedious, though not much insight. Essentially, the steps are to carry out the product showing each matrix entry in detail, and show that in order for the columns in U to be orthonormal, certain product of elements must be 0 or 1, and when this occurs, the whole thing equals to the identity matrix.
</p>



<p class="Subsection">
 length and orthogonality invarience
</p>



<p class="Text">
 Let U be an m &times; n matrix with orthonormal columns, and let <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> and <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>y</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> be in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span>. Then<br />(a) {|U.<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>|}==|}x{|<br />(b) (U.<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>).(U.y)==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>.<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>y</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span><br />(c) (U.<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>).(U.y)==0 iff <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>x</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>.<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>y</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span>==0.
</p>



<p class="Text">
 Property (a) and (c) say that the linear mapping <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>x</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>&RightTeeArrow;</mo>
  <mrow>
   <mi>U</mi>
   <mo>.</mo>
   <mover>
    <mi>x</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
 </mrow>
</math></span></span> preserves lengths and orthogonality. Proof should be easy.
</p>



<p class="Section">
 7.3 Orthogonal projection
</p>



<p class="Subsection">
 The orthogonal Decomposition theorem
</p>



<p class="Text">
 Let W be a subspace of <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span> that has an orthogonal basis. Then each <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>y</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> in <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi mathvariant='double-struck'>R</mi>
  <mi>n</mi>
 </msup>
</math></span></span> can be written uniquely in the form<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>y</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>&Equal;</mo>
  <mrow>
   <mover>
    <mi>a</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>+</mo>
   <mover>
    <mi>z</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
 </mrow>
</math></span></span>&nbsp;&nbsp;&nbsp;&nbsp;&lt;&lt;1&gt;&gt;<br />where <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>a</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is in W and <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>b</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is in &perp;@W. In fact, if <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>p</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> is any orthogonal basis of W, then<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>a</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>&Equal;</mo>
  <mrow>
   <munderover>
    <mo>&Sum;</mo>
    <mrow>
     <mi>i</mi>
     <mo>=</mo>
     <mn>1</mn>
    </mrow>
    <mi>p</mi>
   </munderover>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mfrac>
      <mrow>
       <mover>
        <mi>y</mi>
        <mo>&RightVector;</mo>
       </mover>
       <mo>.</mo>
       <msub>
        <mover>
         <mi>u</mi>
         <mo>&RightVector;</mo>
        </mover>
        <mi>i</mi>
       </msub>
      </mrow>
      <mrow>
       <msub>
        <mover>
         <mi>u</mi>
         <mo>&RightVector;</mo>
        </mover>
        <mi>i</mi>
       </msub>
       <mo>.</mo>
       <msub>
        <mover>
         <mi>u</mi>
         <mo>&RightVector;</mo>
        </mover>
        <mi>i</mi>
       </msub>
      </mrow>
     </mfrac>
     <mo>&InvisibleTimes;</mo>
     <msub>
      <mover>
       <mi>u</mi>
       <mo>&RightVector;</mo>
      </mover>
      <mi>i</mi>
     </msub>
    </mrow>
    <mo>)</mo>
   </mrow>
  </mrow>
 </mrow>
</math></span></span>&nbsp;&nbsp;&nbsp;&nbsp;&lt;&lt;2&gt;&gt;<br />and<br />&nbsp;&nbsp;&nbsp;&nbsp;<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>z</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>:=</mo>
  <mrow>
   <mover>
    <mi>y</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>-</mo>
   <mover>
    <mi>a</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
 </mrow>
</math></span></span>
</p>



<p class="Text">
 Proof:<br />Let <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mo>{</mo>
  <mrow>
   <msub>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
   <mo>,</mo>
   <mo>...</mo>
   <mo>,</mo>
   <msub>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>p</mi>
   </msub>
  </mrow>
  <mo>}</mo>
 </mrow>
</math></span></span> be an orthogonal basis of W, and define <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>a</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> as in the theorem. Clearly, <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>a</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is in W because <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>a</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is a linear combination of the basis <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mover>
    <mi>u</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mn>1</mn>
  </msub>
  <mo>,</mo>
  <mrow>
   <mo>...</mo>
   <msub>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mi>p</mi>
   </msub>
  </mrow>
 </mrow>
</math></span></span>. Let <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mover>
   <mi>z</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mo>:=</mo>
  <mrow>
   <mover>
    <mi>y</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>-</mo>
   <mover>
    <mi>a</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
 </mrow>
</math></span></span><br /><br />Since <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>u</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mn>1</mn>
 </msub>
</math></span></span> is orthogonal to <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <msub>
   <mi>u</mi>
   <mn>2</mn>
  </msub>
  <mo>,</mo>
  <mo>...</mo>
  <mo>,</mo>
  <msub>
   <mi>u</mi>
   <mi>p</mi>
  </msub>
 </mrow>
</math></span></span>, it follows from &lt;&lt;2&gt;&gt; that<br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mover>
    <mi>z</mi>
    <mo>&RightVector;</mo>
   </mover>
   <mo>.</mo>
   <msub>
    <mover>
     <mi>u</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mn>1</mn>
   </msub>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mrow>
    <mo>(</mo>
    <mrow>
     <mover>
      <mi>y</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mo>-</mo>
     <mover>
      <mi>a</mi>
      <mo>&RightVector;</mo>
     </mover>
    </mrow>
    <mo>)</mo>
   </mrow>
   <mo>.</mo>
   <mover>
    <mi>u</mi>
    <mo>&RightVector;</mo>
   </mover>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mrow>
    <mover>
     <mi>y</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>.</mo>
    <msub>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>1</mn>
    </msub>
   </mrow>
   <mo>-</mo>
   <mrow>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>.</mo>
    <msub>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>1</mn>
    </msub>
   </mrow>
  </mrow>
 </mrow>
</math></span></span><br />substitute <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>a</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> by its definition, and distribute, we have<br /><span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mrow>
    <mover>
     <mi>y</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>.</mo>
    <msub>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>1</mn>
    </msub>
   </mrow>
   <mo>-</mo>
   <mrow>
    <mover>
     <mi>a</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>.</mo>
    <msub>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>1</mn>
    </msub>
   </mrow>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mrow>
    <mover>
     <mi>y</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>.</mo>
    <msub>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>1</mn>
    </msub>
   </mrow>
   <mo>-</mo>
   <mrow>
    <mrow>
     <mo>(</mo>
     <mrow>
      <mfrac>
       <mrow>
        <mover>
         <mi>y</mi>
         <mo>&RightVector;</mo>
        </mover>
        <mo>.</mo>
        <msub>
         <mover>
          <mi>u</mi>
          <mo>&RightVector;</mo>
         </mover>
         <mn>1</mn>
        </msub>
       </mrow>
       <mrow>
        <msub>
         <mover>
          <mi>u</mi>
          <mo>&RightVector;</mo>
         </mover>
         <mn>1</mn>
        </msub>
        <mo>.</mo>
        <msub>
         <mover>
          <mi>u</mi>
          <mo>&RightVector;</mo>
         </mover>
         <mn>1</mn>
        </msub>
       </mrow>
      </mfrac>
      <mo>*</mo>
      <msub>
       <mover>
        <mi>u</mi>
        <mo>&RightVector;</mo>
       </mover>
       <mn>1</mn>
      </msub>
     </mrow>
     <mo>)</mo>
    </mrow>
    <mo>.</mo>
    <msub>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>1</mn>
    </msub>
   </mrow>
  </mrow>
  <mo>&Equal;</mo>
  <mrow>
   <mrow>
    <mover>
     <mi>y</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>.</mo>
    <msub>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>1</mn>
    </msub>
   </mrow>
   <mo>-</mo>
   <mrow>
    <mover>
     <mi>y</mi>
     <mo>&RightVector;</mo>
    </mover>
    <mo>.</mo>
    <msub>
     <mover>
      <mi>u</mi>
      <mo>&RightVector;</mo>
     </mover>
     <mn>1</mn>
    </msub>
   </mrow>
  </mrow>
  <mo>&Equal;</mo>
  <mn>0</mn>
 </mrow>
</math></span></span><br />thus <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mover>
  <mi>z</mi>
  <mo>&RightVector;</mo>
 </mover>
</math></span></span> is orthogonal to <span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msub>
  <mover>
   <mi>u</mi>
   <mo>&RightVector;</mo>
  </mover>
  <mn>1</mn>
 </msub>
</math></span></span>. Similarly, z is orthogonal to each uj in the basis for W. Hence z is orthogonal to veery vector in W. This is, z is in &perp;@W.<br />To show that decomposition in &lt;&lt;1&gt;&gt; is unique, suppose that y can also be written as y==a1+z1, with a1 in W and z1 in W^&perp;. Then a+z== a1+z1 (since both sides equal y), and so<br />&nbsp;&nbsp;&nbsp;&nbsp;a-a1==z1-z<br />This equality shows that the vector v==a-a1 is in W and in W^+. (because z1 and z are both in W^+, and W^+ is a subspace) Hence v.v==0, which shows that v==zero. This proves that a==a1, and also z1==z.
</p>



<p class="Text">
 Property of orthogonal projection:<br />Let W=Span[{u1,...,up}]. Let y be a vector in W. Projection[y,W]==y.
</p>



<p class="Subsection">
 The best approximation theorem
</p>



<p class="Text">
 Let W be a subspace of R^n, y by any vector in R^n, and va be the orthogonal projection of y onto W determined by an orthogonal basis of W. Then va is the closest point in W to y, in the sense that<br />&nbsp;&nbsp;&nbsp;&nbsp;||y-va||&lt;||y-v||&nbsp;&nbsp;&nbsp;&nbsp;&lt;&lt;3&gt;&gt;<br />for all v in W distinct from y.
</p>



<p class="Text">
 Proof: Take v in W distinct from va. Then v-va is in W. By the Orthogonal Decomposition Theorem, y-va is orthogonal to W. In particular, y-va is orthogonal to v-va. Since<br />&nbsp;&nbsp;&nbsp;&nbsp;y-v==(y-va)+(va-v)<br />The Pythagorean theorem gives<br />&nbsp;&nbsp;&nbsp;&nbsp;(||y-v||)^2==(||y-va||)^2+(||va-v||)^2<br />Now (||va-v||)^2&gt;0 because va-v=!=zero, and so the inequality in &lt;&lt;3&gt;&gt; is clear.
</p>



<p class="Text">
 If {u1,...,up} is an orthonormal basis for a subspace W of R^n, then<br />&nbsp;&nbsp;&nbsp;&nbsp;Projection[y,W]==Sum[(y.ui)*ui,{i,1,p}] &lt;&lt;4&gt;&gt;<br />Let the matrix U has column vectors u1,...,up. Then,<br />&nbsp;&nbsp;&nbsp;&nbsp;Projection[y,W]==U.U^t.y, for all y in R^n. &lt;&lt;5&gt;&gt;
</p>



<p class="Text">
 Proof:<br />Formula &lt;&lt;4&gt;&gt; follows immediates from &lt;&lt;2&gt;&gt;. Also, &lt;&lt;4&gt;&gt; shows that projection[y,W] is a linear combination of the columns of U using the weights y.ui. The weights may be written as u^T_i, showing that they are the entries in U^T.y and justifying &lt;&lt;5&gt;&gt;.
</p>



<p class="Section">
 7.4 The Gram-Schmidt process
</p>



<p class="Subsection">
 7.4 The Gram-Schmidt process
</p>



<p class="Text">
 Given a basis {x1,...,xp} for a subspace W of R^n, define<br />v_1:=x_1<br />v_p:=x_p - Sum[((x_p.v_i)/(v_i.v_i))*v_i,{i,1,p-1}]<br />Then {v1,...,vp} is an orthogonal basis for W. In addition,<br />Span[{v1,...,vk}]==Span[{x1,...,xk}] for 1&lt;=k&lt;=p.
</p>



<p class="Text">
 Proof:<br />For 1&lt;=k&lt;=p, let W_k:=Span[{x1,...,xk}]. Set v1:=x1, so that Span[{v1}]==Span[{x1}]. Suppose that for some k wehave constructed v1,...,vk so that {v1,...,vk} is an orthogonal basis for W_k. Define<br />&nbsp;&nbsp;&nbsp;&nbsp;v_(k+1)==x_(k+1)-Projection[x_(k+1),W_k]<br />Note that Projection[x_(k+1),W_k] is in W_k and hence alsoin W_(k+1). Since x_(k+1) is in W_(k+1), so is v_(k+1). Furthermore, v_(k+1)!=zero because x_(k+1) is not in W_k:=Span[{x1,...,xk}]. Hence {v1,...,v_(k+1)} is an orthogonal set of nonzero vectors in the (k+1)-dimensional space W_(k+1). By a therome about number of indepedent vectors spans n-dimensional space, this set is an orthogonal basis for W_(k+1). Hence W_(k+1)==Span[{v1,...,v_(k+1)}]. After p steps, the process stops.
</p>



<p class="Text">
 Idea:<br />The idea of Gram-Schmidt process is to use projection to go through each of the vectors. For each vector, project it onto the space previously found, thus obtaining a orthogonal basis one by one.
</p>



<p class="Subsection">
 QR Factorization
</p>



<p class="Text">
 If A is an m x n matrix with linearly independent columns, then A may be factored as A==Q.R, where Q is an m x n matrix whose columns form an orthonormal basis for Col A and R is an n x n upper triangular invertible matrix with positiveentries on its diagonal.
</p>



<p class="Text">
 Proof: The columns of A form a basis {x1,...,xn} for Col A. Construct an orthonormal basis {v1,...,vn} for W=Col A with property &lt;&lt;1&gt;&gt; in theorem 11. This basis may be constructed by the Gram-Schmidt process or some other means. Let<br />Q:={v1 v2 ... vn}<br />For k:=1,...,n, x_k is in Span[{x1,...,xk}]==Span[{v1,...,vk}]. So there are constants, r_1k,...,r_kk, such that<br />&nbsp;&nbsp;&nbsp;&nbsp;x_k==r_1k*v_1+...+r_kk*v_k+0.v_(k+1)+...+0.v_n<br />we may assume that r_kk &gt;=0. (if r_kk&lt;0, multiply both r_kk and v_k by -1) This shows that x_k is a linear combination of the columns of Q using as weights the entries in the vector<br />&nbsp;&nbsp;&nbsp;&nbsp;r_k:={r_1k,...,r_kk,0,...,0}<br />That is, x_k==Q.r_k for k:=1,...,n. Let R:={r1,...,rn}. Then<br />&nbsp;&nbsp;&nbsp;&nbsp;A=={x1,...,xn}==[Q.r_1,...,Q.r_n]==QR<br />The fact that R is invertible follows easily from the fact that the columns of A are linearly independent. Since R is clearly upper triangular, its nonnegative diagonals entries must be positive.
</p>



<p class="Subtitle">
 Questions
</p>



<p class="Subsubsection">
 number of eigen values
</p>



<p class="Text">
 What is the relation between a given square (real) matrix and the number of (real) eigen values it has? (I suppose if complex numbers and multiplicity are counted, then it's always the same as the dimension of the matrix?)
</p>



<p class="Text">
 <span style='color: #FF0000;'>prove or study: The set of eigenvectors always spans row space?</span>
</p>



<p class="Text">
 Suppose A is a n &times; n matrix. I think that if we allow complex eigen values, then A always have n independent eigenvectors.
</p>



<p class="Subsubsection">
 characteristic polynomial
</p>



<p class="Text">
 What is the relation between characteristic polynomial and matrix without using determinants? i.e. I wish to see the connection of linear mapping and its characteristic polynomial, through aspects other than incomprehensible determinants or row reduction.
</p>



<p class='Text' style='background-color: #D9D9D9;'>
 From: Robin Chapman &lt;rjc@maths.ex.ac.uk&gt;<br />Newsgroups: sci.math<br />Subject: Re: matrix and its polynomial<br />Date: Wed, 24 Jun 1998 07:49:18 GMT<br />Organization: University of Exeter<br /><br />In article &lt;yo33ecvwu5a.fsf@shell13.ba.best.com&gt;,<br />&nbsp;&nbsp;Xah Lee &lt;xah@shell13.ba.best.com&gt; wrote:<br />&gt; * How to define the characteristic polynomial of a square matrix<br />&gt; without involving determinants?<br /><br />Let A be an n by n matrix over a field k. The characteristic polynomial of<br />is the product of (X - a_j)^(n_j) where the a_j are the distinct eigenvalues<br />of A over an algebraic closure of k, and n_j is the dimension of the<br />nullspace of (A - a_j I)^n.<br /><br />Robin Chapman&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+ &quot;They did not have proper<br />Department of Mathematics&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;palms at home in Exeter.&quot;<br />University of Exeter, EX4 4QE, UK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+<br />rjc@maths.exeter.ac.uk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;Peter Carey,<br />http://www.maths.ex.ac.uk/~rjc/rjc.html +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Oscar and Lucinda
</p>



<p class="Subsection">
 Relation between Null space and Column space
</p>



<p class="Text">
 There is a theorem in basic linear algebra that says:<br />&quot;Let A be an m &times; n matrix. Then the orthogonal complement of the row space of A is the nullspace of A.&quot;<br /><br />Is there a geometric insight that makes this apparant?
</p>



<p class="Subsection">
 Transposition as a linear function
</p>



<p class="Text">
 &bull; Is there a square matrix B such that B A==<span><span><math xmlns='http://www.w3.org/1998/Math/MathML'>
 <msup>
  <mi>A</mi>
  <mi>T</mi>
 </msup>
</math></span></span> for any square matrix A?<br />Partial Answer: It seems yes.<br />To Do: Prove this, and find a general formula for B given A.<br />&bull; Can we think of transposition of square matrices as one-to-one function for such matrices, and the fixed point of this function is all the identity matrices.<br />My Answer: Yes.
</p>



<p class="Subsection">
 vector space always a sub space?
</p>



<p class="Text">
 Is a vector space always a subspace of some vector space other than itself?<br />I think: A vector space may not be a subspace of some other vector space. For example: <span class="doublestruck">R</span>^3 is a vector space, but it is not a subspace of any other vector space, it is a subspace to itself only. Not True, because<br />&nbsp;&nbsp;&nbsp;&nbsp;<span class="doublestruck">R</span>^3 := {{a,b,c}| a, b, c are real numbers}. <br />We can defined another set <br />&nbsp;&nbsp;&nbsp;&nbsp;M := {{a,b,c}| a, b, c are complex numbers}, <br />thus it can be shown that <span class="doublestruck">R</span>^3 proper subset of M , and since (i think) M is a vector space, so after all <span class="doublestruck">R</span>^3 is a subspace of some other vector space.<br />Now, is M a subspace of some other vector space?<br />In general, maybe we can always concoct a vector space V, so that the given vector space is a subset of V, thus a subspace of V.<br /><br />To Do<br />Prove: Let A, M, N be matricies. Show that A M + A N==A (M + N).
</p>



<p class="Section">
 Coordinate permutation
</p>



<p class="Subsubsection">
 Coordinate permutation
</p>



<p class="Text">
 What kind of structural change occur to column vectors in a matrix during the process of row operation? Perhaps write a mma program illustrating this for 2D and 3D vectors.
</p>



<p class="Text">
 1998/03/19.<br />Suppose we have a point with coordinates {a,b,c}. Now there are six permutations of its coordinate. If we connect all six points to each other, what kind of shape will it form? Especially consider a moving point. The problem can be generalized to higher dimesions.
</p>



<p class="Text">
 I thought of it when studying linear algebra, on the paragraph that says &quot;row operations does not change the linear dependence of the original's column vectors&quot;.
</p>



<p class="Subsubsection">
 Solution
</p>



<p class="Text">
 Some experiments with mma graphics shows that they are in general a six sided regular polygon lying on a plane, and the polygon has symmetry of that an equiangular triangle.<br /><br />After thinking, here's my conclusion:<br />In the 2D analogous problem, the line x==y acts like a mirror. Similarly, the 3D problem have 3 planes that are mirrors. Each plane is the symmetric plane between any two axes. If a point does not lie in one of these planes, then it will be reflected and results 6 points. The 6 points form a hexagon centered on the line x==y==z and orthogonal to it, and it has symmetry of that an equiangular triangle. If we start with two or more points in 3D, then I imagine the result shape would be a prism-shaped in general, with both ends that of a hexagon. So it isn't very interesting. Before this, I thought the answer is some projection of higher dimension objects.
</p>



<p class="Input">
 <img src="HTMLFiles/linearAlgebraNotes_3.gif" alt="linearAlgebraNotes_3.gif" width="534" height="63" style="vertical-align:middle" />
</p>

<p class="Input">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>GLShow</mi>
   <mo>[</mo>
   <mrow>
    <mrow>
     <mi>Graphics3D</mi>
     <mo>[</mo>
     <mrow>
      <mo>{</mo>
      <mrow>
       <mrow>
        <mi>First</mi>
        <mo>@</mo>
        <mrow>
         <mi>Polyhedron</mi>
         <mo>[</mo>
         <mrow>
          <mi>Cube</mi>
          <mo>,</mo>
          <mrow>
           <mo>{</mo>
           <mrow>
            <mn>0</mn>
            <mo>,</mo>
            <mn>0</mn>
            <mo>,</mo>
            <mn>0</mn>
           </mrow>
           <mo>}</mo>
          </mrow>
          <mo>,</mo>
          <mn>0.2</mn>
         </mrow>
         <mo>]</mo>
        </mrow>
       </mrow>
       <mo>,</mo>
       <mrow>
        <mrow>
         <mo>(</mo>
         <mrow>
          <mrow>
           <mo>{</mo>
           <mrow>
            <mrow>
             <mrow>
              <mo>(</mo>
              <mrow>
               <mrow>
                <mi>First</mi>
                <mo>@</mo>
                <mrow>
                 <mi>Polyhedron</mi>
                 <mo>[</mo>
                 <mrow>
                  <mi>Tetrahedron</mi>
                  <mo>,</mo>
                  <mi>#</mi>
                  <mo>,</mo>
                  <mn>0.05</mn>
                 </mrow>
                 <mo>]</mo>
                </mrow>
               </mrow>
               <mo>&amp;</mo>
              </mrow>
              <mo>)</mo>
             </mrow>
             <mo>/@</mo>
             <mi>#1</mi>
            </mrow>
            <mo>,</mo>
            <mrow>
             <mrow>
              <mo>(</mo>
              <mrow>
               <mrow>
                <mi>Line</mi>
                <mo>[</mo>
                <mrow>
                 <mo>{</mo>
                 <mrow>
                  <mrow>
                   <mo>{</mo>
                   <mrow>
                    <mn>0</mn>
                    <mo>,</mo>
                    <mn>0</mn>
                    <mo>,</mo>
                    <mn>0</mn>
                   </mrow>
                   <mo>}</mo>
                  </mrow>
                  <mo>,</mo>
                  <mi>#1</mi>
                 </mrow>
                 <mo>}</mo>
                </mrow>
                <mo>]</mo>
               </mrow>
               <mo>&amp;</mo>
              </mrow>
              <mo>)</mo>
             </mrow>
             <mo>/@</mo>
             <mi>#1</mi>
            </mrow>
           </mrow>
           <mo>}</mo>
          </mrow>
          <mo>&amp;</mo>
         </mrow>
         <mo>)</mo>
        </mrow>
        <mo>@</mo>
        <mrow>
         <mi>Permutations</mi>
         <mo>@</mo>
         <mrow>
          <mi>Table</mi>
          <mo>[</mo>
          <mrow>
           <mrow>
            <mrow>
             <mi>If</mi>
             <mo>[</mo>
             <mrow>
              <mrow>
               <mrow>
                <mi>Random</mi>
                <mo>[</mo>
                <mo>]</mo>
               </mrow>
               <mo>&gt;</mo>
               <mtext>.5</mtext>
              </mrow>
              <mo>,</mo>
              <mn>1</mn>
              <mo>,</mo>
              <mrow>
               <mo>-</mo>
               <mn>1</mn>
              </mrow>
             </mrow>
             <mo>]</mo>
            </mrow>
            <mo>*</mo>
            <mrow>
             <mi>Random</mi>
             <mo>[</mo>
             <mo>]</mo>
            </mrow>
           </mrow>
           <mo>,</mo>
           <mrow>
            <mo>{</mo>
            <mn>3</mn>
            <mo>}</mo>
           </mrow>
          </mrow>
          <mo>]</mo>
         </mrow>
        </mrow>
       </mrow>
      </mrow>
      <mo>}</mo>
     </mrow>
     <mo>]</mo>
    </mrow>
    <mo>,</mo>
    <mrow>
     <mi>Axes</mi>
     <mo>-&gt;</mo>
     <mi>True</mi>
    </mrow>
    <mo>,</mo>
    <mrow>
     <mi>AxesLabel</mi>
     <mo>-&gt;</mo>
     <mrow>
      <mo>{</mo>
      <mrow>
       <ms>x</ms>
       <mo>,</mo>
       <ms>y</ms>
       <mo>,</mo>
       <ms>z</ms>
      </mrow>
      <mo>}</mo>
     </mrow>
    </mrow>
    <mo>,</mo>
    <mrow>
     <mi>PlotRange</mi>
     <mo>-&gt;</mo>
     <mrow>
      <mo>{</mo>
      <mrow>
       <mrow>
        <mo>{</mo>
        <mrow>
         <mrow>
          <mo>-</mo>
          <mn>1</mn>
         </mrow>
         <mo>,</mo>
         <mn>1</mn>
        </mrow>
        <mo>}</mo>
       </mrow>
       <mo>,</mo>
       <mrow>
        <mo>{</mo>
        <mrow>
         <mrow>
          <mo>-</mo>
          <mn>1</mn>
         </mrow>
         <mo>,</mo>
         <mn>1</mn>
        </mrow>
        <mo>}</mo>
       </mrow>
       <mo>,</mo>
       <mrow>
        <mo>{</mo>
        <mrow>
         <mrow>
          <mo>-</mo>
          <mn>1</mn>
         </mrow>
         <mo>,</mo>
         <mn>1</mn>
        </mrow>
        <mo>}</mo>
       </mrow>
      </mrow>
      <mo>}</mo>
     </mrow>
    </mrow>
    <mo>,</mo>
    <mrow>
     <mi>Ticks</mi>
     <mo>-&gt;</mo>
     <mi>None</mi>
    </mrow>
   </mrow>
   <mo>]</mo>
  </mrow>
  <mo>;</mo>
 </mrow>
</math>
</p>

<p class="Section">
 Geometry flavored questions
</p>



<p class="Subsection">
 characteristic of sense-reversing mapping
</p>



<p class="Text">
 Given A.x, how do we know that this mapping reverse sense?<br />A: probably by comparing a oriented triangle and its image.
</p>



<p class="Subsection">
 characteristics of one-to-one mapping
</p>



<p class="Text">
 Suppose we have a non-linear continuous mapping from R^n to R^m, with domain equal to R^n.<br />How can we tell whether this mapping is one-to-one?
</p>



<p class="Subsection">
 geometric view of linear mapping that has maximum number of eigenvalues
</p>



<p class="Text">
 Suppose A is an n by n square matrix.<br />Conjecture: A has maximum of n eigen values.<br />Conjecture: There exist an n by n matrix A with n eigen values, for any positive integer n &gt; 1.
</p>



<p class="Text">
 Question:<br />Suppose A is a matrix for a linear mapping from R^2 to R^2, with two eigenvalues. I am unable to see intuitively the geometry aspect of such mapping. <br />If A is an n by n matrix with n eigen values. This means that the transformation has n lines that act like fixedpoints. Take n=2 case. For example, the matrix {{3,-2},{1,0}} has two independent eigen vectors {{1,1},{2,1}} and they are not orthogonal.
</p>



<p class="Text">
 Answer: For the 2D case, view it as parallel projection of two planes in 3D. Similarly, higher dimension problem can be visualized using projection.
</p>



<p class="Input">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>Needs</mi>
   <mo>[</mo>
   <ms>Transform2DPlot`</ms>
   <mo>]</mo>
  </mrow>
  <mo>;</mo>
 </mrow>
</math>
</p>

<p class="Input">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>With</mi>
   <mo>[</mo>
   <mrow>
    <mrow>
     <mo>{</mo>
     <mrow>
      <mi>matrix</mi>
      <mo>=</mo>
      <mrow>
       <mrow>
        <mrow>
         <mo>{</mo>
         <mrow>
          <mrow>
           <mo>{</mo>
           <mrow>
            <mn>3</mn>
            <mo>,</mo>
            <mrow>
             <mo>-</mo>
             <mn>2</mn>
            </mrow>
           </mrow>
           <mo>}</mo>
          </mrow>
          <mo>,</mo>
          <mrow>
           <mo>{</mo>
           <mrow>
            <mn>1</mn>
            <mo>,</mo>
            <mn>0</mn>
           </mrow>
           <mo>}</mo>
          </mrow>
         </mrow>
         <mo>}</mo>
        </mrow>
        <mo>.</mo>
        <mrow>
         <mo>{</mo>
         <mrow>
          <mrow>
           <mo>{</mo>
           <mrow>
            <mrow>
             <mi>Cos</mi>
             <mo>@</mo>
             <mi>&alpha;</mi>
            </mrow>
            <mo>,</mo>
            <mrow>
             <mi>Cos</mi>
             <mo>[</mo>
             <mrow>
              <mrow>
               <mn>2</mn>
               <mo>*</mo>
               <mrow>
                <mi>Pi</mi>
                <mo>/</mo>
                <mn>4</mn>
               </mrow>
              </mrow>
              <mo>+</mo>
              <mi>&alpha;</mi>
             </mrow>
             <mo>]</mo>
            </mrow>
           </mrow>
           <mo>}</mo>
          </mrow>
          <mo>,</mo>
          <mrow>
           <mo>{</mo>
           <mrow>
            <mrow>
             <mi>Sin</mi>
             <mo>[</mo>
             <mi>&alpha;</mi>
             <mo>]</mo>
            </mrow>
            <mo>,</mo>
            <mrow>
             <mi>Sin</mi>
             <mo>[</mo>
             <mrow>
              <mrow>
               <mn>2</mn>
               <mo>*</mo>
               <mrow>
                <mi>Pi</mi>
                <mo>/</mo>
                <mn>4</mn>
               </mrow>
              </mrow>
              <mo>+</mo>
              <mi>&alpha;</mi>
             </mrow>
             <mo>]</mo>
            </mrow>
           </mrow>
           <mo>}</mo>
          </mrow>
         </mrow>
         <mo>}</mo>
        </mrow>
       </mrow>
       <mo>/.</mo>
       <mrow>
        <mi>&alpha;</mi>
        <mo>-&gt;</mo>
        <mrow>
         <mn>2</mn>
         <mo>*</mo>
         <mrow>
          <mi>Pi</mi>
          <mo>/</mo>
          <mn>4</mn>
         </mrow>
        </mrow>
       </mrow>
      </mrow>
     </mrow>
     <mo>}</mo>
    </mrow>
    <mo>,</mo>
    <mrow>
     <mi>Transform2DPlot</mi>
     <mo>[</mo>
     <mrow>
      <mrow>
       <mrow>
        <mi>matrix</mi>
        <mo>.</mo>
        <mrow>
         <mo>{</mo>
         <mrow>
          <mi>#1</mi>
          <mo>,</mo>
          <mi>#2</mi>
         </mrow>
         <mo>}</mo>
        </mrow>
       </mrow>
       <mo>&amp;</mo>
      </mrow>
      <mo>,</mo>
      <mrow>
       <mrow>
        <mo>{</mo>
        <mrow>
         <mrow>
          <mo>-</mo>
          <mn>1</mn>
         </mrow>
         <mo>,</mo>
         <mn>1</mn>
        </mrow>
        <mo>}</mo>
       </mrow>
       <mo>&InvisibleTimes;</mo>
       <mn>6</mn>
      </mrow>
      <mo>,</mo>
      <mrow>
       <mrow>
        <mo>{</mo>
        <mrow>
         <mrow>
          <mo>-</mo>
          <mn>1</mn>
         </mrow>
         <mo>,</mo>
         <mn>1</mn>
        </mrow>
        <mo>}</mo>
       </mrow>
       <mo>&InvisibleTimes;</mo>
       <mn>6</mn>
      </mrow>
      <mo>,</mo>
      <mrow>
       <mi>Prolog</mi>
       <mo>-&gt;</mo>
       <mrow>
        <mi>First</mi>
        <mo>@</mo>
        <mrow>
         <mi>Transform2DPlot</mi>
         <mo>[</mo>
         <mrow>
          <mrow>
           <mrow>
            <mo>{</mo>
            <mrow>
             <mi>#1</mi>
             <mo>,</mo>
             <mi>#2</mi>
            </mrow>
            <mo>}</mo>
           </mrow>
           <mo>&amp;</mo>
          </mrow>
          <mo>,</mo>
          <mrow>
           <mrow>
            <mo>{</mo>
            <mrow>
             <mrow>
              <mo>-</mo>
              <mn>1</mn>
             </mrow>
             <mo>,</mo>
             <mn>1</mn>
            </mrow>
            <mo>}</mo>
           </mrow>
           <mo>&InvisibleTimes;</mo>
           <mn>6</mn>
          </mrow>
          <mo>,</mo>
          <mrow>
           <mrow>
            <mo>{</mo>
            <mrow>
             <mrow>
              <mo>-</mo>
              <mn>1</mn>
             </mrow>
             <mo>,</mo>
             <mn>1</mn>
            </mrow>
            <mo>}</mo>
           </mrow>
           <mo>&InvisibleTimes;</mo>
           <mn>6</mn>
          </mrow>
          <mo>,</mo>
          <mrow>
           <mi>DisplayFunction</mi>
           <mo>-&gt;</mo>
           <mi>Identity</mi>
          </mrow>
         </mrow>
         <mo>]</mo>
        </mrow>
       </mrow>
      </mrow>
      <mo>,</mo>
      <mrow>
       <mi>Epilog</mi>
       <mo>-&gt;</mo>
       <mrow>
        <mo>{</mo>
        <mrow>
         <mrow>
          <mi>Hue</mi>
          <mo>[</mo>
          <mtext>.7</mtext>
          <mo>]</mo>
         </mrow>
         <mo>,</mo>
         <mrow>
          <mi>Line</mi>
          <mo>/@</mo>
          <mrow>
           <mi>Transpose</mi>
           <mo>@</mo>
           <mrow>
            <mrow>
             <mo>(</mo>
             <mrow>
              <mrow>
               <mn>6</mn>
               <mo>&InvisibleTimes;</mo>
               <mrow>
                <mo>{</mo>
                <mrow>
                 <mrow>
                  <mrow>
                   <mo>-</mo>
                   <mn>1</mn>
                  </mrow>
                  <mo>*</mo>
                  <mi>#</mi>
                 </mrow>
                 <mo>,</mo>
                 <mi>#</mi>
                </mrow>
                <mo>}</mo>
               </mrow>
              </mrow>
              <mo>&amp;</mo>
             </mrow>
             <mo>)</mo>
            </mrow>
            <mo>@</mo>
            <mrow>
             <mi>Eigenvectors</mi>
             <mo>@</mo>
             <mi>matrix</mi>
            </mrow>
           </mrow>
          </mrow>
         </mrow>
        </mrow>
        <mo>}</mo>
       </mrow>
      </mrow>
      <mo>,</mo>
      <mrow>
       <mi>PlotRange</mi>
       <mo>-&gt;</mo>
       <mrow>
        <mrow>
         <mo>{</mo>
         <mrow>
          <mrow>
           <mo>{</mo>
           <mrow>
            <mrow>
             <mo>-</mo>
             <mn>1</mn>
            </mrow>
            <mo>,</mo>
            <mn>1</mn>
           </mrow>
           <mo>}</mo>
          </mrow>
          <mo>,</mo>
          <mrow>
           <mo>{</mo>
           <mrow>
            <mrow>
             <mo>-</mo>
             <mn>1</mn>
            </mrow>
            <mo>,</mo>
            <mn>1</mn>
           </mrow>
           <mo>}</mo>
          </mrow>
         </mrow>
         <mo>}</mo>
        </mrow>
        <mo>&InvisibleTimes;</mo>
        <mn>7</mn>
       </mrow>
      </mrow>
     </mrow>
     <mo>]</mo>
    </mrow>
   </mrow>
   <mo>]</mo>
  </mrow>
  <mo>;</mo>
 </mrow>
</math>
</p>

<p class="Input">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>With</mi>
   <mo>[</mo>
   <mrow>
    <mrow>
     <mo>{</mo>
     <mrow>
      <mi>matrix</mi>
      <mo>=</mo>
      <mrow>
       <mrow>
        <mrow>
         <mo>{</mo>
         <mrow>
          <mrow>
           <mo>{</mo>
           <mrow>
            <mn>3</mn>
            <mo>,</mo>
            <mrow>
             <mo>-</mo>
             <mn>2</mn>
            </mrow>
           </mrow>
           <mo>}</mo>
          </mrow>
          <mo>,</mo>
          <mrow>
           <mo>{</mo>
           <mrow>
            <mn>1</mn>
            <mo>,</mo>
            <mn>0</mn>
           </mrow>
           <mo>}</mo>
          </mrow>
         </mrow>
         <mo>}</mo>
        </mrow>
        <mo>.</mo>
        <mrow>
         <mo>{</mo>
         <mrow>
          <mrow>
           <mo>{</mo>
           <mrow>
            <mrow>
             <mi>Cos</mi>
             <mo>@</mo>
             <mi>&alpha;</mi>
            </mrow>
            <mo>,</mo>
            <mrow>
             <mi>Cos</mi>
             <mo>[</mo>
             <mrow>
              <mrow>
               <mn>2</mn>
               <mo>*</mo>
               <mrow>
                <mi>Pi</mi>
                <mo>/</mo>
                <mn>4</mn>
               </mrow>
              </mrow>
              <mo>+</mo>
              <mi>&alpha;</mi>
             </mrow>
             <mo>]</mo>
            </mrow>
           </mrow>
           <mo>}</mo>
          </mrow>
          <mo>,</mo>
          <mrow>
           <mo>{</mo>
           <mrow>
            <mrow>
             <mi>Sin</mi>
             <mo>[</mo>
             <mi>&alpha;</mi>
             <mo>]</mo>
            </mrow>
            <mo>,</mo>
            <mrow>
             <mi>Sin</mi>
             <mo>[</mo>
             <mrow>
              <mrow>
               <mn>2</mn>
               <mo>*</mo>
               <mrow>
                <mi>Pi</mi>
                <mo>/</mo>
                <mn>4</mn>
               </mrow>
              </mrow>
              <mo>+</mo>
              <mi>&alpha;</mi>
             </mrow>
             <mo>]</mo>
            </mrow>
           </mrow>
           <mo>}</mo>
          </mrow>
         </mrow>
         <mo>}</mo>
        </mrow>
       </mrow>
       <mo>/.</mo>
       <mrow>
        <mi>&alpha;</mi>
        <mo>-&gt;</mo>
        <mrow>
         <mrow>
          <mo>-</mo>
          <mn>2</mn>
         </mrow>
         <mo>*</mo>
         <mrow>
          <mi>Pi</mi>
          <mo>/</mo>
          <mn>4</mn>
         </mrow>
        </mrow>
       </mrow>
      </mrow>
     </mrow>
     <mo>}</mo>
    </mrow>
    <mo>,</mo>
    <mrow>
     <mrow>
      <mo>(</mo>
      <mrow>
       <mrow>
        <mi>Transform2DGraphics</mi>
        <mo>[</mo>
        <mrow>
         <mi>#</mi>
         <mo>,</mo>
         <mrow>
          <mrow>
           <mi>matrix</mi>
           <mo>.</mo>
           <mrow>
            <mo>{</mo>
            <mrow>
             <mi>#1</mi>
             <mo>,</mo>
             <mi>#2</mi>
            </mrow>
            <mo>}</mo>
           </mrow>
          </mrow>
          <mo>&amp;</mo>
         </mrow>
         <mo>,</mo>
         <mrow>
          <mi>Prolog</mi>
          <mo>-&gt;</mo>
          <mi>#</mi>
         </mrow>
         <mo>,</mo>
         <mrow>
          <mi>Epilog</mi>
          <mo>-&gt;</mo>
          <mrow>
           <mo>{</mo>
           <mrow>
            <mrow>
             <mi>Hue</mi>
             <mo>[</mo>
             <mtext>.7</mtext>
             <mo>]</mo>
            </mrow>
            <mo>,</mo>
            <mrow>
             <mi>Line</mi>
             <mo>/@</mo>
             <mrow>
              <mi>Transpose</mi>
              <mo>@</mo>
              <mrow>
               <mrow>
                <mo>(</mo>
                <mrow>
                 <mrow>
                  <mn>6</mn>
                  <mo>&InvisibleTimes;</mo>
                  <mrow>
                   <mo>{</mo>
                   <mrow>
                    <mrow>
                     <mrow>
                      <mo>-</mo>
                      <mn>1</mn>
                     </mrow>
                     <mo>*</mo>
                     <mi>#</mi>
                    </mrow>
                    <mo>,</mo>
                    <mi>#</mi>
                   </mrow>
                   <mo>}</mo>
                  </mrow>
                 </mrow>
                 <mo>&amp;</mo>
                </mrow>
                <mo>)</mo>
               </mrow>
               <mo>@</mo>
               <mrow>
                <mi>Eigenvectors</mi>
                <mo>@</mo>
                <mi>matrix</mi>
               </mrow>
              </mrow>
             </mrow>
            </mrow>
           </mrow>
           <mo>}</mo>
          </mrow>
         </mrow>
         <mo>,</mo>
         <mrow>
          <mi>Axes</mi>
          <mo>-&gt;</mo>
          <mi>True</mi>
         </mrow>
         <mo>,</mo>
         <mrow>
          <mi>AspectRatio</mi>
          <mo>-&gt;</mo>
          <mi>Automatic</mi>
         </mrow>
         <mo>,</mo>
         <mrow>
          <mi>ResolutionLength</mi>
          <mo>-&gt;</mo>
          <mn>0.2</mn>
         </mrow>
        </mrow>
        <mo>]</mo>
       </mrow>
       <mo>&amp;</mo>
      </mrow>
      <mo>)</mo>
     </mrow>
     <mo>@</mo>
     <mrow>
      <mo>(</mo>
      <mrow>
       <mi>PolarGrid</mi>
       <mo>[</mo>
       <mrow>
        <mrow>
         <mo>{</mo>
         <mrow>
          <mn>0</mn>
          <mo>,</mo>
          <mtext> </mtext>
          <mn>6</mn>
          <mo>,</mo>
          <mtext> </mtext>
          <mtext>.1</mtext>
         </mrow>
         <mo>}</mo>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mo>{</mo>
         <mrow>
          <mn>1</mn>
          <mo>,</mo>
          <mn>2</mn>
          <mo>,</mo>
          <mtext>.1</mtext>
         </mrow>
         <mo>}</mo>
        </mrow>
        <mo>,</mo>
        <mtext> </mtext>
        <mrow>
         <mo>{</mo>
         <mrow>
          <mi>Hue</mi>
          <mo>,</mo>
          <mtext> </mtext>
          <mrow>
           <mrow>
            <mi>GrayLevel</mi>
            <mo>[</mo>
            <mrow>
             <mn>1</mn>
             <mo>-</mo>
             <mi>#</mi>
            </mrow>
            <mo>]</mo>
           </mrow>
           <mo>&amp;</mo>
          </mrow>
         </mrow>
         <mo>}</mo>
        </mrow>
       </mrow>
       <mo>]</mo>
      </mrow>
      <mo>)</mo>
     </mrow>
    </mrow>
   </mrow>
   <mo>]</mo>
  </mrow>
  <mo>;</mo>
 </mrow>
</math>
</p>

<p class="Subtitle">
 Typesetting Palette
</p>



<p class="Input">
 <math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mrow>
  <mrow>
   <mi>NotebookPut</mi>
   <mo>@</mo>
   <mrow>
    <mrow>
     <mo>(</mo>
     <mrow>
      <mrow>
       <mi>Notebook</mi>
       <mo>[</mo>
       <mrow>
        <mi>#1</mi>
        <mo>,</mo>
        <mrow>
         <mi>Active</mi>
         <mo>&rightarrow;</mo>
         <mi>True</mi>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>Background</mi>
         <mo>&rightarrow;</mo>
         <mrow>
          <mi>Hue</mi>
          <mo>[</mo>
          <mrow>
           <mn>0.18</mn>
           <mo>,</mo>
           <mtext>.5</mtext>
           <mo>,</mo>
           <mn>0.1</mn>
          </mrow>
          <mo>]</mo>
         </mrow>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>CellMargins</mi>
         <mo>&rightarrow;</mo>
         <mrow>
          <mo>{</mo>
          <mrow>
           <mrow>
            <mo>{</mo>
            <mrow>
             <mn>3</mn>
             <mo>,</mo>
             <mn>0</mn>
            </mrow>
            <mo>}</mo>
           </mrow>
           <mo>,</mo>
           <mrow>
            <mo>{</mo>
            <mrow>
             <mn>0</mn>
             <mo>,</mo>
             <mn>3</mn>
            </mrow>
            <mo>}</mo>
           </mrow>
          </mrow>
          <mo>}</mo>
         </mrow>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>CellOpen</mi>
         <mo>&rightarrow;</mo>
         <mi>True</mi>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>Editable</mi>
         <mo>&rightarrow;</mo>
         <mi>False</mi>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>ImageMargins</mi>
         <mo>&rightarrow;</mo>
         <mrow>
          <mo>{</mo>
          <mrow>
           <mrow>
            <mo>{</mo>
            <mrow>
             <mn>0</mn>
             <mo>,</mo>
             <mi>Inherited</mi>
            </mrow>
            <mo>}</mo>
           </mrow>
           <mo>,</mo>
           <mrow>
            <mo>{</mo>
            <mrow>
             <mi>Inherited</mi>
             <mo>,</mo>
             <mn>0</mn>
            </mrow>
            <mo>}</mo>
           </mrow>
          </mrow>
          <mo>}</mo>
         </mrow>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>Magnification</mi>
         <mo>&rightarrow;</mo>
         <mn>1</mn>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>PageWidth</mi>
         <mo>&rightarrow;</mo>
         <mi>WindowWidth</mi>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>ScrollingOptions</mi>
         <mo>&rightarrow;</mo>
         <mrow>
          <mo>{</mo>
          <mrow>
           <ms>PagewiseScrolling</ms>
           <mo>&rightarrow;</mo>
           <mi>True</mi>
          </mrow>
          <mo>}</mo>
         </mrow>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>ShowCellBracket</mi>
         <mo>&rightarrow;</mo>
         <mi>False</mi>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>ShowCellLabel</mi>
         <mo>&rightarrow;</mo>
         <mi>False</mi>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>ShowCellTags</mi>
         <mo>&rightarrow;</mo>
         <mi>False</mi>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>WindowClickSelect</mi>
         <mo>&rightarrow;</mo>
         <mi>False</mi>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>WindowElements</mi>
         <mo>&rightarrow;</mo>
         <mrow>
          <mo>{</mo>
          <mo>}</mo>
         </mrow>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>WindowFrame</mi>
         <mo>&rightarrow;</mo>
         <ms>Normal</ms>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>WindowFrameElements</mi>
         <mo>&rightarrow;</mo>
         <mrow>
          <mo>{</mo>
          <ms>CloseBox</ms>
          <mo>}</mo>
         </mrow>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>WindowMargins</mi>
         <mo>&rightarrow;</mo>
         <mrow>
          <mo>{</mo>
          <mrow>
           <mrow>
            <mo>{</mo>
            <mrow>
             <mi>Automatic</mi>
             <mo>,</mo>
             <mn>30</mn>
            </mrow>
            <mo>}</mo>
           </mrow>
           <mo>,</mo>
           <mrow>
            <mo>{</mo>
            <mrow>
             <mi>Automatic</mi>
             <mo>,</mo>
             <mn>5</mn>
            </mrow>
            <mo>}</mo>
           </mrow>
          </mrow>
          <mo>}</mo>
         </mrow>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>WindowSize</mi>
         <mo>&rightarrow;</mo>
         <mrow>
          <mo>{</mo>
          <mrow>
           <mi>Fit</mi>
           <mo>,</mo>
           <mn>410</mn>
          </mrow>
          <mo>}</mo>
         </mrow>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>WindowTitle</mi>
         <mo>&rightarrow;</mo>
         <mi>None</mi>
        </mrow>
        <mo>,</mo>
        <mrow>
         <mi>WindowToolbars</mi>
         <mo>&rightarrow;</mo>
         <mrow>
          <mo>{</mo>
          <mo>}</mo>
         </mrow>
        </mrow>
       </mrow>
       <mo>]</mo>
      </mrow>
      <mo>&amp;</mo>
     </mrow>
     <mo>)</mo>
    </mrow>
    <mo>@</mo>
    <mrow>
     <mrow>
      <mo>(</mo>
      <mrow>
       <mrow>
        <mrow>
         <mo>(</mo>
         <mrow>
          <mrow>
           <mi>Cell</mi>
           <mo>[</mo>
           <mrow>
            <mi>#1</mi>
            <mo>,</mo>
            <mrow>
             <mi>Active</mi>
             <mo>&rightarrow;</mo>
             <mi>True</mi>
            </mrow>
           </mrow>
           <mo>]</mo>
          </mrow>
          <mo>&amp;</mo>
         </mrow>
         <mo>)</mo>
        </mrow>
        <mo>/@</mo>
        <mi>#1</mi>
       </mrow>
       <mo>&amp;</mo>
      </mrow>
      <mo>)</mo>
     </mrow>
     <mo>@</mo>
     <mrow>
      <mo>{</mo>
      <mrow>
       <mrow>
        <mi>BoxData</mi>
        <mo>@</mo>
        <mrow>
         <mrow>
          <mo>(</mo>
          <mrow>
           <mrow>
            <mi>GridBox</mi>
            <mo>[</mo>
            <mrow>
             <mi>#1</mi>
             <mo>,</mo>
             <mrow>
              <mi>RowSpacings</mi>
              <mo>&rightarrow;</mo>
              <mn>0</mn>
             </mrow>
             <mo>,</mo>
             <mrow>
              <mi>ColumnSpacings</mi>
              <mo>&rightarrow;</mo>
              <mn>0</mn>
             </mrow>
            </mrow>
            <mo>]</mo>
           </mrow>
           <mo>&amp;</mo>
          </mrow>
          <mo>)</mo>
         </mrow>
         <mo>@</mo>
         <mrow>
          <mrow>
           <mo>(</mo>
           <mrow>
            <mrow>
             <mi>Partition</mi>
             <mo>[</mo>
             <mrow>
              <mi>#1</mi>
              <mo>,</mo>
              <mn>5</mn>
             </mrow>
             <mo>]</mo>
            </mrow>
            <mo>&amp;</mo>
           </mrow>
           <mo>)</mo>
          </mrow>
          <mo>@</mo>
          <mrow>
           <mo>(</mo>
           <mrow>
            <mi>ButtonBox</mi>
            <mo>/@</mo>
            <mrow>
             <mi>Join</mi>
             <mo>[</mo>
             <mrow>
              <mrow>
               <mo>(</mo>
               <mrow>
                <mrow>
                 <mo>(</mo>
                 <mrow>
                  <mrow>
                   <mi>OverscriptBox</mi>
                   <mo>[</mo>
                   <mrow>
                    <mi>#1</mi>
                    <mo>,</mo>
                    <ms>&RightVector;</ms>
                   </mrow>
                   <mo>]</mo>
                  </mrow>
                  <mo>&amp;</mo>
                 </mrow>
                 <mo>)</mo>
                </mrow>
                <mo>/@</mo>
                <mrow>
                 <mo>{</mo>
                 <mrow>
                  <ms>a</ms>
                  <mo>,</mo>
                  <ms>b</ms>
                  <mo>,</mo>
                  <ms>e</ms>
                  <mo>,</mo>
                  <ms>u</ms>
                  <mo>,</mo>
                  <ms>v</ms>
                  <mo>,</mo>
                  <ms>x</ms>
                  <mo>,</mo>
                  <ms>0</ms>
                  <mo>,</mo>
                  <ms>&#62760;</ms>
                 </mrow>
                 <mo>}</mo>
                </mrow>
               </mrow>
               <mo>)</mo>
              </mrow>
              <mo>,</mo>
              <mrow>
               <mo>{</mo>
               <mrow>
                <mrow>
                 <mi>SubscriptBox</mi>
                 <mo>[</mo>
                 <mrow>
                  <mrow>
                   <mi>OverscriptBox</mi>
                   <mo>[</mo>
                   <mrow>
                    <ms>&#62760;</ms>
                    <mo>,</mo>
                    <ms>&RightVector;</ms>
                   </mrow>
                   <mo>]</mo>
                  </mrow>
                  <mo>,</mo>
                  <ms>&#62760;</ms>
                 </mrow>
                 <mo>]</mo>
                </mrow>
                <mo>,</mo>
                <ms>&lambda;</ms>
                <mo>,</mo>
                <ms>B</ms>
                <mo>,</mo>
                <ms>c</ms>
                <mo>,</mo>
                <ms>&RightTeeArrow;</ms>
                <mo>,</mo>
                <mrow>
                 <mi>SuperscriptBox</mi>
                 <mo>[</mo>
                 <mrow>
                  <ms>R</ms>
                  <mo>,</mo>
                  <mtext> </mtext>
                  <ms>n</ms>
                 </mrow>
                 <mo>]</mo>
                </mrow>
                <mo>,</mo>
                <mrow>
                 <mi>SuperscriptBox</mi>
                 <mo>[</mo>
                 <mrow>
                  <ms>R</ms>
                  <mo>,</mo>
                  <mtext> </mtext>
                  <ms>m</ms>
                 </mrow>
                 <mo>]</mo>
                </mrow>
                <mo>,</mo>
                <mrow>
                 <mi>SubscriptBox</mi>
                 <mo>[</mo>
                 <mrow>
                  <ms>&#62760;</ms>
                  <mo>,</mo>
                  <ms>&#62760;</ms>
                 </mrow>
                 <mo>]</mo>
                </mrow>
                <mo>,</mo>
                <mrow>
                 <mi>SubscriptBox</mi>
                 <mo>[</mo>
                 <mrow>
                  <mrow>
                   <mi>RowBox</mi>
                   <mo>[</mo>
                   <mrow>
                    <mo>{</mo>
                    <mrow>
                     <ms>{</ms>
                     <mo>,</mo>
                     <mrow>
                      <mi>OverscriptBox</mi>
                      <mo>[</mo>
                      <mrow>
                       <ms>x</ms>
                       <mo>,</mo>
                       <ms>&RightVector;</ms>
                      </mrow>
                      <mo>]</mo>
                     </mrow>
                     <mo>,</mo>
                     <ms>}</ms>
                    </mrow>
                    <mo>}</mo>
                   </mrow>
                   <mo>]</mo>
                  </mrow>
                  <mo>,</mo>
                  <ms>B</ms>
                 </mrow>
                 <mo>]</mo>
                </mrow>
               </mrow>
               <mo>}</mo>
              </mrow>
              <mo>,</mo>
              <mrow>
               <mi>Table</mi>
               <mo>[</mo>
               <mrow>
                <ms>&ThinSpace;</ms>
                <mo>,</mo>
                <mrow>
                 <mo>{</mo>
                 <mn>5</mn>
                 <mo>}</mo>
                </mrow>
               </mrow>
               <mo>]</mo>
              </mrow>
             </mrow>
             <mo>]</mo>
            </mrow>
           </mrow>
           <mo>)</mo>
          </mrow>
         </mrow>
        </mrow>
       </mrow>
       <mo>,</mo>
       <mrow>
        <mi>BoxData</mi>
        <mo>@</mo>
        <mrow>
         <mrow>
          <mo>(</mo>
          <mrow>
           <mrow>
            <mi>GridBox</mi>
            <mo>[</mo>
            <mrow>
             <mi>#1</mi>
             <mo>,</mo>
             <mrow>
              <mi>RowSpacings</mi>
              <mo>&rightarrow;</mo>
              <mn>0</mn>
             </mrow>
            </mrow>
            <mo>]</mo>
           </mrow>
           <mo>&amp;</mo>
          </mrow>
          <mo>)</mo>
         </mrow>
         <mo>@</mo>
         <mrow>
          <mo>(</mo>
          <mrow>
           <mrow>
            <mo>(</mo>
            <mrow>
             <mrow>
              <mi>List</mi>
              <mo>@</mo>
              <mrow>
               <mi>ButtonBox</mi>
               <mo>@</mo>
               <mrow>
                <mi>RowBox</mi>
                <mo>@</mo>
                <mrow>
                 <mi>List</mi>
                 <mo>@</mo>
                 <mrow>
                  <mi>RowBox</mi>
                  <mo>@</mo>
                  <mrow>
                   <mo>{</mo>
                   <mrow>
                    <mrow>
                     <mi>SubscriptBox</mi>
                     <mo>[</mo>
                     <mrow>
                      <mi>#</mi>
                      <mo>,</mo>
                      <ms>1</ms>
                     </mrow>
                     <mo>]</mo>
                    </mrow>
                    <mo>,</mo>
                    <ms>,</ms>
                    <mo>,</mo>
                    <ms>...</ms>
                    <mo>,</mo>
                    <ms>,</ms>
                    <mo>,</mo>
                    <mrow>
                     <mi>SubscriptBox</mi>
                     <mo>[</mo>
                     <mrow>
                      <mi>#</mi>
                      <mo>,</mo>
                      <ms>n</ms>
                     </mrow>
                     <mo>]</mo>
                    </mrow>
                   </mrow>
                   <mo>}</mo>
                  </mrow>
                 </mrow>
                </mrow>
               </mrow>
              </mrow>
             </mrow>
             <mo>&amp;</mo>
            </mrow>
            <mo>)</mo>
           </mrow>
           <mo>/@</mo>
           <mrow>
            <mo>{</mo>
            <mrow>
             <ms>a</ms>
             <mo>,</mo>
             <ms>c</ms>
             <mo>,</mo>
             <ms>x</ms>
             <mo>,</mo>
             <ms>&#62760;</ms>
            </mrow>
            <mo>}</mo>
           </mrow>
          </mrow>
          <mo>)</mo>
         </mrow>
        </mrow>
       </mrow>
       <mo>,</mo>
       <mrow>
        <mi>BoxData</mi>
        <mo>@</mo>
        <mrow>
         <mrow>
          <mo>(</mo>
          <mrow>
           <mrow>
            <mi>GridBox</mi>
            <mo>[</mo>
            <mrow>
             <mi>#1</mi>
             <mo>,</mo>
             <mrow>
              <mi>RowSpacings</mi>
              <mo>&rightarrow;</mo>
              <mn>0</mn>
             </mrow>
            </mrow>
            <mo>]</mo>
           </mrow>
           <mo>&amp;</mo>
          </mrow>
          <mo>)</mo>
         </mrow>
         <mo>@</mo>
         <mrow>
          <mo>(</mo>
          <mrow>
           <mrow>
            <mo>(</mo>
            <mrow>
             <mrow>
              <mi>List</mi>
              <mo>@</mo>
              <mrow>
               <mi>ButtonBox</mi>
               <mo>@</mo>
               <mrow>
                <mi>RowBox</mi>
                <mo>@</mo>
                <mrow>
                 <mo>{</mo>
                 <mrow>
                  <ms>{</ms>
                  <mo>,</mo>
                  <mrow>
                   <mi>RowBox</mi>
                   <mo>[</mo>
                   <mrow>
                    <mo>{</mo>
                    <mrow>
                     <mrow>
                      <mi>SubscriptBox</mi>
                      <mo>[</mo>
                      <mrow>
                       <mrow>
                        <mi>OverscriptBox</mi>
                        <mo>[</mo>
                        <mrow>
                         <mi>#1</mi>
                         <mo>,</mo>
                         <ms>&RightVector;</ms>
                        </mrow>
                        <mo>]</mo>
                       </mrow>
                       <mo>,</mo>
                       <ms>1</ms>
                      </mrow>
                      <mo>]</mo>
                     </mrow>
                     <mo>,</mo>
                     <ms>,</ms>
                     <mo>,</mo>
                     <ms>...</ms>
                     <mo>,</mo>
                     <ms>,</ms>
                     <mo>,</mo>
                     <mrow>
                      <mi>SubscriptBox</mi>
                      <mo>[</mo>
                      <mrow>
                       <mrow>
                        <mi>OverscriptBox</mi>
                        <mo>[</mo>
                        <mrow>
                         <mi>#1</mi>
                         <mo>,</mo>
                         <ms>&RightVector;</ms>
                        </mrow>
                        <mo>]</mo>
                       </mrow>
                       <mo>,</mo>
                       <ms>n</ms>
                      </mrow>
                      <mo>]</mo>
                     </mrow>
                    </mrow>
                    <mo>}</mo>
                   </mrow>
                   <mo>]</mo>
                  </mrow>
                  <mo>,</mo>
                  <ms>}</ms>
                 </mrow>
                 <mo>}</mo>
                </mrow>
               </mrow>
              </mrow>
             </mrow>
             <mo>&amp;</mo>
            </mrow>
            <mo>)</mo>
           </mrow>
           <mo>/@</mo>
           <mrow>
            <mo>{</mo>
            <mrow>
             <ms>a</ms>
             <mo>,</mo>
             <ms>b</ms>
             <mo>,</mo>
             <ms>v</ms>
             <mo>,</mo>
             <ms>&#62760;</ms>
            </mrow>
            <mo>}</mo>
           </mrow>
          </mrow>
          <mo>)</mo>
         </mrow>
        </mrow>
       </mrow>
       <mo>,</mo>
       <mrow>
        <mi>BoxData</mi>
        <mo>@</mo>
        <mrow>
         <mrow>
          <mo>(</mo>
          <mrow>
           <mrow>
            <mi>GridBox</mi>
            <mo>[</mo>
            <mrow>
             <mi>#1</mi>
             <mo>,</mo>
             <mrow>
              <mi>RowSpacings</mi>
              <mo>&rightarrow;</mo>
              <mn>0</mn>
             </mrow>
            </mrow>
            <mo>]</mo>
           </mrow>
           <mo>&amp;</mo>
          </mrow>
          <mo>)</mo>
         </mrow>
         <mo>@</mo>
         <mrow>
          <mi>MapThread</mi>
          <mo>[</mo>
          <mrow>
           <mrow>
            <mrow>
             <mi>List</mi>
             <mo>@</mo>
             <mrow>
              <mi>ButtonBox</mi>
              <mo>@</mo>
              <mrow>
               <mi>RowBox</mi>
               <mo>@</mo>
               <mrow>
                <mi>List</mi>
                <mo>@</mo>
                <mrow>
                 <mi>RowBox</mi>
                 <mo>@</mo>
                 <mrow>
                  <mo>{</mo>
                  <mrow>
                   <mrow>
                    <mi>SubscriptBox</mi>
                    <mo>[</mo>
                    <mrow>
                     <mi>#1</mi>
                     <mo>,</mo>
                     <ms>1</ms>
                    </mrow>
                    <mo>]</mo>
                   </mrow>
                   <mo>,</mo>
                   <mrow>
                    <mi>SubscriptBox</mi>
                    <mo>[</mo>
                    <mrow>
                     <mrow>
                      <mi>OverscriptBox</mi>
                      <mo>[</mo>
                      <mrow>
                       <mi>#2</mi>
                       <mo>,</mo>
                       <ms>&RightVector;</ms>
                      </mrow>
                      <mo>]</mo>
                     </mrow>
                     <mo>,</mo>
                     <ms>1</ms>
                    </mrow>
                    <mo>]</mo>
                   </mrow>
                   <mo>,</mo>
                   <ms>+</ms>
                   <mo>,</mo>
                   <ms>...</ms>
                   <mo>,</mo>
                   <ms>+</ms>
                   <mo>,</mo>
                   <mrow>
                    <mi>SubscriptBox</mi>
                    <mo>[</mo>
                    <mrow>
                     <mi>#1</mi>
                     <mo>,</mo>
                     <ms>n</ms>
                    </mrow>
                    <mo>]</mo>
                   </mrow>
                   <mo>,</mo>
                   <mrow>
                    <mi>SubscriptBox</mi>
                    <mo>[</mo>
                    <mrow>
                     <mrow>
                      <mi>OverscriptBox</mi>
                      <mo>[</mo>
                      <mrow>
                       <mi>#2</mi>
                       <mo>,</mo>
                       <ms>&RightVector;</ms>
                      </mrow>
                      <mo>]</mo>
                     </mrow>
                     <mo>,</mo>
                     <ms>n</ms>
                    </mrow>
                    <mo>]</mo>
                   </mrow>
                  </mrow>
                  <mo>}</mo>
                 </mrow>
                </mrow>
               </mrow>
              </mrow>
             </mrow>
            </mrow>
            <mo>&amp;</mo>
           </mrow>
           <mo>,</mo>
           <mrow>
            <mi>Transpose</mi>
            <mo>@</mo>
            <mrow>
             <mo>{</mo>
             <mrow>
              <mrow>
               <mo>{</mo>
               <mrow>
                <ms>x</ms>
                <mo>,</mo>
                <ms>a</ms>
               </mrow>
               <mo>}</mo>
              </mrow>
              <mo>,</mo>
              <mrow>
               <mo>{</mo>
               <mrow>
                <ms>c</ms>
                <mo>,</mo>
                <ms>v</ms>
               </mrow>
               <mo>}</mo>
              </mrow>
             </mrow>
             <mo>}</mo>
            </mrow>
           </mrow>
          </mrow>
          <mo>]</mo>
         </mrow>
        </mrow>
       </mrow>
       <mo>,</mo>
       <mrow>
        <mi>BoxData</mi>
        <mo>@</mo>
        <mrow>
         <mrow>
          <mo>(</mo>
          <mrow>
           <mrow>
            <mi>GridBox</mi>
            <mo>[</mo>
            <mrow>
             <mi>#1</mi>
             <mo>,</mo>
             <mrow>
              <mi>RowSpacings</mi>
              <mo>&rightarrow;</mo>
              <mn>0</mn>
             </mrow>
            </mrow>
            <mo>]</mo>
           </mrow>
           <mo>&amp;</mo>
          </mrow>
          <mo>)</mo>
         </mrow>
         <mo>@</mo>
         <mrow>
          <mo>(</mo>
          <mrow>
           <mrow>
            <mo>(</mo>
            <mrow>
             <mrow>
              <mi>List</mi>
              <mo>@</mo>
              <mrow>
               <mi>ButtonBox</mi>
               <mo>@</mo>
               <mi>#</mi>
              </mrow>
             </mrow>
             <mo>&amp;</mo>
            </mrow>
            <mo>)</mo>
           </mrow>
           <mo>/@</mo>
           <mrow>
            <mo>{</mo>
            <mrow>
             <mrow>
              <mi>RowBox</mi>
              <mo>[</mo>
              <mrow>
               <mo>{</mo>
               <mrow>
                <mrow>
                 <mi>SuperscriptBox</mi>
                 <mo>[</mo>
                 <mrow>
                  <ms>R</ms>
                  <mo>,</mo>
                  <ms>n</ms>
                 </mrow>
                 <mo>]</mo>
                </mrow>
                <mo>,</mo>
                <ms>&rightarrow;</ms>
                <mo>,</mo>
                <mrow>
                 <mi>SuperscriptBox</mi>
                 <mo>[</mo>
                 <mrow>
                  <ms>R</ms>
                  <mo>,</mo>
                  <ms>m</ms>
                 </mrow>
                 <mo>]</mo>
                </mrow>
               </mrow>
               <mo>}</mo>
              </mrow>
              <mo>]</mo>
             </mrow>
             <mo>,</mo>
             <mrow>
              <mi>RowBox</mi>
              <mo>@</mo>
              <mrow>
               <mo>{</mo>
               <mrow>
                <mrow>
                 <mi>RowBox</mi>
                 <mo>[</mo>
                 <mrow>
                  <mo>{</mo>
                  <mrow>
                   <ms>A</ms>
                   <mo>,</mo>
                   <mrow>
                    <mi>OverscriptBox</mi>
                    <mo>[</mo>
                    <mrow>
                     <ms>x</ms>
                     <mo>,</mo>
                     <ms>&RightVector;</ms>
                    </mrow>
                    <mo>]</mo>
                   </mrow>
                  </mrow>
                  <mo>}</mo>
                 </mrow>
                 <mo>]</mo>
                </mrow>
                <mo>,</mo>
                <ms>&Equal;</ms>
                <mo>,</mo>
                <mrow>
                 <mi>OverscriptBox</mi>
                 <mo>[</mo>
                 <mrow>
                  <ms>b</ms>
                  <mo>,</mo>
                  <ms>&RightVector;</ms>
                 </mrow>
                 <mo>]</mo>
                </mrow>
               </mrow>
               <mo>}</mo>
              </mrow>
             </mrow>
             <mo>,</mo>
             <mrow>
              <mi>RowBox</mi>
              <mo>[</mo>
              <mrow>
               <mo>{</mo>
               <mrow>
                <mrow>
                 <mi>OverscriptBox</mi>
                 <mo>[</mo>
                 <mrow>
                  <mi>u</mi>
                  <mo>,</mo>
                  <ms>&RightVector;</ms>
                 </mrow>
                 <mo>]</mo>
                </mrow>
                <mo>,</mo>
                <ms>+</ms>
                <mo>,</mo>
                <mrow>
                 <mi>OverscriptBox</mi>
                 <mo>[</mo>
                 <mrow>
                  <mi>v</mi>
                  <mo>,</mo>
                  <ms>&RightVector;</ms>
                 </mrow>
                 <mo>]</mo>
                </mrow>
               </mrow>
               <mo>}</mo>
              </mrow>
              <mo>]</mo>
             </mrow>
             <mo>,</mo>
             <mrow>
              <mi>RowBox</mi>
              <mo>[</mo>
              <mrow>
               <mo>{</mo>
               <mrow>
                <mrow>
                 <mi>UnderoverscriptBox</mi>
                 <mo>[</mo>
                 <mrow>
                  <ms>&Sum;</ms>
                  <mo>,</mo>
                  <mrow>
                   <mi>RowBox</mi>
                   <mo>[</mo>
                   <mrow>
                    <mo>{</mo>
                    <mrow>
                     <ms>i</ms>
                     <mo>,</mo>
                     <ms>=</ms>
                     <mo>,</mo>
                     <ms>1</ms>
                    </mrow>
                    <mo>}</mo>
                   </mrow>
                   <mo>]</mo>
                  </mrow>
                  <mo>,</mo>
                  <ms>&#62760;</ms>
                 </mrow>
                 <mo>]</mo>
                </mrow>
                <mo>,</mo>
                <mrow>
                 <mi>RowBox</mi>
                 <mo>[</mo>
                 <mrow>
                  <mo>{</mo>
                  <mrow>
                   <mrow>
                    <mi>SubscriptBox</mi>
                    <mo>[</mo>
                    <mrow>
                     <ms>&#62760;</ms>
                     <mo>,</mo>
                     <ms>i</ms>
                    </mrow>
                    <mo>]</mo>
                   </mrow>
                   <mo>,</mo>
                   <ms> </ms>
                   <mo>,</mo>
                   <mrow>
                    <mi>SubscriptBox</mi>
                    <mo>[</mo>
                    <mrow>
                     <mrow>
                      <mi>OverscriptBox</mi>
                      <mo>[</mo>
                      <mrow>
                       <ms>&#62760;</ms>
                       <mo>,</mo>
                       <ms>&RightVector;</ms>
                      </mrow>
                      <mo>]</mo>
                     </mrow>
                     <mo>,</mo>
                     <ms>i</ms>
                    </mrow>
                    <mo>]</mo>
                   </mrow>
                  </mrow>
                  <mo>}</mo>
                 </mrow>
                 <mo>]</mo>
                </mrow>
               </mrow>
               <mo>}</mo>
              </mrow>
              <mo>]</mo>
             </mrow>
            </mrow>
            <mo>}</mo>
           </mrow>
          </mrow>
          <mo>)</mo>
         </mrow>
        </mrow>
       </mrow>
      </mrow>
      <mo>}</mo>
     </mrow>
    </mrow>
   </mrow>
  </mrow>
  <mo>;</mo>
 </mrow>
</math>
</p>




<div style="font-family:Helvetica; font-size:11px; width:100%; border:1px none #999999; border-top-style:solid; padding-top:2px; margin-top:20px;">
 <a href="http://www.wolfram.com/products/mathematica/" style="color:#000; text-decoration:none;">
  <img src="HTMLFiles/spikeyIcon.jpg" alt="Spikey" width="20" height="21" style="padding-right:2px; border:0px solid white; vertical-align:middle;" />
  <span style="color:#555555">Created with</span> Wolfram <span style="font-style: italic;">Mathematica</span> 7.0
 </a>
</div>
</body>

</html>

