 
 
 
 
 
   
 Next: About this document ...
Homework 1
Handed out September 9, 2011.  Due within the first 15 minutes of class September 22, 2011.
Note: You may discuss homework problems and general solution
strategies with classmates. However, you must write up the solutions
yourself, and document any and all resources
appropriately.1
- Problem 1.
- Derive a closed form solution for the following
summation using constructive induction assuming that  . .
 
 
 
 
- Problem 2.
- Prove by mathematical induction on 
 , where , where : :
 
 
 
 
- Problem 3.
- The product of two  matrices matrices is defined
to be the is defined
to be the matrix C  where matrix C  where
 
 
 
- a.
- Write pseudo code to multiply two nxn matices.
- b.
- Use a triple sum to count the number of
  multiplications.
- c.
- Simplify the summation.
- d.
- Use a triple sum to count the number of 
  additions.  Simplify the summation.
 
 
- Problem 4
- Consider a slightly different matrix multiplcation problem.
Assume that U is an  upper triangular matrix, where 
   the entries below the diagonal are always zero. That is, for upper triangular matrix, where 
   the entries below the diagonal are always zero. That is, for ,
the value of ,
the value of .  Assume that L is an .  Assume that L is an lower triangular matrix, in which the entries above the diagonal 
are all zero. That is, for lower triangular matrix, in which the entries above the diagonal 
are all zero. That is, for , the value of , the value of . .
 
- a.
- Write psuedo code to (efficiently) multiply an nxn upper triangular matrix, U,  by an nxn  lower triangular matrix, L.
- b.
- Use a triple sum to count the number of 
  multiplications.
- c.
- Simplify the summation.
- d.
- Use a triple sum to count the number of
  additions.  Simplify the summation.
 
 
 
 
 
 
 
   
 Next: About this document ...
MM Hugue
2011-09-15