It is possible to slightly modify a compact operator such that it is no longer compact? In particular, I'm looking for explicit expressions for a compact operator and a non-compact operator that are very similar, but due to some minor difference one of them is compact but the other one isn't?
Edit: I am not sure of what notion of similarity would apply in this context. Along with an example I was hoping somebody could suggest what a suitable concept of similarity in this case?