I have to show that the language $L = \{ a^k b^k \mid k > 0 \}$ is not regular using the pumping lemma.
I have done the following:
Let $i \geq 1$
$$x = a^i b^i \in L$$
$$|x| = 2i \geq i $$
Let $x = uvw$ with $v \neq \varnothing$ and $|uv| \geq n$.
Then $v = a^k$ for $ k \geq 1$.
So $uv^2w = a^{i+k} b^i \notin L$.
Therefore the language is not regular.
Is this correct?? Or is there a better way to formulate it??
There are three different possibilities for $v$:
Your proof only covers case 1, but not the other cases.