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

The solution set of the quadratic inequality ax^2 + bx + 1 > 0 is the interval -1 < x < 2. Find the value of ab.

Question

The solution set of the quadratic inequality

ax2+bx+1>0ax^{2}+bx+1>0

is {x∣−1<x<2}\{x\mid -1<x<2\}. Find the value of abab.

Step-by-step solution

  1. Use the shape of the solution set to fix the sign of aa. A parabola is positive between its roots only when it opens downward. Here the solution set is the bounded interval (−1,2)(-1,2), i.e. the expression is positive strictly between two numbers, so

    a<0,a<0,

    and x=−1x=-1 and x=2x=2 must be the two roots of ax2+bx+1=0ax^{2}+bx+1=0 (the endpoints, where the strict inequality just fails).

  2. Rebuild the quadratic from its roots. Any quadratic with roots −1-1 and 22 is a multiple of (x+1)(x−2)(x+1)(x-2), so

    ax2+bx+1=k(x+1)(x−2)=k(x2−x−2)=kx2−kx−2kax^{2}+bx+1=k(x+1)(x-2)=k\left(x^{2}-x-2\right)=kx^{2}-kx-2k

    for some k<0k<0 (the sign of kk is the sign of aa).

  3. Pin down kk using the constant term. This is the step that makes the problem solvable: the given quadratic has constant term exactly 11, which is what removes the free scale factor. Comparing constant terms,

    −2k=1⟹k=−12,-2k=1\quad\Longrightarrow\quad k=-\frac{1}{2},

    which indeed satisfies k<0k<0, consistent with step 1.

  4. Read off aa and bb. Substituting k=−12k=-\tfrac12:

    ax2+bx+1=−12x2+12x+1⟹a=−12,  b=12.ax^{2}+bx+1=-\frac{1}{2}x^{2}+\frac{1}{2}x+1\quad\Longrightarrow\quad a=-\frac{1}{2},\ \ b=\frac{1}{2}.

  5. Compute abab and verify the original inequality.

    ab=(−12)(12)=−14.ab=\left(-\frac{1}{2}\right)\left(\frac{1}{2}\right)=-\frac{1}{4}.

    Check: −12x2+12x+1>0-\tfrac12x^{2}+\tfrac12x+1>0 is equivalent (multiply by −2-2, flipping the sign) to x2−x−2<0x^{2}-x-2<0, i.e. (x+1)(x−2)<0(x+1)(x-2)<0, whose solution is exactly −1<x<2-1<x<2. Spot values confirm it: at x=0x=0 the expression is 1>01>0, at x=±x=\pm the endpoints it is 00, and at x=3x=3 it is −2<0-2<0.

Answer

ab=−14ab=-\frac{1}{4}

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