If $\lim_{x\to 2}\frac{f(x)-5}{x-2}=3$, then find $\lim_{x\to 2}f(x)$.
$\lim_{x\to 2}\frac{f(x)-5}{x-2}=3$
$\frac{\lim_{x\to 2}f(x)-\lim_{x\to 2}5}{\lim_{x\to 2}x-\lim_{x\to 2}2}=3$
$\lim_{x\to 2}f(x)=3(\lim_{x\to 2}x-\lim_{x\to 2}2)+\lim_{x\to 2}5=5$
However, the textbook uses another method by manipulating $\lim_{x\to 2}f(x)-5$ to make it equal to $0$. Is my method okay or should I follow their method?
Suposse that $\lim\limits_{x\to 2} \dfrac{f(x)-5}{x-2}$ exists. We know that $\lim\limits_{x\to 2} x-2$ exists (moreover, is equal to $0$), then, the product of the limits exists and is equal to $0$ because one of the limits is zero, i.e. $$\lim\limits_{x\to 2} \dfrac{f(x)-5}{x-2}(x-2)=\lim\limits_{x\to 2} f(x)-5=0$$Now, we know that $\lim\limits_{x\to 2} 5$ exists (in fact, is equal to 5), thus, the sum of the limits exists and is equal to 5 because one limit is zero and the other is constant:$$\lim\limits_{x\to 2} f(x)-5+5=\lim\limits_{x\to 2} f(x)=5$$