$\psi: \mathbb{R}$ → $\mathbb{R}$ is a continuous function such that $\lim_{x\to +∞} ψ(x) = +\infty $ and $\lim_{x\to -∞} ψ(x) =-\infty $
Decide if G: $\mathbb{R}$ → $\mathbb{R}$, $G(x) = \frac{ψ(x)}{1+ψ^2(x)}$ has a maximum and minimum or not.
Here's what I did: $\lim_{x\to +∞} G(x)$ = $\lim_{x\to +\infty} \frac{ψ(x)}{1+ψ^2(x)}$ = $\lim_{x\to +∞} \frac{1}{1/ψ(x)+ψ(x)}$ = $\frac{1}{+\infty} = 0$
For definition of limit, $\forall \delta \gt 0$ $\exists x \gt 0$ $\forall b \gt x $ $ |G(b)-0| \lt \delta \Leftrightarrow |G(b)| \lt \delta $
As such, in the interval $]x, +\infty[$ G has a maximum and a minimum.
In the closed and bounded interval $[0,x]$, since $G$ is continuous. Extreme value theorem says that $G$ has a maximum and a minimum.
Then I calculated the limit for $-\infty$, which was also $0$, and did the same thing for the interval $]-\infty, x[$ and $[x,0]$.
Is this correct?
I do have some criticisms/comments.
If it were me doing this question, I would first show $\psi$ is surjective, using the definition of limits to $\infty$ and the intermediate value theorem. Let $f(x) = \frac{x}{x^2 + 1}$. I would then compute the maximum and minimum of $f$ (which is $\pm 1/2$) Then $$\max_{x \in \mathbb{R}} f(x) = \max_{x \in \mathbb{R}}f(\psi(x)) = \frac{1}{2},$$ and similarly for the minimum.