Quadratic and rational inequalities

A linear inequality like 2x+3>02x+3>0 bends to one rule: isolate xx, flip the sign only if you multiply or divide by a negative number, done. A quadratic or rational inequality refuses that shortcut — an expression like x2−x−6x^2-x-6 or 2x−1x+3\dfrac{2x-1}{x+3} changes sign at more than one point, and no single algebraic move isolates xx safely. The fix is geometric rather than purely algebraic: mark the points where the expression is zero or undefined on a number line, and read off its sign in each gap between them. This is the wavy-curve (sign-diagram) method, the workhorse of the Inequalities part of the Quadratic Equations topic in ISC Class 11 Algebra. It turns "where is this expression positive or negative" into a mechanical, checkable procedure — and, done carelessly, it is also where marks are lost fastest, especially on rational inequalities.

The core insight

Mark the zeros of the numerator and denominator as critical points on a number line, then read the sign of the expression in each interval between them — using a test point, not guesswork — to solve any quadratic or rational inequality.

The core idea

Quadratic inequalities. To solve ax2+bx+c≶0ax^2+bx+c \lessgtr 0:

  • Get zero on one side, then factor or find the roots α≤β\alpha \le \beta of ax2+bx+c=0ax^2+bx+c=0.
  • If a>0a>0, the expression is negative between the roots and positive outside them; if a<0a<0, the pattern reverses. This single rule replaces the need to memorise separate cases for >>, <<, ≥\ge, ≤\le.
  • Strict inequalities (>,<>,<) exclude the roots themselves; non-strict inequalities (≥,≤\ge,\le) include them.

Rational inequalities. For f(x)g(x)≶a\dfrac{f(x)}{g(x)} \lessgtr a, the single most dangerous move is cross-multiplying by g(x)g(x) — its sign is usually unknown, so multiplying can silently flip the inequality for some values of xx and wrong for others. The safe route brings everything to one side first:

f(x)g(x)−a≤0    ⟹    f(x)−a g(x)g(x)≤0,\frac{f(x)}{g(x)} - a \le 0 \;\;\Longrightarrow\;\; \frac{f(x)-a\,g(x)}{g(x)} \le 0,

where: f(x)f(x) and g(x)g(x) are polynomials and aa is a constant (often 00). Now the critical points are the zeros of the new numerator and the zeros of g(x)g(x) — the denominator's zeros are always excluded from the final answer, since the expression is undefined there, regardless of the inequality symbol.

Repeated roots. If a critical point comes from a factor raised to an even power, such as (x−2)2(x-2)^2, the sign does not change as xx crosses it — the curve touches zero and bounces back. An odd-power factor (including a simple linear factor) does flip the sign. This is precisely why a test point in every region beats blind alternation.

Figure
Sign diagram for x squared minus x minus 6 showing negative between the roots minus 2 and 3 and positive outside
Wavy curve for (x - 3)(x + 2) -2 3 + - + x less than -2 -2 less than x less than 3 x greater than 3

Why the sign rule works

Solving ax2+bx+c≶0ax^2+bx+c \lessgtr 0 (with a≠0a\ne0 and real, distinct roots α<β\alpha<\beta) by the wavy-curve method rests on writing the quadratic as a product of two linear factors and tracking how a product's sign responds as each factor individually changes sign while crossing a simple root; the goal here is to show algebraically why this alternation happens and why it produces the familiar "outside positive, inside negative" pattern for a>0a>0.

Step 1. Factor the quadratic using its roots: ax2+bx+c=a(x−α)(x−β)ax^2+bx+c = a(x-\alpha)(x-\beta), with α<β\alpha<\beta. This is always possible once the roots are known, by the factor theorem, and it converts a quadratic sign question into a question about the sign of a product of simple linear pieces.

Step 2. Track each linear factor separately. For x>βx>\beta (to the right of both roots), both (x−α)>0(x-\alpha)>0 and (x−β)>0(x-\beta)>0, so their product is positive; multiplying by a>0a>0 keeps it positive. For α<x<β\alpha<x<\beta, (x−α)>0(x-\alpha)>0 but (x−β)<0(x-\beta)<0, so the product (x−α)(x−β)(x-\alpha)(x-\beta) is negative, and aa times a negative number (with a>0a>0) is negative. For x<αx<\alpha, both factors are negative, so their product is positive again, and multiplying by a>0a>0 keeps it positive.

Step 3. Read off the pattern: positive, negative, positive as xx moves from −∞-\infty through α\alpha, between the roots, through β\beta, to +∞+\infty — exactly one sign change at each simple root. This confirms the memorised rule "a>0a>0: negative between the roots, positive outside" is not a coincidence but a direct consequence of a product of two linear factors changing sign exactly once at each of its zeros.

Step 4. The same reasoning extends to any product of distinct linear factors (three, four, or more critical points): each simple root flips the sign of exactly one factor, so the overall sign alternates once per critical point as you scan the number line — the general justification for the wavy-curve method used with rational expressions and higher-degree factorisations. Check: at x=0x=0 (between α=−2,β=3\alpha=-2,\beta=3 for a=1a=1), (0−(−2))(0−3)=(2)(−3)=−6<0(0-(-2))(0-3) = (2)(-3) = -6<0 — negative, matching Step 3's middle-interval prediction.

