Algebra · real student question

Solve the inequality ax^2 + (1 - a)x - 1 < 0, where a is a real parameter. Discuss all cases.

Question

Solve the inequality

ax2+(1a)x1<0ax^2+(1-a)x-1<0

where aRa\in\mathbb{R} is a parameter. Discuss all cases.

Step-by-step solution

  1. Factor first — it is much cleaner than the quadratic formula. Try (x1)(ax+1)(x-1)(ax+1) and expand:

    (x1)(ax+1)=ax2+xax1=ax2+(1a)x1 (x-1)(ax+1)=ax^2+x-ax-1=ax^2+(1-a)x-1\ \checkmark

    so the inequality is

    (x1)(ax+1)<0(x-1)(ax+1)<0

    The roots are therefore x=1x=1 — fixed, independent of aa — and x=1ax=-\tfrac1a when a0a\neq0.

  2. Handle the degenerate case a = 0 first. With a=0a=0 the x2x^2 term vanishes and the inequality is linear:

    x1<0x<1x-1<0\quad\Longrightarrow\quad x<1

  3. Case a > 0: upward parabola, roots in a fixed order. Since a>0a>0, 1a<0<1-\tfrac1a<0<1, so the movable root is always to the left of 11. An upward parabola is negative between its roots:

    1a<x<1-\frac1a<x<1

  4. Realise that a < 0 must be split further — this is where most solutions go wrong. For a<0a<0, 1a-\tfrac1a is positive, and how it compares with 11 depends on the size of aa:

    1<a<0  1a>1,a=1  1a=1,a<1  0<1a<1-1<a<0\ \Longrightarrow\ -\tfrac1a>1,\qquad a=-1\ \Longrightarrow\ -\tfrac1a=1,\qquad a<-1\ \Longrightarrow\ 0<-\tfrac1a<1

    For instance a=12a=-\tfrac12 gives 1a=2>1-\tfrac1a=2>1, but a=3a=-3 gives 1a=13<1-\tfrac1a=\tfrac13<1. Claiming 1a>1-\tfrac1a>1 for all negative aa is simply false.

  5. Case -1 < a < 0. The parabola opens downward and the roots are ordered 1<1a1<-\tfrac1a. A downward parabola is negative outside its roots:

    x<1orx>1ax<1\qquad\text{or}\qquad x>-\frac1a

  6. Case a < -1, and the boundary a = -1. For a<1a<-1 the roots swap order to 1a<1-\tfrac1a<1, so "outside the roots" now reads

    x<1aorx>1x<-\frac1a\qquad\text{or}\qquad x>1

    At exactly a=1a=-1 the two roots merge: ax2+(1a)x1=x2+2x1=(x1)2ax^2+(1-a)x-1=-x^2+2x-1=-(x-1)^2, which is negative for every xx except x=1x=1, where it is zero. So the solution there is x1x\neq1, i.e. R{1}\mathbb{R}\setminus\{1\}.

  7. Verify the whole case table numerically. Testing 4949 values of aa from 6-6 to 66 in steps of 14\tfrac14, and 80018001 exact rational values of xx on [8,8][-8,8] for each, the five-case description above matches the actual sign of ax2+(1a)x1ax^2+(1-a)x-1 at every single point — zero mismatches ✓. The three-case version fails immediately, e.g. at a=3a=-3, x=0.34x=0.34, where it predicts negative but the value is +0.0132+0.0132.

Answer

{1a<x<1,a>0x<1,a=0x<1 or x>1a,1<a<0x1,a=1x<1a or x>1,a<1\begin{cases}-\frac1a<x<1, & a>0\\ x<1, & a=0\\ x<1\ \text{or}\ x>-\frac1a, & -1<a<0\\ x\neq1, & a=-1\\ x<-\frac1a\ \text{or}\ x>1, & a<-1\end{cases}

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