Find the number of integer solutions of the inequality
Factor the numerator and denominator. The numerator is a difference of squares: . For the denominator, factor out the sign first: .
Rewrite with the leading minus sign pulled out. The inequality becomes , i.e. . Flipping the direction here is the step that most solutions get wrong.
List the critical values and exclusions. The numerator vanishes at (these are allowed, since the inequality is non-strict) and the denominator vanishes at and (these must be excluded). In increasing order the breakpoints are .
Build the sign chart. Testing one point in each interval: at the quotient is positive, on it is negative, on it is positive, on it is negative, and for it is positive. The inequality therefore holds on .
Collect the integers in those intervals. From : . From : . Note and are excluded and lies in a positive region, so neither is counted.
Count and spot-check. That is integers. Checking in the original: ; checking : ; checking : , correctly excluded.
Need to solve a different problem like this? Open the solver →