There was a multiple choices saying:
Find the value of $\bigl\lfloor x\bigr\rfloor+\bigl\lfloor x^2\bigr\rfloor+\bigl\lfloor x^3\bigr\rfloor+\bigl\lfloor x^4\bigr\rfloor$ knowing that $x^2+x<0$
The right answer is $-2$.
For solving this Maths test, I solved $x^2+x<0$ which is $(-1,0)$ and then find the value of each term of the sum.
My question is: Is there any approach more formal than I did? Thank you for your time.
- $\lfloor x\rfloor$ is floor$(x)$