I have this statement:
Find the range of $$\frac{2x}{x^2 + 1} = f(x)$$
I know that to get the range, I need to write the function in terms of $x$, that is:
$yx^2 - 2x+y=0 \to x = \frac{-1 \pm\sqrt{-y^2 + 1}}{y}$, then the solutions are $(-y^2 +1) \geq 0$ and $y \neq 0$, therefore the range is: $[-1, 0) \cup(0, 1].$ But according to the guide it’s equal to $[-1, 1]$, and why include the $0$ ? I think that if $y = 0$, the expression is indeterminate. So, what is wrong with my development?
Well, $0$ is in the range, $f(0) = 0$, so something is missing in your argument.
Do you recall in proving the quadratic formula, you divide both sides of the equation by the coefficient of the quadratic term? Division by zero is undefined. Normally, we apply the quadratic formula to actual quadratic polynomials. However, when the leading coefficient is a variable, it can be zero or not depending on the value of the variable.
When you do the division in the quadratic formula with an expression that can be zero, you actually get a piecewise result: $$ x = \begin{cases} \frac{-1 \pm\sqrt{-y^2 + 1}}{y} ,& y \neq 0 \\ \frac{-y}{-2} ,& y = 0 \end{cases} \text{.} $$ Of course, the second case simplifies to $x = 0$ when $y = 0$.