Algebra · real student question

Solve the inequality (2x + 1)/(x - 4) < 0.

Question

Solve the inequality

2x+1x4<0\frac{2x+1}{x-4}<0

Step-by-step solution

  1. Understand what makes a quotient negative. A fraction is negative exactly when its numerator and denominator have opposite signs. So instead of cross-multiplying — which is invalid, because x4x-4 changes sign — track the sign of each part separately.

  2. Find the critical points.

    2x+1=0x=12(numerator zero),x4=0x=4(denominator zero)2x+1=0\Rightarrow x=-\frac12\quad(\text{numerator zero}),\qquad x-4=0\Rightarrow x=4\quad(\text{denominator zero})

    The fraction can only change sign at these two values, so they split the line into (,12)\left(-\infty,-\tfrac12\right), (12,4)\left(-\tfrac12,4\right) and (4,)(4,\infty).

  3. Test one point in each interval. At x=1x=-1: 15=0.2>0\dfrac{-1}{-5}=0.2>0 (both negative). At x=0x=0: 14=0.25<0\dfrac{1}{-4}=-0.25<0 (signs differ). At x=5x=5: 111=11>0\dfrac{11}{1}=11>0 (both positive). Only the middle interval is negative.

  4. Handle both endpoints, which are excluded for different reasons. At x=12x=-\tfrac12 the fraction equals 00, and the inequality is strict (<0<0, not 0\le0), so 00 does not qualify. At x=4x=4 the fraction is undefined. Both ends are therefore open.

  5. State the solution.

    12<x<4,(12, 4)-\frac12<x<4,\qquad\left(-\frac12,\ 4\right)

    Unlike many rational inequalities, both brackets here happen to be open — but for two entirely different reasons, which is worth noticing.

  6. Verify with exact arithmetic. Evaluating the fraction with fractions (not floats) at 1200112001 rational points on [10,10][-10,10], skipping x=4x=4, the inequality holds at exactly the points of (12,4)\left(-\tfrac12,4\right) and nowhere else ✓.

Answer

12<x<4,(12, 4)-\frac12<x<4,\qquad\left(-\frac12,\ 4\right)

Need to solve a different problem like this? Open the solver →