If $f_n \to f$ uniformly, where $(f_n)$ and $f$ are positive functions on $(0,\infty)$, then is it true that $1/f_n \to 1/f$ uniformly on $(0,\infty)$? Solution: This was shown to be false by using the counterexample $f_n(x) = 1/x + 1/n, f(x) = 1/x$
My question is how does one construct a sequence of functions for these types of proofs where a counterexample is needed. Whenever I look at solutions, the counterexamples always make sense once seeing them but I'm not sure how to go about constructing one myself.
Thanks!
My approach would be the following one:
Finally, you have to verify that $1/f_n$ doesn't converge uniformly to $1/f$, which is clear if you consider $f_n(n)$.