Algebra · real student question

Solve the inequality x^2 - 4x - 5 < 0.

Question

Solve the inequality

x24x5<0x^{2}-4x-5<0

Step-by-step solution

  1. Factor the quadratic instead of guessing test points. Look for two numbers with product 5-5 and sum 4-4; the pair 5-5 and +1+1 works, so

    x24x5=(x5)(x+1)x^{2}-4x-5=(x-5)(x+1)

    Expanding back gives x2+x5x5=x24x5x^{2}+x-5x-5=x^{2}-4x-5 ✓, and the identity was confirmed at every integer from 20-20 to 1919.

  2. Find the roots — the only places the sign can change. A product of real factors is zero exactly when a factor is zero:

    x5=0x=5,x+1=0x=1x-5=0\Rightarrow x=5,\qquad x+1=0\Rightarrow x=-1

    A polynomial is continuous, so it can only switch between positive and negative by passing through one of these two points.

  3. Use the opening direction rather than testing every interval. The leading coefficient is a=1>0a=1>0, so the parabola opens upward: it dips below the axis between its roots and rises above the axis outside them. Since we want <0<0, the solution is the inside region:

    1<x<5-1<x<5

  4. Confirm with one point per interval. At x=2x=-2: (7)(1)=7>0(-7)(-1)=7>0 ✗. At x=0x=0: (5)(1)=5<0(-5)(1)=-5<0 ✓. At x=6x=6: (1)(7)=7>0(1)(7)=7>0 ✗. The sign pattern is +,,++,-,+, exactly as the upward-opening rule predicts.

  5. State the answer and note the strictness. In interval notation (1,5)(-1,5), with both endpoints excluded: at x=1x=-1 and x=5x=5 the expression equals 00, and 0<00<0 is false. Checking the raw inequality against this interval at 250250 exact rational points from 10-10 to 1515 agrees everywhere ✓.

  6. Compare with the reversed inequality. Because the roots are the same, x24x5>0x^{2}-4x-5>0 has the complementary solution x<1x<-1 or x>5x>5 — the two outward rays. Flipping the sign of the inequality swaps inside for outside, and the vertex value x=2x=2 gives the minimum 485=94-8-5=-9.

Answer

1<x<5-1<x<5

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