Algebra · real student question

Solve the inequality x^2 + x + 1 > 0.

Question

Solve

x2+x+1>0x^{2}+x+1>0

Step-by-step solution

  1. Look for roots first, because only roots can change the sign. A continuous function switches sign only where it is zero, so compute the discriminant of x2+x+1x^{2}+x+1 with a=1a=1, b=1b=1, c=1c=1:

    Δ=b24ac=14=3\Delta=b^{2}-4ac=1-4=-3

    Since Δ<0\Delta<0 there are no real roots at all, so the expression never crosses zero — its sign is the same everywhere on the real line.

  2. Determine that single sign from the leading coefficient. With a=1>0a=1>0 the parabola opens upward, and having no real roots it must sit entirely above the axis. Hence x2+x+1>0x^{2}+x+1>0 for every real xx, and the inequality is satisfied by all of R\mathbb{R}.

  3. Prove it independently by completing the square. Half the coefficient of xx is 12\tfrac12, so

    x2+x+1=(x+12)214+1=(x+12)2+34x^{2}+x+1=\left(x+\tfrac12\right)^{2}-\tfrac14+1=\left(x+\tfrac12\right)^{2}+\tfrac34

    This identity was verified at 140140 exact rational points ✓. It is a proof, not a test: it holds for every xx at once.

  4. Read the bound off the square. A real square is never negative, so (x+12)20\left(x+\tfrac12\right)^{2}\ge0 and therefore

    x2+x+134>0x^{2}+x+1\ge\tfrac34>0

    The minimum value is 34\tfrac34, attained at x=12x=-\tfrac12. Direct check: 1412+1=34\tfrac14-\tfrac12+1=\tfrac34 ✓.

  5. State the solution set.

    xRi.e.(,)x\in\mathbb{R}\quad\text{i.e.}\quad(-\infty,\infty)

    The companion facts follow at once: x2+x+1<0x^{2}+x+1<0 has no solution, and x2+x+1=0x^{2}+x+1=0 has no real solution either (its roots are the complex 1±i32\tfrac{-1\pm i\sqrt{3}}{2}).

Answer

xRx\in\mathbb{R}

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