|
Posted: 09/20/23
Due: 09/27/23, 11:59PM
At this point in the course homework has addressed:
Tools needed for scientific computation (number representation,
number approximation techniques, basic coding constructs, an
environment for method documentation and reproducible
computational experiments).
Discretization of continuous functions leads to finite-dimensional vectors that can often be approximated by linear combination of just a few of the basis vectors required for the entire space.
Large data sets, readily acquired from observations, can guide selection of vectors within a basis to obtain data compression or efficient data representation through linear combination.
Homework 4 reinforces analytical skills within the mathematical framework of finite-dimensional vector spaces used for the above topics. Such technical proficiency is just as important as efficient coding. The midterm examination verifies proficiency in such analytical skills
Note: The exercises below contain well-known results, but should be attempted individually and independently, without recourse to references. Simply looking up a proof and transcribing it will not aid understanding nor ensure good results on the midterm examination. If you do not obtain an exercise proof within 10 minutes reread the relevant theoretical material from the lecture notes and then try again for another 15 minutes.
Prove the parallelogram identity
for , with denoting the 2-norm.
Solution. .
Consider , a vector space with norm induced by a scalar product . Prove that . Is the converse true?
Solution. . Converse is also true:
Consider , . Prove that
is a norm. (Track 2: generalize above to )
Solution. Verify norm properties:
. . Consider now . Since is of full rank, is the only solution. Note that if , the above is not a norm.
. Compute: .
. When the standard Euclidean 2-norm is obtained. For of full rank for any there exist such that , and
Similarily , , hence it is sufficient to establish the triangle inequality for the 2-norm . Taking squares
so it remains to establish the last inequality (known as the Schwarz inequality). The Schwarz inequality can be established by asking: when is equality obtained in the triangle inequality? This occurs if are colinear, and suggest building the vector that becomes zero when are colinear. Calculate
from which , as desired.
Construct the matrix that represents the mapping , reflects a vector across the plane. Construct the matrix that represents the mapping , reflects a vector across the plane. Determine the mapping represented by .
Solution. Reflecting the point across the plane gives , hence
Note the block structure of . Since the first two components of are unchanged from those of , an identity matrix on these two components appears. Similarily
where is the reflection across the axis.
Prove that the inverse of a rank-1 perturbation of is itself a rank-1 perturbation of , namely
Determine the scalar .
Solution. Assume . By definition of an inverse
Note that in the product is a scalar, hence , and the above matrix equality becomes
For the above to be true for any choose such that
if . When would ? An example is in which case
has a column of zeros and is therefore singular.
Determine the rank of .
Solution. The inverse exists only if is square, and of full rank, hence . What is ? Recall that a matrix-vector product is a linear combination of the columns of , and the matrix-matrix product is simply a collection of matrix vector products
Now is of rank one, with colinear columns
Multiplying with gives
again with colinear columns such that . Deduce that .
Write the inverse as a rank-1 perturbation of .
Solution. Since is of rank one with , use
to obtain
Consider . Write as a rank-1 perturbation of .
Solution. Apply above results
For , prove .
Solution. By definition
with the index of the (not necessarily unique) maximal element. Then
since .
For , prove .
Solution. With above notations, , hence
For , prove .
Solution. By definition
For apply above results (1. and 2.) and to obtain
and establish the bound
for any , with the upper bound of the left hand side being , hence
For , prove .
Solution. For apply above results (1. and 2.)
for all including the one for which is attained, hence .
Prove the Minkowski inequality: for , , .
Solution. The Minkowski inequality results from the Hölder inequality, for =1,
for .
Construct the matrix that represents the mapping , rotates a vector around the axis by angle . Construct the matrix that represents the mapping , rotates a vector around the axis by angle .
Solution.
What do and represent?
Solution. Composite rotation in different order, first around then around , first around then around
Is true? Explain.
Solution. No, this is an example of non-commutative matrix multiplication. Counter-example , and