Worked example

Solve 2x−1x+3≤1\dfrac{2x-1}{x+3}\le1, then check what happens if the inequality is tightened to 2x−1x+3≤0\dfrac{2x-1}{x+3}\le0 using the same critical points.

Step 1. Bring everything to one side rather than cross-multiplying: 2x−1x+3−1≤0  ⟹  2x−1−(x+3)x+3≤0  ⟹  x−4x+3≤0\dfrac{2x-1}{x+3}-1\le0 \implies \dfrac{2x-1-(x+3)}{x+3}\le0 \implies \dfrac{x-4}{x+3}\le0.

Step 2. Identify critical points: the numerator is zero at x=4x=4 (included, since the expression equals exactly 00 there and the inequality is ≤\le); the denominator is zero at x=−3x=-3 (always excluded, since the expression is undefined there).

Step 3. Test one point per region. For x<−3x<-3, say x=−4x=-4: −4−4−4+3=−8−1=8>0\dfrac{-4-4}{-4+3}=\dfrac{-8}{-1}=8>0. For −3<x<4-3<x<4, say x=0x=0: 0−40+3=−43<0\dfrac{0-4}{0+3}=\dfrac{-4}{3}<0. For x>4x>4, say x=5x=5: 5−45+3=18>0\dfrac{5-4}{5+3}=\dfrac{1}{8}>0. The middle interval alone satisfies ≤0\le0.

Step 4. Assemble the answer: the middle region plus the included endpoint x=4x=4 gives −3<x≤4-3<x\le4, or (−3,4](-3,4] in interval notation. x=−3x=-3 is excluded even though it borders the solution, because the expression is undefined there.

Answer: (−3,4]\boxed{(-3,4]}.

Competitive stretch

Tighten the question to 2x−1x+3≤0\dfrac{2x-1}{x+3}\le0 using the original expression (not the shifted one from Step 1). Critical points are the zeros of numerator 2x−12x-1 (i.e. x=12x=\tfrac12, included) and denominator x+3x+3 (i.e. x=−3x=-3, excluded). Testing regions exactly as before shows the expression is negative only for −3<x<12-3<x<\tfrac12, giving (−3,12]\left(-3,\tfrac12\right] — a different answer from Worked example above, because subtracting 11 before finding critical points genuinely changes which values of xx make the expression zero. This is a common way exam-setters build a second, related part to a question.

Common traps

  • Cross-multiplying f(x)g(x)≶a\dfrac{f(x)}{g(x)} \lessgtr a by g(x)g(x) without knowing its sign — this can flip the inequality for only some values of xx, silently corrupting the answer. Always bring everything to one side first.
  • Including a denominator's zero in the final solution — the expression is undefined there and must be excluded no matter which inequality symbol is used.
  • Assuming the sign always alternates at every critical point — a factor raised to an even power (a repeated root) touches zero and bounces back to the same sign instead of crossing.
  • Forgetting the endpoint rule: strict inequalities exclude the critical points; non-strict inequalities include numerator-zero critical points but never denominator-zero ones.

Ask the tutor: If you get stuck deciding which critical points to include or exclude in the final interval, ask the AI tutor to walk through a rational inequality with you step by step, marking each point as included or excluded and explaining why.

Why can't I just cross-multiply in a rational inequality like I would in an equation?

Because multiplying both sides of an inequality by a negative number reverses the inequality sign, and with f(x)g(x)≶a\dfrac{f(x)}{g(x)}\lessgtr a you usually do not know whether g(x)g(x) is positive or negative for the values of xx you are solving for — it can be either, depending on where xx lands. Cross-multiplying blindly applies one direction of the inequality everywhere, which is wrong wherever g(x)g(x) is actually negative. Bringing everything to one side and forming a single fraction compared to zero sidesteps the problem entirely, since you then only need the sign of the whole expression, not a guess about g(x)g(x) alone.

Do I always exclude the roots of the quadratic, or sometimes include them?

It depends on the inequality symbol, not on the roots themselves. Strict inequalities (>> or <<) always exclude the roots, because at a root the expression equals exactly zero, which is neither strictly positive nor strictly negative. Non-strict inequalities (≥\ge or ≤\le) include the roots, because zero does satisfy "greater than or equal to zero" or "less than or equal to zero." The one exception is a root that comes from the denominator of a rational expression — that value is always excluded, even for ≥\ge or ≤\le, because the expression is undefined there and cannot equal anything.

Is there a shortcut to remember the sign pattern without redrawing the wavy curve each time?

For a quadratic ax2+bx+cax^2+bx+c with a>0a>0 and real roots α<β\alpha<\beta, yes: the expression is negative strictly between the roots and positive outside — "positive outside, negative inside" — and the pattern flips if a<0a<0. For a rational or higher-degree expression with several critical points, the safest shortcut is still to test just one point in the rightmost region (usually easy to see the sign there) and then alternate sign at each simple critical point moving left, remembering that a repeated (even-power) critical point does not flip the sign. Testing at least one extra point somewhere in the middle is worth the ten seconds it costs, since it catches sign errors the shortcut alone can miss.

Before this

Where this leads