MATLAB Project: Matrix Inverses and Infinite Series Name_______________________________
Purpose: To see examples for which the matrix series 23
ICC C++ + +… does converge to
1
()IC
−
− and examples for which it does not
Prerequisite: Section 2.6
MATLAB functions used: *, +, :, eye, for, end, format; and Laydata4 Toolbox
1. Use the matrix C which is defined in Exercise 13, Section 2.6. Type the following lines to get C and to
calculate 23 k
ICC C C++ + + +…for several values of k.
c2s6
13
Use the up arrow key ↑ to execute the sum line S=I+C*S repeatedly. Keep count as to how many times
the sum line is repeated and watch to see that this series does seem to converge. (The first time you
execute this line, you get SIC=+ ; the second time you get 2
SICC=+ + ; etc.) How many times must
you repeat it until the matrix S seems to stop changing, at least as far as what you see on the screen?
_________________
Definitions. The norm of a vector 12
(, , )
n
xx=x…is defined to be 22 2
12 n
xx=++x…. For example, if
x = [-4 2 –2 1], then ||x|| = 5. Clearly, the norm is a way to measure the size of a vector, and it is reasonable
to call a vector small if its norm is small. Notice that when a vector has only 2 or 3 entries, this is the same
definition of length you saw in analytic geometry.
2. If we had ( )ICSI−=, then S would be the multiplicative inverse for ( )IC−. Since we are dealing
with approximations, the question becomes, “Is S close enough to 1
()IC
−
−?” One way to check whether