I know that I can compute the limit $$ \lim_{x\to1}\frac{Nx^{N+1}-(N+1)x^N+1}{(x-1)^2}=\frac{N(N+1)}{2} $$ using L'Hospital's rule (not one but two times) but I am looking for other ways. Are there any of them?
p.s.: the limit follows from a shortcut used in order to find the value of $$ \sum_{k=1}^Nkx^k\Big|_{x=1}. $$
First shift the variable, $$ \lim_{x\to1}\frac{nx^{n+1}-(n+1)x^n+1}{(x-1)^2} =\lim_{x\to0}\frac{n(x+1)^{n+1}-(n+1)(x+1)^n+1}{x^2}, $$
then expand the numerator by means of the Binomial development.
The constant term is $n\displaystyle\binom{n+1}0-(n+1)\displaystyle\binom{n}0+1=0$.
The linear term is $n\displaystyle\binom{n+1}1x-(n+1)\displaystyle\binom{n}1x=0$.
The quadratic term is $n\displaystyle\binom{n+1}2x^2-(n+1)\displaystyle\binom{n}2x^2=\color{green}{\dfrac{n(n+1)}2}x^2$.
Higher order terms do not contribute.