The temperature distribution in a metal rod given by the following function of the position $x \in \mathbb{R}$: $$T(x) = \frac{1 + 2x}{2 + x^2}$$
What is the maximal and minimal temperature in the metal rod?
$T'(x) = 0$ when $x = 1$ or $x = -2$. But I can't calculate the global maximum and global minimum because $T(x)$ does not belong to any intervals? Am I correct?
Thank you.
Many things become clearer when you graph the function.
\begin{align} \frac{d}{dx}\left(\frac{1 + 2x}{2 + x^2}\right) &= 0 \\ \dfrac{-2(x^2 + x - 2)}{(x^2+2)^2} &= 0 \\ x^2 + x - 2 &= 0 \\ (x+2)(x-1) &= 0 \\ x &\in \{-2, 1\} \end{align}
Note that $$\lim_{x \to \pm \infty} \frac{1 + 2x}{2 + x^2} = 0$$.
The max value is at $T(1)=1$ and the min value is at $T(-2)=-\dfrac 12.$