Take . For any Lagrangian embedding of into a symplectic four-manifold, the symplectic form identifies the normal bundle with . The self-intersection formula and the Euler characteristic give
up to the harmless orientation sign. If a smooth isotopy displaced , its final image would represent the same homology class but have intersection number zero with , a contradiction. This is the smooth non-displaceability from self-intersection.
For a compact ambient example, equip with . Its diagonal
is Lagrangian because the two summands cancel on , and the preceding argument shows that it is not smoothly displaceable.
Now and has rank . Write , so the pushforward of the fundamental class is
The self-intersection formula and the calculation of give
On the other hand, pulling back makes the left side . Integrating over gives
Since , cancellation yields
For a smooth projective algebraic curve , the normal bundle of its diagonal in is : on the diagonal the quotient of by the diagonal subbundle is identified with by taking the difference. The self-intersection formula therefore gives .