Will a function of 2nd degree always have maximum 2 roots?
For example: $$f(x) = x^2 - ln(x^2 +1) -1 $$
EDIT: More specific; if you have a function with $$k * x^2$$ where k is a real number, and this term is only added or subtracted to the function, not multiplied with any other term, does the function have maximum 2 roots?
No, take as an example $\sin x+0.01 x^2$, it has $6$ roots. Reducing the coefficient of the $x^2$ term will significantly increase the number of solutions. For instance, here is a plot of $\sin x+0.00001x^2$, see if you can count how many times it crosses the $x$-axis:
$\hspace{5mm}$