It's well known that when the elements of an $n \times n$ matrix $A$ are chosen independently from e.g. $U[0,1]$ distributions, then with probability $1$ the matrix $A$ will be injective (indeed, invertible). Given the Hilbert space $L^2(\mathbb{R}^d)$, a Hilbert-Schmidt kernel $k \in L^2(\mathbb{R}^d \times \mathbb{R}^d)$ and the corresponding Hilbert Schmidt operator $T$ has a natural representation as an infinite matrix, 


$k(x,y) = \sum\_{i,j} \lambda\_{ij} e\_i(x) e\_j(y)$


$(Tf)(x) = \int f(y)k(x,y) \, \mathrm{d}y$


where $\sum\_{ij} \lambda\_{ij}^2 < \infty$ and $\{e\_i(x)\}$ is a (fixed) orthonormal basis of $L^2(\mathbb{R}^d)$. Suppose that the $\lambda\_{ij}$ are drawn independently from continuous distributions supported on $[0,\overline{\lambda}\_{ij}]$ where $\sum\_{ij} \overline{\lambda}\_{ij}^2 < \infty$. It seems to me that $T$ should generically (i.e. with probability $1$) be injective, noting that any inverse would not be bounded. This corresponds with any row of the infinite matrix $\{\lambda\_{ij}\}$ not being in the linear span of the other rows. I'm curious as to whether there has been any work in this direction? 


There was a similar question asked here, but that was more on constructing a specific ``random operator" along the lines above than proving that invertibility is common among them: [Is there a good notion of "random bounded linear map" on a separable Hilbert space?](https://mathoverflow.net/questions/166128/is-there-a-good-notion-of-random-bounded-linear-map-on-a-separable-hilbert-spa)



Are injective Hilbert Schmidt operators (measure theoretically) generic?
It depends on the distribution. For instance, if we restrict our attention to the case where $\lambda\_{ij}$ is uniform on $[0, \bar{\lambda}\_{ij}]$, then we can choose $\bar{\lambda}\_{ij}$ so as to make $T$ a.s. injective, but we can also chose them so that this is not the case.


By taking transposes, it's equivalent to ask whether $T$ has dense image.


For one direction, let's begin by seeing how to choose $\bar{\lambda}\_{ij}$ so that $e\_1$ is almost surely in the closure of the image. Let $a\_j$ be your favorite square-summable sequence of positive numbers, and set $\bar{\lambda}\_{1j} = a\_j$. Then select $\bar{\lambda}\_{ij}$, $i \ne 1$, so that for each $j$ we have $\sum\_{i=2}^\infty |\bar{\lambda}\_{ij}|^2 < \frac{1}{j} a\_j^2$. Generate a matrix $T$ with the resulting distribution. Almost surely, we have $\lambda\_{1j} \le \frac{1}{2} a\_j$ for infinitely many values of $j$. For such a $j$, we have $T(\lambda\_{1j}^{-1} e\_j) = e\_1 + \lambda\_{1j}^{-1} \sum\_{i=1}^\infty \lambda\_{ij} e\_i$, so 
$$\begin{align\*}\|T(\lambda\_{1j}^{-1} e\_j) - e\_1\|^2 &= \lambda\_{1j}^{-2} \sum\_{i=2}^\infty |\bar{\lambda}\_{ij}|^2\\ &\le \frac{1}{j} \lambda\_{1j}^{-2} a\_j^2 \\ &\le \frac{4}{j}\end{align\*}$$
Thus $e\_1$ is in the closure of the image. 


Now you can construct similar matrices for which $e\_2, e\_3, \dots$ are in the closure of the image, and shuffle together their columns so that the image of the resulting matrix contains the union of their images, and thus is dense.


In the other direction, choose $a\_j$ as before and set $\bar{\lambda}\_{j+1, j} = a\_j$. This matrix is going to look somewhat like a right shift. Choose another sequence $c\_j$ so small that $\prod\_{j=1}^\infty (1 - 3c\_j) > 0$, and choose $\bar{\lambda}\_{ij}$, $i \ne j+1$, so that $\sum\_{j=1}^\infty (c\_j a\_j)^{-1} \sum\_{i \ne j+1} |\bar{\lambda}\_{ij}|^2 \le 1$. Now by splitting up the matrix $T$ into the entries on and off the shifted diagonal, we can write
$$T = SUA + MCA$$ where $$\begin{align\*}A &= \operatorname{diag}(a\_1, a\_2, \dots) \\
C &= \operatorname{diag}(c\_1, c\_2, \dots) \\S &= \text{right shift} \\ U &= \operatorname{diag}(U\_1, U\_2, \dots), && U\_j \text{ iid } \mathrm{unif}(0,1) \\
\|M\| &\le \|M\|\_{HS}\le 1. \end{align\*}$$
The $c\_j$ were chosen so that with positive probability, we have $U\_j \ge 3c\_j$ for all $j$. On this event, for any vector $x$ we have $\|Ux\|^2 = \sum\_j |U\_j x\_j|^2 \ge \sum\_j |3 c\_j x\_j|^2 = (3 \|Cx\|)^2$. Since $S$ is an isometry, we have $\|SUAx\| = \|UAx\| \ge 3 \|CAx\|$. And $\|MCAx\| \le \|CAx\|$ since $\|M\| \le 1$. Hence $\|Tx\| \ge \|SUAx\| - \|MCAx\| \ge 2 \|CAx\|$ for any $x$.


On the other hand, we have $$|\langle Tx, e\_1 \rangle| = |\langle MCAx, e\_1\rangle| \le \|MCAx\| \le \|CAx\|.$$ Combining these gives $|\langle Tx, e\_1 \rangle| \le \frac{1}{2} \|Tx\|$ for all $x$. In particular, whenever $\|Tx \| = 1$ we have $\|Tx - e\_1\|^2 = 2 - 2 \langle Tx, e\_1 \rangle \ge 1$. So $e\_1$ is not in the closure of the range of $T$.


