Find the number of real roots of given equation. 
*

*$x^9+x^7+x^5+x^3+x+1=0$

*$x^3+x-1=0$


I know that the complex roots exist in pairs and also that the number of distinct roots has to do something with change in sign of the equation, but how?
How should i proceed in such type of questions?

Descartes' rule of signs.
To count the possible number of positive roots, count the number of sign changes in $f(x).$ That is, count the number of times the signs go from plus to minus or minus to plus between terms.
For the possible number of negative roots, count the number of sign changes in $f(-x).$ Evaluate the function at $-x$ by replacement, be mindful of powers, and do the same process.
For each of these two numbers, subtract $2$ repeatedly until you arrive at $1$ or $0$. This gives possible root combinations. So, if I ended up with a maximal number of $5$ positive roots and $4$ negative roots, I may have $5, 3,$ or $1$ positive roots and $4, 2, 0$ negative.
