For Poisson equation with Dirichlet boundary conditions in 2 dimension: $$ -\Delta u=f, $$ using FDM (centered difference) or FEM discretization, we can obtain a SPD system of linear equations as follows: $$ Ax=b. $$ And if the step size is $h$, then the spectral condition number of matrix $A$ is $O(h^{-2})$.
A conclusion goes that "Given a positive constant $\alpha>0$, then matrix $\alpha I+A$ is well-conditioned". Why the addition of a positive term $\alpha$ to the main diagonal of matrix $A$ can improve the condition number of matrix $A$?
Because in my opinion, the new matrix condition number is
$$ \mathrm{cond}_2(\alpha I+A) = \frac{\alpha+\lambda_{\max}(A)}{\alpha+\lambda_{\min}(A)}>\frac{\lambda_{\max}(A)}{\lambda_{\min}(A)}=\mathrm{cond}_2(A). $$
But the numerical results contrast as follows:
clc;clear;
n=10;
A=gallery('poisson',n);
cond(full(A))
n=10;
A=gallery('poisson',n);
cond(full(A)+speye(n^2))
n=20;
A=gallery('poisson',n);
cond(full(A)+speye(n^2))
The numerical results as follows:
ans =
48.3742
ans =
7.6056
ans =
8.5723
As is seen, the condition number of $I+A$ is less than $A$ (48.3742 > 7.6056).
Furthermore, when the system size increases, the condition number almost do not increase (from 7.6056 to 8.5723), which seems that the condition number of matrix $\alpha I+A$ is independent on $h$. Why this happens? Does it really independent on step size $h$?