Algebra · real student question

If the solution set of x² + px + q < 0 is (−1/2, 1/3), find the solution set of qx² + px + 1 > 0.

Question

If the solution set of

x2+px+q<0x^{2}+px+q<0

is (12,13)\left(-\dfrac12,\dfrac13\right), find the solution set of

qx2+px+1>0qx^{2}+px+1>0

Step-by-step solution

  1. Turn the given solution set into roots. The leading coefficient of x2+px+qx^{2}+px+q is +1>0+1>0, so the parabola opens upward and is negative exactly between its two roots. The endpoints of the given interval are therefore the roots:

    x1=12,x2=13x_1=-\frac12,\qquad x_2=\frac13

  2. Rebuild the quadratic and read off p and q.

    x2+px+q=(x+12)(x13)=x2+(1213)x16=x2+16x16x^{2}+px+q=\left(x+\frac12\right)\left(x-\frac13\right)=x^{2}+\left(\frac12-\frac13\right)x-\frac16=x^{2}+\frac16x-\frac16

    Hence

    p=16,q=16p=\frac16,\qquad q=-\frac16

    (Vieta gives the same thing: x1+x2=px_1+x_2=-p and x1x2=qx_1x_2=q.)

  3. Substitute into the second inequality.

    16x2+16x+1>0-\frac16x^{2}+\frac16x+1>0

  4. Clear the fractions and fix the sign. Multiply by 66 (positive, so the direction is unchanged):

    x2+x+6>0-x^{2}+x+6>0

    Now multiply by 1-1, which does reverse the inequality:

    x2x6<0x^{2}-x-6<0

  5. Factor and solve.

    (x3)(x+2)<0(x-3)(x+2)<0

    An upward parabola is negative between its roots, so

    2<x<3-2<x<3

    (2,3)\boxed{(-2,\,3)}

  6. Check the endpoints and an interior point. At x=0x=0: q(0)+p(0)+1=1>0q(0)+p(0)+1=1>0 ✓ (inside). At x=3x=3: 16(9)+16(3)+1=32+12+1=0-\tfrac16(9)+\tfrac16(3)+1=-\tfrac32+\tfrac12+1=0, so x=3x=3 is excluded, as an open endpoint should be. At x=4x=4: 166+46+1=66=1<0-\tfrac{16}{6}+\tfrac46+1=-\tfrac{6}{6}=-1<0 ✓ (outside).

Answer

(2,3)(with p=16, q=16)(-2,\,3)\quad(\text{with }p=\tfrac16,\ q=-\tfrac16)

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