In a (Partial Differential Equations / Laplace Equation) , I try to solving a problem of Laplace eq. by using separation of variables method.
I usually using the rule : if $e^{2 \sqrt{k} b} = 1$, then I have: $2\sqrt{k} b = 2ni\pi$.
Now in my problem I have : $e^{2 \sqrt{k}\pi} = 1$ Can I use the same rule which lead to cancel the $\pi$ ?
Yes, indeed: the result that you quote (after correcting the missing/surplus $2$) is true for all complex values of $b$, and so, if $e^{2\sqrt{k}\pi} = 1$, then you have $2\sqrt{k}\pi = 2ni\pi$, and hence $\sqrt{k} = ni$, for some integer $n$.