

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Rensselaer Polytechnic Institute
(1) Do Review Question 2.52 in the text. You might want to illustrate with an example.
The 2-norm is much tougher to compute, For example, for the simple matrix
we have to maximize the square root of
||Ax||
2
||x|| 2
10 x
2 1 + 12x^1 x^2 + 4x
2 2
x 2 1
allowing all possible values of x. If one writes x 1 = cx 2 , then
10 c
2
c 2
and putting dR/dc = 0 leads to a quadratic equation whose root is c = (1 +
5)/ 2. Putting in this
value and taking the square root of R gives
(The MATLAB norm function confirms this value.) Compare that process with writing ||A|| 1 = 4,
done by inspection.)
(2) Do Review Question 2.57 in the text.
For the matrix given,
and A
the condition number using the 1 norm is
cond 1 (A) = 6 ×
Using the infinity norm,
cond∞(A) = 6 ×
Because the matrix is diagonal, the two norms are identical!
(3) Do Exercise 2.4 in the text.
(a) The determinant of this matrix is
det(A) = det
(^) − det
(^) + det
so the matrix IS singular.
(b) The augmented matrix is
which transforms to
The final row operation gives
The rank cannot be changed by row operations, and it is clear that the rank of the coefficient
matrix and the rank of the augmented matrix are both 2 , so there IS a solution, but n − r = 1, so
there is ONE arbitrary constant in the solution.
(4) What effect does multiplying a matrix by itself have on the condition number? Using the properties
of norms on page 55, show that
cond(A
2 ) ≤
cond(A)
From the norm inequalities given in the text, ||B
2 || ≤ ||B||||B||, and applying that result to both A and
its inverse,
cond(A
2 ) = ||A
2 || ||
− 1
2 ||A
− 1 ||
cond(A)
(5) An n-dimensional “Hilbert matrix” is given by
1 1 / 2 1 / 3... 1 /n
1 / 2 1 / 3 1 / 4... 1 /(n + 1)
1 / 3 1 / 4 1 / 5... 1 /(n + 2)
1 /n 1 /(n + 1) 1 /(n + 2)... 1 /(2n − 1)
Write a MATLAB m-file that
(a) Constructs an Hilbert matrix of arbitrary size, for a value of n obtained via an input statement
(DO NOT use the MATLAB command hilbert!!)
(b) Uses the MATLAB routine inv to compute A − 1 .
(c) Computes the condition number for that matrix using the ||A||∞ norm. (You will likely want to
use the MATLAB routine norm.)
What do submit–
Below is my m-file.
clear;
%Hilbert matrix computation
%Input
n=input(’N = ’);