Stuck on this? Solve it with AI
Algebra · real student question

Factor x^2 + x - 6.

Question

Factor

x2+x−6x^{2}+x-6

Step-by-step solution

  1. Set up the search. For a monic quadratic x2+bx+cx^{2}+bx+c, the factorisation is (x+m)(x+n)(x+m)(x+n) with mn=cmn=c and m+n=bm+n=b. Here c=−6c=-6 and b=+1b=+1, so two numbers are needed with product −6-6 and sum 11.

  2. Use the signs to prune the list. A negative product means the two numbers have opposite signs. A small positive sum means the positive one is larger in magnitude — by exactly 11.

  3. Test the opposite-sign pairs of −6-6.

    (1,−6)→−5,(6,−1)→5,(2,−3)→−1,(3,−2)→1 ✓(1,-6)\to-5,\quad(6,-1)\to5,\quad(2,-3)\to-1,\quad(3,-2)\to1\ \checkmark

    The pair 33 and −2-2 works: 3×(−2)=−63\times(-2)=-6 ✓ and 3+(−2)=13+(-2)=1 ✓.

  4. Write the factorisation.

    x2+x−6=(x+3)(x−2)x^{2}+x-6=(x+3)(x-2)

  5. Verify by expanding. (x+3)(x−2)=x2−2x+3x−6=x2+x−6(x+3)(x-2)=x^{2}-2x+3x-6=x^{2}+x-6 ✓, confirmed at every integer from −30-30 to 2929 ✓. The discriminant 1+24=25=521+24=25=5^{2} is a perfect square, which guarantees in advance that integer factors exist.

  6. Read off the roots and the sign behaviour. The zeros are x=−3x=-3 and x=2x=2. Because the parabola opens upward, x2+x−6<0x^{2}+x-6<0 exactly on (−3,2)(-3,2) and is positive outside. The vertex sits at the midpoint x=−12x=-\tfrac12, where the value is 14−12−6=−254\tfrac14-\tfrac12-6=-\tfrac{25}{4} — the minimum.

Answer

x2+x−6=(x+3)(x−2)x^{2}+x-6=(x+3)(x-2)

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