Let L = {anbn : n ≥ 0}
Assume L is regular. By the pumping lemma, there exists m ≥ 1 such that any string w ∈ L with |w| ≥ m can be written as w = xyz such that:
1. |xy| ≤ m
2. |y| ≥ 1
3. ∀i ≥ 0, xyiz ∈ L
Consider the string s = ambm where m is the pumping lemma constant. We can write s = xyz satisfying the properties above.
Since y must contain at least one symbol, pumping y up i times for i > 0 would yield a string not in L, since the number of a's and b's