When x approaches 1, find the limit of (x ^ n-1) / (x-1)

When x approaches 1, find the limit of (x ^ n-1) / (x-1)

(x^n-1)/(x-1)
=(x-1)[x^(n-1)+x^(n-2)+x^(n-3)+… +x³+x²+1]/(x-1)
=[x^(n-1)+x^(n-2)+x^(n-3)+… +x³+x²+1]
=1+1+1+...+1
=n