The maximum possible number of real roots of equation is
Let
Then the number of change of sign in f(x) is 2 therefore f(x) can have at most two positive real roots.
now,
Then the number of change of sign is 1.
Hence f(x) can have at most one negative real root.
So that total possible number of real roots is 3.