Algebra · real student question

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

Question

Solve for xx:

(x+1)(x4)<0(x+1)(x-4)<0

Step-by-step solution

  1. Read the critical values straight off the factors. The expression is already factored, so it vanishes at x=1x=-1 and x=4x=4. These two points cut the number line into three intervals: (,1)(-\infty,-1), (1,4)(-1,4) and (4,)(4,\infty). A product can only change sign where one of its factors is zero, so the sign is constant inside each interval.

  2. Predict the answer from the shape. Expanding gives x23x4x^2-3x-4, an upward-opening parabola with roots 1-1 and 44. Such a curve lies below the axis only between its roots, so we already expect 1<x<4-1<x<4; the interval tests below confirm it.

  3. Test one convenient point per interval.

    x=2: (1)(6)=6>0,x=0: (1)(4)=4<0,x=5: (6)(1)=6>0x=-2:\ (-1)(-6)=6>0,\qquad x=0:\ (1)(-4)=-4<0,\qquad x=5:\ (6)(1)=6>0

    One point suffices per interval precisely because the sign cannot change inside it.

  4. Select the interval where the product is negative. Only the middle interval qualifies:

    1<x<4-1<x<4

    Structurally, this is where the two factors have opposite signs: x+1>0x+1>0 while x4<0x-4<0.

  5. Decide the endpoints. At x=1x=-1 and x=4x=4 the product equals 00, and 0<00<0 is false, so both endpoints are excluded. The solution set is the open interval

    x(1,4)x\in(-1,4)

    (Had the inequality been 0\le 0, the answer would be the closed interval [1,4][-1,4].)

Answer

1<x<4,x(1,4)-1<x<4,\qquad x\in(-1,4)

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