Algebra · real student question

Solve the inequality x^2 - ax + 1 < 0, where a is any real parameter.

Question

Solve the inequality

x2ax+1<0,aRx^2-ax+1<0,\qquad a\in\mathbb{R}

discussing all cases of the parameter aa.

Step-by-step solution

  1. Read the geometry before doing algebra. Let f(x)=x2ax+1f(x)=x^2-ax+1. The leading coefficient is 1>01>0, so the graph is an upward parabola. An upward parabola dips below the xx-axis only if it actually crosses the axis twice. So the whole problem reduces to: for which aa does ff have two distinct real roots, and where are they?

  2. Compute the discriminant. With A=1A=1, B=aB=-a, C=1C=1:

    Δ=B24AC=(a)24(1)(1)=a24\Delta=B^2-4AC=(-a)^2-4(1)(1)=a^2-4

    Two distinct real roots require Δ>0\Delta>0, i.e. a2>4a^2>4, i.e. a>2|a|>2 — so a<2a<-2 or a>2a>2.

  3. Handle the empty case first. If 2a2-2\le a\le2 then Δ0\Delta\le0. When Δ<0\Delta<0 the parabola never touches the axis and f(x)>0f(x)>0 everywhere; when Δ=0\Delta=0 (at a=±2a=\pm2) it touches at one point where f=0f=0, which still fails the strict inequality. So

    2a2  no solution ()-2\le a\le2\ \Longrightarrow\ \text{no solution}\ (\varnothing)

    At a=2a=2, for instance, f(x)=(x1)20f(x)=(x-1)^2\ge0 — never negative.

  4. Find the roots when |a| > 2. By the quadratic formula,

    x=a±a242x=\frac{a\pm\sqrt{a^2-4}}{2}

    so x1=aa242x_1=\dfrac{a-\sqrt{a^2-4}}{2} and x2=a+a242x_2=\dfrac{a+\sqrt{a^2-4}}{2}, with x1<x2x_1<x_2 because a24>0\sqrt{a^2-4}>0.

  5. Take the interval between the roots. An upward parabola is negative exactly between its roots, so for a>2|a|>2:

    aa242<x<a+a242\frac{a-\sqrt{a^2-4}}{2}<x<\frac{a+\sqrt{a^2-4}}{2}

    The same formula covers both a>2a>2 and a<2a<-2; no separate work is needed for the negative branch.

  6. Note a structural fact worth stating. The product of the roots is CA=1\tfrac{C}{A}=1, so x1x2=1x_1x_2=1 always. Hence the two roots are reciprocals with the same sign: both positive when a>2a>2, both negative when a<2a<-2. The solution interval therefore never contains 00, matching f(0)=1>0f(0)=1>0.

  7. Verify numerically across the cases. For each a{5,2.5,2,1,0,1,2,2.5,7}a\in\{-5,-2.5,-2,-1,0,1,2,2.5,7\}, evaluating ff at 40014001 points on [20,20][-20,20] and comparing the sign against the predicted set gave zero mismatches, and both roots evaluated to f=0f=0 within 10910^{-9} whenever a>2|a|>2 ✓.

Answer

{aa242<x<a+a242,a<2 or a>2,2a2\begin{cases}\dfrac{a-\sqrt{a^2-4}}{2}<x<\dfrac{a+\sqrt{a^2-4}}{2}, & a<-2\ \text{or}\ a>2\\[4pt] \varnothing, & -2\le a\le 2\end{cases}

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