$$ x^n-y^n $$
Hi I have a limit to calculate with this formula and I don't know where it belongs,I only know the binomial combination.Is this formula related to combinatorics?
$$\lim_{x \to 1} \frac {x^n-1}{x^m-1} $$
$$\lim_{x \to 1} \frac{x^n-1-n(x-1)}{(x-1)^2} $$
I have 2 limits and I do not understand where $x^n-y^n$ come from. I've searched my textbooks and I couldn't find anything about this.I know that this is special factoring but I haven't found a proof of this type. Can someone help me and explain to me how these 2 powers are related to special factoring ?
$$ x^n-y^n = (x-1)*(x^{n-1}+x^{n-2}+...+1) $$
$$ y^n=1 $$
How did this formula appeared? I don't understand this solution and this solution is related to the 2 limits!
$$x^n-y^n=(x-y)(x^{n-1}+x^{n-2}y+x^{n-3}y^2+\dots+y^{n-1})$$ (you can check it by expanding the right hand side: almost all terms cancel pairwise), hence $$x^n-1=(x-1)(x^{n-1}+x^{n-2}+x^{n-3}+\dots+1),$$ so that $$\lim_{x\to1}\frac{x^n-1}{x^m-1}=\lim_{x\to 1}\frac{x^{n-1}+x^{n-2}+\dots+1}{x^{m-1}+x^{m-2}+\dots+1}=\frac nm$$ (the special case $m=1$ will be used at the end of the calculation below), and $$\lim_{x\to1}\frac{x^n-1-n(x-1)}{(x-1)^2}=\lim_{x\to1}\frac{x^{n-1}+x^{n-2}+x^{n-3}+\dots+1-n}{x-1}$$ $$=\lim_{x\to1}\frac{x^{n-1}-1}{x-1}+\lim_{x\to1}\frac{x^{n-2}-1}{x-1}+\dots+\lim_{x\to1}\frac{1-1}{x-1}$$ $$=(n-1)+(n-2)+\dots+0=\frac{(n-1)n}2.$$