<s>[INST] How to find $a$ and $b$ given this limit if $f(x)=ax+b$? Question
Suppose $f(x)=ax+b$ and $\lim\limits_{x \to 25} \dfrac{\sqrt{x}-5}{f(x)}=\dfrac{1}{20}$.
Find $a$ and $b$.
Attempt
I figured out that
$\lim\limits_{x \to 25} \sqrt{x}-5=0\space$ but $0$ divided by any denominator will give $0.\quad$ So I do not know how to find $a$ and $b$ given the limit is $\dfrac{1}{20}$.
 [/INST] Following the hints in the comments, $ax+b$ must go to $0$ when $x$ goes to 25. So $$\lim_{x\to 25}ax+b=25a+b=0$$
That way the limt has the form of $0/0$:$$\lim_{x\to 25}\frac{\sqrt x-5}{f(x)}\to\frac 00$$
Since $25$ is a root of $ax+b$, we can write $$f(x)=a(x-25)=a(\sqrt x -5)\sqrt x+5)$$
It is equivalent of saying $b=-25a$.
To find $a$, we calculate the limit:
$$\lim_{x\to 25}\frac{\sqrt x-5}{f(x)}=\lim_{x\to 25}\frac{\sqrt x-5}{a(\sqrt x-5)(\sqrt x+5)}=\frac1{a(\sqrt{25}+5)}=\frac1{10a}=\frac1{20}$$
So $a=2$ and $b=-50$
</s>