Algebra · real student question

The quadratic inequality ax² + bx + 1 > 0 has solution set consisting of all x with −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 {x1<x<2}\{x\mid -1<x<2\}. Find the value of abab.

Step-by-step solution

  1. Deduce the sign of aa from the shape of the solution set. The inequality holds strictly between two numbers. An upward parabola (a>0a>0) is negative between its roots and positive outside, so it can never give a bounded solution set for ">0>0". Only a downward parabola can, hence

    a<0.a<0.

    Getting this sign right is what pins the problem down.

  2. Identify the roots. The solution set is the open interval between the two zeros of ax2+bx+1ax^{2}+bx+1, so those zeros are exactly x=1x=-1 and x=2x=2. Therefore

    ax2+bx+1=k(x+1)(x2)for some k<0.ax^{2}+bx+1=k(x+1)(x-2)\quad\text{for some }k<0.

  3. Match the constant term to find kk. Expanding, k(x+1)(x2)=kx2kx2kk(x+1)(x-2)=kx^{2}-kx-2k. The constant terms must agree:

    2k=1    k=12,-2k=1\;\Longrightarrow\;k=-\frac12,

    which is indeed negative, consistent with step 1.

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

    ax2+bx+1=12x2+12x+1,ax^{2}+bx+1=-\frac12x^{2}+\frac12x+1,

    so a=12a=-\tfrac12 and b=12b=\tfrac12. As a cross-check with Vieta: the product of the roots is 1/a=(1)(2)=21/a=(-1)(2)=-2, giving a=12a=-\tfrac12, and the sum is b/a=1+2=1-b/a=-1+2=1, giving b=a=12b=-a=\tfrac12. Both routes agree.

  5. Compute the product and verify.

    ab=(12)(12)=14.ab=\left(-\frac12\right)\left(\frac12\right)=-\frac14.

    Testing the inequality: at x=0x=0 (inside the interval) 12(0)+12(0)+1=1>0-\tfrac12(0)+\tfrac12(0)+1=1>0 ✓; at x=3x=3 (outside) 92+32+1=2<0-\tfrac92+\tfrac32+1=-2<0 ✓; at x=1x=-1 and x=2x=2 the expression is 00, so the endpoints are correctly excluded.

Answer

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

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