Having the function $f(x) =\frac{x^3+3x^2}{2x^2+4x}$, why it is not the same to analyze $\frac{x^2+3x}{2x+4}$, if it verifies $\frac{x^3+3x^2}{2x^2+4x}=\frac{x^2+3x}{2x+4}$ ? In this case, the first one has only one root, while the second one has another one in $0$.
In general, can a function be simplified before being analyzed? (I mean, find roots, continuity, maxima, and minima...)
The function under analysis can generally be simplified. But note that when you simplify, canceling top and bottom of the same fraction is only valid if you are not dividing by zero.