Consider an n dimensional linear system Ax=b, where A, x, and b are an n dimensional real coefficient matrix, an n dimensional real vector of unknowns, and an n dimensional real given vector, respectively.
Assume that A is not singular and b=0.
The vector norm and the matrix norm used in this problem are the 2-norm and the matrix norm corresponding to the 2-norm, respectively.
Answer the following questions.
(1) Answer the definition of the condition number of A.
(2) Suppose that x=0 is an approximate solution of the linear system.
Using the residual r=b−Ax and x, find a rank 1 matrix E which satisfies (A+E)x=b exactly.
(3) Consider the effect of inaccuracy δA of A. Namely, the linear system becomes
(A+δA)(x+δx)=b,
where δx is the effect on the solution vector x.
Assume that A+δA is not singular.
In addition, δA has nothing to do with E in the question (2).
By evaluating δx, prove that the relative inaccuracy of x is related to that of A by the inequality:
∥x+δx∥∥δx∥≤cond2(A)∥A∥∥δA∥,
where cond2(A) is the condition number of A.
(4) Prove that for any n dimensional real singular matrix B, the relation
∥A−B∥≥∥A−1∥1
is always satisfied. You may use the following fact: when an n dimensional real matrix C is singular, there is a non-zero real vector y such that Cy=0.
The matrix E=x^⊤x^rx^⊤ can be formed by taking the outer product of the vector r and the transpose of the vector x^ (x^⊤), and then dividing each element of the outer product by the scalar x^⊤x^. Here, x^⊤x^ is the inner product of the vector x^ with itself, representing the squared norm (sum of squares) of x^.
The matrix E=x^⊤x^rx^⊤ is a rank-1 matrix, and this can be explained simply as follows:
Outer product property: The matrix rx^⊤ is the outer product of two vectors, resulting in a matrix. An outer product matrix inherently has a rank of 1 because it can be expressed as the linear combination of the two generating vectors (r and x^).
Scalar division: Dividing each element of the matrix by the scalar x^⊤x^ (a single number) does not change the rank of the matrix, as scalar multiplication or division only scales the elements without affecting the linear dependencies.
Therefore, E is a rank-1 matrix because it is derived from the outer product of two vectors.
because matrix A is not singular, so inverse A−1 exist.
Now, take the norm both sides.
We are assuming that A+σA is not singular, so it has inverse and thus a norm:
When an n dimensional real matrix C is singular, there is a non-zero, real vector y such that Cy=0.
In particular, we can choose a unit vector y′=∥y∥y.
Let x∈nullspace(B) be a unit vector i.e. Bx=0 and ∥x∥=1.