Partial fraction integration with unclear roots

Let's look at a simple example like $\frac{1}{{x}^{3}+2x+1}$ here. We know that the denominator has a real root between $0$ and $-1$ (could go closer, but that's not the point). By the concept of slope of a cubic being always positive or always negative, now I need to turn it into ($ax+b/$quadratic$)+(1/$linear form$)$.. For that, I'm going to need that root. So, in general, like the case of cubic where the roots are hard to calculate (with non real ones being in pairs as per theory), is there another way to factorise the denominator into linear and quadratics, or do I need to find suitable substitutions to find the actual root of equation like in quadratic which is near about impossible during examination time? (I can take care of repeated roots and other fundamental things related to partial fractions.)

Let's look at a simple example like $\frac{1}{{x}^{3}+2x+1}$ here. We know that the denominator has a real root between $0$ and $-1$ (could go closer, but that's not the point). By the concept of slope of a cubic being always positive or always negative, now I need to turn it into ($ax+b/$quadratic$)+(1/$linear form$)$.. For that, I'm going to need that root. So, in general, like the case of cubic where the roots are hard to calculate (with non real ones being in pairs as per theory), is there another way to factorise the denominator into linear and quadratics, or do I need to find suitable substitutions to find the actual root of equation like in quadratic which is near about impossible during examination time? (I can take care of repeated roots and other fundamental things related to partial fractions.)